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

.page-news {
    background-color: var(--page-news-bg-color); /* From custom colors */
    color: var(--page-news-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* No CSS filter */
}

.page-news__hero-content-wrapper {
    width: 100%;
    text-align: center;
    padding-top: 40px;
    z-index: 1;
}

.page-news__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* H1 font-size clamp */
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-news-text-main);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button adapts to container */
}

.page-news__btn-primary {
    background: var(--page-news-btn-gradient);
    color: var(--page-news-text-main); /* White text for dark button */
    border: 2px solid transparent;
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px var(--page-news-glow-color);
}

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

.page-news__btn-secondary:hover {
    background: var(--page-news-primary-color);
    color: var(--page-news-text-main);
}

/* Section Titles */
.page-news__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--page-news-text-main);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-news__section-title--light {
    color: var(--page-news-text-main); /* Ensure light text on dark background */
}

/* Latest Articles & Promotions Grid */
.page-news__latest-articles-section,
.page-news__promotions-news-section,
.page-news__industry-news-section {
    padding: 60px 0;
}

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

.page-news__article-card,
.page-news__promotion-card {
    background-color: var(--page-news-card-bg); /* From custom colors */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--page-news-border-color); /* From custom colors */
    color: var(--page-news-text-main); /* Light text for dark card background */
}

.page-news__article-card:hover,
.page-news__promotion-card:hover {
    transform: translateY(-5px);
}

.page-news__article-image,
.page-news__promotion-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    filter: none; /* No CSS filter */
}

.page-news__article-content,
.page-news__promotion-content {
    padding: 25px;
}

.page-news__article-title,
.page-news__promotion-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__article-title a,
.page-news__promotion-title a {
    color: var(--page-news-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover,
.page-news__promotion-title a:hover {
    color: var(--page-news-primary-color);
}

.page-news__article-meta,
.page-news__promotion-meta {
    font-size: 0.9em;
    color: var(--page-news-text-secondary);
    margin-bottom: 15px;
}

.page-news__article-excerpt,
.page-news__promotion-excerpt {
    font-size: 1em;
    color: var(--page-news-text-secondary);
    margin-bottom: 20px;
}

.page-news__button-group {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Featured Article Section */
.page-news__featured-article-section {
    background-color: var(--page-news-deep-green-color); /* From custom colors */
    padding: 80px 0;
    color: var(--page-news-text-main); /* Light text for dark background */
}

.page-news__featured-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-news__featured-text {
    flex: 2;
}

.page-news__featured-text p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: var(--page-news-text-secondary);
}

.page-news__featured-image {
    flex: 1;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    filter: none; /* No CSS filter */
    display: block;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 80px 0;
    background-color: var(--page-news-bg-color); /* Ensure consistent background */
}

.page-news__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-news__faq-item {
    background-color: var(--page-news-card-bg); /* Dark card background */
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--page-news-border-color); /* From custom colors */
    color: var(--page-news-text-main); /* Light text for dark background */
}

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

.page-news__faq-question::-webkit-details-marker {
    display: none;
}

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-news-primary-color);
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

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

/* CTA Section */
.page-news__cta-section {
    background-color: var(--page-news-deep-green-color); /* From custom colors */
    padding: 80px 0;
    text-align: center;
    color: var(--page-news-text-main); /* Light text for dark background */
}

.page-news__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-news__cta-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--page-news-text-main);
    margin-bottom: 20px;
}

.page-news__cta-description {
    font-size: 1.1em;
    color: var(--page-news-text-secondary);
    margin-bottom: 40px;
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news__hero-section {
        padding: 40px 0;
        padding-top: 10px;
    }

    .page-news__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-news__section-title {
        font-size: 2em;
    }

    .page-news__featured-content {
        flex-direction: column;
    }

    .page-news__featured-image {
        max-width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any) */
    .page-news video,
    .page-news__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile container responsiveness for images/videos/buttons */
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__video-section,
    .page-news__video-container,
    .page-news__video-wrapper,
    .page-news__cta-buttons,
    .page-news__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }

    /* Video section top padding for mobile (if any) */
    .page-news__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button responsiveness */
    .page-news__cta-button,
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news a[class*="button"],
    .page-news a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Add some spacing between stacked buttons */
    }

    /* Ensure button groups stack vertically on mobile */
    .page-news__cta-buttons,
    .page-news__button-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .page-news__hero-section {
        padding: 30px 0;
        padding-top: 10px;
    }

    .page-news__hero-content-wrapper {
        padding-top: 20px;
    }

    .page-news__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-news__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-news__article-image,
    .page-news__promotion-image {
        height: 180px;
    }

    .page-news__article-content,
    .page-news__promotion-content {
        padding: 20px;
    }

    .page-news__article-title,
    .page-news__promotion-title {
        font-size: 1.2em;
    }

    .page-news__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-news__cta-title {
        font-size: 1.8em;
    }

    .page-news__cta-description {
        font-size: 1em;
    }
}

/* Content Area Image CSS Size Lower Bound (Min 200px) */
.page-news__latest-articles-section img,
.page-news__promotions-news-section img,
.page-news__industry-news-section img,
.page-news__featured-article-section img {
    min-width: 200px;
    min-height: 200px;
}

/* Ensure no filter on any image */
.page-news img {
    filter: none;
}