:root {
  --paper: #f5f0e6;
  --paper-deep: #ebe2d2;
  --ink: #25221e;
  --muted: #746b5d;
  --wine: #6e1f2a;
  --wine-dark: #45141c;
  --gold: #a67c3d;
  --line: rgba(69, 20, 28, 0.16);
  --card: rgba(255, 253, 248, 0.84);
  --shadow: 0 18px 50px rgba(52, 42, 30, 0.1);
  --serif: Georgia, "Noto Serif CJK SC", "Songti SC", SimSun, serif;
  --sans: "Avenir Next", Avenir, "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(166, 124, 61, 0.12), transparent 28rem),
    linear-gradient(90deg, transparent 49.85%, rgba(110, 31, 42, 0.025) 50%, transparent 50.15%),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(69, 20, 28, 0.16) 0.55px, transparent 0.55px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, black, transparent 48%);
}

a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--wine-dark); }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  background: var(--wine-dark);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid #c9913f; outline-offset: 4px; }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 230, 0.93);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.9rem; color: var(--ink); text-decoration: none; }
.brand-seal {
  width: 43px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #fff8ea;
  background: var(--wine);
  border: 1px solid var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.15);
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: var(--serif); font-size: 1.06rem; letter-spacing: 0.08em; }
.brand-copy small { color: var(--muted); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; }

.nav-toggle { display: none; border: 1px solid var(--line); background: transparent; padding: 0.55rem 0.7rem; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 0.91rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--wine); }
.site-nav .main-link { border-left: 1px solid var(--line); padding-left: 1.2rem; color: var(--wine); }

.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }

.hero { padding: clamp(4rem, 9vw, 8rem) 0 4.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: end; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.73rem; font-weight: 700; }
.hero h1, .page-hero h1, .article-header h1 {
  margin: 0.35rem 0 1.2rem;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}
.hero h1 { font-size: clamp(3.1rem, 7.5vw, 7.4rem); letter-spacing: -0.045em; }
.hero h1 span { display: block; color: var(--wine); font-size: 0.48em; letter-spacing: 0.02em; margin-top: 0.35em; }
.hero-intro { padding: 1.5rem 0 0 1.5rem; border-left: 2px solid var(--gold); color: var(--muted); font-family: var(--serif); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: white;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--wine-dark); color: white; }
.button.secondary { background: transparent; color: var(--wine); }
.button.secondary:hover { background: rgba(110,31,42,0.07); }

.section { padding: 4rem 0; }
.section.tinted { border-block: 1px solid var(--line); background: rgba(235, 226, 210, 0.48); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.section-head h2, .category-callout h2 { margin: 0; font: 500 clamp(2rem, 4vw, 3.5rem)/1.15 var(--serif); }
.section-head p { color: var(--muted); max-width: 35rem; margin: 0; }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.article-card { min-width: 0; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(52,42,30,0.055); }
.card-image { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-deep); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.article-card:hover .card-image img { transform: scale(1.025); }
.card-placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--wine-dark), var(--wine)); color: #f8ead0; font: 2.5rem var(--serif); }
.card-body { padding: 1.35rem; }
.card-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }
.tag { color: var(--wine); text-decoration: none; font-weight: 700; }
.article-card h3 { margin: 0.65rem 0 0.7rem; font: 500 1.35rem/1.35 var(--serif); }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--wine); }
.article-card p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 0.94rem; }

.category-strip { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: var(--card); }
.category-tile { min-height: 150px; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.category-tile:last-child { border-right: 0; }
.category-tile:hover { background: var(--wine); color: white; }
.category-tile strong { font: 500 1.35rem var(--serif); }
.category-tile span { font-size: 0.78rem; color: var(--muted); }
.category-tile:hover span { color: rgba(255,255,255,0.72); }

.page-hero { padding: 4.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.page-hero p { max-width: 47rem; color: var(--muted); font-family: var(--serif); font-size: 1.08rem; }
.result-count { color: var(--muted); font-size: 0.9rem; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: 3rem; }
.pagination a, .pagination span { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: 0.35rem; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--wine); color: white; border-color: var(--wine); }

.article-header { padding: clamp(3.5rem, 8vw, 7rem) 0 3rem; text-align: center; }
.article-header .article-meta { justify-content: center; }
.article-header h1 { max-width: 980px; margin-inline: auto; font-size: clamp(2.4rem, 5.5vw, 5.2rem); }
.article-kicker { margin-bottom: 1rem; color: var(--gold); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }
.article-hero-image { width: min(1100px, calc(100% - 2rem)); margin: 0 auto 3rem; }
.article-hero-image img { width: 100%; max-height: 720px; object-fit: contain; background: rgba(255,255,255,0.5); box-shadow: var(--shadow); }
.article-body { padding: 1rem 0 4rem; font: 1.08rem/1.95 var(--serif); }
.article-body p { margin: 0 0 1em; }
.article-body a { overflow-wrap: anywhere; }
.article-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem auto; }
.article-gallery figure { margin: 0; background: rgba(255,255,255,0.46); border: 1px solid var(--line); }
.article-gallery img { width: 100%; height: 100%; max-height: 650px; object-fit: contain; }
.article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.article-actions .feedback { color: var(--muted); font-size: 0.85rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 3rem 0; }
.post-nav a { padding: 1.3rem; background: var(--paper); text-decoration: none; color: var(--ink); }
.post-nav a:last-child { text-align: right; }
.post-nav small { display: block; color: var(--muted); margin-bottom: 0.25rem; }

.cta { margin: 3rem 0 0; padding: clamp(1.5rem, 4vw, 3rem); color: #fff7ea; background: var(--wine-dark); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.cta h2 { margin: 0 0 0.45rem; font: 500 clamp(1.7rem, 4vw, 2.8rem) var(--serif); }
.cta p { margin: 0; color: rgba(255,255,255,0.72); }
.cta .button { border-color: #d5ad6d; background: #d5ad6d; color: var(--wine-dark); }

.archive-year { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.archive-year h2 { margin: 0; font: 500 2.7rem var(--serif); color: var(--wine); }
.archive-month { margin-bottom: 2rem; }
.archive-month h3 { margin: 0 0 0.7rem; color: var(--gold); font-size: 0.82rem; letter-spacing: 0.13em; text-transform: uppercase; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dotted var(--line); }
.archive-list time { color: var(--muted); font-size: 0.8rem; }
.archive-list a { color: var(--ink); text-decoration: none; font-family: var(--serif); }

.search-box { display: flex; gap: 0.6rem; max-width: 760px; margin: 2rem 0; }
.search-box input { flex: 1; min-width: 0; min-height: 52px; padding: 0.7rem 1rem; border: 1px solid var(--line); background: rgba(255,255,255,0.7); color: var(--ink); }
.search-empty { padding: 2rem; border: 1px dashed var(--line); color: var(--muted); }

.site-footer { margin-top: 4rem; color: rgba(255,255,255,0.72); background: #211b19; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 3rem; padding: 4rem 0 3rem; }
.footer-grid h2 { margin: 0 0 0.8rem; color: white; font: 500 1.6rem var(--serif); }
.footer-grid h3 { margin: 0 0 0.8rem; color: #d4aa68; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-grid p { max-width: 30rem; }
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a { color: rgba(255,255,255,0.76); text-decoration: none; }
.footer-bottom { padding: 1rem 0 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.75rem; }

.not-found { min-height: 58vh; display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: var(--gold); font: 6rem var(--serif); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-intro { max-width: 38rem; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .category-tile { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; padding-block: 0.7rem; }
  .brand-copy small { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-basis: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-bottom: 0.6rem; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.65rem 0; border-top: 1px solid var(--line); }
  .site-nav .main-link { border-left: 0; padding-left: 0; }
  .hero { padding-top: 3.5rem; }
  .article-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; gap: 0.6rem; }
  .category-strip { grid-template-columns: 1fr; }
  .category-tile { min-height: 110px; border-right: 0; }
  .article-gallery { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a:last-child { text-align: left; }
  .cta { grid-template-columns: 1fr; }
  .archive-year { grid-template-columns: 1fr; gap: 0.5rem; }
  .archive-year h2 { font-size: 2rem; }
  .archive-list li { grid-template-columns: 3.5rem 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Premium Chinese editorial theme */
:root {
  --paper: #eee4d2;
  --paper-deep: #dfd0b7;
  --ink: #1a1713;
  --muted: #756a59;
  --wine: #861f24;
  --wine-dark: #3a0b0f;
  --gold: #bd9350;
  --gold-pale: #dec38d;
  --night: #11100e;
  --night-soft: #1b1814;
  --line: rgba(134, 31, 36, 0.18);
  --card: #f8f1e5;
  --shadow: 0 25px 70px rgba(24, 18, 12, 0.16);
  --serif: "Iowan Old Style", Georgia, "Noto Serif CJK SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Avenir Next", Avenir, "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

body {
  background:
    linear-gradient(rgba(255,255,255,0.16), transparent 25rem),
    var(--paper);
  color: var(--ink);
}

body::before {
  z-index: 50;
  opacity: 0.2;
  background-image: radial-gradient(rgba(75, 52, 28, 0.35) 0.5px, transparent 0.6px);
  background-size: 6px 6px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

::selection { color: #fff8e9; background: var(--wine); }

.site-header {
  color: #f7ead2;
  border-bottom: 0;
  background: rgba(16, 14, 12, 0.97);
  box-shadow: 0 1px 0 rgba(222, 195, 141, 0.2);
  backdrop-filter: blur(18px);
}

.header-inner { min-height: 94px; }
.brand { color: #f8edd9; }
.brand:hover { color: white; }
.brand-seal {
  position: relative;
  width: 48px;
  color: #f5dfb4;
  background: linear-gradient(145deg, #a42b2f, #601318);
  border-color: #d0a15a;
  box-shadow: inset 0 0 0 3px rgba(25, 9, 7, 0.34), 0 8px 25px rgba(0,0,0,0.28);
}
.brand-copy strong { color: #f8edd9; letter-spacing: 0.13em; }
.brand-copy small { color: #9d8a6b; letter-spacing: 0.2em; }
.site-nav a { color: #d4c6ae; letter-spacing: 0.05em; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-pale); }
.site-nav .main-link { border-left-color: rgba(222,195,141,0.2); color: var(--gold-pale); }
.nav-toggle { color: #f7ead2; border-color: rgba(222,195,141,0.35); }

.category-bar {
  overflow: hidden;
  border-top: 1px solid rgba(222,195,141,0.12);
  border-bottom: 1px solid rgba(222,195,141,0.18);
  background: linear-gradient(90deg, #2a080b, #4b0c11 46%, #25070a);
}

.category-bar .wrap {
  min-height: 51px;
  display: grid;
  grid-template-columns: auto repeat(5, 1fr);
  align-items: stretch;
}

.category-bar strong {
  display: flex;
  align-items: center;
  padding-right: 1.5rem;
  color: #d9b779;
  font: 600 0.68rem var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #f1dfc1;
  border-left: 1px solid rgba(222,195,141,0.14);
  font: 500 0.88rem var(--serif);
  text-decoration: none;
  white-space: nowrap;
}
.category-bar a span { color: #a78045; font: 0.58rem var(--sans); letter-spacing: 0.05em; }
.category-bar a:hover { color: white; background: rgba(189,147,80,0.11); }

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  color: #f8ecd7;
  border-bottom: 1px solid rgba(222,195,141,0.25);
  background:
    radial-gradient(circle at 75% 44%, transparent 0 112px, rgba(189,147,80,0.15) 113px 114px, transparent 115px 160px, rgba(189,147,80,0.1) 161px 162px, transparent 163px),
    conic-gradient(from 45deg at 75% 44%, transparent 0 12.25%, rgba(189,147,80,0.06) 12.5% 12.75%, transparent 13% 24.75%, rgba(189,147,80,0.06) 25% 25.25%, transparent 25.5% 37.25%, rgba(189,147,80,0.06) 37.5% 37.75%, transparent 38% 100%),
    radial-gradient(circle at 16% 28%, rgba(134,31,36,0.23), transparent 27rem),
    linear-gradient(135deg, #0e0d0b 0%, #1c1712 60%, #0d0c0a 100%);
}

.hero::after {
  content: "乾 · 坤 · 阴 · 阳";
  position: absolute;
  right: max(2rem, calc((100vw - 1180px) / 2));
  bottom: 2rem;
  color: rgba(222,195,141,0.36);
  font: 0.65rem var(--serif);
  letter-spacing: 0.5em;
  writing-mode: vertical-rl;
}

.hero-grid { align-items: center; }
.hero-title { position: relative; animation: reveal-up 800ms ease both; }
.hero .eyebrow { color: #caa35f; }
.hero h1 {
  margin-top: 0.65rem;
  color: #f6ead4;
  font-size: clamp(3.6rem, 7.4vw, 7.2rem);
  letter-spacing: 0.02em;
  text-shadow: 0 16px 45px rgba(0,0,0,0.28);
}
.hero h1 span { color: #c9a05c; font-size: 0.23em; letter-spacing: 0.23em; }
.hero-intro {
  position: relative;
  padding: 3.2rem 2.2rem 2.4rem;
  color: #cfc0a8;
  border: 1px solid rgba(222,195,141,0.27);
  background: rgba(9,8,7,0.44);
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
  animation: reveal-up 800ms 120ms ease both;
}
.hero-intro p { margin: 0; font-size: 1.08rem; }
.hero-seal {
  position: absolute;
  top: -24px;
  left: 2rem;
  width: 48px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #f9e7c4;
  background: var(--wine);
  border: 1px solid #c39551;
  box-shadow: inset 0 0 0 3px rgba(31,5,7,0.35);
  font: 1.25rem var(--serif);
}

.button {
  min-height: 49px;
  border-color: #bb8c45;
  background: linear-gradient(135deg, #9f262b, #72181d);
  box-shadow: 0 8px 22px rgba(67,8,12,0.18);
  letter-spacing: 0.08em;
}
.button:hover { background: linear-gradient(135deg, #b52d32, #811a20); }
.button.secondary { color: #d9b879; border-color: rgba(217,184,121,0.58); background: transparent; box-shadow: none; }
.button.secondary:hover { color: #fff4de; background: rgba(217,184,121,0.1); }

.category-premiere {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  color: #f3e5ce;
  border-bottom: 1px solid rgba(222,195,141,0.22);
  background:
    linear-gradient(90deg, rgba(189,147,80,0.035) 1px, transparent 1px),
    linear-gradient(rgba(189,147,80,0.035) 1px, transparent 1px),
    #17130f;
  background-size: 48px 48px;
}
.category-premiere .section-head h2 { color: #f6ead5; }
.category-premiere .section-head p { color: #aa9a81; }
.category-premiere .eyebrow { color: #c79e5a; }

.category-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-color: rgba(222,195,141,0.3);
  background: transparent;
  box-shadow: 0 30px 90px rgba(0,0,0,0.2);
}
.category-tile {
  min-height: 250px;
  padding: 1.55rem;
  color: #f3e4ca;
  border-right-color: rgba(222,195,141,0.24);
  background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0));
}
.category-tile em { color: #9a7741; font: normal 0.65rem var(--sans); letter-spacing: 0.15em; }
.category-tile strong { margin-top: auto; color: inherit; font-size: 1.32rem; }
.category-tile span { margin-top: 0.65rem; color: #9f927d; font: 0.78rem/1.7 var(--sans); }
.category-tile small { margin-top: 1rem; color: #c39c5a; font-size: 0.7rem; letter-spacing: 0.12em; }
.category-tile:hover { color: #fff4df; background: linear-gradient(160deg, #78191e, #3d0b0f); }
.category-tile:hover span, .category-tile:hover small { color: #d9c29d; }

.latest-section { padding-block: clamp(4.5rem, 8vw, 7rem); background: var(--paper); }
.section-head h2, .category-callout h2 { letter-spacing: 0.04em; }
.latest-section .section-head { padding-bottom: 1.4rem; border-bottom: 1px solid rgba(134,31,36,0.22); }

.article-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(112,78,37,0.23);
  background: linear-gradient(145deg, #fbf5ea, #eee2cf);
  box-shadow: 0 15px 50px rgba(42,31,18,0.11);
}
.article-card::before { content: ""; position: absolute; z-index: 2; inset: 0 auto auto 0; width: 42%; height: 2px; background: linear-gradient(90deg, var(--wine), var(--gold)); }
.card-image { background: #201b16; }
.card-image img { filter: saturate(0.82) contrast(1.04); }
.article-card:hover .card-image img { transform: scale(1.035); filter: saturate(1) contrast(1.04); }
.card-placeholder { background: radial-gradient(circle, #7d2024, #28080b); color: #dfbd82; }
.card-body { padding: 1.55rem; }
.card-meta { border-bottom: 1px solid rgba(134,31,36,0.12); padding-bottom: 0.75rem; }
.article-card h3 { font-size: 1.38rem; }
.tag { color: #872127; letter-spacing: 0.06em; }

.page-hero, .article-header {
  color: #f6ead4;
  border-color: rgba(222,195,141,0.22);
  background:
    radial-gradient(circle at 82% 30%, rgba(134,31,36,0.24), transparent 22rem),
    linear-gradient(135deg, #0f0e0c, #211a14);
}
.page-hero { padding-block: clamp(4rem, 7vw, 6rem); }
.page-hero h1, .article-header h1 { color: #f7ead3; letter-spacing: 0.03em; }
.page-hero p { color: #b9aa91; }
.article-header { padding-bottom: 4.5rem; }
.article-kicker, .eyebrow { color: #a97f3f; }
.article-header .article-meta { color: #a99a83; }
.article-header .tag { color: #d4ad69; }

.article-hero-image {
  position: relative;
  z-index: 2;
  margin-top: -1.6rem;
  padding: 0.75rem;
  background: #1a1511;
  border: 1px solid rgba(189,147,80,0.42);
  box-shadow: 0 35px 80px rgba(24,18,12,0.28);
}
.article-body {
  position: relative;
  margin-top: 2.5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #272018;
  border: 1px solid rgba(112,78,37,0.22);
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(134,31,36,0.025) 50%, transparent 50.15%),
    #f8f0e2;
  box-shadow: var(--shadow);
}
.article-body::before {
  content: "文章";
  position: absolute;
  top: 0;
  right: 1.5rem;
  padding: 0.45rem 0.55rem;
  color: #f6dfb5;
  background: var(--wine);
  font: 0.7rem var(--serif);
  letter-spacing: 0.15em;
}
.article-body p { text-align: justify; text-justify: inter-ideograph; }
.article-gallery figure { border-color: rgba(112,78,37,0.25); background: #e8dcc8; }
.article-actions { border-color: rgba(134,31,36,0.18); }
.article-actions .button.secondary { color: var(--wine); border-color: rgba(134,31,36,0.5); }
.post-nav { background: rgba(134,31,36,0.2); border-color: rgba(134,31,36,0.2); }
.post-nav a { background: #f1e5d2; }
.cta { background: linear-gradient(135deg, #24070a, #571015); border: 1px solid #9d773f; }
.cta .button { background: linear-gradient(135deg, #d3ab6a, #b88842); }

.section { background: var(--paper); }
.section.tinted { background: #e4d6bf; }
.result-count { color: #766a58; }
.archive-year { border-color: rgba(134,31,36,0.18); }
.archive-year h2 { color: #7b1b20; }
.archive-list li { border-color: rgba(134,31,36,0.15); }
.search-box input { border-color: rgba(134,31,36,0.28); background: #fbf4e8; }
.pagination a, .pagination span { border-color: rgba(134,31,36,0.26); }

.site-footer {
  margin-top: 0;
  color: #aa9a81;
  border-top: 1px solid rgba(222,195,141,0.2);
  background:
    radial-gradient(circle at 12% 0%, rgba(134,31,36,0.2), transparent 28rem),
    #0d0c0a;
}
.footer-grid h2 { color: #f0dfc2; }
.footer-grid h3 { color: #c9a25f; }
.footer-links a { color: #bcae96; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .category-bar .wrap { overflow-x: auto; grid-template-columns: repeat(5, minmax(160px, 1fr)); scrollbar-width: none; }
  .category-bar .wrap::-webkit-scrollbar { display: none; }
  .category-bar strong { display: none; }
  .category-bar a:first-of-type { border-left: 0; }
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .category-tile { min-height: 200px; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 76px; }
  .site-nav { background: #11100e; }
  .site-nav a { border-top-color: rgba(222,195,141,0.16); }
  .hero { min-height: auto; padding-block: 4.5rem 5.5rem; }
  .hero::after { display: none; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 4.8rem); }
  .hero h1 span { font-size: 0.24em; line-height: 1.7; }
  .hero-intro { margin-top: 1.4rem; padding: 2.8rem 1.4rem 1.7rem; }
  .category-premiere { padding-block: 3.8rem; }
  .category-strip { grid-template-columns: 1fr; }
  .category-tile { min-height: 165px; border-right: 0; border-bottom: 1px solid rgba(222,195,141,0.22); }
  .category-tile:last-child { border-bottom: 0; }
  .article-header { padding-bottom: 3rem; }
  .article-hero-image { margin-top: -0.8rem; padding: 0.4rem; }
  .article-body { width: calc(100% - 1rem); padding: 2.6rem 1.25rem 1.8rem; }
}
