.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f8f8f8; /* Default text color for page, assuming dark primary background */
    background-color: var(--primary-color, #0A1931); /* Default page background */
    padding-top: var(--header-offset, 120px); /* Fixed 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;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 0;
    background-color: #0A1931; /* Primary brand color for hero */
    color: #ffffff;
    overflow: hidden;
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
    padding: 20px;
}

.page-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E0B973; /* Accent color for title */
    line-height: 1.2;
}

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

.page-news__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3; /* Subtle background image */
    z-index: 1;
}

.page-news__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for better text contrast */
}

/* Section Titles & Descriptions */
.page-news__section-title {
    font-size: 2.5em;
    color: #E0B973;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

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

/* Latest Articles Section */
.page-news__latest-articles-section {
    background-color: #f5f5f5; /* Light background for contrast */
    padding: 80px 0;
    color: #333333; /* Dark text for light background */
}

.page-news__latest-articles-section .page-news__section-title {
    color: #0A1931; /* Dark title for light background */
}

.page-news__latest-articles-section .page-news__section-description {
    color: #555555;
}

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

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

.page-news__article-card:hover {
    transform: translateY(-5px);
}

.page-news__article-image {
    width: 100%;
    height: 225px; /* 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.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

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

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

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

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

.page-news__read-more-link:hover {
    color: #0A1931;
}

/* Featured Articles Section (Dark) */
.page-news__featured-articles-section {
    background-color: #0A1931; /* Primary brand color */
    padding: 80px 0;
    color: #ffffff;
}

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

.page-news__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
    padding: 30px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-news__feature-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-news__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #E0B973;
}

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

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

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

/* Call to Action Section */
.page-news__cta-section {
    background-color: #1a2a44; /* A slightly lighter dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-news__cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-news__cta-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
}

.page-news__cta-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 1;
}

/* Buttons */
.page-news__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-news__btn-primary {
    background-color: #E0B973; /* Accent color for primary button */
    color: #0A1931;
}

.page-news__btn-primary:hover {
    background-color: #ffc952;
    color: #000000;
}

.page-news__btn-secondary {
    background-color: transparent;
    color: #E0B973;
    border-color: #E0B973;
}

.page-news__btn-secondary:hover {
    background-color: #E0B973;
    color: #0A1931;
}

.page-news__buttons-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* FAQ Section */
.page-news__faq-section {
    background-color: #f5f5f5;
    padding: 80px 0;
    color: #333333;
}

.page-news__faq-section .page-news__section-title {
    color: #0A1931;
}

.page-news__faq-section .page-news__section-description {
    color: #555555;
}

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

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

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-news__faq-question:hover {
    background-color: #f0f0f0;
}

.page-news__faq-q-text {
    font-size: 1.1em;
    color: #0A1931;
    margin: 0;
}

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

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

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

.page-news__faq-item.active .page-news__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px;
}

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

.page-news__faq-answer a {
    color: #E0B973;
    text-decoration: none;
}

.page-news__faq-answer a:hover {
    text-decoration: underline;
}

/* More Info Section */
.page-news__more-info-section {
    background-color: #0A1931;
    padding: 80px 0;
    color: #f0f0f0;
}

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

.page-news__info-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.page-news__info-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

/* Advantages Section */
.page-news__advantages-section {
    background-color: #0A1931;
    padding: 80px 0;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-news__advantage-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.page-news__advantage-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-news__advantage-item p {
    color: #cccccc;
    font-size: 0.95em;
}

/* Final CTA Section */
.page-news__final-cta-section {
    background-color: #1a2a44;
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

/* Dark background sections */
.page-news__dark-section {
    background-color: #0A1931;
    color: #ffffff;
}
.page-news__dark-section .page-news__section-title {
    color: #E0B973;
}
.page-news__dark-section .page-news__section-description {
    color: #cccccc;
}

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

@media (max-width: 768px) {
    .page-news__hero-section {
        min-height: 500px;
        padding: 60px 0;
    }
    .page-news__hero-title {
        font-size: 2.2em;
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .page-news__section-title {
        font-size: 1.8em;
        padding-top: 30px;
    }
    .page-news__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-news__cta-title {
        font-size: 2em;
    }
    .page-news__cta-description {
        font-size: 1em;
    }

    .page-news__articles-grid,
    .page-news__features-grid,
    .page-news__info-grid,
    .page-news__advantages-grid {
        grid-template-columns: 1fr;
    }

    .page-news__article-card,
    .page-news__feature-item,
    .page-news__info-card,
    .page-news__advantage-item {
        margin: 0 15px; /* Add horizontal padding to cards */
    }

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

    /* Mobile image responsiveness */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-news__hero-image-wrapper,
    .page-news__article-card,
    .page-news__cta-section,
    .page-news__latest-articles-section,
    .page-news__featured-articles-section,
    .page-news__cta-content,
    .page-news__faq-section,
    .page-news__more-info-section,
    .page-news__advantages-section,
    .page-news__final-cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Specific padding for sections to avoid content touching edges */
    .page-news__hero-section,
    .page-news__latest-articles-section,
    .page-news__featured-articles-section,
    .page-news__cta-section,
    .page-news__faq-section,
    .page-news__more-info-section,
    .page-news__advantages-section,
    .page-news__final-cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Mobile 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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Adjust margins for vertical stacking */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-news__buttons-group {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        padding: 0 15px !important;
    }

    /* FAQ specific mobile adjustments */
    .page-news__faq-question {
        padding: 15px 20px;
    }
    .page-news__faq-answer {
        padding: 0 20px;
    }
    .page-news__faq-item.active .page-news__faq-answer {
        padding: 10px 20px;
    }
}

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

/* Ensure no filter on images */
.page-news img {
    filter: none;
}