.page-news {
    background-color: var(--background-color, #F4F7FB);
    color: var(--text-main-color, #1F2D3D);
    padding-bottom: 40px; /* Add some padding at the bottom for overall page */
}

.page-news__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above text */
    align-items: center;
    padding-top: 10px; /* Small top padding as per instruction */
    padding-bottom: 40px;
    background-color: var(--main-color, #2F6BFF); /* Use main color as background for the section */
    color: #FFFFFF; /* White text on dark background */
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image */
    margin-bottom: 20px; /* Space between image and text */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Slightly rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-news__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size, rely on clamp if needed, but primarily other properties */
}

.page-news__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #E0E0E0; /* Lighter white for description */
}

.page-news__articles-section {
    padding: 40px 0;
    background-color: var(--background-color, #F4F7FB);
}

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

.page-news__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000); /* Use custom text color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

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

.page-news__article-card {
    background-color: var(--card-bg-color, #FFFFFF);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-news__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency, will use object-fit */
    object-fit: cover;
    display: block;
    /* Ensure image display size is not less than 200px */
    min-height: 200px; 
    min-width: 200px;
}

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

.page-news__article-title {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--text-main-color, #1F2D3D);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__article-excerpt {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-news__article-date {
    font-size: 0.85em;
    color: #555; /* Changed from #888 to #555 for better contrast */
    display: block;
    text-align: right;
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-news__view-all-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-section {
    background-color: var(--main-color, #2F6BFF);
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
}

.page-news__cta-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #FFFFFF;
}

.page-news__cta-description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #E0E0E0;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-color, linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%));
    color: #FFFFFF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(2em, 5vw, 3em); /* Using clamp for H1 */
    }
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__cta-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding-bottom: 30px;
    }
    .page-news__hero-image-wrapper {
        margin-bottom: 15px;
    }
    .page-news__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em); /* Further adjust H1 for smaller screens */
        margin-bottom: 10px;
    }
    .page-news__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-news__articles-section {
        padding: 30px 0;
    }
    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news__articles-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .page-news__article-image {
        max-width: 100%;
        height: auto;
        min-height: 200px; /* Ensure minimum size */
        min-width: 200px;
    }
    .page-news__article-title {
        font-size: 1.2em;
    }
    .page-news__article-excerpt {
        font-size: 0.9em;
    }
    .page-news__view-all-wrapper {
        margin-top: 30px;
    }
    .page-news__cta-section {
        padding: 40px 20px;
    }
    .page-news__cta-title {
        font-size: 1.6em;
    }
    .page-news__cta-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-news__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    /* Important: Mobile content area anti-overflow */
    .page-news__articles-section img,
    .page-news__hero-section img {
        max-width: 100%;
        height: auto;
    }
    .page-news__container {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

@media (max-width: 480px) {
    .page-news__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }
    .page-news__section-title {
        font-size: 1.6em;
    }
    .page-news__cta-title {
        font-size: 1.4em;
    }
    .page-news__article-image {
        height: auto; /* Allow auto height on very small screens */
    }
}