.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background: var(--dark-bg-1); /* Inherited from shared, assuming dark for overall body */
}

/* Ensure main content is visible on dark body background */
.page-news__hero-section,
.page-news__insights-section,
.page-news__promotions-updates,
.page-news__faq-section,
.page-news__cta-section {
    background-color: #FFFFFF; /* Light background for content sections */
    color: #333333; /* Dark text for light background */
}

.page-news__dark-section {
    background-color: #26A9E0; /* Brand primary color for dark section */
    color: #FFFFFF; /* White text for dark background */
}

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

/* Hero Section */
.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #F8F8F8;
    position: relative;
    overflow: hidden;
}

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

.page-news__hero-title {
    font-size: 2.8em;
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-news__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* Subtle background image */
}

/* Section Titles */
.page-news__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand color */
    text-align: center;
    margin-bottom: 20px;
}

.page-news__dark-section .page-news__section-title {
    color: #FFFFFF;
}

.page-news__section-description {
    font-size: 1.1em;
    color: #666666;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__dark-section .page-news__section-description {
    color: #E0E0E0;
}

/* Articles Grid */
.page-news__articles-grid,
.page-news__promotions-grid,
.page-news__insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-news__article-card,
.page-news__promotion-card,
.page-news__insight-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__dark-section .page-news__article-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark section */
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news__article-card:hover,
.page-news__promotion-card:hover,
.page-news__insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-news__article-image,
.page-news__promotion-image,
.page-news__insight-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #EEEEEE;
}

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

.page-news__article-title,
.page-news__promotion-title,
.page-news__insight-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-news__dark-section .page-news__article-title a {
    color: #FFFFFF;
}

.page-news__article-title a:hover,
.page-news__promotion-title a:hover,
.page-news__insight-title a:hover {
    color: #1A7BBF; /* Darker shade of brand color */
}

.page-news__article-excerpt,
.page-news__promotion-excerpt,
.page-news__insight-excerpt {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__dark-section .page-news__article-excerpt {
    color: #E0E0E0;
}

.page-news__read-more {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-news__dark-section .page-news__read-more {
    color: #FFFFFF;
}

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

/* CTA Buttons */
.page-news__cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-news__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 15px;
}

.page-news__btn-secondary:hover {
    background-color: #F0F0F0;
    color: #1A7BBF;
    border-color: #1A7BBF;
}

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 20px;
    background-color: #F8F8F8; /* Light background */
    color: #333333;
}

.page-news__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-news__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
}

.page-news__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-news__faq-qtext {
    flex-grow: 1;
}

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    color: #26A9E0;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    content: "−";
}

.page-news__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
}

.page-news__faq-answer p {
    margin: 0;
}

/* CTA Section at bottom */
.page-news__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-news__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-news__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E0E0E0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: 2.4em;
    }

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

    .page-news__articles-grid,
    .page-news__promotions-grid,
    .page-news__insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }

    .page-news__hero-title {
        font-size: 2em;
    }

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

    .page-news__section-title {
        font-size: 1.6em;
    }

    .page-news__section-description {
        font-size: 0.95em;
    }

    .page-news__article-title,
    .page-news__promotion-title,
    .page-news__insight-title {
        font-size: 1.2em;
    }

    .page-news__article-excerpt,
    .page-news__promotion-excerpt,
    .page-news__insight-excerpt {
        font-size: 0.9em;
    }

    .page-news__container {
        padding: 30px 15px;
    }

    /* Mobile image responsive styles */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__hero-section,
    .page-news__latest-articles,
    .page-news__insights-section,
    .page-news__promotions-updates,
    .page-news__faq-section,
    .page-news__cta-section,
    .page-news__article-card,
    .page-news__promotion-card,
    .page-news__insight-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Mobile button responsive styles */
    .page-news__cta-button,
    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news a[class*="button"],
    .page-news a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0 !important; /* Reset margin for stacking */
        margin-right: 0 !important;
    }
    
    .page-news__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        overflow: hidden !important;
    }

    .page-news__cta-title {
        font-size: 2em;
    }
    .page-news__cta-description {
        font-size: 1em;
    }
}