.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default for light background */
    background-color: #f8f8f8; /* Light background for the page content */
}

/* Ensure header offset for main content */
.page-news__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    overflow: hidden; /* Ensure content doesn't spill */
}

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

.page-news__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    color: #ffffff; /* White text on dark overlay */
}

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

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

.page-news__btn-primary {
    display: inline-block;
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-news__btn-primary:hover {
    background-color: #1a7fb3; /* Darker shade on hover */
}

.page-news__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #26A9E0; /* Primary brand color for text */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #26A9E0;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

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

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

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

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

.page-news__latest-articles {
    padding: 60px 0;
    background-color: #ffffff; /* Light background */
}

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

.page-news__article-card {
    background-color: #fefefe;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    color: #333333;
}

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

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

.page-news__article-content {
    padding: 20px;
}

.page-news__article-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
}

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

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

.page-news__article-excerpt {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 15px;
}

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

.page-news__read-more:hover {
    color: #1a7fb3;
}

.page-news__featured-video {
    padding: 60px 0;
    background-color: #26A9E0; /* Darker background for contrast */
    color: #ffffff;
    text-align: center;
}

.page-news__featured-video .page-news__section-title,
.page-news__featured-video .page-news__section-description {
    color: #ffffff;
}

.page-news__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-news__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-news__video-cta {
    margin-top: 20px;
}

.page-news__tips-guide {
    padding: 60px 0;
    background-color: #fefefe;
    color: #333333;
}

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

.page-news__grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.page-news__grid-two-cols--reverse {
    grid-template-columns: 1fr 1fr; /* Reset for desktop */
}

.page-news__text-block {
    padding-right: 20px;
}

.page-news__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-news__list li {
    margin-bottom: 10px;
}

.page-news__image-right,
.page-news__image-left {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-news__faq-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Primary brand color background */
    color: #ffffff;
}

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

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

.page-news__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15); /* Slightly darker on question */
    transition: background-color 0.3s ease;
}

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

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

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

.page-news__faq-answer p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-news__cta-banner {
    background-color: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-news__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- 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: 2em;
    }
    .page-news__sub-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-news__hero-title {
        font-size: 2em;
    }
    .page-news__hero-description {
        font-size: 1em;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-news__article-grid {
        grid-template-columns: 1fr;
    }
    .page-news__grid-two-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-news__grid-two-cols--reverse {
        display: flex;
        flex-direction: column-reverse; /* Stack image below text on mobile */
    }
    .page-news__text-block {
        padding-right: 0;
        padding-bottom: 20px; /* Add space below text block */
    }
    .page-news__image-right,
    .page-news__image-left {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Mobile specific image/video/button rules */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important; /* Added width for images */
        height: auto !important;
        display: block !important;
    }
    
    .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,
    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .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;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center; /* Center button text */
    }
    
    .page-news__cta-buttons,
    .page-news__button-group,
    .page-news__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

    .page-news__cta-banner {
        padding: 30px 20px;
    }

    .page-news__cta-title {
        font-size: 1.8em;
    }
    .page-news__cta-description {
        font-size: 1em;
    }
}