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

.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
}

.page-news__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-news__hero-content {
    max-width: 800px;
}

.page-news__main-title {
    font-weight: bold;
    color: #1F2D3D;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 100%; /* Ensures it doesn't overflow on smaller screens */
    font-size: clamp(28px, 4vw, 48px);
}

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

.page-news__cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

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

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

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

.page-news__article-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    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 10px 20px rgba(0, 0, 0, 0.15);
}

.page-news__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency, will be overridden by object-fit */
    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;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-news__article-title a:hover {
    color: #2F6BFF;
}

.page-news__article-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.page-news__article-summary {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-news__read-more:hover {
    text-decoration: underline;
    color: #4A8BFF;
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #2F6BFF;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-news__view-all-button:hover {
    background-color: #4A8BFF;
    transform: translateY(-1px);
}

.page-news__cta-section {
    background-color: #2F6BFF;
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
}

.page-news__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

.page-news__cta-section .page-news__cta-button {
    background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-news__cta-section .page-news__cta-button:hover {
    background: linear-gradient(180deg, #4A8BFF 0%, #6FA3FF 100%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-news__hero-section {
        padding: 10px 15px 30px;
    }

    .page-news__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }

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

    .page-news__section-title {
        font-size: 1.8em;
    }

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

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

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

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

    .page-news__cta-description {
        font-size: 1em;
    }

    .page-news__articles-section,
    .page-news__cta-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .page-news__articles-section img, .page-news__hero-section img {
        max-width: 100% !important;
        height: auto !important;
    }
}