* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #F5F0E8;
    font-family: 'Noto Sans SC', sans-serif;
    color: #2E3B4E;
    line-height: 1.7;
}
h1, h2, h3, h4, .nav-font, .logo, .section-title, .site-header .nav-links a {
    font-weight: 600;
    letter-spacing: 0.02em;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 顶部栏 */
.top-bar {
    background-color: #e5d9cc;
    padding: 8px 0;
    font-size: 0.85rem;
    color: #3b4a5c;
    border-bottom: 1px solid rgba(46, 59, 78, 0.1);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.top-info span { margin-right: 20px; }
.top-info i, .quick-icons i { color: #7EB09B; margin-right: 5px; }
.quick-icons a {
    color: #2E3B4E;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}
.quick-icons a:hover { color: #C44536; }

/* ===== 导航 + 二级菜单 ===== */
.site-header {
    background-color: #F5F0E8;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(46, 59, 78, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2E3B4E;
    line-height: 1.2;
}
.logo span {
    font-size: 0.85rem;
    color: #7EB09B;
    letter-spacing: 1px;
}
.logo img {
    height: 70px;
    display: block;
}

/* 导航菜单容器 */
.nav-menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
}
.menu-item {
    position: relative;
    list-style: none;
}
.menu-item > a {
    text-decoration: none;
    color: #2E3B4E;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}
.menu-item > a:hover {
    border-bottom-color: #7EB09B;
}
.menu-item > a i {
    font-size: 0.8rem;
    color: #7EB09B;
    transition: transform 0.2s;
}
.menu-item:hover > a i {
    transform: rotate(180deg);
}

/* 二级下拉菜单 */
.dropdown {
    position: absolute;
    top: 120%;
    left: -10px;
    background-color: #ffffff;
    min-width: 220px;
    border-radius: 16px;
    padding: 12px 0;
    box-shadow: 0 10px 25px rgba(46,59,78,0.12);
    border: 1px solid #ece0d2;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 200;
    list-style: none;
}
.menu-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li {
    list-style: none;
    padding: 0 16px;
}
.dropdown li a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
    border-radius: 40px;
    transition: 0.2s;
    white-space: nowrap;
}
.dropdown li a:hover {
    background-color: #7EB09B15;
    color: #C44536;
    padding-left: 18px;
}
.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 30px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid #ece0d2;
    border-top: 1px solid #ece0d2;
}

/* ===== 顶部Banner轮播 ===== */
.banner-carousel {
    width: 100%;
    overflow: hidden;
    height: 380px;
    position: relative;
}
.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}
.slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: flex-end;
    padding: 40px 60px;
    position: relative;
}
.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(46,59,78,0.3), rgba(0,0,0,0.2));
    z-index: 1;
}
.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width:900px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.slide-content h3 { font-size: 2.4rem; margin-bottom: 10px; }
.slide-content p { font-size: 1.1rem; }
.carousel-controls {
    position: absolute; bottom: 30px; right: 40px; z-index: 10;
    display: flex; gap: 12px;
}
.carousel-btn {
    background-color: rgba(255,255,255,0.2); backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.5); width: 44px; height: 44px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; cursor: pointer; font-size: 1.2rem;
}
.carousel-btn:hover { background-color: #7EB09B; border-color: #7EB09B; }
.carousel-dots {
    position: absolute; bottom: 30px; left: 40px; z-index: 10;
    display: flex; gap: 10px;
}
.dot {
    width: 12px; height: 12px; border-radius: 50%;
    background-color: rgba(255,255,255,0.5); cursor: pointer;
}
.dot.active { background-color: white; transform: scale(1.2); }

/* ===== 学术盛会轮播 ===== */
.academic-carousel {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(46,59,78,0.05);
}
.academic-slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}
.academic-slide {
    flex: 0 0 100%;
    background: white;
    border: 1px solid #ece0d2;
    border-radius: 28px;
    overflow: hidden;
    padding-bottom: 40px;
}
.academic-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.academic-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #C44536;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    z-index: 2;
}
.academic-content {
    padding: 14px 28px;
}
.academic-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.academic-meta {
    display: flex;
    gap: 20px;
    color: #7EB09B;
    font-size: 0.9rem;
    border-top: 1px dashed #ddd6cc;
    padding-top: 16px;
    margin-top: 8px;
}
.academic-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.academic-btn {
    background-color: rgba(46,59,78,0.6);
    backdrop-filter: blur(4px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
}
.academic-btn:hover {
    background-color: #7EB09B;
}
.academic-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.acad-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
}
.acad-dot.active {
    background-color: #C44536;
    width: 24px;
    border-radius: 10px;
}

/* ===== 三列：中心动态 + 通知公告 + 学术动态 ===== */
.three-news-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0 48px;
}
.info-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(46,59,78,0.05);
    border: 1px solid #ece0d2;
    display: flex;
    flex-direction: column;
}
.card-header {
    padding: 8px 24px 8px 24px;
    border-bottom: 2px solid #f0e4d6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2E3B4E;
}
.card-header .more-small {
    color: #7EB09B;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}
.card-list {
    list-style: none;
    padding: 0px 24px 20px;
    flex: 1;
}
.card-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0e8de;
}
.card-list li:last-child { border-bottom: none; }
.card-list a {
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.card-list a:hover { color: #C44536; }
.date-badge {
    color: #8f9aaa;
    font-size: 0.75rem;
    background-color: #F5F0E8;
    padding: 2px 8px;
    border-radius: 30px;
    white-space: nowrap;
}

/* ===== 下方特色板块 ===== */
.bottom-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0 48px;
}
.feature-card {
    background: white;
    border-radius: 14px;
    padding: 20px 20px 20px;
    border: 1px solid #ece0d2;
    transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card h4 {
    font-size: 1.6rem;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0e4d6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-card h4 i { color: #C44536; font-size: 1.8rem; }
.feature-list { list-style: none; }
.feature-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0e4d6;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list a {
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
}
.feature-list a:hover { color: #C44536; }

/* ===== 李白图文轮播专区 ===== */
.libai-gallery {
    margin: 56px 0 48px;
    position: relative;
    overflow: hidden;
}
.section-title {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 0 0 24px 0;
    position: relative;
    padding-bottom: 0px;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 7em;
    height: 5px;
    background-color: rgba(90, 62, 43, 0.9);
    border-radius: 2px;
}
.section-title i { color: #C44536; margin-right: 12px; font-size: 2rem; vertical-align: middle; }

.gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}
.gallery-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.gallery-slide {
    flex: 0 0 100%;
    background: white;
    border-radius: 28px;
    overflow: hidden;
}
.gallery-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #F5F0E8;
    gap: 28px;
}
.gallery-item {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #ece0d2;
    transition: all 0.3s ease;
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(46,59,78,0.1);
}
.gallery-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
}
.img-caption {
    background: rgba(46,59,78,0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 0.8rem;
}
.gallery-content {
    padding: 22px 24px 28px;
}
.gallery-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #C44536;
    margin-bottom: 12px;
}
.gallery-content p {
    color: #4a5a6a;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}
.poem-quote {
    margin-top: 16px;
    border-left: 3px solid #7EB09B;
    padding-left: 16px;
    color: #2E3B4E;
    font-size: 0.9rem;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 5;
    pointer-events: none;
}
.gallery-btn {
    background-color: rgba(46,59,78,0.6);
    backdrop-filter: blur(4px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    pointer-events: auto;
    transition: 0.2s;
    border: 1px solid rgba(255,255,255,0.3);
}
.gallery-btn:hover {
    background-color: #7EB09B;
}
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}
.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c0b7aa;
    cursor: pointer;
    transition: 0.2s;
}
.gallery-dot.active {
    background-color: #C44536;
    width: 24px;
    border-radius: 10px;
}

.focus-grid {
    display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between;
    margin: 48px 0 40px;
}
.focus-item {
    flex: 1 1 120px; background: white; border-radius: 60px; padding: 16px 10px;
    text-align: center; border: 1px solid #ece0d2; text-decoration: none;
    color: #2E3B4E; transition: 0.2s;
}
.focus-item i { font-size: 2rem; color: #7EB09B; display: block; }
.focus-item:hover { background-color: #7EB09B10; border-color: #7EB09B; }

/* ===== 友情链接 ===== */
.friendship-links {
    background: white;
    border-radius: 28px;
    padding: 32px 36px 28px;
    margin: 20px 0 28px;
    border: 1px solid #ece0d2;
    box-shadow: 0 8px 18px rgba(46,59,78,0.03);
}
.friendship-links h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.friendship-links h3 i {
    color: #C44536;
    font-size: 1.8rem;
}
.link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}
.link-group a {
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
    border-bottom: 1px dashed #ddd6cc;
    padding-bottom: 2px;
    transition: 0.2s;
}
.link-group a:hover {
    color: #C44536;
    border-bottom-color: #C44536;
}

/* ===== 页面Banner（内页专用） ===== */
.page-banner {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center 30%;
    border-radius: 28px;
    margin: 20px 0 28px;
    position: relative;
    background-image: linear-gradient(0deg, #00000040, #00000010), url('https://wxy.mtc.edu.cn/images/banner/banner2.jpg');
    display: flex;
    align-items: center;
    padding: 0 48px;
}
.page-banner .banner-text {
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.page-banner .banner-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.page-banner .banner-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 4px;
}

/* ===== 内容布局：左侧导航 + 右侧内容 ===== */
.content-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

/* ----- 左侧二级栏目导航 ----- */
.sidebar-nav {
    background: white;
    border-radius: 28px;
    border: 1px solid #ece0d2;
    padding: 12px 0;
    align-self: start;
    position: sticky;
    top: 100px;
}
.sidebar-nav .nav-header {
    padding: 12px 24px 8px;
    font-weight: 700;
    font-size: 2rem;
    color: #2E3B4E;
    border-bottom: 2px solid #f0e4d6;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.sidebar-nav .nav-header i {
    color: #C44536;
}
.sidebar-nav ul {
    list-style: none;
    padding: 8px 0;
}
.sidebar-nav ul li a {
    display: block;
    padding: 10px 24px;
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.sidebar-nav ul li a:hover {
    background-color: #f8f4ee;
    color: #C44536;
}
.sidebar-nav ul li a.active {
    background-color: #7EB09B10;
    color: #C44536;
    border-left-color: #C44536;
    font-weight: 600;
}
.sidebar-nav ul li a i {
    margin-right: 10px;
    color: #7EB09B;
    width: 18px;
    text-align: center;
}
.sidebar-nav ul li a.active i {
    color: #C44536;
}
.sidebar-nav .sub-nav {
    padding-left: 16px;
}
.sidebar-nav .sub-nav li a {
    padding: 8px 24px 8px 40px;
    font-size: 0.88rem;
}

/* ----- 右侧内容框 ----- */
.article-body {
    background: white;
    border-radius: 28px;
    border: 1px solid #ece0d2;
    padding: 36px 40px 40px;
}
.article-body .article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2E3B4E;
    line-height: 1.3;
    margin-bottom: 12px;
}
.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #8f9aaa;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0e4d6;
}
.article-meta-top i {
    color: #7EB09B;
    margin-right: 6px;
}
.article-meta-top .article-tag {
    background-color: #7EB09B20;
    color: #2E3B4E;
    font-size: 0.75rem;
    padding: 2px 14px;
    border-radius: 40px;
    border: 1px solid #7EB09B30;
}
.article-body .featured-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    margin-bottom: 28px;
    background-image: linear-gradient(0deg, #00000030, #00000010), url('https://wxy.mtc.edu.cn/images/banner/banner3.jpg');
}
.article-body p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #2E3B4E;
}
.article-body h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0e4d6;
}
.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: #C44536;
}
.article-body blockquote {
    border-left: 4px solid #7EB09B;
    padding: 16px 24px;
    margin: 24px 0;
    background-color: #F5F0E8;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #3b4a5c;
}
.article-body ul, .article-body ol {
    padding-left: 24px;
    margin: 16px 0 20px;
}
.article-body li {
    margin-bottom: 8px;
}
.article-body .poem-box {
    background: #f8f4ee;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 24px 0;
    border: 1px solid #ece0d2;
    font-family: 'Noto Serif SC', serif;
    text-align: center;
}
.article-body .poem-box p {
    margin-bottom: 6px;
    font-size: 1.15rem;
}
.article-body .poem-box .poem-title {
    font-weight: 600;
    color: #C44536;
    font-size: 1.1rem;
}

/* 文章底部 */
.article-footer {
    margin-top: 32px;
    padding-top: 24px;
    
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.article-tags a {
    background: #F5F0E8;
    padding: 4px 16px;
    border-radius: 40px;
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.85rem;
    border: 1px solid #ece0d2;
    transition: 0.2s;
}
.article-tags a:hover {
    background: #7EB09B;
    color: white;
    border-color: #7EB09B;
}
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    color: #8f9aaa;
}
.article-share a {
    color: #2E3B4E;
    font-size: 1.3rem;
    transition: 0.2s;
}
.article-share a:hover {
    color: #C44536;
    transform: scale(1.1);
}
.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #ece0d2;
    flex-wrap: wrap;
    gap: 12px;
}
.article-nav a {
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
    transition: color 0.2s;
    max-width: 45%;
}
.article-nav a:hover {
    color: #C44536;
}
.article-nav .prev i { margin-right: 6px; }
.article-nav .next i { margin-left: 6px; }

/* ===== 页脚 ===== */
.site-footer {
    background-color: #ddd0c0;
    margin-top: 60px;
    padding: 36px 0 20px;
    color: #2E3B4E;
    border-top: 1px solid #b9aa99;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer-left h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.footer-left p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.footer-right h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.footer-right ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}
.footer-right ul li a {
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.9rem;
    border-bottom: 1px dashed #b9aa99;
    padding-bottom: 2px;
    transition: 0.2s;
}
.footer-right ul li a:hover {
    color: #C44536;
    border-bottom-color: #C44536;
}
.footer-social {
    margin-top: 16px;
    display: flex;
    gap: 18px;
    font-size: 0.85rem;
}

.copyright {
    text-align: center;
    margin-top: 36px;
    font-size: 0.85rem;
    color: #4e5b68;
    border-top: 1px solid #c9bcae;
    padding-top: 20px;
}

/* ===== 响应式 ===== */
@media screen and (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 20px;
        border-radius: 28px;
    }
    .sidebar-nav .nav-header {
        width: 100%;
        padding: 0 0 8px;
        border-bottom: 2px solid #f0e4d6;
    }
    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 4px 0;
    }
    .sidebar-nav ul li a {
        padding: 6px 16px;
        border-left: none;
        border-radius: 40px;
        font-size: 0.9rem;
        background: #F5F0E8;
    }
    .sidebar-nav ul li a.active {
        background: #7EB09B;
        color: white;
        border-left: none;
    }
    .sidebar-nav ul li a.active i {
        color: white;
    }
    .sidebar-nav ul li a i {
        margin-right: 6px;
    }
    .sidebar-nav .sub-nav li a {
        padding: 6px 16px 6px 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .page-banner {
        height: 150px;
        padding: 0 24px;
    }
    .page-banner .banner-text h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 900px) {
    .three-news-cards { grid-template-columns: 1fr; }
    .bottom-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid-inner { grid-template-columns: 1fr; gap: 20px; }
    .banner-carousel { height: 280px; }
    .nav-menu { gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media screen and (max-width: 768px) {
    .article-body {
        padding: 24px 18px 28px;
    }
    .article-body .article-title {
        font-size: 1.5rem;
    }
    .article-body .featured-image {
        height: 180px;
    }
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        border: none;
    }
    .dropdown::before {
        display: none;
    }
    .menu-item:hover .dropdown {
        transform: none;
    }
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }
    .article-nav a {
        max-width: 100%;
    }
    .sidebar-nav ul li a {
        font-size: 0.82rem;
        padding: 4px 12px;
    }
    .page-banner {
        height: 120px;
        border-radius: 16px;
        margin: 12px 0 20px;
    }
    .page-banner .banner-text h2 {
        font-size: 1.2rem;
    }
    .page-banner .banner-text p {
        font-size: 0.85rem;
    }
}
/* ===== 附件区域 ===== */
.attachment-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #f0e4d6;
}
.attachment-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2E3B4E;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.attachment-section h4 i {
    color: #C44536;
    font-size: 1.2rem;
}
.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.attachment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: #F5F0E8;
    border-radius: 12px;
    border: 1px solid #ece0d2;
    transition: background 0.2s;
}
.attachment-item:hover {
    background-color: #ece0d2;
}
.attachment-item .file-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.attachment-item .file-icon {
    font-size: 1.6rem;
    color: #7EB09B;
    width: 36px;
    text-align: center;
}
.attachment-item .file-name {
    font-size: 0.95rem;
    color: #2E3B4E;
    font-weight: 500;
}
.attachment-item .file-meta {
    font-size: 0.8rem;
    color: #8f9aaa;
    margin-left: 8px;
}
.attachment-item .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background-color: #7EB09B;
    color: white;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}
.attachment-item .download-btn:hover {
    background-color: #5f8f7a;
}
.attachment-item .download-btn i {
    font-size: 0.9rem;
}

/* ===== 响应式适配 ===== */
@media screen and (max-width: 992px) {
    .attachment-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .attachment-item .file-info {
        flex: 1 1 100%;
    }
}
@media screen and (max-width: 768px) {
    .attachment-item {
        padding: 12px 16px;
    }
    .attachment-item .file-name {
        font-size: 0.88rem;
    }
    .attachment-item .download-btn {
        padding: 4px 14px;
        font-size: 0.8rem;
    }
}
@media screen and (max-width: 600px) {
    .three-news-cards { grid-template-columns: 1fr; }
    .bottom-feature-grid { grid-template-columns: 1fr; }
    .gallery-grid-inner { grid-template-columns: 1fr; }
    .nav-menu { flex-direction: column; align-items: flex-start; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 20px; }
    .dropdown::before { display: none; }
    .friendship-links { padding: 24px 18px; }
    .footer-right ul { flex-direction: column; gap: 8px; }
/* ===== 列表页布局：左侧导航 + 右侧列表 ===== */
.list-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

/* ----- 左侧二级栏目导航 ----- */
.sidebar-nav {
    background: white;
    border-radius: 28px;
    border: 1px solid #ece0d2;
    padding: 12px 0;
    align-self: start;
    position: sticky;
    top: 100px;
}
.sidebar-nav .nav-header {
    padding: 12px 24px 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2E3B4E;
    border-bottom: 2px solid #f0e4d6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-nav .nav-header i {
    color: #C44536;
}
.sidebar-nav ul {
    list-style: none;
    padding: 8px 0;
}
.sidebar-nav ul li a {
    display: block;
    padding: 10px 24px;
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.sidebar-nav ul li a:hover {
    background-color: #f8f4ee;
    color: #C44536;
}
.sidebar-nav ul li a.active {
    background-color: #7EB09B10;
    color: #C44536;
    border-left-color: #C44536;
    font-weight: 600;
}
.sidebar-nav ul li a i {
    margin-right: 10px;
    color: #7EB09B;
    width: 18px;
    text-align: center;
}
.sidebar-nav ul li a.active i {
    color: #C44536;
}
.sidebar-nav .sub-nav {
    padding-left: 16px;
}
.sidebar-nav .sub-nav li a {
    padding: 8px 24px 8px 40px;
    font-size: 0.88rem;
}

/* ----- 右侧列表区 ----- */
.list-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 路径显示 + 搜索条 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    border-radius: 28px;
    border: 1px solid #ece0d2;
    padding: 14px 24px;
}
.filter-bar .breadcrumb-path {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #8f9aaa;
}
.filter-bar .breadcrumb-path a {
    color: #7EB09B;
    text-decoration: none;
    transition: color 0.2s;
}
.filter-bar .breadcrumb-path a:hover {
    color: #C44536;
}
.filter-bar .breadcrumb-path .current {
    color: #2E3B4E;
    font-weight: 500;
}
.filter-bar .breadcrumb-path i {
    font-size: 0.6rem;
    color: #c0b7aa;
}
.filter-bar .search-box {
    display: flex;
    border: 1px solid #ece0d2;
    border-radius: 60px;
    overflow: hidden;
    background: white;
}
.filter-bar .search-box input {
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    background: transparent;
    outline: none;
    font-family: inherit;
    width: 180px;
}
.filter-bar .search-box button {
    background: #7EB09B;
    border: none;
    color: white;
    padding: 0 18px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.filter-bar .search-box button:hover {
    background: #5f8f7a;
}

/* 文章列表 */
.article-list {
    background: white;
    border-radius: 28px;
    border: 1px solid #ece0d2;
    overflow: hidden;
    padding: 4px 0;
}
.article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-bottom: 1px dashed #f0e8de;
    transition: background 0.15s;
}
.article-item:last-child {
    border-bottom: none;
}
.article-item:hover {
    background-color: #f8f4ee;
}
.article-item.sticky .article-title {
    color: #C44536;
    font-weight: 700;
}
.article-item.sticky .article-tag {
    background-color: #C4453620;
    border-color: #C4453650;
    color: #C44536;
}
.article-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.article-tag {
    background-color: #7EB09B20;
    color: #2E3B4E;
    font-size: 0.7rem;
    padding: 2px 12px;
    border-radius: 40px;
    white-space: nowrap;
    border: 1px solid #7EB09B30;
    flex-shrink: 0;
}
.article-title-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.article-title {
    text-decoration: none;
    color: #2E3B4E;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-title:hover {
    color: #C44536;
}
.article-title-wrapper .title-arrow {
    color: #c0b7aa;
    font-size: 0.75rem;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.article-item:hover .title-arrow {
    color: #C44536;
    transform: translateX(2px);
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #8f9aaa;
    white-space: nowrap;
    flex-shrink: 0;
}
.article-meta i {
    color: #7EB09B;
    margin-right: 4px;
}
.article-meta .date-badge {
    background-color: #F5F0E8;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
}
.article-item .has-attachment {
    color: #7EB09B;
    font-size: 0.8rem;
    margin-left: 4px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 40px;
    text-decoration: none;
    color: #2E3B4E;
    font-size: 0.95rem;
    background: white;
    border: 1px solid #ece0d2;
    transition: 0.2s;
}
.pagination a:hover {
    background-color: #7EB09B;
    color: white;
    border-color: #7EB09B;
}
.pagination .current {
    background-color: #2E3B4E;
    color: white;
    border-color: #2E3B4E;
}
.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ===== 响应式新增/调整 ===== */
@media screen and (max-width: 992px) {
    .list-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 20px;
        border-radius: 28px;
    }
    .sidebar-nav .nav-header {
        width: 100%;
        padding: 0 0 8px;
        border-bottom: 2px solid #f0e4d6;
    }
    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        padding: 4px 0;
    }
    .sidebar-nav ul li a {
        padding: 6px 16px;
        border-left: none;
        border-radius: 40px;
        font-size: 0.9rem;
        background: #F5F0E8;
    }
    .sidebar-nav ul li a.active {
        background: #7EB09B;
        color: white;
        border-left: none;
    }
    .sidebar-nav ul li a.active i {
        color: white;
    }
    .sidebar-nav ul li a i {
        margin-right: 6px;
    }
    .sidebar-nav .sub-nav li a {
        padding: 6px 16px 6px 24px;
    }
    .page-banner {
        height: 150px;
        padding: 0 24px;
    }
    .page-banner .banner-text h2 {
        font-size: 1.5rem;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-bar .breadcrumb-path {
        justify-content: center;
    }
    .filter-bar .search-box input {
        width: 100%;
    }
    .filter-bar .search-box {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 20px;
    }
    .article-info {
        width: 100%;
        flex-wrap: wrap;
    }
    .article-title-wrapper {
        width: 100%;
    }
    .article-title {
        max-width: 100%;
        white-space: normal;
    }
    .article-meta {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .page-banner {
        height: 120px;
        border-radius: 16px;
        margin: 12px 0 20px;
    }
    .page-banner .banner-text h2 {
        font-size: 1.2rem;
    }
    .page-banner .banner-text p {
        font-size: 0.85rem;
    }
    .sidebar-nav ul li a {
        font-size: 0.82rem;
        padding: 4px 12px;
    }
    .filter-bar {
        padding: 12px 16px;
    }
    .filter-bar .breadcrumb-path {
        font-size: 0.82rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
}