.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;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: #f0f0f0; /* Light background for hero section */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and text */
}

.page-news__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 15px;
}

.page-news__main-title {
    font-size: clamp(2em, 3.5vw, 3em);
    font-weight: bold;
    color: #017439; /* Primary color for title */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-news__description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-news__latest-news-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

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

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

.page-news__news-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-news__news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-news__news-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails */
    object-fit: cover;
    display: block;
}

.page-news__news-content {
    padding: 20px;
}

.page-news__news-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__news-meta {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
}

.page-news__news-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-news__read-more {
    color: #017439;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.page-news__read-more::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease;
}

.page-news__news-card:hover .page-news__read-more::after {
    right: -20px;
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__cta-section {
    padding: 80px 20px;
    text-align: center;
}

.page-news__dark-section {
    background-color: #017439;
    color: #ffffff;
}

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

.page-news__cta-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

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

.page-news__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #015c2e;
    border-color: #015c2e;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }
    .page-news__section-title,
    .page-news__cta-title {
        font-size: 2em;
    }
    .page-news__news-thumbnail {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news__hero-section {
        padding: 10px 15px 40px;
    }
    .page-news__hero-content {
        padding: 0 10px;
    }
    .page-news__main-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }
    .page-news__description {
        font-size: 1em;
    }
    .page-news__section-title,
    .page-news__cta-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news__news-grid {
        grid-template-columns: 1fr;
    }
    .page-news__news-thumbnail {
        height: 220px;
    }
    .page-news__cta-section {
        padding: 50px 15px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-news__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-news__hero-image,
    .page-news__news-thumbnail {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        display: block !important;
    }
    .page-news__news-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__latest-news-section,
    .page-news__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-news__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-news__section-title,
    .page-news__cta-title {
        font-size: 1.5em;
    }
    .page-news__news-title {
        font-size: 1.2em;
    }
    .page-news__news-thumbnail {
        height: 160px;
    }
}