.page-news {
    background-color: #F4F7FB;
    color: #1F2D3D;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

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

.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: #F4F7FB;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Ensure min size */
}

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

.page-news__main-title {
    color: #2F6BFF;
    font-weight: 700;
    margin-bottom: 15px;
    /* Using clamp for responsive font-size, adhering to no fixed large values */
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

.page-news__hero-description {
    color: #1F2D3D;
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.page-news__hero-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure button is not too small */
}

.page-news__hero-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news__articles-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-news__section-title {
    color: #2F6BFF;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

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

.page-news__article-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Ensure card has minimum height */
}

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

.page-news__article-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency in grid */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px; /* Minimum size for content images */
}

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

.page-news__article-title {
    color: #2F6BFF;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__article-meta {
    color: #6FA3FF;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.page-news__article-excerpt {
    color: #1F2D3D;
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    color: #2F6BFF;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.page-news__read-more:hover {
    text-decoration: underline;
}

.page-news__view-all-wrapper {
    text-align: center;
}

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px; /* Ensure button is not too small */
}

.page-news__view-all-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-news__about-news-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    border-top: 1px solid #D6E2FF;
}

.page-news__text-content {
    color: #1F2D3D;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-news__cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
    min-width: 200px; /* Ensure button is not too small */
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__container {
        padding: 20px 30px;
    }

    .page-news__hero-content {
        padding: 0 30px;
    }
}

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

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

    .page-news__hero-description {
        font-size: 1rem;
    }

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

    .page-news__article-card {
        min-height: auto;
    }

    .page-news__article-image {
        height: auto;
        max-width: 100%;
        min-width: 200px; /* Ensure content images are not too small */
        min-height: 200px;
    }

    .page-news__article-title {
        font-size: 1.3rem;
    }

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

    /* Ensure all images within .page-news are responsive and do not overflow */
    .page-news img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-news__container {
        padding: 15px;
    }

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

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

    .page-news__hero-button, .page-news__view-all-button, .page-news__cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: unset;
        width: 100%; /* Full width for smaller screens */
        max-width: 250px; /* Max width to prevent overly wide buttons */
    }

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

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

    .page-news__article-title {
        font-size: 1.2rem;
    }

    .page-news__article-meta {
        font-size: 0.85rem;
    }

    .page-news__article-excerpt {
        font-size: 0.9rem;
    }
}