.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D); /* Default text color, will be adjusted by smart contrast */
    background-color: var(--bg-color, #F4F7FB); /* Default background color from shared, will be #F4F7FB */
}

/* Base container for content */
.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Main image on top, content below */
    align-items: center;
    text-align: center;
    background-color: var(--bg-color, #F4F7FB); /* Ensure it matches body bg or is a light contrast */
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
}

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

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

.page-news__hero-content {
    max-width: 800px;
    margin-top: -80px; /* Overlap slightly for visual flow */
    background-color: var(--card-bg, #FFFFFF); /* Card background for content block */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    color: var(--text-main, #1F2D3D);
}

.page-news__hero-title {
    font-size: 2.8em;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000); /* Black for titles */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 1.1em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 30px;
}

.page-news__hero-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-news__section-title {
    font-size: 2.2em;
    color: var(--custom-color-1776249996415, #000000); /* Black for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-news__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-main, #1F2D3D);
    text-align: justify;
}

/* Categories Section */
.page-news__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.page-news__category-card {
    background-color: var(--card-bg, #FFFFFF);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main, #1F2D3D);
    border: 1px solid var(--border, #D6E2FF);
}

.page-news__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-news__category-title {
    font-size: 1.5em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 15px;
}

.page-news__category-description {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 20px;
}

.page-news__category-link {
    display: inline-block;
    color: var(--main-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.page-news__category-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main-color, #2F6BFF);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.page-news__category-link:hover::after {
    transform: scaleX(1);
}

/* Latest Articles Section */
.page-news__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news__article-card {
    background-color: var(--card-bg, #FFFFFF);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main, #1F2D3D);
    border: 1px solid var(--border, #D6E2FF);
}

.page-news__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-news__article-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__article-title a {
    color: var(--custom-color-1776249996415, #000000);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__article-title a:hover {
    color: var(--main-color, #2F6BFF);
}

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

.page-news__article-excerpt {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 20px;
}

.page-news__read-more-button {
    display: inline-block;
    color: var(--main-color, #2F6BFF);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.page-news__read-more-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--main-color, #2F6BFF);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.page-news__read-more-button:hover::after {
    transform: scaleX(1);
}

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

.page-news__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-news__benefits-item {
    background-color: var(--card-bg, #FFFFFF);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main, #1F2D3D);
    border: 1px solid var(--border, #D6E2FF);
}

.page-news__benefits-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-news__benefits-title {
    font-size: 1.4em;
    color: var(--custom-color-1776249996415, #000000);
    margin-bottom: 10px;
}

.page-news__benefits-description {
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
}

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

.page-news__faq-item {
    background-color: var(--card-bg, #FFFFFF);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border, #D6E2FF);
}

.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--custom-color-1776249996415, #000000);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

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

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

.page-news__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--main-color, #2F6BFF);
}

.page-news__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-main, #1F2D3D);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-news__faq-item[open] .page-news__faq-answer {
    max-height: 500px; /* Arbitrary large value for smooth transition */
    padding-top: 10px;
}

/* CTA Section */
.page-news__cta-section {
    background-color: var(--main-color, #2F6BFF);
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

.page-news__cta-box {
    max-width: 900px;
}

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

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

.page-news__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
/* Universal image and button responsiveness for mobile */
.page-news img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-news__cta-button,
.page-news__hero-cta-button,
.page-news__view-all-button,
.page-news a[class*="button"],
.page-news a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__cta-buttons,
.page-news__button-group,
.page-news__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


@media (max-width: 1024px) {
    .page-news__hero-title {
        font-size: 2.4em;
    }

    .page-news__section-title {
        font-size: 2em;
    }

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

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-news__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 20px;
    }

    .page-news__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-news__hero-content {
        margin-top: -40px; /* Adjust overlap */
        padding: 20px;
    }

    .page-news__hero-title {
        font-size: 2em !important;
    }

    .page-news__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-news__hero-cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
    }

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

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

    /* 产品展示图区域 (Not applicable for news, but general grid needs to adapt) */
    .page-news__categories-grid,
    .page-news__articles-grid,
    .page-news__benefits-list {
        grid-template-columns: 1fr; /* Single column layout for mobile */
        gap: 20px;
    }
    
    .page-news__article-image {
        height: 180px; /* Adjust height for mobile */
    }

    /* 按钮与按钮容器 */
    .page-news__hero-cta-button,
    .page-news__view-all-button,
    .page-news__cta-button,
    .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;
    }

    .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-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex properties apply */
        flex-direction: column; /* Stack buttons vertically */
    }

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

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

    .page-news__category-card,
    .page-news__article-card,
    .page-news__benefits-item,
    .page-news__faq-item {
        padding: 20px;
    }

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

    .page-news__cta-title {
        font-size: 2em;
    }

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