﻿/* 面包屑导航 */
.page-header {
    background: #fff;
    padding: 24px 0;
    border-bottom: 1px solid #e9edf4;
}

    .page-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }

.page-title-area h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0b2a41;
    margin-bottom: 8px;
}

.page-title-area p {
    font-size: 15px;
    color: #5f7d9e;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8aa3be;
}

    .breadcrumb-nav a {
        color: #5f7d9e;
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb-nav a:hover {
            color: #0077be;
        }

    .breadcrumb-nav i {
        font-size: 12px;
    }

/* 新闻筛选栏 */
.news-filter {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e9edf4;
    position: sticky;
    top: 72px;
    z-index: 50;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid #d4dce8;
    background: white;
    color: #4b637f;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .filter-tab:hover {
        border-color: #0077be;
        color: #0077be;
    }

    .filter-tab.active {
        background: #0077be;
        border-color: #0077be;
        color: white;
    }

/* 新闻列表区域 */
.news-section {
    padding: 48px 0;
    background: #f5f7fb;
    min-height: 60vh;
}

/* 新闻卡片网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

/* 新闻卡片 */
.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 40, 80, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
}

    .news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0, 55, 110, 0.1);
        border-color: #c5d5e8;
    }

.news-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f0fc 0%, #d0e0f0 100%);
}

    .news-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.news-card:hover .news-card-image img {
    transform: scale(1.06);
}

.news-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0077be;
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.news-card-date {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(11, 42, 65, 0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-content {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #0b2a41;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-card:hover .news-card-title {
    color: #0077be;
}

.news-card-excerpt {
    font-size: 14px;
    color: #5f7d9e;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid #eef2f7;
}

.news-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7a94b0;
}

    .news-card-author i {
        color: #0077be;
    }

.news-card-read {
    font-size: 13px;
    color: #0077be;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.news-card:hover .news-card-read {
    gap: 8px;
}

/* 特色新闻（大卡片） */
.news-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

    .news-featured .news-card-image {
        height: 100%;
        min-height: 260px;
    }

    .news-featured .news-card-content {
        justify-content: center;
        padding: 28px;
    }

    .news-featured .news-card-title {
        font-size: 22px;
        -webkit-line-clamp: 3;
    }

    .news-featured .news-card-excerpt {
        -webkit-line-clamp: 3;
        font-size: 15px;
    }

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination-item {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #d4dce8;
    background: white;
    color: #4b637f;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

    .pagination-item:hover {
        border-color: #0077be;
        color: #0077be;
    }

    .pagination-item.active {
        background: #0077be;
        border-color: #0077be;
        color: white;
    }

    .pagination-item.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .pagination-item.arrow {
        background: #f5f7fb;
    }

/* 响应式 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .page-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title-area h1 {
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

        .news-featured .news-card-image {
            height: 180px;
            min-height: auto;
        }

    .news-filter {
        top: 0;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-tab {
        padding: 8px 12px;
        font-size: 14px;
    }

    .pagination-item {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-title-area h1 {
        font-size: 22px;
    }

    .news-card-content {
        padding: 18px;
    }

    .news-card-title {
        font-size: 16px;
    }

    .news-featured .news-card-title {
        font-size: 18px;
    }
}


/* 文章主体区域 */
.article-section {
    padding: 100px 0;
    background: #f5f7fb;
    min-height: 60vh;
}

.article-container {
    display: grid;
 /*   grid-template-columns: 1fr 300px;*/
    gap: 36px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
}

/* 文章内容区 */
.article-main {
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 40, 80, 0.06);
    overflow:hidden;
}

.article-category {
    display: inline-block;
    background: #0077be;
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
}

.article-title {
    font-size: 30px;
    font-weight: 700;
    color: #0b2a41;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9edf4;
    margin-bottom: 28px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #5f7d9e;
}

    .meta-item i {
        color: #0077be;
        font-size: 15px;
    }

/* 文章封面图 */
.article-cover {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 6px 16px rgba(0, 30, 50, 0.08);
}

    .article-cover img {
        width: 100%;
        height: auto;
        display: block;
    }

/* 文章正文 */
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #2f4a70;
    text-align: justify;
}

    .article-content p {
        margin-bottom: 20px;
        text-indent: 2em;
    }

    .article-content h2 {
        font-size: 22px;
        font-weight: 600;
        color: #0b2a41;
        margin: 36px 0 18px;
        padding-left: 14px;
        border-left: 4px solid #0077be;
        text-indent: 0;
    }

    .article-content h3 {
        font-size: 18px;
        font-weight: 600;
        color: #1a3a5e;
        margin: 28px 0 14px;
        text-indent: 0;
    }

    .article-content ul, .article-content ol {
        margin: 14px 0 20px 2em;
    }

    .article-content li {
        margin-bottom: 10px;
    }

    .article-content blockquote {
        background: linear-gradient(135deg, #f0f5fd 0%, #e8f0fc 100%);
        border-left: 4px solid #0077be;
        padding: 18px 22px;
        margin: 22px 0;
        border-radius: 0 12px 12px 0;
        font-style: italic;
        color: #1a3a5e;
        text-indent: 0;
    }

        .article-content blockquote p {
            text-indent: 0;
            margin-bottom: 8px;
        }

    .article-content figure {
        margin: 20px 0;
        text-align: center;
    }

        .article-content figure img {
            max-width: 100%;
            border-radius: 12px;
            box-shadow: 0 6px 16px rgba(0, 40, 80, 0.08);
        }

    .article-content figcaption {
        font-size: 14px;
        color: #5f7d9e;
        margin-top: 10px;
    }


/* 侧边栏 */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-card {
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 40, 80, 0.05);
}

.sidebar-title {
    font-size: 17px;
    font-weight: 600;
    color: #0b2a41;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0077be;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .sidebar-title i {
        color: #0077be;
    }

/* 相关新闻列表 */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
}

    .related-item:hover {
        background: #f5f7fb;
    }

    .related-item img {
        width: 72px;
        height: 54px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
    }

.related-info {
    flex: 1;
    min-width: 0;
}

    .related-info h4 {
        font-size: 14px;
        font-weight: 500;
        color: #1e2b3c;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 5px;
    }

.related-item:hover h4 {
    color: #0077be;
}

.related-info time {
    font-size: 12px;
    color: #8aa3be;
}