/* news.css */
.page-news__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #F4F7FB;
    padding-top: 10px; /* Small top padding */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for aesthetic */
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-news__hero-content {
    max-width: 1200px;
    margin: 20px auto 40px auto;
    padding: 0 20px;
    text-align: center;
    color: #1F2D3D; /* Text Main */
}

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

.page-news__description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #1F2D3D; /* Text Main */
}

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

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

.page-news__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #2F6BFF; /* Main color */
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

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

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

.page-news__article-date {
    font-size: 0.9em;
    color: #6FA3FF; /* Auxiliary color */
    margin-bottom: 10px;
}

.page-news__article-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-news__article-title a {
    color: #1F2D3D; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: #2F6BFF; /* Main color on hover */
}

.page-news__article-summary {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    line-height: 1.5;
    margin-bottom: 15px;
}

.page-news__read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    text-align: center;
}

.page-news__read-more-btn:hover {
    opacity: 0.9;
}

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

.page-news__view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-section {
    background-color: #2F6BFF; /* Main color */
    padding: 80px 0;
    text-align: center;
    color: #FFFFFF;
}

.page-news__cta-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-news__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #FFFFFF;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFFFFF; /* White button for contrast */
    color: #2F6BFF; /* Main color for text */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.3em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
    background-color: #F4F7FB; /* Lighter hover */
    color: #1F2D3D; /* Darker text for contrast */
    transform: translateY(-3px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-news__hero-content {
        margin: 10px auto 20px auto;
        padding: 0 15px;
    }

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

    .page-news__description {
        font-size: 1em;
    }

    .page-news__articles-section {
        padding: 40px 0;
    }

    .page-news__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

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

    .page-news__article-image {
        height: 200px;
    }

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

    .page-news__article-summary {
        font-size: 0.9em;
    }

    .page-news__cta-section {
        padding: 50px 0;
    }

    .page-news__cta-title {
        font-size: 2em;
    }

    .page-news__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-news__cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }

    /* Ensure content images are responsive */
    .page-news__articles-grid img,
    .page-news__hero-image {
        max-width: 100%;
        height: auto;
    }
}

/* Ensure all content area images are not smaller than 200px */
.page-news img {
    min-width: 200px;
    min-height: 200px;
}

.page-news__article-image {
    min-height: 200px; /* Override if article image height is smaller */
}