.page-news {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Light text for dark background */
    background-color: #08160F; /* Main background color */
}

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

/* Hero Section */
.page-news__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    align-items: center;
    text-align: center;
    background-color: #08160F; /* Ensure background matches body */
}

.page-news__hero-image-container {
    width: 100%;
    max-width: 1200px; /* Limit image width */
    margin-bottom: 30px; /* Space between image and content */
    overflow: hidden;
    border-radius: 12px;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px; /* Max height for the image */
}

.page-news__hero-content {
    /* uses page-news__container for max-width and padding */
    padding-top: 0; /* No extra padding here */
}

.page-news__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #F2FFF6;
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-news__subtitle {
    font-size: 1.2rem;
    color: #A7D9B8;
    margin-bottom: 30px;
}

.page-news__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-news__btn-secondary {
    background: transparent;
    color: #F2FFF6;
    border: 2px solid #2E7A4E;
}

.page-news__btn-secondary:hover {
    background-color: #2E7A4E;
    color: #ffffff;
}

/* Section common styles */
.page-news__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F2FFF6;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news__section-description {
    font-size: 1.1rem;
    color: #A7D9B8;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Latest Articles Section */
.page-news__latest-articles {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green background */
}

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

.page-news__article-card {
    background-color: #11271B; /* Card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__article-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__article-image-wrapper {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    overflow: hidden;
}

.page-news__article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-news__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__article-title {
    font-size: 1.4rem;
    color: #F2FFF6;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__article-meta {
    font-size: 0.9rem;
    color: #A7D9B8;
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    font-size: 1rem;
    color: #F2FFF6;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    color: #2AD16F;
    font-weight: bold;
    text-decoration: none;
}

.page-news__read-more:hover {
    text-decoration: underline;
}

.page-news__view-all-button {
    text-align: center;
}

/* Promotion Highlight Section */
.page-news__promotion-highlight {
    padding: 80px 0;
    background-color: #08160F; /* Dark background */
}

.page-news__promo-card {
    display: flex;
    flex-direction: row;
    background-color: #11271B; /* Card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    align-items: center;
    padding: 30px;
}

.page-news__promo-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 30px;
}

.page-news__promo-content {
    width: 50%;
}

.page-news__promo-title {
    font-size: 2rem;
    color: #F2FFF6;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news__promo-text {
    font-size: 1.1rem;
    color: #A7D9B8;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green background */
}

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

.page-news__faq-item {
    background-color: #11271B; /* Card background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2FFF6;
    cursor: pointer;
    list-style: none; /* For details/summary */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

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

.page-news__faq-toggle {
    font-size: 1.5rem;
    color: #2AD16F;
    margin-left: 15px;
}

.page-news__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8;
    line-height: 1.6;
}

/* CTA Section */
.page-news__cta-section {
    padding: 80px 0;
    background-color: #08160F; /* Dark background */
}

.page-news__cta-content {
    text-align: center;
    margin-bottom: 40px;
}

.page-news__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-news__cta-image-wrapper {
    text-align: center;
}

.page-news__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__promo-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .page-news__promo-image {
        width: 80%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .page-news__promo-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding-bottom: 40px;
    }

    .page-news__hero-image-container {
        max-height: 300px; /* Adjust for smaller screens */
    }

    .page-news__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .page-news__subtitle {
        font-size: 1rem;
    }

    .page-news__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-news__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-news__section-description {
        font-size: 0.95rem;
    }

    .page-news__latest-articles,
    .page-news__promotion-highlight,
    .page-news__faq-section,
    .page-news__cta-section {
        padding: 50px 0;
    }

    .page-news__article-grid {
        grid-template-columns: 1fr;
    }

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

    .page-news__promo-image {
        width: 100%;
    }

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

    .page-news__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__hero-section,
    .page-news__latest-articles,
    .page-news__promotion-highlight,
    .page-news__faq-section,
    .page-news__cta-section,
    .page-news__hero-cta,
    .page-news__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-news__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }
    
    /* Ensure flex-wrap for multiple buttons */
    .page-news__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px !important;
        flex-direction: column !important; /* Stack buttons vertically on mobile */
    }
}

/* Specific colors */
.page-news__dark-bg {
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6;
}

.page-news__light-bg {
    background-color: #08160F; /* Background color */
    color: #F2FFF6;
}