/* style/news.css */
.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: var(--background-color, #08160F); /* Fallback to Deep Green if var not defined */
}

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

.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #08160F; /* Background */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

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

.page-news__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

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

.page-news__dark-section {
    background-color: #11271B; /* Card B G */
    padding: 60px 0;
}

.page-news__introduction-section {
    padding: 60px 0;
    text-align: center;
}

.page-news__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-news__text-block {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    text-align: justify;
}

.page-news__categories-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-news__grid--columns {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-news__card {
    background-color: #11271B; /* Card B G */
    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;
    color: #F2FFF6; /* Text Main */
}

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

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

.page-news__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 20px 10px 20px;
    color: #F2FFF6; /* Text Main */
}

.page-news__card-title a {
    color: #F2FFF6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #57E38D; /* Glow */
}

.page-news__card-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    padding: 0 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    margin: 20px;
    padding: 10px 15px;
    background-color: #13994A; /* Deep Green */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.page-news__read-more:hover {
    background-color: #2AD16F;
}

.page-news__benefits-section {
    padding: 60px 0;
}

.page-news__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-news__list-item {
    background-color: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-news__list-item:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-news__list-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-news__list-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-news__access-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    text-align: center;
}

.page-news__info-card {
    background-color: #11271B; /* Card B G */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #F2FFF6; /* Text Main */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news__info-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-news__info-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-news__cta-download {
    padding: 80px 0;
}

.page-news__cta-content {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-news__cta-image {
    flex-shrink: 0;
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-news__cta-text-wrapper {
    flex-grow: 1;
}

.page-news__cta-download .page-news__section-title {
    text-align: left;
    margin-bottom: 25px;
}

.page-news__cta-download .page-news__text-block {
    text-align: left;
    margin-bottom: 30px;
}

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

.page-news__faq-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

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

.page-news__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B;
    transition: background-color 0.3s ease;
}

.page-news__faq-item summary:hover {
    background-color: #0A4B2C; /* Deep Green */
}

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

.page-news__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

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

    .page-news__cta-download .page-news__section-title,
    .page-news__cta-download .page-news__text-block {
        text-align: center;
    }

    .page-news__cta-image {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 40px 15px;
    }

    .page-news__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .page-news__hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

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

    .page-news__text-block {
        font-size: 1rem;
    }

    .page-news__grid {
        grid-template-columns: 1fr;
    }

    .page-news__card img,
    .page-news__cta-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news__card,
    .page-news__info-card,
    .page-news__list-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
    }

    .page-news__cta-buttons,
    .page-news__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-news__cta-download .page-news__container {
        padding: 0 15px;
    }

    .page-news__hero-content {
        padding: 15px;
    }

    .page-news__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }

    .page-news__faq-answer {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-news__cta-button {
        font-size: 0.95rem;
        padding: 12px 20px;
    }

    .page-news__cta-button--large {
        font-size: 1rem;
        padding: 15px 25px;
    }
}