/* ============================================================
   中华俞氏网 · 新版设计系统  v0.1（风格确认稿）
   基调：宣纸白 × 墨色 × 朱砂红（取自原站 LOGO）
   ============================================================ */
:root {
  --paper: #faf8f3;          /* 宣纸白 */
  --paper-2: #f3efe6;        /* 深一度纸色 */
  --ink: #2a2622;            /* 墨色 */
  --ink-2: #6b6257;          /* 淡墨 */
  --ink-3: #a39a8d;          /* 灰墨 */
  --line: #e6dfd2;           /* 界线 */
  --red: #a6302f;            /* 朱砂红（LOGO 同源） */
  --red-deep: #822423;
  --gold: #b8934a;           /* 鎏金辅助 */
  --serif: "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", "SimHei", sans-serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", "SimHei", sans-serif;
  --shadow-1: 0 2px 12px rgba(42, 38, 34, .07);
  --shadow-2: 0 14px 40px rgba(42, 38, 34, .13);
  --radius: 10px;
  --maxw: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 滚动显现动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.6,.2,1), transform .8s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
}

/* ---------- 顶栏 ---------- */
.topbar { background: var(--ink); color: #cfc8bc; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar .date em { font-style: normal; color: var(--gold); }

/* ---------- 头部与导航 ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250,248,243,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-stuck { box-shadow: var(--shadow-1); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; display: block; padding: 8px 12px; font-size: 15px; color: var(--ink-2); font-family: var(--sans); letter-spacing: .04em; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; background: var(--red); transition: width .3s, left .3s; }
.nav a:hover, .nav a.is-cur { color: var(--ink); }
.nav a:hover::after, .nav a.is-cur::after { width: calc(100% - 24px); left: 12px; }
.nav-toggle { display: none; }
.search { display: flex; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 6px 4px 16px; flex-shrink: 0; }
.search input { border: 0; outline: 0; width: 120px; font-size: 14px; background: transparent; color: var(--ink); }
.search button { border: 0; background: var(--red); color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px; transition: background .25s, transform .25s; }
.search button:hover { background: var(--red-deep); transform: scale(1.06); }

/* ---------- 首页主视觉（双背景图轮播） ---------- */
.hero { position: relative; overflow: hidden; height: 440px; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s cubic-bezier(.4,0,.2,1), transform 8s cubic-bezier(.2,.6,.2,1); }
.hero-slide.active { opacity: 1; transform: scale(1); }
/* 暗色遮罩，确保白字可读 */
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,24,.62) 0%, rgba(20,22,24,.28) 55%, rgba(20,22,24,.42) 100%); z-index: 1; }
/* 主视觉文案 */
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; pointer-events: none; z-index: 3; }
.hero-copy .inner { max-width: 560px; pointer-events: auto; }
.hero-title { font-family: var(--sans); font-size: 52px; line-height: 1.22; font-weight: 700; margin: 0 0 14px; letter-spacing: .04em; color: #fff; text-shadow: 0 3px 12px rgba(0,0,0,.45); }
.hero-title .red { color: #ffcece; }
.hero-sub { color: rgba(255,255,255,.92); font-size: 16.5px; max-width: 30em; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border: 0; cursor: pointer; border-radius: 999px; font-size: 15px; line-height: 1.4; transition: transform .25s, box-shadow .25s, background .25s; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 12px rgba(166,48,47,.25); }
.btn-red:hover { background: var(--red-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(166,48,47,.35); }
.hero .btn-ghost { border: 1px solid rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.08); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.18); transform: translateY(-2px); }
/* 入场次序 */
.hero-copy .inner > * { animation: rise .9s cubic-bezier(.2,.6,.2,1) both; }
.hero-copy .inner > :nth-child(1) { animation-delay: .1s; }
.hero-copy .inner > :nth-child(2) { animation-delay: .25s; }
.hero-copy .inner > :nth-child(3) { animation-delay: .4s; }
.hero-copy .inner > :nth-child(4) { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
/* 轮播指示点 */
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 4; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s, transform .3s; }
.hero-dot.active { background: #fff; transform: scale(1.25); }

/* ---------- 公告横条 ---------- */
.notice { background: #fff; border-bottom: 1px solid var(--line); }
.notice .wrap { display: flex; align-items: center; gap: 14px; height: 46px; font-size: 14px; }
.notice .tag { background: var(--red); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 4px; flex-shrink: 0; letter-spacing: .1em; }
.notice-roll { position: relative; height: 22px; flex: 1; min-width: 0; overflow: hidden; }
/* 三条公告叠在同一位置，未激活的那两条会盖住可点击区域 → 只让当前显示的那条可点 */
.notice-item { position: absolute; left: 0; right: 0; top: 0; height: 22px; line-height: 22px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: opacity .4s, transform .4s; pointer-events: none; }
.notice-item.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.notice-item:hover { color: var(--red); }

/* ---------- 区块标题 ---------- */
.section { padding: 72px 0 84px; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.sec-title { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: .05em; }
.sec-title .zh { position: relative; padding-left: 18px; }
.sec-title .zh::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 5px; background: var(--red); border-radius: 3px; }
.sec-title .en { display: block; font-size: 12.5px; color: var(--ink-3); letter-spacing: .3em; margin-top: 6px; font-family: var(--sans); font-weight: 400; }
.sec-more { color: var(--ink-2); font-size: 14px; transition: color .25s; }
.sec-more:hover { color: var(--red); }
.btn-more { display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--ink-2); transition: all .25s; }
.btn-more span { transition: transform .25s; }
.btn-more:hover { border-color: var(--red); color: var(--red); }
.btn-more:hover span { transform: translateX(3px); }

/* ---------- 新闻区（首页：左轮播 + 右列表） ---------- */
.news-split { display: grid; grid-template-columns: minmax(0,1.32fr) minmax(0,1fr); gap: 28px; }
.news-carousel { position: relative; border-radius: var(--radius); overflow: hidden; height: 420px; box-shadow: var(--shadow-1); }
.nc-slides { position: absolute; inset: 0; }
.nc-slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; opacity: 0; transition: opacity .9s cubic-bezier(.4,0,.2,1); }
.nc-slide.active { opacity: 1; z-index: 1; }
.nc-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,24,.12) 0%, rgba(20,22,24,.72) 100%); z-index: 0; }
.nc-cap { position: relative; z-index: 1; }
.nc-cat { display: inline-block; background: var(--red); font-size: 12px; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; letter-spacing: .1em; }
.nc-cap h3 { font-family: var(--sans); font-size: 22px; line-height: 1.45; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-meta { display: block; font-size: 13px; opacity: .85; margin-top: 8px; }
.nc-dots { position: absolute; bottom: 31px; right: 24px; display: flex; gap: 8px; z-index: 2; }
.nc-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s, transform .3s; }
.nc-dot.active { background: #fff; transform: scale(1.25); }
/* 右侧列表：与左侧焦点图（420px）等高，条目间距自动均分 */
.news-side-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 6px 24px; min-width: 0; display: flex; flex-direction: column; }
.news-side-list ul { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; }
.news-side-list li { border-bottom: 1px dashed var(--line); }
.news-side-list li:last-child { border-bottom: 0; }
.news-side-list a { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; transition: color .25s; min-width: 0; }
.news-side-list a:hover { color: var(--red); }
.news-side-list .no { font-family: var(--sans); font-size: 13px; color: var(--ink-3); flex-shrink: 0; width: 22px; }
.news-side-list .t { flex: 1; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.news-side-list .d { font-size: 12.5px; color: var(--ink-3); flex-shrink: 0; }

/* ---------- 文化专区（Tab + 卡片） ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab { padding: 8px 22px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--serif); font-size: 15px; color: var(--ink-2); background: #fff; cursor: pointer; transition: all .25s; }
.tab:hover { border-color: var(--red); color: var(--red); }
.tab.is-on { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 5px 14px rgba(166,48,47,.3); }
.cul-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
/* 作者样式里的 display 会盖掉浏览器默认的 [hidden]{display:none}，必须显式补回 */
.tab-pane[hidden] { display: none !important; }
/* 条目不足一行时自动铺满，避免孤零零一张窄卡 */
.cul-grid.few { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cul-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .35s, box-shadow .35s; display: block; }
.cul-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.cul-card .th { height: 150px; position: relative; overflow: hidden; }
.cul-card .th svg, .cul-card .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.cul-card:hover .th svg, .cul-card:hover .th img { transform: scale(1.07); }
.cul-card .bd { padding: 18px 20px 20px; }
.cul-card .kind { font-size: 12px; color: var(--red); letter-spacing: .15em; font-family: var(--serif); }
.cul-card h3 { font-family: var(--serif); font-size: 17px; margin-top: 6px; line-height: 1.5; }
.cul-card p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 风云榜（人物走马灯） ---------- */
.ppl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 6px 0 22px; }

.ppl-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 30px 16px 24px; box-shadow: var(--shadow-1); transition: transform .35s, box-shadow .35s; }
.ppl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.avatar { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 40px; color: var(--red); border: 2px solid var(--line); transition: border-color .3s, transform .3s; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.ppl-card:hover .avatar { border-color: var(--red); transform: rotate(-4deg); }
.ppl-card h3 { font-family: var(--serif); font-size: 18px; }
.ppl-card .role { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.ppl-card .desc { font-size: 13px; color: var(--ink-2); margin-top: 10px; text-align: left; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 数据条 ---------- */
.stats { background: var(--ink); color: #f5f1e8; padding: 60px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); width: 280px; height: 280px; background: url('../img/logoyu.png') no-repeat center / contain; filter: grayscale(100%) brightness(2.8) opacity(.07); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; position: relative; }
.stat .num { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--gold); }
.stat .num sup { font-size: 18px; }
.stat .lab { font-size: 14px; color: #b3ab9e; margin-top: 6px; letter-spacing: .1em; }

/* ---------- 页脚 ---------- */
.footer { background: #201d19; color: #8f877b; font-size: 14px; padding: 56px 0 0; }
/* 三栏：左=LOGO+简介，中=栏目导航，右=关于本站。
   第一栏限宽（280~425px），剩余横向空间用 space-between 均分 → 右侧两栏被推到页脚右边 */
.foot-grid { display: grid; grid-template-columns: minmax(280px, 425px) auto auto; justify-content: space-between; column-gap: 0; padding-bottom: 40px; }
.foot-grid h4 { color: #e8e2d6; font-family: var(--serif); font-size: 16px; margin-bottom: 16px; letter-spacing: .1em; }
.foot-grid a { display: block; padding: 4px 0; transition: color .25s; }
.foot-grid a:hover { color: var(--gold); }
/* 栏目导航排两列（8 个链接 → 4 行 2 列）；列宽按内容自适应，中间留宽间距 */
.foot-links { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 80px; }
/* 最右「关于本站」单列：内容右对齐，标题与链接一起贴着页脚右缘 */
.foot-about-links { text-align: left; }
.foot-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-logo img { height: 46px; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; color: #6d665c; }

/* ---------- 返回顶部 ---------- */
.backtop { position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--red); border: 1px solid var(--line); box-shadow: var(--shadow-1); font-size: 18px; cursor: pointer; opacity: 0; transform: translateY(14px); transition: all .35s; z-index: 60; }
.backtop.show { opacity: 1; transform: none; }
.backtop:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   内页通用（分类/列表/明细）
   ============================================================ */
.page-band { position: relative; padding: 64px 0 58px; background: linear-gradient(180deg, #f1ebde 0%, var(--paper) 100%); overflow: hidden; }
.page-banner { position: absolute; inset: 0; z-index: 0; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,26,.62) 0%, rgba(20,24,26,.28) 60%, rgba(20,24,26,.42) 100%); z-index: 1; }
.page-band.has-banner .wrap { position: relative; z-index: 2; }
.page-band.has-banner .crumbs, .page-band.has-banner .crumbs a { color: rgba(255,255,255,.85); }
.page-band.has-banner .crumbs a:hover { color: #fff; }
.page-band.has-banner h1 { color: #fff; text-shadow: 0 3px 10px rgba(0,0,0,.4); }
.page-band.has-banner .desc { color: rgba(255,255,255,.9); }
.crumbs { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 8px; color: var(--line); }
.page-band h1 { font-family: var(--serif); font-size: 38px; letter-spacing: .06em; }
.page-band .desc { color: var(--ink-2); margin-top: 12px; max-width: 42em; }

/* ---------- 分类页：子栏目胶囊 ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.subnav a { padding: 7px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--serif); font-size: 14.5px; color: var(--ink-2); transition: all .25s; }
.subnav a:hover { border-color: var(--red); color: var(--red); }
.subnav a.is-cur { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- 两栏布局（列表/明细侧栏） ---------- */
.layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }

/* ---------- 列表行 ---------- */
.artlist { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; }
.artrow { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 22px; padding: 24px 26px; border-bottom: 1px solid var(--paper-2); transition: background .25s; }
.artrow > div { min-width: 0; }
.artrow:hover { background: #fdfcf9; }
.artrow .th { border-radius: 8px; overflow: hidden; height: 124px; background: var(--paper-2); }
.artrow .th img, .artrow .th svg { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.artrow:hover .th img, .artrow:hover .th svg { transform: scale(1.06); }
.artrow h3 { font-family: var(--serif); font-size: 18.5px; line-height: 1.5; transition: color .25s; }
.artrow:hover h3 { color: var(--red); }
.artrow .exc { font-size: 14px; color: var(--ink-2); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.artrow .meta { font-size: 13px; color: var(--ink-3); margin-top: 12px; display: flex; gap: 18px; }
.artrow .meta .kind { color: var(--red); }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; padding: 0 12px; transition: all .25s; }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .cur { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- 侧栏组件 ---------- */
.side-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 22px 24px; margin-bottom: 24px; }
.side-box h4 { font-family: var(--serif); font-size: 17px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--paper-2); position: relative; }
.side-box h4::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 46px; height: 2px; background: var(--red); }
.hotlist li { display: flex; gap: 6px; padding: 10px 2px; align-items: baseline; border-bottom: 1px dashed var(--line); }
.hotlist li:last-child { border-bottom: 0; }
.hotlist .no { font-family: var(--serif); font-style: italic; color: var(--ink-3); font-size: 15px; flex-shrink: 0; width: 16px; }
.hotlist li:nth-child(-n+3) .no { color: var(--red); }
/* 「相关文章 / 全部公告」这类圆点列表：点更大、与标题更近、颜色统一 */
.hotlist-dot li { gap: 7px; align-items: flex-start; }
.hotlist-dot .no,
.hotlist-dot li:nth-child(-n+3) .no { font-size: 14px; line-height: 1.5; font-style: normal; font-weight: 700; width: 11px; text-align: center; flex-shrink: 0; color: var(--ink-3); }
.hotlist a { font-size: 14.5px; line-height: 1.6; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .25s; }
.hotlist a:hover { color: var(--red); }
.side-cats a { display: flex; justify-content: space-between; padding: 10px 2px; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--ink-2); transition: color .25s, padding-left .25s; }
.side-cats a:last-child { border-bottom: 0; }
.side-cats a:hover { color: var(--red); padding-left: 8px; }
.side-cats .n { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 明细页 ---------- */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 40px 46px 46px; }
.article h1 { font-family: var(--serif); font-size: 30px; line-height: 1.5; letter-spacing: .02em; }
.art-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; padding: 18px 0 22px; border-bottom: 1px solid var(--paper-2); margin-bottom: 26px; }
.art-meta .k { color: #a39a8d; }
.art-meta .v { color: #6b6257; margin-left: 2px; }
.prose { font-size: 16.5px; line-height: 2; color: #3a352f; }
.prose p { margin: 0 0 22px; text-align: justify; }
.prose h2 { font-family: var(--serif); font-size: 21px; margin: 34px 0 18px; padding-left: 14px; border-left: 4px solid var(--red); }
.prose img { border-radius: 8px; margin: 10px 0; box-shadow: var(--shadow-1); display: inline-block; vertical-align: middle; }
.prose blockquote { margin: 26px 0; padding: 18px 24px; background: var(--paper); border-left: 4px solid var(--gold); color: var(--ink-2); border-radius: 0 8px 8px 0; font-family: var(--serif); }
.art-note { margin-top: 28px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-3); }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 30px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0 0 8px; }
/* 网站地图 */
.sitemap h2 { border-left: none; padding-left: 0; margin-top: 10px; }
.sitemap h2 a, .sitemap h3 a { color: var(--red); }
.sitemap h3 a { color: var(--ink); }
.sitemap ul.sitemap-list { margin: 6px 0 18px; }
.sitemap ul.sitemap-list li { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; }
.sitemap ul.sitemap-list li a { color: var(--ink-2); transition: color .2s; }
.sitemap ul.sitemap-list li a:hover { color: var(--red); }
.sitemap ul.sitemap-list li .d { font-size: 12.5px; color: var(--ink-3); flex-shrink: 0; }
.prose figcaption { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: -18px; margin-bottom: 26px; }
.art-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--paper-2); }
.art-tags a { font-size: 13px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); padding: 4px 14px; border-radius: 999px; transition: all .25s; }
.art-tags a:hover { color: #fff; background: var(--red); border-color: var(--red); }
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.art-nav a { background: var(--paper); border-radius: 8px; padding: 14px 20px; font-size: 14px; color: var(--ink-2); transition: all .25s; }
.art-nav a:hover { background: var(--red); color: #fff; }
.art-nav .lab { font-size: 12px; opacity: .7; display: block; margin-bottom: 4px; }
.art-nav .next { text-align: right; }

/* ---------- 宗亲留言表单 ---------- */
.guest-form { display: grid; gap: 18px; }
.gf-row { display: flex; flex-direction: column; gap: 6px; }
.gf-row label { font-size: 14px; color: var(--ink-2); }
.gf-row label em { color: var(--red); font-style: normal; margin-left: 2px; }
.gf-row input, .gf-row textarea { padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; background: var(--paper); color: var(--ink); outline: none; transition: border-color .25s, box-shadow .25s; }
.gf-row input:focus, .gf-row textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(166,48,47,.08); }
.gf-row textarea { resize: vertical; line-height: 1.7; }
.gf-row--half { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
.gf-row--half label { width: 100%; }
.gf-row--half input { flex: 1; max-width: 260px; padding-right: 14px; }
.captcha { background: var(--paper-2); border: 1px dashed var(--line); padding: 9px 16px; border-radius: 8px; font-family: var(--sans); letter-spacing: 2px; font-size: 15px; color: var(--red); font-weight: 700; user-select: none; }
.gf-act { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.gf-tip { font-size: 13px; color: var(--ink-3); }
.guest-list { display: grid; gap: 20px; }
.guest-item { padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.guest-item:last-child { border-bottom: 0; padding-bottom: 0; }
.guest-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.guest-head b { font-size: 15.5px; color: var(--ink); }
.guest-tag { font-size: 11px; color: #fff; background: var(--gold); padding: 2px 8px; border-radius: 4px; }
.guest-time { font-size: 12.5px; color: var(--ink-3); margin-left: auto; }
.guest-item > p { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.guest-reply { margin-top: 12px; padding: 12px 16px; background: var(--paper); border-radius: 8px; font-size: 14px; color: var(--ink-2); border-left: 3px solid var(--red); }
.guest-reply b { color: var(--red); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .news-split { grid-template-columns: minmax(0,1fr); }
  .news-carousel { height: 360px; }
  .cul-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .layout { grid-template-columns: minmax(0,1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
}
/* ≤900px：收起搜索框，导航改抽屉式（8 个栏目横排在平板会溢出） */
@media (max-width: 900px) {
  .search { display: none; }
  .nav { position: fixed; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 20px 18px; box-shadow: var(--shadow-2); transform: translateY(-130%); transition: transform .35s; z-index: 40; }
  .nav.open { transform: none; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid var(--paper-2); font-size: 16px; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 18px; color: var(--ink); }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .header .wrap { height: 64px; gap: 14px; }
  .brand img { height: 40px; }
  .nav { top: 64px; }
  .hero { height: 380px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .hero-cta { flex-wrap: wrap; }
  .section { padding: 52px 0 60px; }
  .news-split { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .news-carousel { height: 280px; }
  .hero { height: 300px; }
  .nc-cap h3 { font-size: 18px; }
  .ppl-grid { grid-template-columns: repeat(2, 1fr); }
  .cul-grid { grid-template-columns: minmax(0,1fr); }
  .article { padding: 26px 22px 32px; }
  .article h1 { font-size: 23px; }
  .artrow { grid-template-columns: 1fr; }
  .artrow .th { height: 160px; }
  .page-band h1 { font-size: 28px; }
  .stats::before { width: 160px; height: 160px; right: -10px; }
  .foot-grid { grid-template-columns: 1fr; row-gap: 26px; }
  /* 手机上三栏堆叠，右对齐会显得散，统一回落左对齐 */
  .foot-about-links { text-align: left; }
}
