.page-news-industry-updates {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-news-industry-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-news-industry-updates__hero-section {
    position: relative;
    padding: 80px 20px; /* Adjust padding-top for header offset in HTML */
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color for hero */
    color: #ffffff;
}

.page-news-industry-updates__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-news-industry-updates__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

.page-news-industry-updates__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news-industry-updates__btn-primary,
.page-news-industry-updates__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    text-align: center;
}

.page-news-industry-updates__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-news-industry-updates__btn-primary:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-news-industry-updates__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-news-industry-updates__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-news-industry-updates__section {
    padding: 60px 0;
}

.page-news-industry-updates__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-news-industry-updates__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-news-industry-updates__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-news-industry-updates__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: inherit;
}

.page-news-industry-updates__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-industry-updates__news-card {
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-news-industry-updates__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-news-industry-updates__news-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-news-industry-updates__card-content {
    padding: 20px;
}

.page-news-industry-updates__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-news-industry-updates__card-title a {
    text-decoration: none;
    color: #017439;
    transition: color 0.3s ease;
}

.page-news-industry-updates__card-title a:hover {
    color: #005a2e;
}

.page-news-industry-updates__card-text {
    font-size: 1em;
    margin-bottom: 15px;
    color: #555555;
}

.page-news-industry-updates__read-more {
    display: inline-block;
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news-industry-updates__read-more:hover {
    color: #005a2e;
    text-decoration: underline;
}

.page-news-industry-updates__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-news-industry-updates__text-block {
    flex: 1;
    min-width: 300px;
}

.page-news-industry-updates__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-industry-updates__main-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-news-industry-updates__sub-title {
    font-size: 2em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-news-industry-updates__text {
    margin-bottom: 20px;
    color: inherit;
}

.page-news-industry-updates__text a {
    color: #FFFF00; /* Link color for dark background */
    text-decoration: underline;
}

.page-news-industry-updates__text a:hover {
    color: #ffcc00;
}

.page-news-industry-updates__analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-industry-updates__analysis-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-news-industry-updates__analysis-card .page-news-industry-updates__card-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

.page-news-industry-updates__analysis-card .page-news-industry-updates__card-text {
    color: #555555;
}

.page-news-industry-updates__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-news-industry-updates__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-news-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-news-industry-updates__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-news-industry-updates__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-toggle {
    transform: rotate(45deg);
}

.page-news-industry-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-news-industry-updates__faq-item.active .page-news-industry-updates__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-news-industry-updates__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-news-industry-updates__faq-answer a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-news-industry-updates__faq-answer a:hover {
    color: #ffcc00;
}

.page-news-industry-updates__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-news-industry-updates__text-center {
    text-align: center;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-news-industry-updates__hero-title {
        font-size: 2.5em;
    }
    .page-news-industry-updates__section-title {
        font-size: 2em;
    }
    .page-news-industry-updates__sub-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-news-industry-updates__hero-section {
        padding: 60px 15px;
    }
    .page-news-industry-updates__hero-title {
        font-size: 2em;
    }
    .page-news-industry-updates__hero-description {
        font-size: 1em;
    }
    .page-news-industry-updates__cta-group {
        flex-direction: column;
        gap: 15px;
    }
}