.page-news {
    background-color: #FFFFFF; /* Using auxiliary color for background as per rule, or a light gray */
    color: #333333; /* Default text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for the first section, relying on body for header offset */
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Stacks image then content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background-color: #26A9E0; /* Main color for hero background */
    color: #FFFFFF;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content */
    max-width: 1200px; /* Max width for image */
    border-radius: 8px;
}

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

.page-news__main-title {
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 20px;
    /* Using clamp for responsive font size, avoiding fixed large values */
    font-size: clamp(2rem, 5vw, 3rem); 
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__cta-button {
    display: inline-block;
    background-color: #26A9E0; /* Default CTA button color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #FFFFFF;
}

.page-news__cta-button:hover {
    background-color: #1a8cc4; /* Darker shade on hover */
    border-color: #f0f0f0;
}

.page-news__cta-button--orange {
    background-color: #EA7C07; /* Custom color for specific CTA */
    border: 2px solid #EA7C07;
}

.page-news__cta-button--orange:hover {
    background-color: #c96706;
    border-color: #c96706;
}

/* Articles Section */
.page-news__articles-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-news__section-title {
    font-size: 2.2rem;
    color: #26A9E0;
    margin-bottom: 40px;
    font-weight: bold;
}

.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: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

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

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

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

.page-news__article-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    min-height: 60px; /* Ensure consistent height for titles */
}

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

.page-news__article-title a:hover {
    color: #1a8cc4;
}

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

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

.page-news__read-more {
    display: inline-block;
    color: #EA7C07; /* Login color for read more link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: #c96706;
}

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

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

.page-news__view-all-button:hover {
    background-color: #1a8cc4;
}

/* Promotions CTA Section */
.page-news__promotions-cta {
    display: flex;
    flex-direction: column; /* Default to column for mobile first */
    align-items: center;
    text-align: center;
    background-color: #f0f8ff; /* Light background for contrast */
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-news__promotions-content {
    max-width: 700px;
    margin-bottom: 30px;
}

.page-news__promotions-title {
    font-size: 2rem;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news__promotions-description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-news__promotions-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Adjust max-width as needed */
    border-radius: 8px;
    margin-top: 30px;
}


/* About Section */
.page-news__about-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile first */
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
    background-color: #e6f7ff; /* Lighter blue background */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-news__about-content {
    max-width: 700px;
    margin-bottom: 30px;
}

.page-news__about-title {
    font-size: 2rem;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news__about-description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-news__about-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Adjust max-width as needed */
    border-radius: 8px;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-news__hero-section {
        padding: 60px 40px;
    }

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

    .page-news__articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-news__promotions-cta,
    .page-news__about-section {
        flex-direction: row; /* Desktop: row layout */
        text-align: left;
        justify-content: space-between;
        align-items: center;
        padding: 60px 40px;
    }

    .page-news__promotions-cta:nth-of-type(3) { /* Promotions section: image on left, text on right */
        flex-direction: row-reverse;
    }

    .page-news__promotions-content,
    .page-news__about-content {
        max-width: 50%;
        margin-bottom: 0;
    }

    .page-news__promotions-image,
    .page-news__about-image {
        max-width: 45%;
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .page-news__articles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile image overflow prevention (highest priority) */
@media (max-width: 768px) {
    .page-news img {
        max-width: 100%;
        height: auto;
    }

    .page-news {
        overflow-x: hidden;
    }

    .page-news__hero-section,
    .page-news__articles-section,
    .page-news__promotions-cta,
    .page-news__about-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust clamp for smaller screens */
    }

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

    .page-news__article-title {
        font-size: 1.2rem;
    }
    
    .page-news__promotions-cta,
    .page-news__about-section {
        flex-direction: column; /* Stack on mobile */
        text-align: center;
    }

    .page-news__promotions-content,
    .page-news__about-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .page-news__promotions-image,
    .page-news__about-image {
        max-width: 100%;
        margin-top: 20px;
    }
}