.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

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

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

.page-news__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Slightly dim the background image */
}

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

.page-news__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    box-sizing: border-box;
    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: #1e87b7;
    border-color: #1e87b7;
}

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

.page-news__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Latest News Section */
.page-news__latest-news,
.page-news__exclusive-insights,
.page-news__cta-section {
    padding: 60px 0;
    background-color: #0a0a0a; /* Ensure dark background for light text */
    color: #ffffff; /* Light text for dark background */
}

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

.page-news__article-card,
.page-news__insight-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-news__article-link,
.page-news__insight-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__article-image,
.page-news__insight-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news__article-title,
.page-news__insight-title {
    font-size: 1.4em;
    color: #26A9E0;
    padding: 15px;
    margin: 0;
    flex-grow: 1; /* Make title take available space */
}

.page-news__article-excerpt,
.page-news__insight-excerpt {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 15px;
    margin: 0;
}

/* Featured Video Section */
.page-news__featured-video {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly different dark background */
    text-align: center;
    position: relative;
}

.page-news__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-news__video {
    width: 100%;
    height: auto;
    display: block;
}

.page-news__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.page-news__video-description {
    font-size: 1.1em;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background-color: #0d0d0d;
}

.page-news__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-news__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.page-news__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
    font-weight: 600;
}

.page-news__faq-toggle {
    font-size: 1.8em;
    color: #26A9E0;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-news__faq-item.active .page-news__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-news__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #cccccc;
}

.page-news__faq-item.active .page-news__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 20px;
}

.page-news__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #cccccc;
}

/* Call to Action Section */
.page-news__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background */
}

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

.page-news__cta-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: 3em;
    }
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__article-image,
    .page-news__insight-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news__container {
        padding: 0 15px;
    }
    .page-news__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-news__hero-title {
        font-size: 2.5em;
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .page-news__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news__news-grid,
    .page-news__insights-grid {
        grid-template-columns: 1fr;
    }
    .page-news__article-image,
    .page-news__insight-image {
        height: 200px;
    }

    /* Mobile image, video, button responsiveness */
    .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__cta-content,
    .page-news__video-wrapper,
    .page-news__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-news__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Video section padding top for mobile */
    }

    .page-news video,
    .page-news__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news__video-section,
    .page-news__video-container,
    .page-news__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    .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;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}