:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient-start: #2AD16F;
    --button-gradient-end: #13994A;
    --card-bg-color: #11271B;
    --bg-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-news {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Light text for dark background */
    background-color: var(--bg-color); /* Deep Green */
}

.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    overflow: hidden;
    color: var(--text-main-color);
}

.page-news__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image slightly for text readability */
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 8px;
}

.page-news__main-title {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-news__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

.page-news__hero-cta-button,
.page-news__text-cta-button,
.page-news__cta-button,
.page-news__view-all-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* For responsive buttons */
    word-wrap: break-word; /* For responsive buttons */
}

.page-news__hero-cta-button,
.page-news__btn-primary {
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: var(--text-main-color);
    border: none;
}

.page-news__hero-cta-button:hover,
.page-news__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

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

.page-news__section-title {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    position: relative;
    padding-bottom: 10px;
}

.page-news__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--gold-color);
    border-radius: 2px;
}

.page-news__section-intro {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary-color);
}

.page-news__about-news-section,
.page-news__latest-articles-section,
.page-news__featured-articles-section,
.page-news__faq-section,
.page-news__cta-section {
    padding: 80px 0;
    color: var(--text-main-color);
}

.page-news__about-news-section p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

.page-news__text-cta-button {
    background: transparent;
    border: 2px solid var(--gold-color);
    color: var(--gold-color);
    margin-top: 20px;
}

.page-news__text-cta-button:hover {
    background-color: var(--gold-color);
    color: var(--deep-green-color);
    transform: translateY(-2px);
}

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

.page-news__news-card {
    background-color: var(--card-bg-color); /* Darker green for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-news__card-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-news__card-title a:hover {
    color: var(--gold-color);
}

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

.page-news__card-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes read more to bottom */
}

.page-news__read-more {
    color: var(--gold-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    padding-top: 5px;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    text-decoration: underline;
    color: var(--glow-color);
}

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

.page-news__view-all-button {
    background: var(--deep-green-color); /* A slightly different green */
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-news__view-all-button:hover {
    background-color: var(--border-color);
    color: var(--text-main-color);
    transform: translateY(-2px);
}

.page-news__faq-section {
    background-color: var(--bg-color); /* Using base background color */
    color: var(--text-main-color);
}

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

.page-news__faq-item {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-news__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-main-color);
    background-color: var(--card-bg-color);
    transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
    background-color: var(--divider-color);
}

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold-color);
}

.page-news__faq-item[open] .page-news__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-news__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-secondary-color);
}

.page-news__cta-section {
    background-color: var(--deep-green-color); /* Using deep green for strong CTA */
    text-align: center;
    padding: 80px 0;
    color: var(--text-main-color);
}

.page-news__cta-section .page-news__section-title {
    color: var(--gold-color);
}

.page-news__cta-section .page-news__section-title::after {
    background-color: var(--gold-color);
}

.page-news__cta-description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-secondary-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: 2em;
    }
    .page-news__section-title {
        font-size: 1.8em;
    }
    .page-news__card-title {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-news__hero-content {
        padding: 15px;
    }
    .page-news__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-news__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-news__hero-cta-button,
    .page-news__text-cta-button,
    .page-news__cta-button,
    .page-news__view-all-button {
        padding: 12px 25px;
        font-size: 0.95em;
        width: 100% !important; /* For responsive buttons */
        max-width: 100% !important; /* For responsive buttons */
        box-sizing: border-box !important; /* For responsive buttons */
        white-space: normal !important; /* For responsive buttons */
        word-wrap: break-word !important; /* For responsive buttons */
    }

    .page-news__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-news__card-image-wrapper {
        height: 180px;
    }
    .page-news__card-content {
        padding: 20px;
    }
    .page-news__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-news__section-intro {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-news__about-news-section,
    .page-news__latest-articles-section,
    .page-news__featured-articles-section,
    .page-news__faq-section,
    .page-news__cta-section {
        padding: 50px 0;
    }

    /* 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-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Added to prevent overflow */
    }
    .page-news__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-news__faq-answer {
        padding: 0 20px 15px;
    }
}
@media (max-width: 480px) {
    .page-news__main-title {
        font-size: 1.5em;
    }
    .page-news__hero-description {
        font-size: 0.9em;
    }
    .page-news__section-title {
        font-size: 1.4em;
    }
    .page-news__card-title {
        font-size: 1.1em;
    }
}