.page-news {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    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;
    padding: 0; /* Image takes full width, content overlays or is below */
    display: flex;
    flex-direction: column; /* Image then content */
    align-items: center;
    text-align: center;
    background-color: #08160F; /* Fallback */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure min size */
}

.page-news__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for design, but content is below in DOM */
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1; /* Ensure it's above other elements if any overlap */
    border: 1px solid #2E7A4E; /* Border */
}

.page-news__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive H1 */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-news__intro-text {
    font-size: 18px;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* Section Titles */
.page-news__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}
.page-news__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2AD16F, #13994A);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

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

.page-news__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

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

.page-news__btn-secondary:hover {
    background-color: #2AD16F;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

/* Latest News Section */
.page-news__latest-news-section {
    padding: 60px 0;
    background-color: #08160F;
}

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

.page-news__news-card {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news__news-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-height: 200px; /* Ensure min size */
}

.page-news__card-content {
    padding: 20px;
}

.page-news__card-title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 52px; /* Ensure consistent height for titles */
}

.page-news__card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #2AD16F; /* Highlight color */
}

.page-news__card-date {
    font-size: 14px;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 72px; /* Consistent excerpt height */
}

.page-news__read-more-btn {
    color: #2AD16F;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s ease;
}

.page-news__read-more-btn:hover {
    color: #57E38D; /* Glow */
}

.page-news__view-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Featured News Section */
.page-news__featured-news-section {
    padding: 60px 0;
    background-color: #08160F;
}

.page-news__featured-article {
    display: flex;
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    border: 1px solid #2E7A4E; /* Border */
}

.page-news__featured-thumbnail {
    width: 40%;
    height: auto;
    object-fit: cover;
    min-width: 300px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-news__featured-content {
    padding: 30px;
    width: 60%;
}

.page-news__featured-title {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-news__featured-title a {
    color: #F2FFF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__featured-title a:hover {
    color: #2AD16F;
}

.page-news__featured-date {
    font-size: 15px;
    color: #A7D9B8;
    margin-bottom: 15px;
}

.page-news__featured-excerpt {
    font-size: 17px;
    color: #A7D9B8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background-color: #08160F;
}

.page-news__faq-list {
    margin-top: 30px;
}

.page-news__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6;
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: #11271B;
    color: #F2FFF6;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}
.page-news__faq-question::-webkit-details-marker {
    display: none;
}

.page-news__faq-question:hover {
    background-color: #1E3A2A; /* Divider */
}

.page-news__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #2AD16F;
}

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

details[open] .page-news__faq-question {
    background-color: #1E3A2A; /* Divider */
}

/* CTA Section */
.page-news__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #11271B; /* Card BG */
    border-top: 1px solid #2E7A4E;
}

.page-news__cta-title {
    font-size: clamp(26px, 3.8vw, 42px);
    color: #F2FFF6;
    margin-bottom: 20px;
}

.page-news__cta-description {
    font-size: 18px;
    color: #A7D9B8;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }
    .page-news__featured-article {
        flex-direction: column;
    }
    .page-news__featured-thumbnail,
    .page-news__featured-content {
        width: 100%;
        min-width: unset;
    }
    .page-news__featured-thumbnail {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-news__container {
        padding: 0 15px;
    }

    .page-news__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }

    .page-news__main-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .page-news__intro-text {
        font-size: 16px;
    }

    .page-news__section-title {
        font-size: clamp(22px, 5vw, 32px);
        padding-top: 40px;
    }

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

    .page-news__news-thumbnail,
    .page-news__featured-thumbnail {
        height: 200px;
        min-height: 200px; /* Ensure min size */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__news-card,
    .page-news__featured-article {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0; /* Card padding is handled by internal content */
    }
    .page-news__card-content,
    .page-news__featured-content {
        padding: 15px;
    }
    .page-news__news-card img,
    .page-news__featured-article img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__cta-section {
        padding: 50px 0;
    }
    .page-news__cta-title {
        font-size: clamp(24px, 6vw, 36px);
    }
    .page-news__cta-description {
        font-size: 16px;
    }
    .page-news__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-news__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }
    .page-news__latest-news-section,
    .page-news__featured-news-section,
    .page-news__faq-section {
        padding: 40px 0;
    }
    .page-news__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-news__hero-content {
        margin-top: -30px;
        padding: 20px 10px;
    }
    .page-news__main-title {
        font-size: clamp(22px, 7vw, 32px);
    }
    .page-news__intro-text {
        font-size: 15px;
    }
    .page-news__news-thumbnail {
        height: 180px;
    }
    .page-news__card-title {
        font-size: 18px;
        min-height: unset;
    }
    .page-news__card-excerpt {
        font-size: 15px;
        min-height: unset;
    }
    .page-news__featured-thumbnail {
        height: 180px;
    }
    .page-news__featured-title {
        font-size: 20px;
    }
    .page-news__featured-excerpt {
        font-size: 15px;
    }
}