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

.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%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    box-sizing: border-box;
}

.page-news__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

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

.page-news__hero-content {
    text-align: center;
    padding: 40px 20px;
    background: rgba(38, 169, 224, 0.9); /* Brand color with slight transparency */
    color: #ffffff;
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    position: relative;
    z-index: 1;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-news__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    max-width: 100%;
}

.page-news__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Section Titles and Descriptions */
.page-news__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: bold;
    color: #ffffff; /* Light text for dark body background */
    text-align: center;
    margin-bottom: 20px;
}

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

.page-news__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Light text for dark body background */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__section-description--light {
    color: #f0f0f0;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsive */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

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

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

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

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

/* Latest Articles Section */
.page-news__latest-articles {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

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

.page-news__article-card {
    background: rgba(255, 255, 255, 0.1); /* Card background, light text */
    border-radius: 8px;
    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;
    color: #ffffff; /* Ensure text is light */
}

.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: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min size constraint */
    min-height: 200px; /* Min size constraint */
}

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

.page-news__article-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #26A9E0; /* Brand color for titles */
}

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

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

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

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

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

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

.page-news__view-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Categories Section */
.page-news__categories-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

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

.page-news__category-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-news__category-card:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.page-news__category-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-news__category-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* CTA Section */
.page-news__cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background */
}

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

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background */
}

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

.page-news__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Darker card background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    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;
    color: #26A9E0; /* Brand color for question */
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* For details/summary */
}

.page-news__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

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

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

.page-news__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    transform: rotate(45deg);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-news__container {
        padding: 0 15px;
    }

    .page-news__hero-section {
        padding-bottom: 40px;
    }

    .page-news__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }

    .page-news__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-news__intro-text,
    .page-news__section-description {
        font-size: 1em;
    }

    .page-news__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }

    .page-news__articles-grid {
        grid-template-columns: 1fr;
    }

    .page-news__latest-articles,
    .page-news__categories-section,
    .page-news__cta-section,
    .page-news__faq-section {
        padding: 40px 0;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__article-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .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-image-wrapper,
    .page-news__articles-grid,
    .page-news__categories-grid,
    .page-news__faq-list,
    .page-news__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

/* Ensure content area images are not too small */
.page-news__latest-articles img,
.page-news__article-card img {
    min-width: 200px;
    min-height: 200px;
}