/* ==========================================================================
   皖江文化数字化与智能处理省级重点实验室
   学院浅色风 · 参考 gwh.pku.edu.cn
   暖白底 · 学院红 · 宋体标题 · 简洁规整
   ========================================================================== */

:root {
    /* 色板 */
    --bg:           #faf8f4;      /* 暖米白 */
    --bg-alt:       #f2efe8;      /* 稍深米色（分区） */
    --bg-card:      #ffffff;
    --ink:          #1a1a1a;
    --text:         #3d3d3d;
    --muted:        #888078;
    --line:         #ddd8cc;
    --line-soft:    #e8e3d8;

    --red:          #b5202a;      /* 学院红 */
    --red-dark:     #8e181f;
    --red-soft:     #fdf3f3;
    --red-border:   rgba(181, 32, 42, 0.18);

    --navy:         #1a3060;      /* 深蓝辅助 */
    --gold:         #c08020;      /* 暗金点缀 */

    /* 字体 */
    --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
    --font-sans:  "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "HarmonyOS Sans SC", system-ui, -apple-system, sans-serif;
    --font-mono:  "IBM Plex Mono", "JetBrains Mono", ui-monospace, monospace;

    /* 圆角 */
    --r-xs: 3px;
    --r:    6px;
    --r-lg: 10px;
    --r-xl: 16px;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
    --shadow:    0 2px 10px rgba(0,0,0,0.07), 0 4px 20px rgba(0,0,0,0.04);
    --shadow-lg: 0 6px 28px rgba(0,0,0,0.10);

    --container: 1200px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; padding: 0;
    font-family: var(--font-sans);
    font-size: 15px; line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: var(--red); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 {
    font-family: var(--font-serif);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: .02em;
    margin: 0 0 .6em;
    line-height: 1.35;
}
p { margin: 0 0 1em; }

.container        { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 28px; }

/* ---------- 顶部红条 ---------- */
.site-topbar {
    background: var(--red);
    height: 4px;
    width: 100%;
}

/* ---------- 顶栏 ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
    position: sticky; top: 0; z-index: 80;
    box-shadow: var(--shadow-sm);
}
.site-header .inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 0; min-width: 0; flex: 0 1 auto; }

/* 校标图片区域 */
.brand-logo-wrap {
    flex-shrink: 0;
    display: flex; align-items: center;
}
.brand-logo-wrap img {
    height: 40px; width: auto;
    max-width: 148px;   /* 限宽防止撑开顶栏 */
    object-fit: contain;
    display: block;
}

/* 竖分隔线 */
.brand-divider {
    width: 1px; height: 32px;
    background: var(--line);
    margin: 0 14px;
    flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name {
    font-family: var(--font-serif);
    font-size: 16px; color: var(--ink); font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name-en {
    font-family: var(--font-sans);
    font-size: 10px; letter-spacing: .06em;
    color: var(--muted); margin-top: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}


/* 导航 */
.nav { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.nav a {
    padding: 10px 13px;
    color: var(--text);
    font-size: 14px; font-weight: 500;
    letter-spacing: .04em;
    white-space: nowrap;   /* 禁止换行 */
    position: relative;
    transition: color .2s;
}
.nav a::after {
    content: '';
    position: absolute; left: 13px; right: 13px; bottom: 0;
    height: 2px; background: var(--red);
    transform: scaleX(0);
    transition: transform .25s ease;
    transform-origin: center;
}
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    background: none; border: 1px solid var(--line);
    padding: 6px 12px; border-radius: var(--r);
    color: var(--text); cursor: pointer;
    font-size: 13px;
}

/* ---------- Hero 轮播图 ---------- */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* 按用户图片 16:9 比例，自适应宽度 */
    aspect-ratio: 16 / 9;
    max-height: 780px;
    background: #0f0b08;
    border-bottom: 3px solid var(--red);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform .65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1a1410;
}

/* 暗色渐变遮罩（方便白色文字） */
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 8, 6, 0.62) 0%,
        rgba(10, 8, 6, 0.40) 55%,
        rgba(10, 8, 6, 0.18) 100%
    );
}

.slide-content {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: min(820px, 88%);
    text-align: center;
    z-index: 2;
    display: flex; flex-direction: column; align-items: center;
}

.slide-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-serif);
    font-size: 13px; letter-spacing: .18em;
    color: rgba(255,255,255,.85);
    margin-bottom: 18px;
}
.slide-eyebrow::before,
.slide-eyebrow::after {
    content: ''; width: 22px; height: 1px; background: rgba(255,255,255,.5);
}

.slide-title {
    font-family: var(--font-serif);
    font-size: clamp(30px, 4vw, 56px);
    line-height: 1.3;
    color: #fff; font-weight: 600;
    margin: 0 0 16px;
    text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.slide-subtitle {
    font-size: 15px; line-height: 1.9;
    color: rgba(255,255,255,.82);
    text-shadow: 0 1px 12px rgba(0,0,0,0.35);
    margin: 0 0 28px;
    max-width: 560px;
}

.slide-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.slide-cta .btn { font-size: 14px; }
.slide-cta .btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,.6);
    color: #fff; box-shadow: none;
}
.slide-cta .btn-outline:hover { background: rgba(255,255,255,.18); color: #fff; }
.slide-cta .btn-outline::after { display: none; }

/* 左右箭头 */
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: #fff; font-size: 22px;
    cursor: pointer;
    display: grid; place-items: center;
    z-index: 10;
    transition: background .2s, transform .2s;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    line-height: 1;
}
.slider-btn:hover { background: rgba(255,255,255,.28); transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* 底部圆点 */
.slider-dots {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none; cursor: pointer;
    padding: 0;
    transition: all .3s ease;
}
.slider-dot.active {
    background: var(--red);
    width: 24px; border-radius: 4px;
}

/* 进度条 */
.slider-progress {
    position: absolute; bottom: 0; left: 0;
    height: 3px; background: var(--red);
    width: 0; z-index: 11;
    transition: width linear;
}

/* 响应式：小屏改成 4:3，避免字被挤没 */
@media (max-width: 768px) {
    .hero-slider { aspect-ratio: 4 / 3; max-height: none; }
    .slide-title { font-size: 26px; }
    .slide-subtitle { display: none; }
    .slider-btn { display: none; }
    .slide-content { padding: 0 20px; width: 90%; }
}

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 26px;
    border-radius: var(--r);
    border: 1px solid transparent;
    font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: all .22s ease;
    background: var(--red);
    color: #fff;
    box-shadow: 0 2px 8px rgba(181,32,42,0.2);
    letter-spacing: .04em;
}
.btn:hover { background: var(--red-dark); color: #fff; box-shadow: 0 4px 14px rgba(181,32,42,0.28); transform: translateY(-1px); }
.btn-ghost {
    background: transparent; color: var(--red);
    border-color: var(--red); box-shadow: none;
}
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-navy { background: var(--navy); box-shadow: none; }
.btn-navy:hover { background: #122348; }

/* ---------- Section 通用 ---------- */
.section     { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }

/* 栏目头部：左侧红条 + 标题 + 副标题 */
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--line);
    position: relative;
}
.section-head::before {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 48px; height: 2px;
    background: var(--red);
}
.section-head .left {}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.4vw, 30px);
    color: var(--ink); margin: 0;
    font-weight: 600;
    display: flex; align-items: center; gap: 12px;
}
.section-title .en {
    font-family: var(--font-sans);
    font-size: 12px; font-weight: 400;
    color: var(--muted);
    letter-spacing: .1em; text-transform: uppercase;
}
.section-more {
    font-size: 13px; color: var(--muted);
    border: 1px solid var(--line);
    padding: 6px 14px; border-radius: var(--r);
    white-space: nowrap; flex-shrink: 0;
    transition: all .2s;
}
.section-more:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* ---------- 介绍区 ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.intro-text { font-size: 15px; line-height: 2; color: var(--text); }
.intro-text p:first-child::first-letter {
    font-family: var(--font-serif);
    font-size: 2.8em; float: left;
    line-height: .9; padding: 4px 12px 0 0;
    color: var(--red); font-weight: 700;
}
.intro-text p + p { margin-top: .6em; }

.intro-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.stat {
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: box-shadow .25s, border-color .25s, transform .25s;
    position: relative; overflow: hidden;
}
.stat::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(to right, var(--red), transparent);
    opacity: 0; transition: opacity .25s;
}
.stat:hover { box-shadow: var(--shadow); border-color: var(--red-border); transform: translateY(-2px); }
.stat:hover::before { opacity: 1; }
.stat-num {
    font-family: var(--font-serif);
    font-size: 48px; line-height: 1;
    color: var(--red); font-weight: 700;
    display: flex; align-items: baseline; justify-content: center; gap: 3px;
}
.stat-num sup { font-size: 16px; color: var(--gold); font-weight: 400; }
.stat-label {
    font-size: 13px; color: var(--muted);
    margin-top: 10px; letter-spacing: .08em;
}

/* ---------- 新闻动态 ---------- */
.news-layout {
    display: grid; grid-template-columns: 1.3fr 1fr;
    gap: 40px;
}
/* 特稿 */
.news-featured {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s, transform .3s;
}
.news-featured:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-featured .cover {
    aspect-ratio: 16 / 10;
    background: var(--bg-alt) center/cover no-repeat;
    filter: saturate(.9);
    transition: filter .4s, transform .5s;
    overflow: hidden;
}
.news-featured:hover .cover { filter: saturate(1); transform: scale(1.02); }
.news-featured .body { padding: 24px 26px 28px; }
.news-featured .badge {
    display: inline-block;
    background: var(--red); color: #fff;
    font-size: 11px; padding: 3px 10px;
    border-radius: var(--r-xs);
    letter-spacing: .1em;
    margin-bottom: 12px;
}
.news-featured h3 {
    font-size: 20px; line-height: 1.45;
    color: var(--ink); margin-bottom: 10px;
}
.news-featured:hover h3 { color: var(--red); }
.news-featured .excerpt { color: var(--muted); font-size: 14px; line-height: 1.85; }

/* 新闻列表 */
.news-list-box {
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.news-list-head {
    background: var(--red);
    color: #fff;
    padding: 12px 20px;
    font-family: var(--font-serif);
    font-size: 14px; font-weight: 600;
    letter-spacing: .1em;
    display: flex; justify-content: space-between; align-items: center;
}
.news-list-head a { color: rgba(255,255,255,.8); font-size: 12px; }
.news-list-head a:hover { color: #fff; }
.news-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line-soft);
    transition: background .18s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--red-soft); }
.news-date-box {
    flex-shrink: 0; text-align: center;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 6px 10px; min-width: 52px;
    line-height: 1.3;
}
.news-date-box .day {
    font-family: var(--font-serif);
    font-size: 22px; color: var(--red); font-weight: 700;
    display: block;
}
.news-date-box .ym { font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.news-item .news-text { flex: 1; min-width: 0; }
.news-item h4 {
    font-family: var(--font-sans); font-weight: 500;
    font-size: 14px; color: var(--ink); margin: 0 0 4px;
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item:hover h4 { color: var(--red); }
.news-item .meta-tag {
    font-size: 11px; color: var(--muted); letter-spacing: .05em;
}

/* ---------- 研究/学术 卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.card {
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: box-shadow .3s, transform .3s, border-color .3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--red-border); }
.card .cover {
    aspect-ratio: 16 / 10;
    background: var(--bg-alt) center/cover no-repeat;
    filter: saturate(.88);
    transition: filter .4s, transform .5s;
    overflow: hidden;
}
.card:hover .cover { filter: saturate(1); transform: scale(1.03); }
.card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card .badge {
    display: inline-block;
    font-size: 11px; color: var(--red);
    background: var(--red-soft);
    padding: 3px 10px; border-radius: var(--r-xs);
    letter-spacing: .08em; margin-bottom: 10px;
    border: 1px solid var(--red-border);
}
.card h3 {
    font-size: 16px; line-height: 1.5; margin-bottom: 8px;
    color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover h3 { color: var(--red); }
.card .excerpt {
    color: var(--muted); font-size: 13px; line-height: 1.8; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 14px;
}
.card .meta {
    font-size: 12px; color: var(--muted);
    display: flex; justify-content: space-between; gap: 8px;
    border-top: 1px solid var(--line-soft); padding-top: 10px;
    margin-top: auto;
}

/* ---------- 皖江揽胜 ---------- */
.scenery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scenery-item {
    position: relative; overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #222;
    border-radius: var(--r-xl);
    border: 1px solid var(--line);
    display: block;
    transition: transform .35s ease, box-shadow .35s;
}
.scenery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scenery-item .cover {
    position: absolute; inset: 0;
    background: #ccc center/cover no-repeat;
    filter: saturate(.85) brightness(.88);
    transition: transform .7s ease, filter .5s;
}
.scenery-item:hover .cover { transform: scale(1.06); filter: saturate(1) brightness(1); }
.scenery-item .gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.scenery-item .num-tag {
    position: absolute; top: 14px; left: 14px;
    background: var(--red);
    color: #fff; font-size: 11px;
    padding: 3px 10px; border-radius: var(--r-xs);
    letter-spacing: .15em;
    font-family: var(--font-mono);
}
.scenery-item .caption {
    position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff;
}
.scenery-item .caption h3 {
    color: #fff; font-size: 20px; margin-bottom: 6px;
    text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.scenery-item .caption p {
    color: rgba(255,255,255,.72);
    font-size: 12px; letter-spacing: .08em; margin: 0;
}

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: 24px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s, transform .3s, border-color .3s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--red-border); }
.team-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--bg-alt) center/cover no-repeat;
    border: 3px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif); font-size: 32px; color: var(--muted);
    overflow: hidden;
    transition: border-color .3s;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card:hover .team-avatar { border-color: var(--red-border); }
.team-card h4 { font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.team-card .title { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.team-card .area { font-size: 12px; color: var(--red); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); }

/* 团队分组页 */
.team-section + .team-section { margin-top: 60px; }
.team-section > h2 {
    font-size: 20px;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 28px; padding-bottom: 14px;
    border-bottom: 2px solid var(--line);
    position: relative;
}
.team-section > h2::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 40px; height: 2px;
    background: var(--red);
}
.team-section > h2 .idx { font-family: var(--font-mono); font-size: 12px; color: var(--red); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info {}
.contact-info .item {
    display: flex; gap: 14px; align-items: flex-start;
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
}
.contact-info .icon {
    flex-shrink: 0; width: 38px; height: 38px;
    background: var(--red); color: #fff;
    border-radius: var(--r);
    display: grid; place-items: center;
    font-family: var(--font-serif); font-size: 15px;
}
.contact-info .label { font-size: 12px; color: var(--muted); margin-bottom: 4px; letter-spacing: .06em; }
.contact-info .value { font-size: 15px; color: var(--ink); line-height: 1.6; }
.contact-info .value a { color: var(--red); }

.form-box {
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
    display: block; font-size: 13px; color: var(--text);
    font-weight: 500; margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--bg);
    color: var(--ink); font: inherit; font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(181,32,42,0.1);
    background: #fff;
}
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }

.alert {
    padding: 12px 16px; margin-bottom: 18px;
    border-left: 3px solid var(--red);
    background: var(--red-soft);
    border-radius: 0 var(--r) var(--r) 0;
    font-size: 14px; color: var(--text);
}
.alert-error { border-color: #c0392b; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- 列表页 ---------- */
.page-header {
    padding: 52px 0 36px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e8e3d4 100%);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.page-header::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: var(--red);
}
.page-header .crumb {
    font-size: 12px; color: var(--muted);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 6px;
}
.page-header .crumb a { color: var(--muted); }
.page-header .crumb a:hover { color: var(--red); }
.page-header .crumb .sep { color: var(--line); }
.page-header h1 {
    font-size: clamp(28px, 3.5vw, 44px);
    margin: 0 0 10px; color: var(--ink);
}
.page-header p { color: var(--muted); font-size: 14px; max-width: 720px; margin: 0; }

/* 列表行 */
.list-rows { margin-top: 8px; }

.list-row {
    display: grid;
    grid-template-columns: 110px 240px 1fr 40px;  /* 日期 | 封面 | 信息 | 箭头 */
    gap: 32px; padding: 28px 8px 28px 4px;
    border-bottom: 1px solid var(--line-soft);
    align-items: center;
    transition: all .22s ease;
}
.list-row:first-child { border-top: 1px solid var(--line-soft); }
.list-row:hover {
    background: linear-gradient(to right, var(--red-soft), transparent 70%);
    padding-left: 14px;
}

/* 无封面行：日期 | 信息 | 箭头 */
.list-row--no-cover {
    grid-template-columns: 110px 1fr 40px;
}

/* 日期块 */
.list-row .date-block {
    display: flex; flex-direction: column; align-items: flex-start;
    padding-right: 18px;
    border-right: 1px solid var(--line);
}
.list-row .date-block .day {
    font-family: var(--font-serif);
    font-size: 38px; font-weight: 600;
    color: var(--ink); line-height: 1;
}
.list-row .date-block .ym {
    font-family: var(--font-mono);
    font-size: 12px; color: var(--muted);
    margin-top: 6px; letter-spacing: .08em;
}
.list-row:hover .date-block .day { color: var(--red); }
.list-row:hover .date-block { border-right-color: var(--red-border); }

/* 封面 */
.list-row .cover {
    aspect-ratio: 16 / 10;
    background: var(--bg-alt) center/cover no-repeat;
    border-radius: var(--r);
    border: 1px solid var(--line-soft);
    overflow: hidden;
    filter: saturate(.9);
    transition: filter .3s, transform .3s;
}
.list-row:hover .cover { filter: saturate(1); transform: scale(1.02); }

/* 信息区 */
.list-row .info { min-width: 0; }
.list-row h3 {
    font-size: 19px; line-height: 1.5;
    margin: 0 0 10px; color: var(--ink);
    transition: color .2s;
    /* 最多 2 行 */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.list-row:hover h3 { color: var(--red); }
.list-row .excerpt {
    color: var(--muted); font-size: 14px; line-height: 1.85;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin: 0 0 12px;
}
.list-row .meta-mono {
    font-family: var(--font-mono);
    font-size: 11px; color: var(--muted);
    display: flex; gap: 10px; flex-wrap: wrap; letter-spacing: .08em;
}
.list-row .meta-mono .sep { color: var(--line); }

/* 箭头 */
.list-row .arrow {
    font-size: 22px; color: var(--line);
    text-align: right;
    transition: color .2s, transform .25s;
}
.list-row:hover .arrow {
    color: var(--red);
    transform: translateX(6px);
}

/* 响应式：中屏幕上，有封面的文章把封面宽度收缩 */
@media (max-width: 900px) {
    .list-row {
        grid-template-columns: 90px 180px 1fr 28px;
        gap: 18px;
    }
    .list-row--no-cover {
        grid-template-columns: 90px 1fr 28px;
    }
    .list-row .date-block .day { font-size: 30px; }
}

/* 分页 */
.pagination {
    display: flex; gap: 6px; justify-content: center;
    margin: 50px 0 0; flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    font-size: 13px; color: var(--text);
    background: var(--bg-card);
    min-width: 40px; text-align: center;
    transition: all .2s;
}
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination a:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* ---------- 详情页 ---------- */
.post-detail { max-width: 820px; margin: 0 auto; padding: 60px 28px 40px; }
.post-kicker {
    display: inline-block;
    background: var(--red); color: #fff;
    font-size: 12px; padding: 4px 14px;
    border-radius: var(--r-xs);
    letter-spacing: .12em; margin-bottom: 22px;
}
.post-title {
    font-size: clamp(26px, 3.6vw, 42px);
    line-height: 1.3; margin-bottom: 22px;
    color: var(--ink); font-weight: 600;
}
.post-meta {
    font-size: 13px; color: var(--muted);
    margin-bottom: 40px; padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    display: flex; gap: 18px; flex-wrap: wrap;
}
.post-meta span + span::before { content: '·'; margin-right: 10px; color: var(--line); }
.post-cover { margin: 0 0 40px; border-radius: var(--r-lg); overflow: hidden; }
.post-body { font-size: 16px; line-height: 2; color: var(--text); }
.post-body p { margin: 0 0 1.2em; }
.post-body h2 { font-size: 22px; margin: 1.8em 0 .6em; color: var(--ink); }
.post-body h3 { font-size: 19px; margin: 1.5em 0 .5em; color: var(--ink); }
.post-body img { margin: 1.2em auto; border-radius: var(--r); border: 1px solid var(--line-soft); }
.post-body blockquote {
    margin: 1.6em 0; padding: 12px 20px;
    border-left: 3px solid var(--red);
    color: var(--muted); background: var(--red-soft);
    border-radius: 0 var(--r) var(--r) 0;
}
.post-body a { color: var(--red); }
.post-body ul, .post-body ol { padding-left: 1.6em; margin: 0 0 1.2em; }

.post-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
    margin-top: 60px;
}
.post-nav a, .post-nav .placeholder {
    display: block; padding: 18px 22px;
    background: var(--bg-card); border: 1px solid var(--line-soft);
    border-radius: var(--r-lg); color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: all .25s;
}
.post-nav a:hover { border-color: var(--red-border); background: var(--red-soft); color: var(--red); box-shadow: var(--shadow); }
.post-nav .label { font-size: 11px; color: var(--muted); margin-bottom: 6px; letter-spacing: .1em; }
.post-nav .next { text-align: right; }
.post-nav .placeholder { color: var(--muted); }

.related { max-width: var(--container); margin: 0 auto; padding: 60px 28px 0; }
.related h3 {
    font-size: 22px; margin: 0 0 24px;
    padding-bottom: 12px; border-bottom: 2px solid var(--line);
    position: relative;
}
.related h3::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 40px; height: 2px;
    background: var(--red);
}

/* 文化图片展示区 */
.culture-strip {
    margin: 40px 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line-soft);
}
.culture-strip img { width: 100%; height: auto; display: block; }
.culture-strip.painting { max-height: 340px; overflow: hidden; }
.culture-strip.painting img { object-fit: cover; width: 100%; height: 340px; }

/* 冬景圆形图 */
.campus-round {
    display: flex; gap: 32px; align-items: center;
    margin: 40px 0;
    flex-wrap: wrap;
}
.campus-round img {
    width: 200px; height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--line);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}
.campus-round .text { flex: 1; min-width: 200px; }
.campus-round .text h4 {
    font-family: var(--font-serif);
    font-size: 18px; color: var(--ink); margin-bottom: 8px;
}

/* ---------- 关于页 ---------- */
.about-body {
    max-width: 820px; margin: 0 auto;
    padding: 60px 28px;
    font-size: 16px; line-height: 2; color: var(--text);
}
.about-body h2 {
    font-size: 22px; margin: 1.8em 0 .6em;
    padding: 8px 16px;
    background: var(--bg-alt);
    border-left: 3px solid var(--red);
    color: var(--ink);
}
.about-body a { color: var(--red); }
.about-body ol, .about-body ul { padding-left: 1.6em; }

/* ---------- 页脚 ---------- */
.site-footer {
    background: #1e1e1e;
    color: rgba(255,255,255,0.6);
    padding: 60px 0 28px;
    font-size: 13px;
    margin-top: 0;
}
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
    color: #fff; font-size: 14px; letter-spacing: .08em;
    margin-bottom: 18px; font-weight: 600;
    font-family: var(--font-serif);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .footer-logo {
    height: 36px; width: auto;
    margin-bottom: 14px;
    opacity: .9;
    filter: brightness(1.05);
}
.footer-brand .site-name {
    color: #fff; font-family: var(--font-serif);
    font-size: 16px; margin-bottom: 10px;
    font-weight: 600; line-height: 1.4;
    color: rgba(255,255,255,.8);
}
.footer-brand p { line-height: 1.9; color: rgba(255,255,255,0.5); font-size: 13px; max-width: 320px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-contact div { margin-bottom: 10px; line-height: 1.8; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; color: rgba(255,255,255,0.35);
    font-size: 12px; letter-spacing: .06em;
    flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }

/* ---------- 响应式 ---------- */
@media (max-width: 1060px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-card { max-width: 480px; }
    .intro { grid-template-columns: 1fr; gap: 40px; }
    .news-layout { grid-template-columns: 1fr; gap: 28px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .scenery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
    body { font-size: 14px; }
    .container, .container-narrow { padding: 0 18px; }

    .site-header .inner { height: 60px; }
    .brand-name { font-size: 14px; }
    .brand-name-en { display: none; }
    .brand-logo-wrap img { height: 32px; }
    .brand-divider { margin: 0 12px; }

    .hero { padding: 50px 0 60px; }
    .hero::before { font-size: 220px; right: -15px; bottom: -40px; }
    .hero-title { font-size: 32px; }

    .section { padding: 52px 0; }

    .nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        border-bottom: 2px solid var(--red);
        flex-direction: column; gap: 0;
        box-shadow: var(--shadow);
    }
    .nav.open { display: flex; }
    .nav a { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
    .nav a::after { display: none; }
    .nav-toggle { display: inline-flex; }

    .list-row {
        grid-template-columns: 80px 1fr;
        grid-template-areas: "date cover" "date info";
        gap: 10px 14px; padding: 20px 0;
        align-items: start;
    }
    .list-row--no-cover {
        grid-template-columns: 80px 1fr;
        grid-template-areas: "date info";
    }
    .list-row .date-block { grid-area: date; border-right: none; padding-right: 0; }
    .list-row .date-block .day { font-size: 26px; }
    .list-row .cover  { grid-area: cover; aspect-ratio: 16 / 9; }
    .list-row .info   { grid-area: info; }
    .list-row h3      { font-size: 16px; -webkit-line-clamp: 3; }
    .list-row .excerpt { -webkit-line-clamp: 2; font-size: 13px; }
    .list-row .arrow  { display: none; }

    .post-detail { padding: 40px 18px 28px; }
    .post-title { font-size: 26px; }
    .post-body { font-size: 15px; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav .next { text-align: left; }

    .about-body { padding: 40px 18px; font-size: 15px; }

    .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .scenery-grid { grid-template-columns: 1fr; }
    .form-box { padding: 22px 18px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .intro-stats { gap: 10px; }
    .card-grid { grid-template-columns: 1fr; }
}
