.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #0a0a0a, so text is light */
    background-color: transparent; /* Main content background is transparent, body handles overall */
    padding-top: var(--header-offset, 120px); /* Desktop and mobile header offset */
}

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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Fallback */
}

.page-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-news__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-news__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 800px;
}

.page-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

.page-news__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-news__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

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

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

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

/* General Section Styling */
.page-news__section {
    padding: 60px 0;
    text-align: center;
}

.page-news__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
}

.page-news__section-intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Article Grid */
.page-news__featured-news {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

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

.page-news__article-card {
    background-color: rgba(255, 255, 255, 0.1); /* Card background */
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    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;
    min-height: 200px; /* Min size for image */
}

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

.page-news__article-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

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

.page-news__article-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #ffffff;
}

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

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

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

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

.page-news__read-more:hover {
    text-decoration: underline;
}

/* Industry Trends Section */
.page-news__industry-trends {
    background-color: #0a0a0a; /* Match body background for a seamless look */
}

.page-news__content-row {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-news__text-block {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-news__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-news__text-block p {
    color: #f0f0f0;
    margin-bottom: 15px;
}

/* Promotional Highlights Section */
.page-news__promotional-highlights {
    background-color: rgba(38, 169, 224, 0.1); /* Light tint of brand color */
}

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

.page-news__promo-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-news__promo-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-news__promo-card p {
    color: #cccccc;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: #0a0a0a; /* Match body background */
}

.page-news__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

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

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.2); /* Slightly darker brand color tint */
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news__faq-question::-webkit-details-marker,
.page-news__faq-question::marker {
    display: none;
}

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

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

.page-news__faq-item[open] .page-news__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-news__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #cccccc;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Bottom CTA */
.page-news__cta-bottom {
    background-color: #26A9E0; /* Brand primary color */
    padding: 80px 0;
}

.page-news__cta-content {
    max-width: 800px;
    color: #ffffff;
}

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

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


/* Responsive Design */
@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: 2.8em;
    }
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__sub-title {
        font-size: 1.6em;
    }
    .page-news__promo-title {
        font-size: 1.4em;
    }
    .page-news__cta-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-news__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news__hero-section {
        height: 500px;
    }
    .page-news__hero-title {
        font-size: 2em;
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .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: 15px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-news__section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: 1.8em;
    }
    .page-news__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-news__article-grid,
    .page-news__promo-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-news__article-image {
        height: 200px; /* Adjust for mobile */
        min-height: 200px;
    }

    .page-news__content-row {
        flex-direction: column;
        gap: 25px;
    }
    .page-news__text-block {
        padding: 25px;
    }
    .page-news__sub-title {
        font-size: 1.4em;
    }

    .page-news__faq-list {
        margin-top: 30px;
    }
    .page-news__faq-question {
        font-size: 1em;
        padding: 18px 20px;
    }
    .page-news__faq-answer {
        padding: 12px 20px 15px;
    }

    .page-news__cta-bottom {
        padding: 60px 0;
    }
    .page-news__cta-title {
        font-size: 2em;
    }
    .page-news__cta-description {
        font-size: 1em;
    }

    /* Mobile image and video responsiveness (global for .page-news) */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container,
    .page-news__video-section,
    .page-news__video-container,
    .page-news__video-wrapper,
    .page-news__cta-buttons,
    .page-news__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    /* Specific padding for content containers to prevent edge-to-edge content */
    .page-news__section,
    .page-news__featured-news,
    .page-news__industry-trends,
    .page-news__promotional-highlights,
    .page-news__faq-section,
    .page-news__cta-bottom {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    /* Override for specific elements if needed, ensuring no horizontal scroll */
    .page-news__article-card,
    .page-news__promo-card,
    .page-news__text-block,
    .page-news__faq-item {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Ensure no img smaller than 200px in content area on desktop */
.page-news__article-image {
    min-width: 200px;
    min-height: 200px;
}
/* Ensure p and li have good contrast on dark background */
.page-news p,
.page-news li {
    color: #f0f0f0; /* Light text for dark background */
}