/* style/news-industry-updates.css */

/* Custom properties for colors */
:root {
    --page-bg: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --primary-color: #11A84E; /* Main color */
    --secondary-color: #22C768; /* Auxiliary color */
}

.page-news-industry-updates {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-bg);
    color: var(--text-main); /* Default text color for the page */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom for content */
}

/* Hero Section */
.page-news-industry-updates__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
}

.page-news-industry-updates__hero-image {
    width: 100%;
    height: 675px; /* Fixed height for desktop to match 1200x675 ratio */
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-news-industry-updates__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: var(--text-main);
}

.page-news-industry-updates__hero-title {
    font-size: 3.2em; /* Use em to allow for relative scaling */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.page-news-industry-updates__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-industry-updates__hero-cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news-industry-updates__hero-cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient on hover */
    transform: translateY(-2px);
}

/* General Section Styling */
.page-news-industry-updates__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--divider-color);
}

.page-news-industry-updates__section:last-of-type {
    border-bottom: none;
}

.page-news-industry-updates__container {
    width: 100%; /* Ensure it takes full width before max-width */
    max-width: 1200px;
    margin: 0 auto;
}

.page-news-industry-updates__container--flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-news-industry-updates__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color); /* Use gold for main section titles */
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.page-news-industry-updates__section-title--light {
    color: var(--text-main);
}

.page-news-industry-updates__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-news-industry-updates__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-news-industry-updates__text-block--light {
    color: var(--text-main);
}

.page-news-industry-updates__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block; /* Ensure images behave as blocks for margin */
}

.page-news-industry-updates__image--center {
    margin-left: auto;
    margin-right: auto;
}

/* Highlighted text */
.page-news-industry-updates .highlight {
    color: var(--gold-color);
    font-weight: 600;
}

/* Promotion CTA Section */
.page-news-industry-updates__promotions-cta {
    background-color: var(--card-bg);
    padding: 80px 20px;
}

.page-news-industry-updates__promo-content {
    flex: 1;
    min-width: 300px;
}

.page-news-industry-updates__promo-image {
    flex-shrink: 0;
    width: 600px; /* Specific width for desktop */
    height: 400px; /* Specific height for desktop */
    object-fit: cover;
    border-radius: 8px;
}

/* Buttons */
.page-news-industry-updates__button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.page-news-industry-updates__btn-primary,
.page-news-industry-updates__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-news-industry-updates__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-news-industry-updates__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-news-industry-updates__btn-primary--large {
    padding: 18px 45px;
    font-size: 1.2em;
}

.page-news-industry-updates__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-news-industry-updates__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--page-bg); /* Darker text on hover for contrast */
    transform: translateY(-2px);
}

/* Dark background section */
.page-news-industry-updates__dark-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

/* FAQ Section */
.page-news-industry-updates__faq {
    padding-bottom: 80px;
}

.page-news-industry-updates__faq-list {
    margin-top: 40px;
}

.page-news-industry-updates__faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-news-industry-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main);
    user-select: none;
    list-style: none; /* For details/summary */
}

/* Hide default marker for <details> */
.page-news-industry-updates__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-news-industry-updates__faq-item summary::marker {
    display: none;
}

.page-news-industry-updates__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-news-industry-updates__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.1em;
    color: var(--text-secondary);
}

/* Conclusion CTA */
.page-news-industry-updates__conclusion-cta {
    padding-top: 80px;
    padding-bottom: 100px;
    background-color: var(--deep-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-industry-updates__hero-title {
        font-size: 2.8em;
    }
    .page-news-industry-updates__section-title {
        font-size: 2em;
    }
    .page-news-industry-updates__sub-title {
        font-size: 1.6em;
    }
    .page-news-industry-updates__hero-image {
        height: 500px; /* Adjust hero image height for tablets */
    }
    .page-news-industry-updates__promo-image {
        width: 500px;
        height: 333px; /* Maintain aspect ratio */
    }
    .page-news-industry-updates__container--flex {
        flex-direction: column;
        text-align: center;
    }
    .page-news-industry-updates__promo-image {
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-news-industry-updates__button-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-news-industry-updates {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news-industry-updates__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
        padding-bottom: 40px;
    }
    .page-news-industry-updates__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-bottom: 20px;
    }
    .page-news-industry-updates__hero-title {
        font-size: 2.2em;
    }
    .page-news-industry-updates__hero-description {
        font-size: 1em;
    }
    .page-news-industry-updates__section {
        padding: 40px 15px;
    }
    .page-news-industry-updates__container,
    .page-news-industry-updates__section,
    .page-news-industry-updates__card,
    .page-news-industry-updates__container--flex,
    .page-news-industry-updates__promo-content,
    .page-news-industry-updates__conclusion-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Images responsive */
    .page-news-industry-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-industry-updates__promo-image {
        width: 100% !important;
        height: auto !important;
    }

    /* Buttons responsive */
    .page-news-industry-updates__hero-cta-button,
    .page-news-industry-updates__btn-primary,
    .page-news-industry-updates__btn-secondary,
    .page-news-industry-updates a[class*="button"],
    .page-news-industry-updates a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px; /* Space between stacked buttons */
    }
    .page-news-industry-updates__button-group,
    .page-news-industry-updates__cta-buttons,
    .page-news-industry-updates__btn-container,
    .page-news-industry-updates__container--flex { /* Ensure flex containers wrap buttons */
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        align-items: center; /* Center buttons if column */
    }
    .page-news-industry-updates__hero-cta-button {
        margin-bottom: 0; /* No extra margin for single button */
    }
    .page-news-industry-updates__promo-content {
        margin-bottom: 20px;
    }
}

/* Ensure contrast for specific elements if needed */
.page-news-industry-updates__dark-bg {
  color: var(--text-main); /* Deep green background, light text */
  background: var(--deep-green);
}

.page-news-industry-updates__light-bg {
  color: #333333; /* Light background, dark text (not used much here but good to have) */
  background: #ffffff;
}

.page-news-industry-updates__medium-bg {
  color: #000000; /* Medium background, dark text (not used much here but good to have) */
  background: var(--secondary-color);
}

/* Override for text blocks within dark sections */
.page-news-industry-updates__dark-section .page-news-industry-updates__text-block {
    color: var(--text-secondary); /* Adjust for better contrast on dark green */
}
.page-news-industry-updates__dark-section .highlight {
    color: var(--gold-color); /* Keep gold for highlight */
}

/* Ensure no filter is applied to images */
.page-news-industry-updates img {
    filter: none !important;
}