.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
}

.page-news__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #017439; /* Brand color as background */
    color: #ffffff; /* White text for dark background */
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
}

.page-news__hero-container {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-news__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-news__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-news__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-news__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-news__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-news__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

.page-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
}

.page-news__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-news__section-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-news__section-title {
    font-size: 2.5em;
    color: #017439;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-news__section-title--white {
    color: #ffffff;
}

.page-news__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    text-align: justify;
}

.page-news strong {
    color: #017439;
}

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

.page-news__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
    min-height: 350px; /* Ensure cards have a minimum height */
}

.page-news__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__feature-icon {
    width: 200px; /* Minimum size for images */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-news__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news__feature-description {
    font-size: 1em;
    line-height: 1.6;
    flex-grow: 1; /* Allow description to take available space */
}

.page-news__article-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-news__article-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333;
}

.page-news__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__article-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

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

.page-news__article-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
    flex-grow: 1;
}

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

.page-news__article-title a:hover {
    color: #005a2e;
    text-decoration: underline;
}

.page-news__article-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-news__read-more-link {
    display: inline-block;
    color: #C30808; /* Use register/login color for strong CTA */
    text-decoration: none;
    font-weight: bold;
    margin-top: auto; /* Push to bottom */
    transition: color 0.3s ease;
}

.page-news__read-more-link:hover {
    color: #a00606;
    text-decoration: underline;
}

.page-news__benefits-list,
.page-news__utilization-steps {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-news__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1.1em;
    line-height: 1.6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-news__list-item strong {
    color: #333333;
}

.page-news__cta-block {
    text-align: center;
    background-color: #f0f8f0; /* Light green background */
    padding: 40px 20px;
    border-radius: 10px;
    margin-top: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-news__cta-text {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-news__faq-section {
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
    padding: 60px 20px;
}

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

.page-news__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333333; /* Dark text for light background */
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
    background-color: #e0e0e0;
}

.page-news__faq-heading {
    margin: 0;
    color: #017439;
}

.page-news__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
    transform: rotate(0deg); /* Explicitly set for consistency */
}

.page-news__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-news__faq-item.active .page-news__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px 25px;
}

.page-news__faq-text {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: 2.8em;
    }
    .page-news__hero-description {
        font-size: 1.2em;
    }
    .page-news__section-title {
        font-size: 2.2em;
    }
    .page-news__feature-card {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-news__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-news__hero-description {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news__content-area,
    .page-news__faq-section {
        padding: 40px 15px;
    }
    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .page-news__text-block,
    .page-news__list-item,
    .page-news__article-excerpt,
    .page-news__faq-text {
        font-size: 1em;
    }

    .page-news__feature-grid,
    .page-news__article-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__feature-card,
    .page-news__article-card {
        padding: 20px;
        min-height: auto;
    }

    .page-news__feature-icon {
        width: 150px;
        height: 120px;
    }
    
    .page-news__article-image {
        height: 200px;
    }

    .page-news__cta-block {
        padding: 30px 15px;
    }
    .page-news__cta-text {
        font-size: 1.2em;
    }

    .page-news__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-news__faq-item.active .page-news__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-news img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__cta-buttons,
    .page-news__feature-card,
    .page-news__article-card,
    .page-news__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding left/right should be applied to the container of these elements if needed,
           or ensure they have internal padding */
    }
    /* Ensure containers for images/buttons also handle padding */
    .page-news__section-container,
    .page-news__faq-list {
        padding-left: 0;
        padding-right: 0;
    }
}