/* style/news.css */
.page-news {
    color: #333333; /* Default text color for light body background */
}

.page-news__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #f8f8f8; /* Light background for hero section */
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-news__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.page-news__hero-content {
    text-align: center;
    max-width: 900px;
    margin-top: -100px; /* Overlap image slightly for visual effect, but content is below */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.page-news__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-news__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 30px;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-news__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1e87c0;
}

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

.page-news__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-news__latest-news-section {
    padding: 60px 0;
    background-color: #ffffff;
    color: #333333;
}

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

.page-news__news-card {
    background-color: #ffffff;
    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__news-card:hover {
    transform: translateY(-5px);
}

.page-news__news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-news__news-card-content {
    padding: 20px;
}

.page-news__news-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-news__news-card-title a:hover {
    color: #1e87c0;
}

.page-news__news-card-meta {
    font-size: 0.9rem;
    color: #777777;
    margin-bottom: 15px;
}

.page-news__news-card-excerpt {
    font-size: 1rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 20px;
}

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

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

.page-news__cta-container {
    text-align: center;
    margin-top: 40px;
}

.page-news__promotions-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
}

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

.page-news__promotions-section .page-news__description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.page-news__promotions-section .page-news__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

.page-news__promotions-section .page-news__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1e87c0;
    border-color: #e0f2f7;
}

.page-news__promotions-section .page-news__btn-primary {
    background-color: #EA7C07;
    color: #ffffff;
    border-color: #EA7C07;
}

.page-news__promotions-section .page-news__btn-primary:hover {
    background-color: #d16b00;
    border-color: #d16b00;
}

.page-news__faq-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    color: #333333;
}

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

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

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #26A9E0;
    cursor: pointer;
    border-bottom: 1px solid #eeeeee;
    list-style: none;
}

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

.page-news__faq-item[open] .page-news__faq-question {
    border-bottom: 1px solid #26A9E0;
}

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

.page-news__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: #555555;
}

.page-news__faq-item[open] .page-news__faq-toggle {
    content: '−'; /* Change to minus sign when open */
}

.page-news__faq-answer {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-content {
        margin-top: -50px;
    }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-news__hero-content {
        margin-top: 0;
        padding: 15px;
        box-shadow: none;
        background-color: #ffffff;
    }

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

    .page-news__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

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

    .page-news__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-news__latest-news-section,
    .page-news__promotions-section,
    .page-news__faq-section {
        padding: 40px 0;
    }

    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__news-card-image {
        height: 180px;
    }

    .page-news__news-card-title {
        font-size: 1.2rem;
    }

    .page-news__news-card-excerpt {
        font-size: 0.95rem;
    }

    .page-news__promotions-section .page-news__description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-news__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-news__faq-toggle {
        font-size: 1.5rem;
    }

    .page-news__faq-answer {
        padding: 15px;
        font-size: 0.95rem;
    }

    .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__news-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-news__hero-content {
        padding: 10px;
    }
    .page-news__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
}