.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8; /* Light background for the page */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* General container for content width */
.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Banner Section (not the homepage HERO, just a banner for news page) */
.page-news__hero-banner {
    background: linear-gradient(135deg, #CC0000, #FFD700);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.page-news__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news__intro-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Latest Articles Section */
.page-news__latest-articles {
    padding: 40px 0;
    background-color: #ffffff; /* Explicitly white background */
    margin-bottom: 40px;
}

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

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

.page-news__article-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    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 8px 25px rgba(0, 0, 0, 0.1);
}

.page-news__article-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden;
}

.page-news__article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-news__article-card:hover .page-news__article-image img {
    transform: scale(1.05);
}

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

.page-news__article-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

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

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

.page-news__article-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow excerpt to take available space */
}

.page-news__read-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #FFD700;
    color: #333333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start; /* Align button to the start */
}

.page-news__read-more-btn:hover {
    background: #e0b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.page-news__cta-section {
    background: #CC0000; /* Dark background from primary color */
    color: #ffffff; /* Light text for dark background */
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.page-news__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-news__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Ensure text wraps */
}

.page-news__btn-primary {
    background: #FFD700;
    color: #333333;
    border: 2px solid #FFD700;
}

.page-news__btn-primary:hover {
    background: #e0b800;
    border-color: #e0b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-news__btn-secondary:hover {
    background: #ffffff;
    color: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: 2.8em;
    }
    .page-news__section-title {
        font-size: 2.2em;
    }
    .page-news__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-news {
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-news__container {
        padding: 15px;
    }
    .page-news__hero-banner {
        padding: 40px 15px;
    }
    .page-news__main-title {
        font-size: 2.2em;
    }
    .page-news__intro-text {
        font-size: 1em;
    }
    .page-news__latest-articles {
        padding: 30px 0;
    }
    .page-news__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-news__article-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-news__article-image {
        height: 180px; /* Adjust height for mobile */
    }
    .page-news__article-title {
        font-size: 1.3em;
    }
    .page-news__article-excerpt {
        font-size: 0.95em;
    }
    .page-news__read-more-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-news__cta-section {
        padding: 40px 15px;
    }
    .page-news__cta-title {
        font-size: 2em;
    }
    .page-news__cta-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile image override */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-news__main-title {
        font-size: 1.8em;
    }
    .page-news__section-title {
        font-size: 1.8em;
    }
    .page-news__cta-title {
        font-size: 1.8em;
    }
    .page-news__article-image {
        height: 150px;
    }
}