.page-news__hero-section {
    position: relative;
    background-color: #F4F7FB;
    padding-bottom: 20px;
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Adjust as needed */
}

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

.page-news__main-title {
    font-family: Arial, sans-serif;
    color: #1F2D3D;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    /* Using clamp for responsive font-size as per instruction */
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.page-news__description {
    font-family: Arial, sans-serif;
    color: #1F2D3D;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

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

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

.page-news__section-title {
    font-family: Arial, sans-serif;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.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-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-news__card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
    display: block;
    min-height: 200px; /* Ensure images are not too small */
}

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

.page-news__card-date {
    font-size: 0.9rem;
    color: #6FA3FF;
    margin-bottom: 10px;
    display: block;
}

.page-news__card-title {
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

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

.page-news__card-excerpt {
    font-size: 1rem;
    color: #1F2D3D;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

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

.page-news__read-more-link:hover {
    color: #6FA3FF;
    text-decoration: underline;
}

.page-news__pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-news__pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #D6E2FF;
    color: #2F6BFF;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news__pagination-link:hover {
    background-color: #A5C4FF;
    color: #FFFFFF;
}

.page-news__pagination-link--active {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
}

.page-news__pagination-link--next {
    border-radius: 20px;
    width: auto;
    padding: 0 15px;
}

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

.page-news__subscribe-title {
    font-family: Arial, sans-serif;
    color: #FFFFFF;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news__subscribe-description {
    color: #FFFFFF;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__subscribe-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background-color: #FFFFFF;
}

.page-news__subscribe-input {
    flex-grow: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
    color: #1F2D3D;
}

.page-news__subscribe-input::placeholder {
    color: #6FA3FF;
}

.page-news__subscribe-button {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.page-news__subscribe-button:hover {
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-news__hero-content {
        padding: 15px;
    }

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

    .page-news__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-news__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-news__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

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

    .page-news__card-image {
        height: 200px;
        max-width: 100%; /* Ensure mobile overflow prevention */
    }

    .page-news__news-card img {
        max-width: 100%;
        height: auto;
    }

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

    .page-news__card-excerpt {
        font-size: 0.95rem;
    }

    .page-news__subscribe-section {
        padding: 40px 15px;
    }

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

    .page-news__subscribe-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-news__subscribe-form {
        flex-direction: column;
        border-radius: 8px;
    }

    .page-news__subscribe-input {
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 12px 15px;
    }

    .page-news__subscribe-button {
        border-radius: 8px;
        padding: 12px 15px;
    }

    .page-news__pagination-link--next {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page-news__hero-image {
        min-height: 200px;
    }

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

    .page-news__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }

    .page-news__subscribe-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }
}