.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for clarity */
}

.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-news__hero-section {
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background-color: #f0f8ff; /* Light background for hero */
    padding-bottom: 40px;
    text-align: center;
}

.page-news__hero-image {
    margin-bottom: 20px;
}

.page-news__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-news__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-news__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Clamp for H1 */
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Section Titles */
.page-news__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-news__section-title--light {
    color: #ffffff;
}

/* Latest Articles Grid */
.page-news__latest-articles {
    padding: 40px 0;
    background-color: #f9f9f9;
}

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

.page-news__article-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

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

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

.page-news__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-news__card-title a:hover {
    color: #1a7bb5; /* Darker shade on hover */
}

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

.page-news__card-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-news__read-more-btn {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__read-more-btn:hover {
    color: #1a7bb5;
}

.page-news__view-all-button-container {
    text-align: center;
    margin-top: 30px;
}

/* Content Section */
.page-news__content-section {
    padding: 60px 0;
    color: #ffffff; /* White text for dark background */
}

.page-news__dark-bg {
    background-color: #26A9E0; /* Main brand color as background */
}

.page-news__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
}

.page-news__text-block p {
    margin-bottom: 20px;
}

/* Buttons */
.page-news__cta-buttons {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-news__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Button responsive requirement */
    box-sizing: border-box; /* Button responsive requirement */
    white-space: normal; /* Button responsive requirement */
    word-wrap: break-word; /* Button responsive requirement */
}

.page-news__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-news__btn-primary:hover {
    background-color: #d16b05;
    border-color: #d16b05;
}

.page-news__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-news__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a7bb5;
    border-color: #1a7bb5;
}

/* General image responsive styles */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-news__container,
    .page-news__hero-content,
    .page-news__text-block {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section Mobile */
    .page-news__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

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

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

    /* Article Grid Mobile */
    .page-news__articles-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    
    .page-news__article-card img {
         /* Adjust image height for mobile cards */
    }

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

    /* Content Section Mobile */
    .page-news__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-news__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Buttons Mobile */
    .page-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-news__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px !important; /* Adjust padding for full width */
        font-size: 1em !important;
    }

    /* General image responsive styles for mobile */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}