:root {
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --secondary: #06b6d4;
    --dark: #0f766e;
    --light-bg: #f0fdfa;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}



/* ========== Main Content ========== */
.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* ========== Breadcrumb ========== */
.page-breadcrumb{
    margin-top: 88px;
    padding: 0 20px;
}
.breadcrumb {
    max-width: 1400px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-400);
    margin: 0 auto 24px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--dark);
}

.breadcrumb .separator {
    color: var(--gray-300);
}

/* ========== Page Header ========== */
.page-header {
    text-align: center;
    padding: 40px 0 32px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.page-header h1 {
    font-family: '黑体', serif;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ========== Tabs ========== */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 28px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 20px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Noto Sans SC', sans-serif;
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* ========== News List ========== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news-card .thumb {
    width: 240px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.news-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .thumb img {
    transform: scale(1.08);
}

.news-card .thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    pointer-events: none;
}

.news-card .content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover .title {
    color: var(--primary);
}

.news-card .summary {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.news-card .meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.news-card .meta .date {
    display: flex;
    align-items: center;
    gap: 4px;
}
.news-card .meta .date img{
    width: 16px;
    height: 16px;
}
.news-card .meta .tag {
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag-ceremony-before {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
}

.tag-ceremony {
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
}

.tag-nine-one {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.tag-departure {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}
/* 新闻详情 */
  /* ========== Article Layout ========== */
  .article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* ========== Article Card ========== */
.article-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.article-cover {
    width: 100%;
    height: 360px;
    overflow: hidden;
    position: relative;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, rgba(255,255,255,0.8));
    pointer-events: none;
}

.article-body {
    padding: 32px 36px;
}

.article-title {
    font-family: '黑体', serif;
    font-size: 1.75rem;
    color: var(--gray-800);
    line-height: 1.5;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-content p:last-child {
    margin-bottom: 0;
}

/* ========== Article Nav (Prev/Next) ========== */
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.article-nav a {
    width: 49%;
    padding: 14px 18px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--gray-600);
    font-size: 0.875rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article-nav a:hover {
    background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(6,182,212,0.08));
    color: var(--primary);
}

.article-nav a .nav-label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.article-nav a .nav-title {
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-nav a.next {
    text-align: right;
}

/* ========== Sidebar ========== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.sidebar-card-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card-body {
    padding: 8px 0;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.related-item:hover {
    background: var(--light-bg);
}

.related-item .related-thumb {
    width: 72px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-item .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-thumb img {
    transform: scale(1.08);
}

.related-item .related-info {
    flex: 1;
    min-width: 0;
}

.related-item .related-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    transition: var(--transition);
}

.related-item:hover .related-title {
    color: var(--primary);
}

.related-item .related-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
}
.related-item .related-date img{
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* 图片列表页 */
.exhibition-list-section {
    padding: 60px 0;
}

.exhibition-category {
    margin-bottom: 50px;
}

.exhibition-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.exhibition-item-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.exhibition-item-card:hover {
    box-shadow: var(--shadow-xl);
}

.exhibition-item-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.exhibition-card-content {
    padding: 20px;
}

.exhibition-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.exhibition-card-content h3 a {
    color: var(--gray-800);
    text-decoration: none;
}

.exhibition-card-content h3 a:hover {
    color: var(--primary);
}

.exhibition-card-content p {
    color: var(--gray-500);
    font-size: 0.95rem;
}
/* ========== Back to List ========== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-decoration: none;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
    margin-bottom: 24px;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}


/* ========== Pagination ========== */

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 20px;
}
.p_prev_d p_fun_d,
.p_first_d.p_fun_d,
.p_prev_d.p_fun_d,
.p_next_d.p_fun_d,
.p_last_d.p_fun_d,
.pagination .p_no_d,
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    margin: 0 4px;
}

.pagination a:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.pagination .p_no_d {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }
}
@media (max-width: 768px) {

    .page-header h1 {
        font-size: 1.8rem;
    }

    .news-card {
        flex-direction: column;
    }

    .news-card .thumb {
        width: 100%;
        min-height: 180px;
    }

    .tabs-container {
        gap: 6px;
    }

    .tab-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .article-cover {
        height: 220px;
    }

    .article-body {
        padding: 24px 20px;
    }

    .article-title {
        font-size: 1.35rem;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav a.next {
        text-align: left;
        margin-top: 10px;
    }
    .article-nav a{
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.875rem;
    }

    .news-card .content {
        padding: 16px;
    }

    .news-card .title {
        font-size: 1rem;
    }
    .article-cover {
        height: 180px;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .article-meta {
        gap: 12px;
    }
}