/* ==========================================================================
   人生河海 — 摄影作品站
   品牌色：万山红 #7B0C00 / 千里绿 #407600
   ========================================================================== */

:root {
  --paper:      #FAF6EE;
  --paper-2:    #F2EBDC;
  --paper-3:    #E8DEC9;
  --ink:        #1A1512;
  --ink-2:      #4B433A;
  --ink-3:      #8B8275;
  --red:        #7B0C00;
  --red-soft:   #9C2A1C;
  --green:      #407600;
  --line:       rgba(26, 21, 18, 0.12);
  --line-soft:  rgba(26, 21, 18, 0.07);

  /* ============ 字体 ============
     三个字体各司其职：
     标题 = MiSans（小米，免费商用）
     正文 = 思源宋体 Noto Serif SC（SIL OFL，西文用 Source Serif，中英同源）
     导航 / 署名 = 霞鹜文楷 LXGW WenKai（SIL OFL，手写笔意，呼应手写 logo）
     三者都先写网页字体，再写系统回退，字体没加载完也能看。 */

  --font-title: 'MiSans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
                'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;

  --font-body:  'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong',
                'Noto Serif CJK SC', SimSun, serif;

  --font-nav:   'LXGW WenKai Screen', 'LXGW WenKai', 'Kaiti SC', 'STKaiti', KaiTi,
                'Songti SC', serif;

  /* 小字、按钮、标签 —— 与标题同族，保持界面统一 */
  --font-ui:    var(--font-title);

  /* 数字与拉丁 —— 跟正文走，用 Source Serif 的衬线数字 */
  --font-latin: 'Noto Serif SC', 'Times New Roman', Georgia, serif;

  --maxw: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 宣纸底纹：极淡的横向纤维 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(123, 12, 0, 0.012) 0px,
    rgba(123, 12, 0, 0.012) 1px,
    transparent 1px,
    transparent 4px
  );
}

img { display: block; max-width: 100%; }

figure { margin: 0; }
ul, ol { margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(123, 12, 0, 0.16); }

/* ---------- 通用骨架 ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.wrap--narrow { max-width: 800px; }

/* ---------- 顶部导航 ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  background: rgba(250, 246, 238, 0.72);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), padding 0.4s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  padding: 12px 40px;
  background: rgba(250, 246, 238, 0.9);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__name {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--ink);
  line-height: 1;
}

/* 印章 */
.seal {
  width: 38px;
  height: 38px;
  background: var(--red);
  color: #FBF4E8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  place-items: center;
  font-family: var(--font-nav);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

/* ---------- 手写 logo 插槽 ----------
   把透明底的 assets/img/brand/logo.png 放进去，导航与页脚会自动
   换成手写图，并隐藏印章与文字。文件不存在时保持纯文字，不会报错。 */
.brand-logo {
  display: none;
  width: auto;
  height: 33px;
}

.nav__brand.is-logo .seal,
.nav__brand.is-logo .nav__name { display: none; }

.nav__brand.is-logo .brand-logo { display: block; height: 33px; }

.footer__brand.is-logo .seal,
.footer__brand.is-logo h3 { display: none; }

.footer__brand.is-logo .brand-logo { display: block; height: 46px; }

.nav__link {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
  font-family: var(--font-title);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.4s var(--ease);
}

.nav__link:hover { color: var(--red); }
.nav__link:hover::after { width: 100%; }

.nav__link.is-active { color: var(--red); }
.nav__link.is-active::after { width: 100%; }

.nav__cta {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--paper);
  background: var(--ink);
  padding: 9px 20px;
  border-radius: 1px;
  transition: background 0.35s var(--ease), letter-spacing 0.35s var(--ease);
}

.nav__cta:hover { background: var(--red); letter-spacing: 0.18em; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  /* 兜底背景直接用第一张，避免 JS 注入轮播前先闪一下占位图。
     换首屏图时，这一行要跟 photos.js 里 HERO_SLIDES 的第一张保持一致。 */
  background: #140C08 url('../img/hero/hero-01.webp') center / cover no-repeat;
}

/* 首屏轮播：轨道整体左右平移，每张照片占满一屏 */
.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 1.15s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero__slide {
  flex: 0 0 100%;
  height: 100%;
  background-position: var(--pos, center);
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 9s linear;
  backface-visibility: hidden;
}

/* 极缓慢的推近，让静止的照片有一点呼吸 */
.hero__slide.is-active { transform: scale(1.05); }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(20, 12, 8, 0.82) 0%, rgba(20, 12, 8, 0.34) 42%, rgba(20, 12, 8, 0.18) 100%),
    linear-gradient(to right, rgba(20, 12, 8, 0.42) 0%, transparent 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px 92px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: rgba(251, 244, 232, 0.72);
  margin-bottom: 26px;
}

.hero__eyebrow i {
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(251, 244, 232, 0.5);
  font-style: normal;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.06em;
  color: #FDF7EC;
  margin: 0 0 26px;
  max-width: 14em;
}

.hero__title em {
  font-style: normal;
  color: #E7B98B;
}

.hero__sub {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.1em;
  color: rgba(251, 244, 232, 0.74);
  max-width: 30em;
  margin: 0;
  font-family: var(--font-body);
}

.hero__meta {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.42em;
  color: rgba(251, 244, 232, 0.5);
  padding-bottom: 8px;
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: 1px;
  height: 42px;
  background: rgba(251, 244, 232, 0.22);
  overflow: hidden;
}

.hero__scroll::after {
  content: '';
  position: absolute;
  top: -42px;
  left: 0;
  width: 1px;
  height: 42px;
  background: rgba(251, 244, 232, 0.85);
  animation: scrollHint 2.4s ease-in-out infinite;
}

@keyframes scrollHint {
  0%   { top: -42px; }
  60%  { top: 42px; }
  100% { top: 42px; }
}

/* 右下角圆点：悬停即切换 */
.hero__dots {
  position: absolute;
  right: 36px;
  bottom: 42px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero__dot {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}

.hero__dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(251, 244, 232, 0.55);
  background: transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hero__dot:hover::before {
  background: rgba(251, 244, 232, 0.5);
  border-color: rgba(251, 244, 232, 0.7);
  transform: scale(1.25);
}

.hero__dot.is-on::before {
  background: #FBF4E8;
  border-color: #FBF4E8;
  box-shadow: 0 0 0 3px rgba(251, 244, 232, 0.20);
}

.hero__dot:focus-visible::before {
  box-shadow: 0 0 0 3px rgba(251, 244, 232, 0.55);
}

/* ---------- 章节标题 ---------- */

.section { padding: 128px 0; }
.section--tight { padding: 92px 0; }
.section--paper2 { background: var(--paper-2); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 64px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.sec-head__left { display: flex; align-items: baseline; gap: 20px; }

.sec-head__num {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--red);
  padding-top: 4px;
}

.sec-head__title {
  font-family: var(--font-title);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.14em;
  margin: 0;
  line-height: 1.3;
}

.sec-head__desc {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin: 8px 0 0;
}

.sec-head__more {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  white-space: nowrap;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sec-head__more:hover { color: var(--red); border-color: var(--red); }

/* ---------- 首页精选（编辑式非对称网格） ---------- */

.featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 26px;
}

.featured > *:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.featured > *:nth-child(2) { grid-area: 1 / 2 / 2 / 3; aspect-ratio: 4 / 5; }
.featured > *:nth-child(3) { grid-area: 1 / 3 / 2 / 4; aspect-ratio: 4 / 5; }
.featured > *:nth-child(4) { grid-area: 2 / 2 / 3 / 4; aspect-ratio: 16 / 9; }

/* ---------- 照片卡片 ---------- */

.shot {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-3);
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.96) contrast(1.01);
}

.shot:hover img { transform: scale(1.035); filter: saturate(1.05) contrast(1.03); }

.shot__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 26px 22px;
  background: linear-gradient(to top, rgba(16, 10, 7, 0.78), transparent);
  color: #FBF4E8;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.shot:hover .shot__cap,
.shot:focus-visible .shot__cap { opacity: 1; transform: translateY(0); }

.shot__cap h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.1em;
  margin: 0 0 6px;
}

.shot__cap p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(251, 244, 232, 0.66);
}

.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-2-3 { aspect-ratio: 2 / 3; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-5-7 { aspect-ratio: 5 / 7; }

/* ---------- 行记列表 ---------- */

.notes { border-top: 0; }

.note {
  display: grid;
  grid-template-columns: 132px 1fr 220px;
  gap: 40px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}

.note:hover { background: rgba(242, 235, 220, 0.6); }

.note__date {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  line-height: 1.9;
}

.note__date b {
  display: block;
  font-family: var(--font-latin);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-top: 2px;
}

.note__body h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  transition: color 0.3s var(--ease);
}

.note:hover .note__body h3 { color: var(--red); }

.note__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 46em;
  font-family: var(--font-body);
}

.note__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.17em;
  color: var(--green);
  border: 1px solid rgba(64, 118, 0, 0.28);
  padding: 2px 9px;
  margin-bottom: 12px;
}

.note__thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-3); }
.note__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.note:hover .note__thumb img { transform: scale(1.05); }

.note--plain { grid-template-columns: 132px 1fr; }

/* ---------- 关于条带 ---------- */

.about-strip {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}

.about-strip__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); }
.about-strip__img img { width: 100%; height: 100%; object-fit: cover; }

.about-strip__kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.about-strip__kicker i { display: block; width: 30px; height: 1px; background: var(--red); font-style: normal; }

.about-strip h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.12em;
  line-height: 1.55;
  margin: 0 0 24px;
}

.about-strip p {
  font-size: 15px;
  line-height: 2.15;
  color: var(--ink-2);
  margin: 0 0 18px;
  font-family: var(--font-body);
}

.about-strip__sign {
  font-family: var(--font-nav);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-top: 30px;
}

/* ---------- 页头（内页） ---------- */

.page-head {
  padding: 190px 0 66px;
  border-bottom: 1px solid var(--line);
}

.page-head__kicker {
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--red);
  margin-bottom: 20px;
}

.page-head h1 {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin: 0 0 22px;
}

.page-head p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-2);
  max-width: 38em;
  margin: 0;
  font-family: var(--font-body);
}

/* ---------- 作品页：筛选 + 瀑布流 ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 40px 0 44px;
}

.chip {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--line);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.32s var(--ease);
}

.chip:hover { border-color: var(--red); color: var(--red); }

.chip.is-on {
  background: var(--red);
  border-color: var(--red);
  color: #FBF4E8;
}

.masonry { columns: 3; column-gap: 26px; }

.masonry .shot {
  margin-bottom: 26px;
  break-inside: avoid;
  width: 100%;
}

.masonry .shot img { height: auto; }

.shot__cap--always { opacity: 1; transform: none; }

/* ---------- 行记页 ---------- */

.journal-list { padding: 20px 0 0; }

.j-item {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: center;
  padding: 46px 0;
  border-bottom: 1px solid var(--line);
}

.j-item:nth-child(even) { grid-template-columns: 300px 1fr; }
.j-item:nth-child(even) .j-item__thumb { order: -1; }

.j-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.j-item__meta .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--ink-3);
  border-radius: 50%;
  flex-shrink: 0;
  font-style: normal;
}

.j-item h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 0.1em;
  line-height: 1.55;
  margin: 0 0 16px;
  transition: color 0.3s var(--ease);
}

.j-item:hover h2 { color: var(--red); }

.j-item p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--ink-2);
  font-family: var(--font-body);
}

.j-item__read {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--red);
}

.j-item__thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.j-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.j-item:hover .j-item__thumb img { transform: scale(1.04); }

/* ---------- 关于页 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  padding: 90px 0 0;
  align-items: start;
}

.about-grid__photo { position: sticky; top: 120px; }

.about-grid__photo .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-3);
  position: relative;
}

.about-grid__photo .frame img { width: 100%; height: 100%; object-fit: cover; }

.about-grid__photo figcaption {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-top: 14px;
}

.prose h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.12em;
  margin: 46px 0 18px;
  padding-left: 18px;
  border-left: 2px solid var(--red);
  line-height: 1.6;
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 15.5px;
  line-height: 2.2;
  color: var(--ink-2);
  margin: 0 0 20px;
  font-family: var(--font-body);
}

.prose p.lead {
  font-family: var(--font-title);
  font-size: 19px;
  line-height: 2.1;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.cols-list {
  border-top: 1px solid var(--line);
  margin: 8px 0 0;
}

.cols-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  list-style: none;
  font-size: 14px;
}

.cols-list { padding: 0; }

.cols-list li b {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--red);
}

.cols-list li span { color: var(--ink-2); line-height: 1.9; }

/* ---------- 长文阅读页 ---------- */

.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 40px 30px;
}

.article__head {
  padding: 176px 0 52px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
}

.article__kicker {
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--red);
  margin-bottom: 26px;
}

.article__head h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin: 0 0 24px;
}

.article__meta {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.article__meta span { margin: 0 8px; }

.article p {
  font-size: 17px;
  line-height: 2.2;
  color: #241E19;
  margin: 0 0 26px;
  text-align: justify;
  font-family: var(--font-body);
}

.article p.lede::first-letter {
  float: left;
  font-family: var(--font-title);
  font-size: 3.1em;
  line-height: 0.92;
  padding: 6px 12px 0 0;
  color: var(--red);
}

.article h2 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.14em;
  margin: 62px 0 22px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article h2::before {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background: var(--red);
  margin-bottom: 20px;
}

.article figure { margin: 48px 0; }

.article figure img { width: 100%; background: var(--paper-3); }

.article figcaption {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.9;
}

.article blockquote {
  margin: 44px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--red);
  font-family: var(--font-title);
  font-size: 19px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.article blockquote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-top: 14px;
}

.article__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.article__foot a:hover { color: var(--red); }

.back-link {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 30px;
  transition: color 0.3s var(--ease);
}

.back-link:hover { color: var(--red); }

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 78px 0 40px;
  margin-top: 40px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-soft);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer__lines p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  line-height: 1.9;
}

.footer__lines .footer__slogan { color: var(--ink-2); margin-bottom: 6px; }

.footer__lines b {
  font-weight: 400;
  color: var(--ink-2);
  margin-right: 10px;
}

/* ---------- 社交圆标（8kraw 式）+ 二维码弹层 ---------- */

.footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 左侧：logo + 撑满同宽的英文行 */
.footer__mark { width: 195px; }   /* logo 46px 高的等比宽度；换 logo 时同步改这一行 */

.footer__mark .brand-logo { width: 100%; height: auto; display: block; }

.footer__footline {
  margin: 10px 0 0;
  font-family: var(--font-latin);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

/* 右侧：文字胶囊（官方图形 logo 是注册商标，统一用名称规避） */
.social-pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
              background 0.3s var(--ease), transform 0.3s var(--ease);
}

a.social-pill:hover,
button.social-pill:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fff;
  transform: translateY(-2px);
}

/* 微信：悬停弹出二维码 */
.social-item { position: relative; }

.qr-pop {
  position: absolute;
  bottom: calc(100% + 14px);
  right: -34px;
  width: 178px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(26, 21, 18, 0.14);
  padding: 16px 14px 12px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 5;
}

.social-item:hover .qr-pop,
.social-item.is-open .qr-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qr-pop::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 50px;
  border: 7px solid transparent;
  border-top-color: #fff;
}

.qr-pop__imgwrap {
  width: 132px;
  height: 132px;
  margin: 0 auto 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  position: relative;
}

.qr-pop__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

.qr-pop__imgwrap .box {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.qr-pop__imgwrap .box span {
  writing-mode: vertical-rl;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--ink-3);
}

.qr-pop b {
  display: block;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 4px;
}

.qr-pop small {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  flex-wrap: wrap;
}

.footer__bottom a:hover { color: var(--red); }

/* ---------- 灯箱 ---------- */

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 10, 8, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 90px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lb.is-open { opacity: 1; visibility: visible; }

.lb__fig {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.lb__img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  transform: scale(0.985);
  transition: transform 0.5s var(--ease);
}

.lb.is-open .lb__img { transform: scale(1); }

.lb__cap {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(251, 244, 232, 0.62);
  text-align: center;
}

.lb__cap b {
  display: block;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.12em;
  color: #FBF4E8;
  margin-bottom: 6px;
}

.lb__btn {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(251, 244, 232, 0.55);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  padding: 14px;
  transition: color 0.3s var(--ease);
  font-family: var(--font-title);
}

.lb__btn:hover { color: #FBF4E8; }

.lb__close { top: 24px; right: 30px; }
.lb__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 22px; top: 50%; transform: translateY(-50%); }

.lb__count {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(251, 244, 232, 0.4);
}

/* ---------- 进场动画 ---------- */

.rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
  .hero__scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .wrap { padding: 0 30px; }
  .nav { padding: 16px 30px; }
  .nav.is-scrolled { padding: 12px 30px; }
  .masonry { columns: 2; }
  .featured { grid-template-columns: 1fr 1fr; }
  .featured > *:nth-child(1) { grid-area: 1 / 1 / 2 / 2; aspect-ratio: 4 / 5; }
  .featured > *:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
  .featured > *:nth-child(3) { grid-area: 2 / 1 / 3 / 2; aspect-ratio: 16 / 9; }
  .featured > *:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
  .about-strip { grid-template-columns: 300px 1fr; gap: 44px; }
  .about-grid { grid-template-columns: 340px 1fr; gap: 48px; }
  .hero__inner { padding: 0 30px 76px; }
}

@media (max-width: 820px) {
  body { font-size: 15px; }
  .wrap { padding: 0 22px; }
  .nav { padding: 14px 22px; }
  .nav.is-scrolled { padding: 10px 22px; }
  .nav__links {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
  }
  .nav__links.is-open { max-height: 660px; padding: 14px 22px 22px; }
  .nav__link { padding: 12px 0; width: 100%; font-size: 16px; }
  .nav__cta { margin-top: 12px; text-align: center; width: 100%; }
  .nav__toggle { display: flex; }
  .nav__brand.is-logo .brand-logo { height: 28px; }

  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 38px; }
  .sec-head__more { align-self: flex-start; }

  .hero { height: 88vh; min-height: 560px; }
  .hero__inner { padding: 0 22px 60px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__meta { writing-mode: horizontal-tb; letter-spacing: 0.24em; }
  .hero__dots { right: 14px; bottom: 24px; gap: 0; }
  .hero__dot { width: 22px; height: 22px; }
  .hero__dot::before { width: 8px; height: 8px; }
  .hero__slide { background-position: var(--pos-m, center); }

  .masonry { columns: 1; }
  .featured { grid-template-columns: 1fr; }
  .featured > *:nth-child(n) { grid-area: auto / 1 / auto / 2; aspect-ratio: 4 / 5; }
  .featured > *:nth-child(3) { aspect-ratio: 3 / 2; }
  .page-head { padding: 130px 0 44px; }

  .article { padding: 0 22px 20px; }
  .article__head { padding: 124px 0 34px; margin-bottom: 34px; }
  .article p { font-size: 16px; line-height: 2.1; }
  .article h2 { margin-top: 46px; }
  .article figure { margin: 34px 0; }

  .note { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .note__date { display: flex; align-items: baseline; gap: 10px; }
  .note__date b { display: inline; font-size: 18px; }
  .note__thumb { display: none; }
  .note--plain { grid-template-columns: 1fr; }

  .about-strip { grid-template-columns: 1fr; gap: 30px; }
  .about-strip__img { max-width: 260px; }

  .about-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
  .about-grid__photo { position: static; max-width: 280px; }

  .j-item, .j-item:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .j-item:nth-child(even) .j-item__thumb { order: 0; }

  .footer { padding: 56px 0 30px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 38px; padding-bottom: 34px; }
  .footer__social { align-self: stretch; justify-content: flex-start; }

  .lb { padding: 50px 16px; }
  .lb__prev { left: 4px; }
  .lb__next { right: 4px; }
  .lb__img { max-height: 70vh; }
}

/* ==========================================================================
   栏目总览（文字页）与栏目页
   ========================================================================== */

.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.col-card {
  background: var(--paper);
  padding: 30px 30px 24px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  position: relative;
  transition: background 0.45s var(--ease);
}

.col-card:hover { background: var(--paper-2); }

.col-card__num {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.col-card__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0 22px;
  min-height: 120px;
}

.col-card__art img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  transition: transform 0.9s var(--ease);
}

.col-card:hover .col-card__art img { transform: scale(1.035); }

.col-card__name {
  font-family: var(--font-title);
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
}

.col-card__note {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin: 0;
}

.col-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.col-card__meta .n { color: var(--red); }

.col-card--wide { grid-column: span 2; }

/* 最新文字：紧凑列表 */
.t-list { border-top: 1px solid var(--line); }

/* 紧跟在 sec-head 下面时不再画线，避免两条平行线 */
.t-list--flush { border-top: 0; }

.t-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 30px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}

.t-item:hover { background: rgba(242, 235, 220, 0.55); }

.t-item__side {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.t-item__col {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--green);
}

.t-item h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin: 0 0 8px;
  transition: color 0.3s var(--ease);
}

.t-item:hover h3 { color: var(--red); }

.t-item p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
  margin: 0;
}

/* 栏目页头部：整块居中，手写图在正中 */
.col-head {
  padding: 176px 0 54px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.col-head .back-link {
  display: block;
  text-align: left;
}

.col-head__num {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 24px;
  text-align: center;
}

.col-head__art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  margin-bottom: 26px;
}

.col-head__art img { display: block; width: auto; max-width: 100%; }

.col-head p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 36em;
  text-align: center;
}

.col-empty {
  padding: 76px 0;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-align: center;
}

@media (max-width: 1080px) {
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .col-card { min-height: 250px; padding: 26px 24px 22px; }
}

@media (max-width: 820px) {
  .col-grid { grid-template-columns: 1fr; }
  .col-card--wide { grid-column: span 1; }
  .col-card { min-height: 0; }
  .col-card__art { padding: 20px 0 18px; }

  .t-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .t-item__side { display: flex; gap: 12px; align-items: baseline; }
  .t-item__col { margin-top: 0; }

  .col-head { padding: 124px 0 38px; }
  .col-head__art { min-height: 84px; margin-bottom: 20px; }
}

/* 栏目页里每条都属于同一栏目，不必重复标栏目名 */
.is-col-page .t-item__col { display: none; }
.is-col-page .col-head .back-link { margin-bottom: 26px; }

/* ==========================================================================
   导航子菜单（悬停展开）
   ========================================================================== */

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__caret {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 7px;
  margin-bottom: 3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.42;
  vertical-align: middle;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}

.nav__item--has-menu:hover .nav__caret {
  transform: rotate(225deg);
  opacity: 1;
}

.nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 18px;              /* 透明桥接区，鼠标移下来不会断 */
  transform: translate(-50%, -8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 70;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav__menu-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(26, 21, 18, 0.34);
  padding: 7px 0;
  min-width: 150px;
}

.nav__menu-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 9px 22px 9px 20px;
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.32s var(--ease), background-color 0.32s var(--ease);
}

/* 左侧红线：从中间长出来，让同面板内换项也有明确动画 */
.nav__menu-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--red);
  transform: translateY(-50%);
  transition: height 0.34s var(--ease);
}

.nav__menu-link:hover::before,
.nav__menu-link.is-on::before { height: 64%; }

.nav__menu-link:hover { color: var(--red); background: var(--paper-2); }

.nav__menu-link.is-on { color: var(--red); }

/* 文字轻微右移，反馈更明确 */
.nav__menu-link > span:last-child {
  display: inline-block;
  transition: transform 0.34s var(--ease);
}

.nav__menu-link:hover > span:last-child { transform: translateX(3px); }

.nav__menu-num {
  font-family: var(--font-latin);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  transition: color 0.32s var(--ease);
}

.nav__menu-link:hover .nav__menu-num { color: var(--red); }

/* 手机端：子菜单直接展开成缩进列表，不做悬停 */
@media (max-width: 820px) {
  .nav__item {
    display: block;
    width: 100%;
  }

  .nav__caret { display: none; }

  .nav__menu {
    position: static;
    padding-top: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__menu-card {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 4px 16px;
    min-width: 0;
  }

  .nav__menu-link {
    padding: 7px 0;
    font-size: 13.5px;
    color: var(--ink-3);
  }

  .nav__item--has-menu:hover .nav__caret { transform: rotate(45deg); }
}

/* ---------- 特别栏目：独立成块，标题用万山红 ---------- */
.col-feature {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
  margin-bottom: 26px;
  padding: 34px 42px 32px;
  background: var(--paper-2);
  border-left: 3px solid var(--red);
  transition: background 0.45s var(--ease);
}

.col-feature:hover { background: var(--paper-3); }

.col-feature__tag {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 18px;
}

.col-feature__name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.16em;
  line-height: 1.3;
  color: var(--red);
  margin: 0 0 12px;
  transition: letter-spacing 0.5s var(--ease);
}

.col-feature:hover .col-feature__name { letter-spacing: 0.2em; }

.col-feature__note {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-2);
  margin: 0;
  max-width: 34em;
}

.col-feature__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.col-feature__en {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(123, 12, 0, 0.72);
  white-space: nowrap;
}

.col-feature__n {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
}

/* 特别栏目没有手写图时，文字标题也走万山红 */
.col-card__name.is-red { color: var(--red); }

@media (max-width: 820px) {
  .col-feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 24px 24px;
  }
  .col-feature__side { align-items: flex-start; }
}

/* ==========================================================================
   长文页（新年献辞型）：章首版式 + 阅读进度 + 章节层级
   ========================================================================== */

.read-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  z-index: 90;
  transition: width 0.08s linear;
}

.art { padding-bottom: 30px; }

.art-head {
  padding: 148px 0 0;
  text-align: center;
}

.art-head__meta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin: 0 0 44px;
}

.art-cover {
  display: block;
  margin: 0 auto 48px;
  width: auto;
  max-width: 100%;
  height: 62vh;
  min-height: 360px;
  max-height: 640px;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 34px 70px -46px rgba(26, 21, 18, 0.55);
}

.art-head__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 46px);
  letter-spacing: 0.24em;
  line-height: 1.4;
  color: var(--red);
  margin: 0 0 16px;
  text-indent: 0.24em;      /* 抵消末字字距，视觉上真正居中 */
}

.art-head__en {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--ink-3);
  margin: 0 0 32px;
}

.art-head__rule {
  width: 44px;
  height: 1px;
  background: var(--red);
  margin: 0 auto 28px;
}

/* 副标题：没有副标题时整行删掉；下方分隔线由 .art-meta 负责 */
.art-head__subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  margin: 0;
}

.art-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 40px 0;
}

.art-body p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 2.05;
  letter-spacing: 0.015em;
  color: #241E19;
  margin: 0 0 26px;
  text-align: left;
  text-indent: 2em;        /* 首行缩进两字，中文正文常规 */
}

/* 引句（可选）：给某段加 class="art-lede" 即可居中放大标红 */
.art-body p.art-lede {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 0.2em;
  line-height: 2;
  color: var(--red);
  text-align: center;
  margin-bottom: 46px;
}

/* 章节装置（可选）：新年献辞这类"整体"文章不用；需要分节时给文章加
   <div class="art-chapter"><span class="art-chapter__num">一</span>
     <h2 class="art-chapter__title">小节标题</h2></div> */
.art-chapter {
  margin: 84px 0 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.art-chapter__num {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 20px;
}

.art-chapter__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0.16em;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}

.art-figure { margin: 58px 0; }

.art-figure img {
  display: block;
  width: 100%;
  background: var(--paper-3);
  cursor: zoom-in;
}

.art-figure figcaption {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  text-align: center;
  margin-top: 15px;
}

.art-sign {
  margin: 70px 0 0;
  text-align: right;
  font-family: var(--font-nav);
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: 0.2em;
  color: var(--red);
}

.art-note {
  margin: 64px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-align: center;
}

.art-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 54px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.art-foot a { transition: color 0.3s var(--ease); }
.art-foot a:hover { color: var(--red); }

.to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
              visibility 0.35s, color 0.3s, border-color 0.3s;
}

.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--red); border-color: var(--red); }

@media (max-width: 820px) {
  .art-head { padding-top: 108px; }
  .art-cover { height: 52vh; min-height: 260px; margin-bottom: 34px; }
  .art-head__byline { padding-bottom: 40px; }
  .art-body { padding: 48px 22px 0; }
  .art-body p { font-size: 17px; line-height: 2; }
  /* 引句（可选）：给某段加 class="art-lede" 即可居中放大标红 */
.art-body p.art-lede { font-size: 19px; }
  /* 章节装置（可选）：新年献辞这类"整体"文章不用；需要分节时给文章加
   <div class="art-chapter"><span class="art-chapter__num">一</span>
     <h2 class="art-chapter__title">小节标题</h2></div> */
.art-chapter { margin: 60px 0 32px; padding-top: 26px; }
  .art-chapter__title { font-size: 19px; }
  .to-top { right: 18px; bottom: 24px; width: 40px; height: 40px; }
}

/* ---------- 封面墙：有封面的栏目，主页以照片呈现 ---------- */
.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.ccard {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-3);
  -webkit-tap-highlight-color: transparent;
}

.ccard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease), filter 0.6s var(--ease);
}

.ccard:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

/* 悬停遮罩：底部渐变 + 题名 + 日期 */
.ccard__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 64px 22px 22px;
  background: linear-gradient(to top,
              rgba(14, 9, 6, 0.88) 0%,
              rgba(14, 9, 6, 0.55) 45%,
              rgba(14, 9, 6, 0) 100%);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.ccard:hover .ccard__body,
.ccard:focus-visible .ccard__body {
  opacity: 1;
  transform: none;
}

.ccard__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.65;
  color: #FBF4E8;
  margin: 0 0 10px;
}

.ccard__date {
  display: block;
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(251, 244, 232, 0.66);
}

@media (max-width: 1080px) {
  .cgrid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
}

/* 手机没有悬停，遮罩常显 */
@media (max-width: 820px) {
  .cgrid { gap: 14px; margin-top: 32px; }
  .ccard__body {
    opacity: 1;
    transform: none;
    padding: 46px 14px 14px;
  }
  .ccard__title { font-size: 14px; letter-spacing: 0.06em; margin-bottom: 6px; }
  .ccard__date { font-size: 10px; }
}

/* ---------- 长文页元信息行：作者 | 时间 | 字号 ---------- */
.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.art-meta__sep {
  font-style: normal;
  color: rgba(26, 21, 18, 0.22);
}

.art-size {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.art-size button {
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 6px 3px;         /* 加厚点击区，视觉不变 */
  margin: -6px 0;
  cursor: pointer;
  transition: color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.art-size button:hover { color: var(--red); }

.art-size button.is-on {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* 字号三档：只改正文，标题与图注不动 */
.art-size-l .art-body p { font-size: 20px; }
.art-size-m .art-body p { font-size: 18px; }
.art-size-s .art-body p { font-size: 16px; }

@media (max-width: 820px) {
  .art-meta { gap: 10px; margin-top: 20px; padding-bottom: 40px; }
  .art-size { gap: 10px; }
  .art-size-l .art-body p { font-size: 19px; }
  .art-size-s .art-body p { font-size: 15.5px; }
}

/* ---------- 文末：本栏其他篇目（通用） ---------- */
.art-same {
  margin-top: 52px;
}

.art-same__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.art-same__label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
}

.art-same__col {
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}

.art-same__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.art-same__item { border-bottom: 1px solid var(--line-soft); }

.art-same__link {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 26px;
  align-items: baseline;
  padding: 18px 0;
}

.art-same__date {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.art-same__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.art-same__link:hover .art-same__title { color: var(--red); }

@media (max-width: 820px) {
  .art-same { margin-top: 40px; }
  .art-same__link { grid-template-columns: 1fr; gap: 6px; padding: 15px 0; }
  .art-same__title { font-size: 15px; }
}

/* ---------- 影集页 ---------- */

.album { padding: 46px 0 10px; }

.album__head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.album__kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  margin-bottom: 16px;
}

.album__title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: 0.16em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 10px;
}

.album__en {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.album__meta {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  margin: 0 0 10px;
}

.album__intro {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-2);
  max-width: 36em;
  margin: 0 0 12px;
}

.album__cities {
  font-family: var(--font-ui);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin: 0;
}

.album__cities i { font-style: normal; color: var(--line-strong, var(--ink-3)); opacity: 0.5; padding: 0 2px; }

.album__group { margin-top: 58px; }

.album__ghead {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.album__gnum {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--red);
}

.album__ghead h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}

.album__gline { flex: 1; height: 1px; background: var(--line); }

.album__gcount {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .album { padding-top: 34px; }
  .album__group { margin-top: 44px; }
  .album__ghead { gap: 10px; }
  .album__ghead h3 { font-size: 17px; }
}

/* ---------- 地图页：城市位点示意（点阵，非地图） ---------- */

.mboard {
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.mboard__note {
  padding: 12px 18px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}

.mboard__field {
  position: relative;
  height: 420px;
}

.mboard__dot {
  position: absolute;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 6px;
  font-family: var(--font-ui);
}

.mboard__pin {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(64, 118, 0, 0.16);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.mboard__dot:hover .mboard__pin {
  transform: scale(1.35);
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(123, 12, 0, 0.14);
}

.mboard__name {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink);
  white-space: nowrap;
}

.mboard__count {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  white-space: nowrap;
}

.city-sec { margin-top: 58px; }

.city-sec__sub {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .mboard__field { height: 320px; }
}

/* ---------- 长文页：图注竖线（一般栏目千里绿，特别栏目万山红） ---------- */

.art-body .art-cap {
  margin: -14px 0 38px;
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--green);
  text-indent: 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--ink-3);
}

.art[data-col="xinnian-xianci"] .art-cap { border-left-color: var(--red); }

/* ---------- 长文页：无封面的文字版头 ---------- */

.art-head__plainmeta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}

.art-head__idx {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0.06em;
  color: var(--green);
}

.art-head__date {
  font-family: var(--font-latin);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--green);
}

/* ---------- 长文页：图注竖线（一般栏目千里绿，特别栏目万山红） ---------- */

.art-body .art-cap {
  margin: -14px 0 38px;
  padding: 2px 0 2px 14px;
  border-left: 3px solid var(--green);
  text-indent: 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--ink-3);
}

.art[data-col="xinnian-xianci"] .art-cap { border-left-color: var(--red); }

/* ---------- 长文页：无封面的文字版头 ---------- */

.art-head__plainmeta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
}

.art-head__idx {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0.06em;
  color: var(--green);
}

.art-head__date {
  font-family: var(--font-latin);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--green);
}

/* ---------- 栏目页：无封面条目的绿序号 + 日期 ---------- */

.t-item__no {
  display: block;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--green);
  margin-bottom: 6px;
}

.t-item__date {
  display: block;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--green);
}

/* ---------- 栏目页：现代诗版块（千里绿） ---------- */

.poem-sec { margin-top: 64px; }

.poem-sec__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
}

.poem-sec__kicker {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--green);
  white-space: nowrap;
}

.poem-sec__line { flex: 1; height: 1px; background: var(--line); }

.poem-sec__count {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  white-space: nowrap;
}

/* 诗条目：与 t-item 同骨架，主题色换千里绿 */
.poem-sec .t-item:hover h3 { color: var(--green); }
.poem-sec .t-item:hover { background: rgba(64, 118, 0, 0.06); }

.poem-sec__note {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* ---------- 诗文章页：诗行不缩进 ---------- */

.art[data-poem="1"] .art-body p { text-indent: 0; }

/* ---------- 地图页：真实底图与引导卡 ---------- */

.tmap { height: 430px; }

.map-credit {
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-3);
  text-align: right;
}

.map-guide {
  margin-top: 46px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink-2);
}

.map-guide b { color: var(--green); font-weight: 600; margin-right: 6px; }

@media (max-width: 820px) {
  .tmap { height: 320px; }
}

/* ---------- 栏目切换进入动画 ---------- */

@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.page-enter .col-head { animation: pageIn 0.55s var(--ease) both; }
.page-item { animation: pageIn 0.55s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .page-enter .col-head, .page-item { animation: none; }
}

/* ---------- 页头与首个版块之间：疏朗间距 ---------- */

.page-head + .wrap > .sec-head { margin-top: 78px; }

@media (max-width: 820px) {
  .page-head + .wrap > .sec-head { margin-top: 52px; }
}

/* ---------- 工作台：影集管理行 ---------- */

.alb-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #F0EADC;
  background: #fff;
}

.alb-line1 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.alb-line1 input {
  font: inherit; font-size: 12.5px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px;
  background: var(--paper); padding: 5px 8px;
}

.alb-line1 input:focus { outline: none; border-color: var(--red); }

.alb-line1 .f-t { flex: 1.4; min-width: 120px; font-weight: 600; }
.alb-line1 .f-d { flex: 0 0 76px; }
.alb-line1 .f-r { flex: 1.2; min-width: 110px; }
.alb-line1 .f-n { flex: 0 0 52px; }

.alb-row .f-i {
  flex: 1; font: inherit; font-size: 12.5px; line-height: 1.9; resize: vertical;
  border: 1px solid var(--line); border-radius: 2px; background: var(--paper);
  color: var(--ink); padding: 6px 10px;
}

.alb-row .f-i:focus { outline: none; border-color: var(--red); }

/* ---------- 工作台：首页轮播选择 ---------- */

.hero-edit .hgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hitem {
  width: 118px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 3px;
  background: var(--paper);
  position: relative;
  padding: 0;
  font: inherit;
  text-align: left;
}

.hitem img {
  width: 100%;
  height: 66px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.hitem .hname {
  display: block;
  font-size: 10.5px;
  color: var(--ink3);
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hitem.is-on { border-color: var(--red); background: #fff; }

.hitem .hno {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #FBF4E8;
  font-size: 11px;
  display: grid;
  place-items: center;
}
