* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.list-item:last-of-type {
    border-bottom: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fef7fc;
    color: #2c2328;
    scroll-behavior: smooth;
}

/* 主色调 #722751 渐变系列 */
:root {
    --plum: #722751;
    --plum-light: #f4e6ef;
    --plum-dark: #571d3d;
    --plum-soft: #fff2f7;
    --plum-grad: linear-gradient(135deg, #722751, #9e416d);
    --plum-grad-light: linear-gradient(145deg, #f9eef4, #ffffff);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航区 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.2rem 0;
    gap: 1rem;
    border-bottom: 1px solid #f0dbeb;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    background: var(--plum-grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo i {
    background: none;
    color: var(--plum);
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #4a3842;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--plum);
}

/* ========= 通栏 HERO 全新样式（完全按需求） ========= */
.hero {
    position: relative;
    background-image: url(../images/wd.jpg); /* 请确保路径正确 */
    background-size: contain; /* 关键：完整显示整张图片，不裁剪 */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2a1a24; /* 图片未完全覆盖时的背景色（可选） */
    isolation: isolate;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 0;
}

/* 渐变叠加层保持不变 */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.65) 0%, rgba(114, 39, 81, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 0 80px;
}

/* 其余样式保持不变 */

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    padding: 6px 20px;
    border-radius: 40px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h2 {
    font-size: 2.4rem;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero .definition {
    font-size: 1.45rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.92);
    display: inline-block;
    padding: 10px 32px;
    border-radius: 60px;
    margin-bottom: 28px;
    backdrop-filter: blur(2px);
    color: var(--plum);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 240, 0.6);
}

.hero-desc {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

/* 按钮组 */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-btn {
    background: white;
    color: var(--plum);
    padding: 0.7rem 1.8rem;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.hero-btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.hero-btn:hover {
    transform: translateY(-2px);
    background: #f2f2f2;
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* 响应式适配banner文字 */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 1.9rem;
    }

    .hero .definition {
        font-size: 1.2rem;
        padding: 8px 24px;
    }

    .hero-content {
        padding: 55px 0 65px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-bottom: 1.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero .definition {
        font-size: 1rem;
        padding: 6px 18px;
    }

    .hero-content {
        padding: 45px 0 55px;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-buttons {
        margin-top: 1.5rem;
        gap: 0.8rem;
    }
}

/* 板块通用标题 */
.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    border-left: 5px solid var(--plum);
    padding-left: 1rem;
}

.section-title span i {
    margin-right: 10px;
    color: var(--plum);
}

.more-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--plum);
    text-decoration: none;
}

/* 网格布局 */
.grid-feature {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 780px) {
    .grid-feature {
        grid-template-columns: 1fr;
    }
}

/* 卡片样式 (完全无图片列表，仅文字+图标) */
.card-clean {
    background: white;
    border-radius: 1.4rem;
    transition: 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0e0ea;
    overflow: hidden;
}

.card-clean:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px -12px rgba(114, 39, 81, 0.12);
    border-color: #e2c9da;
}

.card-header {
    padding: 1rem 1.2rem 0.3rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f4e3ef;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--plum-dark);
}

.card-title i {
    font-size: 1.2rem;
}

.list-text {
    padding: 0.2rem 1rem 1rem 1rem;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f7eaf2;
    font-size: 0.88rem;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item a {
    text-decoration: none;
    color: #2c2328;
    font-weight: 500;
    flex: 1;
    transition: color 0.2s;
}

.list-item a:hover {
    color: var(--plum);
}

.item-date {
    font-size: 0.7rem;
    color: #9e838f;
    background: #fef5f9;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
    white-space: nowrap;
    margin-left: 0.8rem;
}

/* 学工头条：图片+文字样式 */
.featured-news {
    background: white;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e0ea;
    display: flex;
    flex-wrap: wrap;
}

.featured-image {
    flex: 1;
    min-width: 240px;
    background: #e4d5df;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-content {
    flex: 1.4;
    padding: 1.8rem 2rem;
}

.featured-label {
    display: inline-block;
    background: var(--plum);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 0.8rem;
}

.featured-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.featured-content h3 a {
    text-decoration: none;
    color: var(--plum-dark);
}

.featured-desc {
    color: #5c4b55;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.featured-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--plum);
    margin-bottom: 1rem;
}

.sub-news-list {
    border-top: 1px solid #f0e0ea;
    padding-top: 0.8rem;
    margin-top: 0.2rem;
}

.sub-news-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.sub-news-item a {
    text-decoration: none;
    color: #4a3b40;
    font-weight: 500;
}

.sub-news-item a:hover {
    color: var(--plum);
}

@media (max-width: 700px) {
    .featured-news {
        flex-direction: column;
    }

    .featured-image {
        height: 200px;
    }

    .featured-content {
        padding: 1.2rem;
    }
}


/* 辅助模块 */
.info-highlight {
    background: linear-gradient(115deg, #fdf2f8, #fff);
    border-radius: 1.2rem;
    padding: 1rem;
    margin: 1rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid #f2e3ec;
}

.info-highlight i {
    font-size: 2rem;
    color: var(--plum);
}

@media (max-width: 600px) {
    .info-highlight {
        flex-direction: column;
        text-align: center;
    }
}

/* 页面头部 */
.page-header {
    margin: 2rem 0 1.5rem;
    border-left: 5px solid var(--plum);
    padding-left: 1rem;
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--plum-dark);
}

.page-header p span {
    color: #6b5a60;
    margin-top: 0.3rem;
}

/* 时间轴列表 */
.timeline-list {
    margin: 1rem 0 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.8rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #f0e0ea;
    transition: all 0.2s ease;
}

.timeline-item:hover {
    background: #fffafc;
    transform: translateX(4px);
    border-radius: 1rem;
    padding-left: 0.5rem;
}

.timeline-date {
    flex-shrink: 0;
    width: 110px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--plum);
    background: var(--plum-light);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    text-align: center;
    height: fit-content;
    line-height: 1.3;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.timeline-content h3 a {
    text-decoration: none;
    color: #2c2328;
    transition: color 0.2s;
}

.timeline-content h3 a:hover {
    color: var(--plum);
}

.timeline-summary {
    font-size: 0.85rem;
    color: #5c4b55;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.timeline-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: #9e838f;
}

.timeline-meta i {
    margin-right: 4px;
}

/* 移动端适配 */
@media (max-width: 700px) {
    .timeline-item {
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem 0;
    }

    .timeline-date {
        width: fit-content;
        font-size: 0.75rem;
    }
}

/* 分页组件（玫瑰红风格） */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin: 2rem 0 2.5rem;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    min-width: 2.5rem;
    text-align: center;
    border-radius: 2rem;
    background: white;
    border: 1px solid #f0e0ea;
    color: #4a3842;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
}

.pagination a:hover {
    background: var(--plum-light);
    border-color: var(--plum);
    color: var(--plum);
    transform: translateY(-2px);
}

.pagination .active {
    background: var(--plum);
    color: white;
    border-color: var(--plum);
    cursor: default;
    pointer-events: none;
}


/* 面包屑导航 */
.breadcrumb {
    margin: 1.5rem 0 1rem;
    font-size: 0.8rem;
    color: #9e838f;
}

.breadcrumb a {
    text-decoration: none;
    color: #9e838f;
    transition: 0.2s;
}

.breadcrumb a:hover {
    color: var(--plum);
}

.breadcrumb .separator {
    margin: 0 0.4rem;
}

/* 文章主体 */
.article-header {
    margin: 1rem 0 1.2rem;
    border-left: 5px solid var(--plum);
    padding-left: 1rem;
}

.article-header h1 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--plum-dark);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: #9e838f;
    margin-top: 0.5rem;
}

.article-meta i {
    margin-right: 4px;
    color: var(--plum);
}

.article-content {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #f0e0ea;
    margin: 1.5rem 0;
    line-height: 1.7;
    font-size: 1rem;
    color: #2c2328;
}

.article-content p {
    margin-bottom: 1.2rem;
}

.article-content h2, .article-content h3 {
    margin: 1.5rem 0 1rem;
    color: var(--plum-dark);
}

.article-content img {
    max-width: 100%;
    border-radius: 1rem;
    margin: 1rem 0;
}

.article-content ul, .article-content ol {
    margin: 0 0 1rem 1.8rem;
}

.article-content li {
    margin-bottom: 0.3rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0 2rem;
    padding-top: 1rem;
    border-top: 1px solid #f0e0ea;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--plum-light);
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    font-size: 0.7rem;
    color: var(--plum);
    text-decoration: none;
}

/* 上一篇/下一篇导航样式 */
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.nav-link {
    background: var(--plum-light);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--plum);
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    background: var(--plum);
    color: white;
}

.nav-link.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f0e0ea;
    color: #b8a3ae;
}

/* 相关文章卡片 */
.related-section {
    margin: 2rem 0 2rem;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-left: 4px solid var(--plum);
    padding-left: 0.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.2rem;
}

.related-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #f0e0ea;
    padding: 0.8rem 1rem;
    transition: 0.2s;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px -8px rgba(114, 39, 81, 0.12);
    border-color: #e2c9da;
}

.related-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.related-card h4 a {
    text-decoration: none;
    color: #2c2328;
}

.related-card h4 a:hover {
    color: var(--plum);
}

.related-card .related-meta {
    font-size: 0.7rem;
    color: #9e838f;
}

/* 底部 */
footer {
    background: #2a1e24;
    color: #ddccd4;
    padding: 2rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 1rem auto;
    text-align: left;
}

hr {
    border-color: #5a3f4b;
    margin: 1rem 0;
}

@media (max-width: 700px) {
    .container {
        padding: 0 1.2rem;
    }

    footer {
        padding: 1.8rem 1.2rem;
    }

    .footer-links {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links div {
        text-align: center;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-content {
        padding: 1.2rem;
    }

    .post-nav {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }
}