:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-login-color: #EA7C07;
    --border-color: #e0e0e0;
    --background-light: #f9f9f9;
}

.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default dark text for light body background */
    background: var(--secondary-color); /* Assuming body background is light */
}

/* Hero Section */
.page-news__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, more bottom padding */
    background: linear-gradient(180deg, var(--primary-color) 0%, #1a7bb0 100%);
    color: var(--text-color-light);
}

.page-news__hero-image {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.page-news__hero-content {
    max-width: 900px;
    margin-bottom: 30px;
}

.page-news__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-color-light);
}

.page-news__hero-description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-news__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-news__btn-primary {
    display: inline-block;
    background: var(--button-login-color);
    color: var(--text-color-light);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-news__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
}

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

.page-news__dark-section {
    background: #1a7bb0;
    color: var(--text-color-light);
}

.page-news__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}
.page-news__dark-section .page-news__section-title {
    color: var(--text-color-light);
}

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

.page-news__article-card {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

.page-news__article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: var(--text-color-dark);
}

.page-news__article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1.4;
}

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

.page-news__article-summary {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
}

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

.page-news__button-group {
    text-align: center;
}

/* About News Section */
.page-news__about-news .page-news__content-area {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-news__about-news p {
    margin-bottom: 20px;
}

.page-news__article-figure {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    box-sizing: border-box;
}
.page-news__dark-section .page-news__article-figure {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-news__faq-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

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

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--secondary-color);
}
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: var(--background-light);
}
.page-news__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}
.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: var(--background-light);
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news__hero-section {
        padding: 10px 15px 30px;
    }
    .page-news__hero-content {
        max-width: 700px;
    }
    .page-news__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-news__hero-description {
        font-size: 1rem;
    }
    .page-news__section {
        padding: 50px 15px;
    }
    .page-news__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-news__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-news__article-image {
        height: 200px;
    }
    .page-news__article-title {
        font-size: 1.2rem;
    }
    .page-news__article-summary {
        font-size: 0.95rem;
    }
    .page-news__about-news .page-news__content-area {
        font-size: 1rem;
    }
}

@media (max-width: 849px) {
    /* HERO 主图区域: object-fit:contain !important; aspect-ratio:unset; 禁止 cover 裁切两侧; 顶距约 10px */
    .page-news__hero-image img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
}

@media (max-width: 768px) {
    /* General content padding */
    .page-news__section,
    .page-news__hero-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .page-news__hero-section {
        padding-top: 10px !important;
    }

    /* HERO 主图区域 */
    .page-news__hero-image {
        margin-bottom: 20px;
    }
    .page-news__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-news__hero-description {
        font-size: 0.95rem;
    }

    .page-news__hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 产品展示图区域 (General images/containers) */
    .page-news__articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        overflow-x: hidden;
    }
    .page-news__article-card {
        max-width: 100%;
    }
    .page-news__article-image {
        height: 180px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* 装饰主标题 + 长文 SEO 区 */
    .page-news__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-news__about-news .page-news__content-area {
        font-size: 0.95rem;
        line-height: 1.7;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }
    .page-news__article-figure {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

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

    /* 按钮与按钮容器 */
    .page-news__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* FAQ Section */
    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
    }
    .page-news__faq-qtext {
        font-size: 15px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }
}