.page-news {
    background-color: #FFFFFF;
    color: #000000; /* Default text color for contrast on white background */
}

.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: #100224; /* Dark background for hero */
    color: #FFFFFF;
    overflow: hidden;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

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

.page-news__hero-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #26A9E0; /* Primary color for H1 */
    margin-bottom: 15px;
    max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-news__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-news__hero-cta-button {
    display: inline-block;
    background: linear-gradient(to right, #ff9500, #ff5e3a); /* Orange-red gradient */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(255, 94, 58, 0.4);
}

.page-news__articles-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    text-align: center;
}

.page-news__articles-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #26A9E0; /* Primary color for H2 */
    margin-bottom: 40px;
}

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

.page-news__article-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease;
}

.page-news__article-card:hover {
    transform: translateY(-5px);
}

.page-news__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card images */
    object-fit: cover;
    display: block;
}

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

.page-news__article-heading {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-news__article-heading a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-heading a:hover {
    color: #26A9E0; /* Primary color on hover */
}

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

.page-news__article-excerpt {
    font-size: 1em;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 20px;
}

.page-news__article-readmore {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-news__article-readmore:hover {
    text-decoration: underline;
}

.page-news__view-all-wrapper {
    margin-top: 40px;
}

.page-news__view-all-button {
    display: inline-block;
    background-color: #26A9E0; /* Primary color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-news__view-all-button:hover {
    background-color: #1a7fb8; /* Darker primary color on hover */
}

.page-news__cta-section {
    background-color: #100224; /* Dark background */
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
}

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

.page-news__cta-title {
    font-size: 2em;
    font-weight: 700;
    color: #FFFFFF; /* White for H2 on dark background */
    margin-bottom: 20px;
}

.page-news__cta-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-news__cta-button {
    display: inline-block;
    background: linear-gradient(to right, #ff9500, #ff5e3a); /* Orange-red gradient */
    color: #FFFFFF;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 94, 58, 0.5);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-news__hero-title {
        font-size: 2em;
    }

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

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

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

    .page-news__article-card {
        max-width: 400px;
        margin: 0 auto;
    }

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

    /* Prevent image overflow on mobile */
    .page-news__hero-image,
    .page-news__article-image {
        max-width: 100%;
        height: auto;
    }

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

@media (max-width: 480px) {
    .page-news__hero-title {
        font-size: 1.7em;
    }

    .page-news__articles-title,
    .page-news__cta-title {
        font-size: 1.5em;
    }

    .page-news__hero-cta-button,
    .page-news__view-all-button,
    .page-news__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}