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

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    box-sizing: border-box;
}

.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.7); /* Dark overlay for text readability */
    z-index: 2;
}

.page-news__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.page-news__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Auxiliary color for highlight */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-news__section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for sections */
}

.page-news__dark-section {
    background-color: #CC0000; /* Main brand color for dark sections */
    color: #ffffff;
}

.page-news__dark-bg {
    background-color: #0d0d0d; /* Even darker background for some sections */
    color: #ffffff;
}

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

.page-news__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Auxiliary color for titles */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

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

.page-news__article-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

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

.page-news__article-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-news__article-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__article-title a {
    color: #FFD700; /* Auxiliary color for linked titles */
    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: #aaaaaa;
    margin-bottom: 15px;
}

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

/* Featured Article */
.page-news__featured-article .page-news__section-title {
    color: #ffffff;
}

.page-news__featured-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-news__featured-image {
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__featured-text {
    width: 50%;
}

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

.page-news__featured-text .page-news__article-excerpt {
    color: #f0f0f0;
}

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

.page-news__category-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-news__category-item a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding-bottom: 20px;
}

.page-news__category-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-news__category-title {
    font-size: 1.4em;
    color: #FFD700;
    padding: 0 15px;
}

/* Video Section */
.page-news__video-section .page-news__section-title,
.page-news__video-section .page-news__section-description {
    color: #ffffff;
}

.page-news__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-news__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Ensure it's a block element */
    cursor: pointer;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: #1a1a1a;
}

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

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

.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.05);
    transition: background-color 0.3s ease;
}

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

.page-news__faq-question h3 {
    font-size: 1.2em;
    color: #FFD700;
    margin: 0;
}

.page-news__faq-toggle {
    font-size: 1.8em;
    color: #CC0000;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-news__faq-item.active .page-news__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

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

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

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

/* Call to Action Bottom */
.page-news__cta-bottom {
    text-align: center;
    padding: 80px 0;
}

.page-news__cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__hero-cta {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't affect width calculations */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-news__btn-primary,
.page-news__hero-cta {
    background-color: #CC0000; /* Main brand color */
    color: #ffffff;
    border: 2px solid #CC0000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-news__btn-primary:hover,
.page-news__hero-cta:hover {
    background-color: #FFD700; /* Auxiliary color on hover */
    border-color: #FFD700;
    color: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-news__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__btn-secondary:hover {
    background-color: #FFD700;
    color: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-news__read-more {
    margin-top: auto; /* Push to bottom of card */
}

.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: 2.8em;
    }
    .page-news__hero-description {
        font-size: 1.1em;
    }
    .page-news__section-title {
        font-size: 2.2em;
    }
    .page-news__featured-content {
        flex-direction: column;
    }
    .page-news__featured-image,
    .page-news__featured-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-news__hero-section {
        height: auto;
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
    }
    .page-news__hero-title {
        font-size: 2em;
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .page-news__section {
        padding: 40px 0;
    }
    .page-news__section-title {
        font-size: 1.8em;
    }
    .page-news__section-description {
        font-size: 0.95em;
    }
    .page-news__article-grid {
        grid-template-columns: 1fr;
    }
    .page-news__article-image {
        height: 250px;
    }
    .page-news__article-title {
        font-size: 1.3em;
    }
    .page-news__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .page-news__category-image {
        height: 120px;
    }
    .page-news__category-title {
        font-size: 1.2em;
    }
    .page-news__cta-bottom {
        padding: 60px 0;
    }
    .page-news__cta-title {
        font-size: 2.2em;
    }
    .page-news__cta-description {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-news__section,
    .page-news__container,
    .page-news__article-card,
    .page-news__category-item,
    .page-news__featured-content,
    .page-news__featured-text,
    .page-news__video-section,
    .page-news__video-container,
    .page-news__video-wrapper,
    .page-news__faq-section,
    .page-news__faq-list,
    .page-news__faq-item {
        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 */
    }
    
    /* Video responsiveness */
    .page-news video,
    .page-news__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news__video-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Button responsiveness */
    .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; /* Make buttons full width */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-news__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-news__faq-question,
    .page-news__faq-answer {
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-news__hero-title {
        font-size: 1.8em;
    }
    .page-news__section-title {
        font-size: 1.6em;
    }
    .page-news__cta-title {
        font-size: 1.8em;
    }
}