/* 新闻模块样式 - 高大上风格 */

/* 首页新闻资讯模块 */
.home-news {
    padding: 80px 0;
    background: #fff;
}

.home-news .section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1890ff, #52c41a);
}

.home-news-more {
    text-align: center;
    margin-top: 40px;
}

.news-banner {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.news-banner h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-banner p {
    font-size: 18px;
    opacity: 0.95;
}

.news-list-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-news .news-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.home-news .news-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(24,144,255,0.15);
}

.news-card-cover {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
}

.news-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-cover img {
    transform: scale(1.08);
}

.news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(24,144,255,0.3);
}

.news-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s;
}

.news-card:hover .news-card-overlay {
    opacity: 1;
}

.news-card-body {
    padding: 28px;
}

.news-card-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    color: #595959;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #8c8c8c;
}

.news-meta i {
    margin-right: 6px;
    color: #1890ff;
}

/* 常见问题列表 - 无缩略图样式 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.faq-item:hover {
    border-left-color: #1890ff;
    box-shadow: 0 8px 30px rgba(24,144,255,0.12);
}

.faq-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 10px;
    line-height: 1.4;
}

.faq-item-summary {
    color: #595959;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-item-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #8c8c8c;
}

.faq-item-meta i {
    margin-right: 6px;
    color: #1890ff;
}

.news-empty {
    text-align: center;
    padding: 80px 20px;
    color: #8c8c8c;
}

.news-empty i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.news-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.news-pagination ul,
.news-pagination .pagination,
.news-pagination .pager {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-pagination li {
    list-style: none;
}

.news-pagination a,
.news-pagination span {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border-radius: 8px;
    color: #595959;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.news-pagination a:hover {
    background: #1890ff;
    color: #fff;
}

.news-pagination .current,
.news-pagination .active span {
    background: #1890ff;
    color: #fff;
}

.news-pagination .disabled span {
    background: #f5f5f5;
    color: #bfbfbf;
    cursor: not-allowed;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 20px;
    font-size: 14px;
    color: #8c8c8c;
}

.breadcrumb a {
    color: #1890ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    font-size: 10px;
    color: #bfbfbf;
}

.breadcrumb-current {
    color: #262626;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 相关推荐 */
.related-faq {
    margin-top: 50px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.related-title {
    font-size: 18px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-title i {
    color: #1890ff;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list a {
    color: #595959;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.related-list a:hover {
    color: #1890ff;
}

/* 新闻详情页 */
.news-detail-section {
    padding: 88px 0 60px;
    background: #fff;
}

.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

/* 详情页标题区：面包屑左对齐，标题+元信息居中 */
.faq-detail-head {
    margin-bottom: 32px;
}

.faq-detail-head .breadcrumb {
    padding: 0 0 12px;
    /* 面包屑保持左对齐，不居中 */
}

.faq-detail-title {
    font-size: 28px;
    font-weight: bold;
    color: #262626;
    line-height: 1.4;
    margin: 0 0 16px;
    text-align: center;
}

.faq-detail-head .news-detail-meta {
    margin: 0;
    justify-content: center;
}

.news-detail-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #8c8c8c;
}

.news-detail-meta i {
    margin-right: 8px;
    color: #1890ff;
}

.news-detail-cover {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.news-detail-cover img {
    width: 100%;
    display: block;
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: #595959;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
}

.news-detail-content a {
    color: #1890ff;
    text-decoration: none;
}

.news-detail-content a:hover {
    text-decoration: underline;
}

.news-detail-content h2, .news-detail-content h3 {
    color: #262626;
    margin: 30px 0 16px;
}

.nav-menu a.active {
    color: #1890ff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .news-banner h1 {
        font-size: 28px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-detail-header h1 {
        font-size: 26px;
    }
    
    .breadcrumb {
        font-size: 13px;
    }
    
    .breadcrumb-current {
        max-width: 200px;
    }
    
    .news-detail-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
}
