.page-news {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #FFFFFF; /* Default body background */
}

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

.page-news__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-news__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.page-news__section-subtitle {
    font-size: 18px;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Hero Section */
.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.page-news__hero-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-news__hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
}

.page-news__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 40px 20px 60px;
    z-index: 1;
}

.page-news__main-title {
    font-size: clamp(32px, 4.5vw, 48px); /* Use clamp for H1 */
    font-weight: 800;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-news__description {
    font-size: 18px;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.page-news__cta-buttons--center {
    justify-content: center;
}

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

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

.page-news__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-2px);
}

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

.page-news__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-2px);
}

/* News Grid */
.page-news__news-grid,
.page-news__promotions-grid,
.page-news__insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-news__news-card,
.page-news__promotion-card,
.page-news__insight-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
}

.page-news__news-card:hover,
.page-news__promotion-card:hover,
.page-news__insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-news__card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__card-image-wrapper {
    width: 100%;
    height: 225px; /* Fixed height for consistent card image display */
    overflow: hidden;
}

.page-news__news-card img,
.page-news__promotion-card img,
.page-news__insight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%; /* Ensure responsiveness */
}

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

.page-news__card-title,
.page-news__promotion-title,
.page-news__insight-title {
    font-size: 20px;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-news__card-meta,
.page-news__insight-meta {
    font-size: 14px;
    color: #888888;
    margin-bottom: 15px;
}

.page-news__card-excerpt,
.page-news__promotion-description,
.page-news__insight-excerpt {
    font-size: 16px;
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-news__read-more {
    display: flex;
    align-items: center;
    color: #26A9E0;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto; /* Push to bottom */
}

.page-news__read-more:hover {
    text-decoration: underline;
}

.page-news__read-more span {
    margin-left: 5px;
}

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

/* Responsible Gaming Section */
.page-news__responsible-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.page-news__responsible-image {
    flex-shrink: 0;
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure responsiveness */
    height: auto;
    display: block;
}

.page-news__responsible-text {
    flex-grow: 1;
    color: #555555;
}

.page-news__responsible-text p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
}

/* FAQ Section */
.page-news__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
}
details.page-news__faq-item summary.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
    display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
    background: #f5f5f5;
}
.page-news__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-news__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555;
}
.page-news__faq-answer p {
    margin-bottom: 0;
}


/* Media Queries */
@media (max-width: 1024px) {
    .page-news__section-padding {
        padding: 50px 20px;
    }
    .page-news__section-title {
        font-size: 32px;
    }
    .page-news__section-subtitle {
        font-size: 16px;
    }
    .page-news__main-title {
        font-size: clamp(28px, 4vw, 42px);
    }
    .page-news__description {
        font-size: 16px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        padding: 12px 24px;
        font-size: 16px;
    }
    .page-news__news-grid,
    .page-news__promotions-grid,
    .page-news__insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-news__news-card img,
    .page-news__promotion-card img,
    .page-news__insight-card img {
        height: 200px;
    }
    .page-news__card-title,
    .page-news__promotion-title,
    .page-news__insight-title {
        font-size: 18px;
    }
    .page-news__card-excerpt,
    .page-news__promotion-description,
    .page-news__insight-excerpt {
        font-size: 15px;
    }
    .page-news__responsible-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .page-news__responsible-image {
        width: 70%;
    }
    .page-news__responsible-text {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px; /* Small top padding, body handles --header-offset */
    }
    .page-news__hero-image img {
        object-fit: contain !important; /* Mobile: contain, not cover */
        aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
        height: auto !important; /* Ensure height adjusts */
        width: 100% !important; /* Full width */
        max-width: 100% !important; /* Full width */
    }
    .page-news__hero-content {
        padding: 30px 15px 40px;
    }
    .page-news__main-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 15px;
    }
    .page-news__description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    /* 通用图片与容器 */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box;
    }
    .page-news__section-padding,
    .page-news__card,
    .page-news__container,
    .page-news__responsible-content,
    .page-news__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* 按钮与按钮容器 */
    .page-news__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 产品展示图区域 (News Grid) */
    .page-news__news-grid,
    .page-news__promotions-grid,
    .page-news__insights-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        overflow-x: hidden; /* Prevent horizontal scroll */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-news__news-card,
    .page-news__promotion-card,
    .page-news__insight-card {
        margin: 0 auto; /* Center single column cards */
        width: 100%;
        max-width: 400px; /* Optional: limit max width for single card */
    }
    .page-news__card-image-wrapper {
        height: 180px; /* Adjust height for mobile */
    }
    .page-news__card-content {
        padding: 15px;
    }
    .page-news__card-title,
    .page-news__promotion-title,
    .page-news__insight-title {
        font-size: 18px;
    }
    .page-news__card-excerpt,
    .page-news__promotion-description,
    .page-news__insight-excerpt {
        font-size: 14px;
    }

    /* 装饰主标题 + 长文 SEO 区 (Section Titles & Subtitles) */
    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 10px;
        padding: 0 10px;
    }
    .page-news__section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    /* No specific .page-news__article-body or .page-news__article-figure for this page, but general rules apply */
    .page-news__responsible-content {
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        margin: 30px auto 0;
    }
    .page-news__responsible-image {
        width: 90%; /* Adjust image width for mobile */
        margin: 0 auto; /* Center image */
    }
    .page-news__responsible-text {
        padding: 0; /* Remove extra padding */
        text-align: left;
    }
    .page-news__responsible-text p {
        font-size: 15px;
        margin-bottom: 15px;
    }

    /* FAQ Section Mobile */
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
    }
    .page-news__faq-qtext {
        font-size: 15px;
    }
    .page-news__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }
    .page-news__faq-answer p {
        font-size: 14px;
    }
}