:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --btn-background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-background: #08160F; /* This is the main body background, from shared.css */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
    --header-offset: 80px; /* Placeholder, actual value from shared.css */
}

/* Base styles for the news page, assuming body has a dark background from shared.css */
.page-news {
    background-color: var(--page-background); /* Ensure consistent background for main content area */
    color: var(--text-main); /* Default text color for dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Light background sections will have dark text */
.page-news__light-bg {
    background-color: #ffffff; /* White background for contrast */
    color: #333333; /* Dark text for light background */
}

/* Dark background sections will have light text */
.page-news__dark-bg {
    background-color: var(--card-bg); /* Use card background for dark sections */
    color: var(--text-main); /* Light text */
}

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--deep-green); /* A darker green for hero section */
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
}

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

.page-news__hero-content {
    position: relative; /* Ensure content is above image if z-index is used, but we avoid overlay */
    z-index: 1;
    padding-top: 40px; /* Spacing between image and text */
    max-width: 900px;
}

.page-news__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__description {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__cta-button {
    display: inline-block;
    background: var(--btn-background);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-news__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2rem;
}

/* General Section Styles */
.page-news__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-news__section:last-of-type {
    border-bottom: none;
}

.page-news__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

/* Text elements within light background sections */
.page-news__light-bg .page-news__section-title,
.page-news__light-bg p,
.page-news__light-bg li {
    color: #333333;
}

/* Text elements within dark background sections */
.page-news__dark-bg .page-news__section-title,
.page-news__dark-bg p,
.page-news__dark-bg li {
    color: var(--text-main);
}

/* Image wrappers for content images */
.page-news__image-wrapper {
    text-align: center;
    margin: 20px 0;
}

.page-news__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Grid Layouts */
.page-news__grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-news__grid-reverse {
    grid-template-areas: "image content"; /* Default order */
}

.page-news__grid-reverse .page-news__image-wrapper {
    grid-area: image;
}

.page-news__grid-reverse .page-news__content-block {
    grid-area: content;
}

/* Lists */
.page-news__list, .page-news__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding: 0;
}

.page-news__ordered-list {
    list-style-type: decimal;
}

.page-news__list-item {
    margin-bottom: 10px;
}

.page-news__list-item strong {
    color: var(--primary-color);
}
.page-news__light-bg .page-news__list-item strong {
    color: var(--deep-green); /* Darker green for light background */
}


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

.page-news__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green); /* Slightly darker green for summary */
    color: var(--text-main);
    list-style: none; /* For details/summary */
    user-select: none;
    transition: background-color 0.3s ease;
}

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

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

.page-news__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or just change to '-' */
}
.page-news__faq-item[open] .page-news__faq-toggle::before {
    content: '−';
}
.page-news__faq-item:not([open]) .page-news__faq-toggle::before {
    content: '+';
}

.page-news__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-news__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
}

/* Conclusion Section CTA */
.page-news__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-news__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-news__description {
        font-size: 1rem;
    }
    .page-news__grid-two-cols {
        grid-template-columns: 1fr;
    }
    .page-news__grid-reverse {
        grid-template-areas: "content" "image"; /* Reverse order on smaller screens */
    }
    .page-news__grid-reverse .page-news__image-wrapper {
        margin-top: 20px;
    }
    .page-news__section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 30px;
    }
    .page-news__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-news__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Mobile responsive images */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__image-wrapper,
    .page-news__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Mobile responsive buttons */
    .page-news__cta-button,
    .page-news a[class*="button"],
    .page-news a[class*="btn"] {
        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;
        text-align: center; /* Center text within button */
    }
    .page-news__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /* Small top padding for first section */
    .page-news__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-news__hero-content {
        padding-top: 20px;
    }
    .page-news__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-news__section {
        padding: 30px 0;
    }
    .page-news__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 25px;
    }
    .page-news__faq-question {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    .page-news__faq-answer {
        padding: 0 15px 12px;
        font-size: 0.9rem;
    }
}