/* news.css - 资讯页面特有样式 - 优化版 */

/* === 页面背景变量 === */
:root {
    --page-bg: #fffcf5;          /* 页面背景色 */
}

body {
    background-color: var(--page-bg);
}

/* === 板块2: Banner === */
.news-banner {
    height: 42vh; /* 高度减少30% */
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
        url('/wp-content/themes/geo-theme/img/geobj.jpg') no-repeat center center;
    background-size: cover;
    /* 移除 margin-top，让背景图片从页面顶部开始 */
}

.news-banner .container {
    position: relative;
    z-index: 2;
    text-align: center; /* 内容居中对齐 */
    width: 100%;
}

.banner-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* 优化点：banner-main-text改为div但保持原样式 */
.banner-main-text {
    font-size: 50px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.banner-sub-text {
    font-size: 15px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* === 面包屑导航 - 调整为services-web-responsive.html样式 === */
.breadcrumb {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 0;
    z-index: 2;
    background-color: transparent; /* 透明背景 */
}

.breadcrumb .container {
    display: flex;
    justify-content: flex-start;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 14px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .home-icon {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb .separator i {
    font-size: 12px;
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

/* === 板块3: 二级分类 === */
.category-tabs {
    padding: 60px 0 40px;
    background-color: var(--page-bg);
}

.category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(242, 242, 242, 0.5);
}

.category-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 25px;
    border-radius: 32px;
    background: #f1f1f1;
    color: var(--dark);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    min-width: 180px;
    text-decoration: none;
}

.category-tab:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary);
    color: var(--white);
}

.category-tab .tab-text {
    font-weight: 500;
}

.category-tab .tab-icon {
    font-weight: bold;
    font-size: 16px;
    margin-left: 10px;
}

/* === 新增：页面主标题样式 === */
.page-main-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: #000;
    margin: 10px 0 60px;
    text-align: left;
    line-height: 1.3;
    font-family: inherit;
    clear: both;
}

/* === 屏幕阅读器专用样式 === */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === 板块4: 动态列表 === */
.news-list {
    padding: 20px 0 100px; /* 减少顶部间距，因为有了page-main-title */
    background-color: var(--page-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* 增加卡片间距 */
    margin-bottom: 80px; /* 增加底部间距 */
}

.news-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 35px 45px; /* 增加底部内边距 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    display: block;
    height: 100%;
    text-align: left;
    min-height: 400px; /* 增加卡片最小高度 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 新增：文章卡片链接样式 */
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.news-time {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    font-family: 'Bronova', 'Inter', sans-serif;
    margin-bottom: 5px;
}

.news-title {
    margin-top: 15px;
    font-size: 26px;
    color: var(--dark);
    font-weight: 400; /* 取消加粗 */
    line-height: 36px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 72px;
    margin-bottom: 15px;
}

.news-desc {
    margin-top: 35px;
    font-size: 15px;
    color: #868686; /* 描述颜色修改 */
    line-height: 26px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 52px;
    display: block;
    visibility: visible;
}

/* 修正：增加按钮与卡片底边的间距 */
.news-link {
    margin-top: 80px; /* 从60px增加到80px，加大间距 */
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible; /* 改为visible让文字可以显示 */
}

.news-link-btn {
    padding: 0 0 0 25px;
    height: 41px;
    border-radius: 41px;
    font-size: 14px;
    background-color: transparent;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    width: 160px;
    overflow: hidden;
    border: 1px solid #7f7f7f; /* 默认边框 */
    position: relative;
}

/* 修改：资讯列表箭头改为短粗样式 */
.news-link-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.4s ease;
    position: relative;
}

/* 使用短粗箭头样式 - 初始状态为黑色短粗箭头 */
.news-link-arrow .red-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

/* 修改：使用短粗箭头字符 */
.news-link-arrow .red-arrow::after {
    content: '➔';
    color: #868686;
    font-size: 16px; /* 稍微大一点，短粗箭头 */
    font-weight: 900; /* 加粗 */
    transform: rotate(-45deg);
    display: block;
    transition: all 0.3s ease;
}

/* 修正：交互中的效果 - 按钮框收缩消失，文字向左移动 */
.news-card:hover .news-link-btn {
    width: 41px; /* 收缩成圆形 */
    border-color: transparent; /* 边框消失 */
    background-color: transparent; /* 背景透明 */
    padding: 0; /* 移除内边距 */
    justify-content: center; /* 居中 */
}

/* 修正：文字轻微向左推动但不消失，保持在按钮外部可见 */
.news-card:hover .news-link-text {
    opacity: 1;
    transform: translateX(-110px); /* 向左推动，保持在可见区域 */
    color: var(--dark); /* 保持文字颜色 */
    position: absolute; /* 改为绝对定位 */
    left: 0;
    white-space: nowrap;
}

/* 修正：悬停时箭头效果 - 改为短粗箭头变红 */
.news-card:hover .news-link-arrow {
    background-color: var(--primary); /* 红色圆形背景 */
    transform: translateX(0);
    width: 41px; /* 与按钮高度一致 */
    height: 41px; /* 与按钮高度一致 */
    margin-left: 0;
}

/* 修正：悬停时箭头变为白色短粗箭头 */
.news-card:hover .news-link-arrow .red-arrow {
    background-color: transparent;
}

.news-card:hover .news-link-arrow .red-arrow::after {
    color: var(--white);
}

/* 翻页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 80px; /* 增加上下间距 */
    margin-bottom: 20px;
}

.page-item {
    width: 50px; /* 圆形变大 */
    height: 50px; /* 圆形变大 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--dark);
    font-size: 14px; /* 序数变小 */
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #eee;
    text-decoration: none;
}

.page-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.page-item.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-item.disabled:hover {
    background-color: var(--white);
    transform: none;
}

/* === FAQ页面特有样式 === */

/* 板块3: FAQ列表 */
.faq-list {
    padding: 20px 0 100px;
    background-color: var(--page-bg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* FAQ卡片容器 */
.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.faq-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 卡片内部 */
.faq-card {
    padding: 40px 35px 45px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 标题部分 */
.faq-title {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}


.faq-icon {
    width: 20px;
    min-width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
    margin-right: 10px;
}

.faq-card h2, .faq-card h3{
    font-size: 22px;
    line-height: 36px;
    color: #000;
    padding-bottom: 20px;
    font-weight: 400;
    flex: 1;
	margin: 0;
}

/* 分隔线 */
.faq-divider {
    border-bottom: 1px solid #faf0dd;
    width: 100%;
}

/* 描述部分 - 摘要显示，3行截断 */
.faq-desc {
    margin-top: 25px;
    font-size: 15px;
    line-height: 26px;
    color: #868686;
    padding: 0px 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 限制3行 */
    overflow: hidden;
    text-overflow: ellipsis;
    height: 78px; /* 3行的高度 (26px × 3 = 78px) */
}

/* 完整内容 - 默认隐藏，只在弹窗显示 */
.faq-content {
    display: none; /* 默认隐藏 */
}

/* 按钮 */
.faq-btn {
    display: flex;
    width: 40px;
    height: 40px;
    margin-top: 25px;
    margin-left: 30px;
    border: 1px solid #333;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-plus {
    color: #333;
    font-size: 20px;
    font-weight: 300;
    transition: var(--transition);
}

/* 悬停效果 */
.faq-item:hover .faq-btn {
    background-color: var(--primary);
    border-color: var(--primary);
}

.faq-item:hover .faq-plus {
    color: var(--white);
}

/* FAQ弹窗样式 */
.faq-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.faq-modal.active {
    display: flex;
}

.faq-modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border-radius: 30px;
    width: 90%;
    max-width: 800px;
    padding: 50px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.faq-modal-header h1 {
    font-size: 34px;
    color: #000;
    font-weight: 600;
    line-height: 1.3;
    padding-right: 40px;
    flex: 1;
}

.faq-modal-close {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition);
    flex-shrink: 0;
    border: none;
}

.faq-modal-close:hover {
    transform: rotate(90deg);
    background-color: #d63400;
}

.faq-modal-body {
    background-color: #f5f5f7;
    border-radius: 20px;
    padding: 30px;
    line-height: 1.7;
    text-align: left;
    max-height: 50vh;
    overflow-y: auto;
}

.faq-modal-body p {
    margin-bottom: 15px;
    font-size: 1.0625rem;
    color: var(--text);
}

.faq-modal-body p:last-child {
    margin-bottom: 0;
}

/* ====================== */
/* 响应式设计 - 资讯页面优化 */
/* ====================== */

/* 大屏幕优化 (1200px以上) */
@media (min-width: 1201px) {
    .page-main-title {
        font-size: 40px;
    }
    
    .news-grid {
        gap: 50px;
    }
}

/* 标准桌面 (992px-1200px) */
@media (max-width: 1200px) and (min-width: 993px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .page-main-title {
        font-size: 2.6rem;
        margin: 55px 0 38px;
    }
    
    .news-card {
        padding: 35px 30px 40px;
        min-height: 380px;
    }
    
    .news-title {
        font-size: 24px;
        line-height: 34px;
        height: 68px;
    }
    
    .news-desc {
        margin-top: 30px;
        font-size: 14.5px;
        line-height: 25px;
        height: 50px;
    }
}

/* 平板横屏 (768px-992px) */
@media (max-width: 992px) and (min-width: 769px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .page-main-title {
        font-size: 2.3rem;
        margin: 50px 0 35px;
        text-align: center;
    }
    
    .category-container {
        justify-content: center;
    }
    
    .category-tab {
        min-width: 160px;
        padding: 11px 22px;
    }
    
    .news-card {
        padding: 32px 28px 38px;
        min-height: 370px;
    }
    
    .news-title {
        font-size: 22px;
        line-height: 32px;
        height: 64px;
    }
    
    .news-desc {
        margin-top: 28px;
        font-size: 14px;
        line-height: 24px;
        height: 48px;
    }
    
    .news-link {
        margin-top: 70px;
    }
    
    .banner-main-text {
        font-size: 42px;
        max-width: 700px;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 平板竖屏/大手机 (576px-768px) */
@media (max-width: 768px) and (min-width: 577px) {
    .news-banner {
        height: 38vh;
        min-height: 350px;
    }
    
    .banner-main-text {
        font-size: 36px;
        line-height: 1.25;
        max-width: 600px;
        margin-bottom: 25px;
    }
    
    .page-main-title {
        font-size: 2rem;
        margin: 40px 0 30px;
        line-height: 1.25;
        text-align: center;
    }
    
    .category-tabs {
        padding: 50px 0 35px;
    }
    
    .category-container {
        gap: 12px;
        padding-bottom: 35px;
    }
    
    .category-tab {
        min-width: 150px;
        padding: 10px 20px;
        font-size: 13.5px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 70px;
    }
    
    .news-card {
        padding: 30px 25px 35px;
        min-height: 360px;
    }
    
    .news-time {
        font-size: 15px;
    }
    
    .news-title {
        font-size: 20px;
        line-height: 30px;
        height: 60px;
        margin-top: 12px;
    }
    
    .news-desc {
        margin-top: 25px;
        font-size: 14px;
        line-height: 23px;
        height: 46px;
    }
    
    .news-link {
        margin-top: 60px;
    }
    
    .news-link-btn {
        width: 150px;
        height: 38px;
    }
    
    .pagination {
        margin-top: 70px;
        gap: 10px;
    }
    
    .page-item {
        width: 45px;
        height: 45px;
        font-size: 13px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .faq-card {
        padding: 35px 30px 40px;
    }
    
    .faq-card h2, .faq-card h3 {
        font-size: 20px;
        line-height: 32px;
    }
    
    .faq-modal-content {
        padding: 40px 30px;
    }
    
    .faq-modal-header h1 {
        font-size: 28px;
    }
}

/* 小手机 (414px-576px) */
@media (max-width: 576px) and (min-width: 415px) {
    .news-banner {
        height: 35vh;
        min-height: 320px;
    }
    
    .banner-main-text {
        font-size: 30px;
        line-height: 1.3;
        max-width: 500px;
        margin-bottom: 20px;
    }
    
    .banner-sub-text {
        font-size: 14px;
        margin-top: 15px;
    }
    
    .page-main-title {
        font-size: 1.7rem;
        margin: 35px 0 25px;
        line-height: 1.3;
    }
    
    .category-tabs {
        padding: 40px 0 30px;
    }
    
    .category-container {
        justify-content: space-between;
        gap: 10px;
        padding-bottom: 30px;
    }
    
    .category-tab {
        min-width: calc(50% - 5px);
        margin-bottom: 10px;
        padding: 9px 16px;
        font-size: 13px;
    }
    
    .category-tab .tab-icon {
        font-size: 15px;
        margin-left: 8px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 60px;
    }
    
    .news-card {
        padding: 28px 22px 32px;
        min-height: 350px;
    }
    
    .news-time {
        font-size: 14px;
    }
    
    .news-title {
        font-size: 19px;
        line-height: 28px;
        height: 56px;
        margin-top: 10px;
        margin-bottom: 12px;
    }
    
    .news-desc {
        margin-top: 22px;
        font-size: 13.5px;
        line-height: 22px;
        height: 44px;
    }
    
    .news-link {
        margin-top: 55px;
    }
    
    .news-link-btn {
        width: 140px;
        height: 36px;
        font-size: 13px;
        padding-left: 20px;
    }
    
    .news-link-arrow {
        width: 28px;
        height: 28px;
    }
    
    .news-link-arrow .red-arrow {
        width: 22px;
        height: 22px;
    }
    
    .pagination {
        margin-top: 60px;
        gap: 8px;
    }
    
    .page-item {
        width: 42px;
        height: 42px;
        font-size: 12.5px;
    }
    
    .faq-card {
        padding: 28px 22px 32px;
        min-height: 360px;
    }
    
    .faq-card h2, .faq-card h3 {
        font-size: 18px;
        line-height: 30px;
        padding-bottom: 15px;
    }
    
    .faq-desc {
        padding: 0px 20px;
        font-size: 14px;
        line-height: 24px;
        height: 72px;
    }
    
    .faq-modal-content {
        padding: 35px 25px;
        border-radius: 25px;
    }
    
    .faq-modal-header h1 {
        font-size: 24px;
    }
}

/* 超小手机 (375px-414px) */
@media (max-width: 414px) and (min-width: 376px) {
    .news-banner {
        height: 32vh;
        min-height: 300px;
    }
    
    .banner-main-text {
        font-size: 28px;
        line-height: 1.3;
        max-width: 450px;
        margin-bottom: 18px;
    }
    
    .page-main-title {
        font-size: 1.6rem;
        margin: 30px 0 22px;
    }
    
    .category-tab {
        min-width: calc(50% - 5px);
        padding: 8px 14px;
        font-size: 12.5px;
    }
    
    .category-tab .tab-text {
        font-weight: 500;
    }
    
    .category-tab .tab-icon {
        font-size: 14px;
        margin-left: 6px;
    }
    
    .news-card {
        padding: 25px 20px 30px;
        min-height: 340px;
    }
    
    .news-title {
        font-size: 18px;
        line-height: 26px;
        height: 52px;
    }
    
    .news-desc {
        margin-top: 20px;
        font-size: 13px;
        line-height: 21px;
        height: 42px;
    }
    
    .news-link {
        margin-top: 50px;
    }
    
    .news-link-btn {
        width: 135px;
        height: 34px;
        font-size: 12.5px;
        padding-left: 18px;
    }
    
    .pagination {
        margin-top: 55px;
    }
    
    .page-item {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .faq-card {
        padding: 25px 20px 30px;
        min-height: 340px;
    }
    
    .faq-card h2, .faq-card h3 {
        font-size: 17px;
        line-height: 28px;
    }
    
    .faq-desc {
        padding: 0px 15px;
        height: 66px;
    }
    
    .faq-btn {
        margin-top: 20px;
        margin-left: 15px;
    }
}

/* 最小手机 (320px-375px) */
@media (max-width: 375px) {
    .news-banner {
        height: 30vh;
        min-height: 280px;
    }
    
    .banner-main-text {
        font-size: 24px;
        line-height: 1.35;
        max-width: 350px;
        margin-bottom: 15px;
        padding: 0 15px;
    }
    
    .banner-sub-text {
        font-size: 13px;
        margin-top: 12px;
    }
    
    .breadcrumb ul {
        font-size: 12.5px;
        gap: 8px;
    }
    
    .page-main-title {
        font-size: 1.4rem;
        margin: 25px 0 20px;
        padding: 0 10px;
        text-align: center;
    }
    
    .category-tabs {
        padding: 35px 0 25px;
    }
    
    .category-container {
        padding: 0 10px 25px;
    }
    
    .category-tab {
        min-width: 100%;
        padding: 8px 12px;
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .category-tab .tab-icon {
        font-size: 13px;
        margin-left: 5px;
    }
    
    .news-list {
        padding: 15px 0 80px;
    }
    
    .news-grid {
        gap: 20px;
        margin-bottom: 50px;
        padding: 0 10px;
    }
    
    .news-card {
        padding: 22px 18px 28px;
        min-height: 320px;
        border-radius: 10px;
    }
    
    .news-time {
        font-size: 13px;
    }
    
    .news-title {
        font-size: 16px;
        line-height: 24px;
        height: 48px;
        margin-top: 8px;
        margin-bottom: 10px;
    }
    
    .news-desc {
        margin-top: 18px;
        font-size: 12.5px;
        line-height: 20px;
        height: 40px;
    }
    
    .news-link {
        margin-top: 45px;
    }
    
    .news-link-btn {
        width: 130px;
        height: 32px;
        font-size: 12px;
        padding-left: 16px;
        border-radius: 32px;
    }
    
    .news-link-arrow {
        width: 26px;
        height: 26px;
    }
    
    .news-link-arrow .red-arrow::after {
        font-size: 14px;
    }
    
    .pagination {
        margin-top: 50px;
        gap: 6px;
        padding: 0 10px;
    }
    
    .page-item {
        width: 38px;
        height: 38px;
        font-size: 11.5px;
    }
    
    .faq-card {
        padding: 22px 18px 28px;
        min-height: 320px;
    }
    
    .faq-card h2, .faq-card h3 {
        font-size: 16px;
        line-height: 26px;
        padding-bottom: 12px;
    }
    
    .faq-icon {
        width: 18px;
        height: 18px;
        font-size: 12px;
        margin-top: 6px;
        margin-right: 8px;
    }
    
    .faq-modal-content {
        padding: 30px 20px;
        border-radius: 20px;
        width: 95%;
    }
    
    .faq-modal-header h1 {
        font-size: 20px;
        padding-right: 30px;
    }
    
    .faq-modal-close {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .news-banner {
        height: 50vh;
        min-height: 300px;
    }
    
    .banner-main-text {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-card {
        min-height: 280px;
        padding: 25px 20px 30px;
    }
    
    .news-title {
        font-size: 18px;
        line-height: 26px;
        height: 52px;
    }
    
    .news-desc {
        margin-top: 20px;
        height: 44px;
    }
    
    .news-link {
        margin-top: 40px;
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .news-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .news-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
}

/* 打印样式 */
@media print {
    .news-banner,
    .category-tabs,
    .news-link,
    .pagination,
    .faq-modal,
    .faq-btn {
        display: none !important;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .news-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        min-height: auto !important;
        padding: 20px !important;
    }
    
    .page-main-title {
        color: #000 !important;
        font-size: 24pt !important;
        margin: 30px 0 20px !important;
    }
    
    .news-title {
        color: #000 !important;
        font-size: 16pt !important;
    }
    
    .news-desc {
        color: #333 !important;
    }
}