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

.page-news {
    font-family: Arial, sans-serif;
    background-color: var(--background-color); /* Dark background */
    color: var(--text-main); /* Light text for dark background */
    line-height: 1.6;
}

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

.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    filter: none; /* Explicitly disable any filters */
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    color: var(--text-main);
}

.page-news__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.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;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%;
}

.page-news__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
    margin: 0 10px;
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background: transparent;
    color: var(--glow-color); /* Green text for contrast */
    border: 2px solid var(--glow-color);
    margin: 0 10px;
}

.page-news__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

.page-news__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    padding-top: 40px;
}

.page-news__latest-articles-section,
.page-news__featured-article-section,
.page-news__cta-section,
.page-news__faq-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

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

.page-news__article-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-main);
}

.page-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-news__article-thumbnail {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    filter: none; /* Explicitly disable any filters */
    min-width: 200px;
    min-height: 200px;
}

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

.page-news__article-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

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

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

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

.page-news__article-excerpt {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-news__read-more:hover {
    color: var(--gold-color);
}

.page-news__read-more-icon {
    margin-left: 8px;
    font-size: 1.2em;
    line-height: 1;
}

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

.page-news__featured-content {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-news__featured-thumbnail {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    filter: none; /* Explicitly disable any filters */
    min-width: 200px;
    min-height: 200px;
}

.page-news__featured-text {
    width: 50%;
    color: var(--text-main);
}

.page-news__featured-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

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

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

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

.page-news__featured-excerpt {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.page-news__cta-section {
    text-align: center;
    background-color: var(--deep-green);
    padding: 80px 20px;
}

.page-news__cta-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

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

.page-news__faq-item {
    background-color: var(--card-background);
    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: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

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

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

.page-news__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--gold-color);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__featured-content {
        flex-direction: column;
        text-align: center;
    }

    .page-news__featured-thumbnail,
    .page-news__featured-text {
        width: 100%;
    }
    .page-news__featured-thumbnail {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-news__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .page-news__section-title,
    .page-news__cta-title {
        font-size: 2em;
    }
    .page-news__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-news__article-card {
        margin: 0;
    }
    .page-news__featured-content {
        padding: 20px;
        margin: 0;
    }
    .page-news__cta-section {
        padding: 60px 20px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100%;
        margin: 0;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__faq-item {
        margin: 0 0 15px 0;
    }
    .page-news__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__hero-image-wrapper,
    .page-news__article-thumbnail,
    .page-news__featured-thumbnail {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-news__latest-articles-section .page-news__container,
    .page-news__featured-article-section .page-news__container,
    .page-news__cta-section .page-news__container,
    .page-news__faq-section .page-news__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__hero-content {
        padding: 0 15px;
    }
}