.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f9fa; /* Body background color */
}

/* General section styling */
.page-news__hero-section,
.page-news__latest-news-section,
.page-news__news-archive-section,
.page-news__cta-section,
.page-news__faq-section {
    padding: 60px 20px;
    margin-bottom: 20px;
    position: relative;
}

.page-news__hero-section {
    padding-top: 10px; /* Small top padding for hero section */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #08160F; /* Custom background color for hero */
    color: #F2FFF6; /* Main text color for dark background */
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

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

.page-news__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above image if any overlap */
}

.page-news__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: bold;
    margin-bottom: 20px;
    color: #F2FFF6; /* Main text color */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-news__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Secondary text color */
}

.page-news__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #11A84E; /* Primary color for section titles */
}

.page-news__latest-news-section {
    background-color: #f8f9fa; /* Light background for this section */
    color: #333333;
}

.page-news__intro-text {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.05rem;
    color: #333333;
}

.page-news__intro-text--light {
    color: #A7D9B8;
}

.page-news__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.page-news__news-card {
    background-color: #ffffff; /* Card background for light section */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__card-title a {
    color: #11A84E; /* Link color for card title */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #22C768; /* Hover color */
}

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

.page-news__card-excerpt {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 20px;
}

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

.page-news__news-archive-section {
    background-color: #08160F; /* Custom dark background */
    color: #F2FFF6; /* Main text color for dark background */
}

.page-news__news-archive-section .page-news__section-title {
    color: #F2FFF6; /* White title for dark section */
}

.page-news__news-list {
    max-width: 1000px;
    margin: 0 auto;
}

.page-news__list-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid #1E3A2A; /* Divider color */
}

.page-news__list-item:last-child {
    border-bottom: none;
}

.page-news__list-image {
    width: 200px;
    min-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.page-news__list-content {
    flex-grow: 1;
}

.page-news__list-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.page-news__list-title a {
    color: #F2FFF6; /* Light text for dark background */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__list-title a:hover {
    color: #2AD16F; /* Button top gradient color for hover */
}

.page-news__list-meta {
    font-size: 0.85rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 10px;
}

.page-news__list-excerpt {
    font-size: 0.95rem;
    color: #A7D9B8; /* Secondary text color */
    margin-bottom: 15px;
}

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

.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%);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-news__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Primary button top color */
    border: 2px solid #2AD16F;
}

.page-news__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    color: #13994A; /* Primary button bottom color */
    border-color: #13994A;
}

.page-news__btn-text {
    background: none;
    border: none;
    color: #2AD16F; /* Primary button top color */
    padding: 0;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
}

.page-news__btn-text:hover {
    text-decoration: underline;
    color: #13994A; /* Primary button bottom color */
}

.page-news__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.page-news__pagination-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #11271B; /* Card BG for dark section */
    color: #A7D9B8; /* Secondary text color */
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.page-news__pagination-link:hover {
    background-color: #2E7A4E; /* Border color for hover */
    color: #F2FFF6; /* Main text color */
}

.page-news__pagination-link--active {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
}

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

.page-news__cta-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 40px auto;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #F2FFF6;
}

.page-news__cta-content {
    flex: 1;
    text-align: left;
}

.page-news__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 15px;
    color: #F2FFF6;
}

.page-news__cta-description {
    font-size: 1.05rem;
    color: #A7D9B8;
    margin-bottom: 30px;
}

.page-news__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news__cta-image-wrapper {
    flex: 0 0 auto;
    width: 300px;
    height: auto;
}

.page-news__cta-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.page-news__faq-section {
    max-width: 1000px;
    margin: 40px auto;
    background-color: #08160F; /* Dark background */
    color: #F2FFF6;
    border-radius: 15px;
    padding: 40px;
}

.page-news__faq-section .page-news__section-title {
    color: #F2FFF6;
}

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

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

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2FFF6;
    user-select: none;
    list-style: none; /* Remove default marker for details/summary */
}

.page-news__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-news__faq-qtext {
    flex-grow: 1;
}

.page-news__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: #57E38D; /* Glow color */
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-news__list-image {
        margin-bottom: 20px;
    }
    .page-news__cta-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .page-news__cta-content {
        text-align: center;
    }
    .page-news__cta-buttons {
        justify-content: center;
    }
    .page-news__cta-image-wrapper {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-news__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .page-news__description {
        font-size: 1rem;
    }

    .page-news__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-news__latest-news-section,
    .page-news__news-archive-section,
    .page-news__cta-section,
    .page-news__faq-section {
        padding: 30px 15px;
    }

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

    .page-news__card-image {
        height: 200px;
    }
    .page-news__card-title {
        font-size: 1.3rem;
    }
    .page-news__card-excerpt {
        font-size: 0.9rem;
    }

    .page-news__list-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 25px 0;
    }
    .page-news__list-image {
        width: 100% !important;
        max-width: 300px !important; /* Ensure image isn't too wide but also not too small */
        height: auto !important;
        min-width: 200px !important;
    }
    .page-news__list-title {
        font-size: 1.2rem;
    }
    .page-news__list-excerpt {
        font-size: 0.9rem;
    }

    .page-news__cta-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .page-news__cta-description {
        font-size: 0.95rem;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news__btn-text {
        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;
    }
    .page-news__cta-image-wrapper {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-news__cta-image {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-news__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-news__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* General image responsiveness for all images */
    .page-news img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

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