.page-news {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    background-color: transparent; /* Inherit from body */
}

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

.page-news__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for aesthetic */
    overflow: hidden;
}

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

.page-news__hero-content {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    box-sizing: border-box;
}

.page-news__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__subtitle {
    font-size: clamp(1em, 1.5vw, 1.3em);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__btn-text {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-news__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login text color */
    border: 2px solid #C30808;
}

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

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

.page-news__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
}

.page-news__btn-text {
    background: none;
    border: none;
    color: #017439; /* Default for text links in light sections */
    padding: 0;
    text-align: left;
    font-size: 1em;
    font-weight: 600;
    text-decoration: underline;
}

.page-news__btn-text:hover {
    color: #005a2e;
}

.page-news__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff; /* Default for dark sections */
}

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

.page-news__introduction-section,
.page-news__featured-articles,
.page-news__faq-section {
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-news__introduction-section .page-news__section-title,
.page-news__featured-articles .page-news__section-title,
.page-news__faq-section .page-news__section-title {
    color: #333333; /* Dark text for titles in light sections */
}

.page-news__introduction-section p a,
.page-news__featured-articles p a,
.page-news__faq-section p a {
    color: #017439;
    text-decoration: underline;
}

.page-news__introduction-section p a:hover,
.page-news__featured-articles p a:hover,
.page-news__faq-section p a:hover {
    color: #005a2e;
}

.page-news__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-news__dark-section .page-news__btn-text {
    color: #FFFF00;
}
.page-news__dark-section .page-news__btn-text:hover {
    color: #ffffff;
}

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

.page-news__category-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
    color: #ffffff;
}

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

.page-news__category-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-news__category-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    padding: 0 15px;
}

.page-news__category-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

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

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

.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: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__article-date {
    font-size: 0.85em;
    color: #666666;
    margin-bottom: 10px;
}

.page-news__article-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-news__article-title a {
    color: #333333;
    text-decoration: none;
}

.page-news__article-title a:hover {
    color: #017439;
    text-decoration: underline;
}

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

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

/* Benefits Section */
.page-news__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news__benefits-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-news__benefits-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-news__benefits-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-news__benefits-description a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-news__benefits-description a:hover {
    color: #ffffff;
}

/* FAQ Section */
.page-news__faq-list {
    margin-top: 40px;
}

.page-news__faq-item {
    background-color: #f8f8f8; /* Light background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: #333333;
    list-style: none; /* Hide default marker for details summary */
}

.page-news__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details summary */
}

.page-news__faq-toggle {
    font-size: 1.5em;
    font-weight: 700;
    color: #017439;
    margin-left: 15px;
}

.page-news__faq-answer {
    padding: 0 25px 18px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

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

/* CTA Section */
.page-news__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-news__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__text-block--light {
    color: #ffffff;
}

.page-news__text-block--light a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-news__text-block--light a:hover {
    color: #ffffff;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-news__section-title {
        font-size: 2em;
    }
    .page-news__category-grid,
    .page-news__article-grid,
    .page-news__benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 0 !important;
    }

    .page-news__hero-content {
        padding: 30px 15px !important;
    }

    .page-news__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em) !important;
        margin-bottom: 10px !important;
    }

    .page-news__subtitle {
        font-size: 1em !important;
        margin-bottom: 20px !important;
    }

    /* 产品展示图区域 (这里没有 gameshow, 但通用卡片 grid 需适配) */
    .page-news__category-grid,
    .page-news__article-grid,
    .page-news__benefits-list {
        grid-template-columns: 1fr !important; /* Single column layout */
        gap: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .page-news__category-card,
    .page-news__article-card,
    .page-news__benefits-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 通用图片与容器 */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-news__container,
    .page-news__introduction-section,
    .page-news__categories-section,
    .page-news__featured-articles,
    .page-news__benefits-section,
    .page-news__faq-section,
    .page-news__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
    }

    /* 按钮与按钮容器 */
    .page-news__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary,
    .page-news__btn-text,
    .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 !important;
        padding-right: 15px !important;
    }

    /* 其他内容模块 */
    .page-news__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }

    .page-news__text-block {
        font-size: 1em !important;
    }

    .page-news__category-title,
    .page-news__article-title,
    .page-news__benefits-title {
        font-size: 1.2em !important;
    }

    .page-news__faq-question {
        font-size: 1em !important;
        padding: 15px !important;
    }

    .page-news__faq-answer {
        padding: 0 15px 15px 15px !important;
    }
}