:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;

    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-news {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Light text for dark background */
    background-color: var(--background); /* Deep Green 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;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: var(--background);
}

.page-news__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-news__hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--text-main);
}

.page-news__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold); /* Using gold for main title for emphasis */
    letter-spacing: -0.02em;
}

.page-news__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-news__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 400px; /* Limit button group width */
    margin: 0 auto;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    text-align: center;
}

.page-news__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-news__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-news__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Sections */
.page-news__articles-section,
.page-news__cta-section,
.page-news__faq-section,
.page-news__about-section {
    padding: 80px 0;
    text-align: center;
}

.page-news__dark-bg {
    background-color: var(--background); /* Deep Green */
    color: var(--text-main);
}

.page-news__light-bg {
    background-color: var(--card-bg); /* Darker Green for contrast */
    color: var(--text-main);
}

.page-news__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold);
}

.page-news__section-description,
.page-news__cta-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* News Articles Grid */
.page-news__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-news__article-card {
    background-color: var(--background); /* Dark Green */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
}

.page-news__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px 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 {
    width: 100%;
    height: 200px; /* Fixed height for image */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-news__article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to grow and fill space */
}

.page-news__article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.4;
}

.page-news__article-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    flex-grow: 1; /* Allow summary to take up available space */
}

.page-news__article-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: auto; /* Push date and read more to bottom */
    margin-bottom: 10px;
}

.page-news__read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

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

.page-news__view-all-button {
    margin-top: 60px;
}

/* CTA Section */
.page-news__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold);
}

/* FAQ Section */
.page-news__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-news__faq-item {
    background-color: var(--background); /* Dark Green */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px 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.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg); /* Slightly lighter dark green for question background */
    border-bottom: 1px solid var(--divider);
    list-style: none; /* For details/summary */
}

.page-news__faq-item[open] > .page-news__faq-question {
    border-bottom: 1px solid var(--border);
}

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

.page-news__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-news__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}

.page-news__faq-answer p {
    margin-bottom: 10px;
}

/* About Section */
.page-news__about-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__hero-image {
        max-height: 500px;
    }
}

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

    .page-news__hero-section {
        padding: 10px 0 40px 0 !important;
    }

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

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

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        padding: 0 15px !important; /* Add padding to container itself */
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .page-news__articles-section,
    .page-news__cta-section,
    .page-news__faq-section,
    .page-news__about-section {
        padding: 60px 0 !important;
    }

    .page-news__section-title,
    .page-news__cta-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-news__section-description,
    .page-news__cta-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

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

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

    .page-news__article-title {
        font-size: 1.1rem;
    }

    .page-news__article-summary {
        font-size: 0.9rem;
    }

    .page-news__faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }

    .page-news__faq-answer {
        font-size: 0.95rem;
        padding: 18px 20px;
    }

    /* 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,
    .page-news__cta-buttons,
    .page-news__faq-list,
    .page-news__article-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-news__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-news__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Fixed header spacing - rely on body padding, small top padding here */
    .page-news__hero-section {
        padding-top: 10px !important;
    }
    .page-news__article-image {
        min-width: unset;
        min-height: unset;
    }
}