:root {
  --red: #c9151e;
  --red-dark: #971018;
  --red-soft: #fff2f1;
  --ink: #202124;
  --muted: #70757a;
  --line: #e8e8e8;
  --paper: #ffffff;
  --wash: #f5f6f8;
  --gold: #c79a55;
  --shadow: 0 14px 40px rgba(30, 30, 30, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.luochuan-theme {
  --red: #1767b3;
  --red-dark: #0c447f;
  --red-soft: #eef7ff;
  --gold: #67b8e8;
}

.luochuan-theme .site-header {
  background: rgba(16, 79, 145, 0.97);
  box-shadow: 0 4px 18px rgba(8, 49, 93, 0.2);
}

.luochuan-theme .article-content .intro {
  background: #f1f7fd;
}

.luochuan-theme .topic-tags span {
  color: #0c4f8f;
  border-color: #c7dff3;
  background: #f2f8fe;
}

.luochuan-theme .stat-strip {
  border-color: #cbdff0;
  background: #f4f9fd;
}

.luochuan-theme .stat + .stat {
  border-color: #cbdff0;
}

.luochuan-theme .pullquote {
  color: #194e78;
  border-color: #c8dff1;
  background: linear-gradient(135deg, #eef7ff, #fbfdff);
}

.luochuan-theme .site-footer {
  background: #17314a;
}

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

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

.topline {
  height: 4px;
  background: linear-gradient(90deg, var(--red-dark), #e5322d 60%, var(--gold));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: rgba(178, 18, 26, 0.97);
  box-shadow: 0 4px 18px rgba(93, 6, 12, 0.18);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  font-family: SimSun, serif;
  font-size: 20px;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-family: SimSun, "Songti SC", serif;
  font-size: 22px;
  letter-spacing: 0.12em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.main-nav a {
  position: relative;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.84);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #fff;
}

.main-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  height: 2px;
  background: #fff;
  content: "";
}

.home-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 224, 178, 0.22), transparent 24%),
    linear-gradient(130deg, #8f0e17, #c71922 52%, #d94b33);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 390px;
  margin: 0 auto;
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: 0.08em;
}

.home-hero .lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.9;
}

.hero-seal {
  justify-self: end;
  width: min(300px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(88, 0, 5, 0.15);
}

.hero-seal b {
  display: block;
  font-family: SimSun, "Songti SC", serif;
  font-size: 34px;
  line-height: 1.35;
}

.hero-seal span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.section-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  margin: 10px 0 34px;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(30px, 4vw, 44px);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.story-card {
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(30, 30, 30, 0.13);
}

.story-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}

.story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.story-card:hover .story-cover img {
  transform: scale(1.025);
}

.story-body {
  padding: 28px 30px 32px;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  color: var(--red);
  border: 1px solid #f0c9c8;
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 700;
}

.story-body h2 {
  margin: 16px 0 14px;
  font-family: SimSun, "Songti SC", serif;
  font-size: 28px;
  line-height: 1.4;
}

.story-body p {
  margin: 0;
  color: #62666b;
  font-size: 15px;
  line-height: 1.85;
}

.story-meta {
  margin-top: 22px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #999;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.story-link {
  color: var(--red);
  font-weight: 700;
}

.article-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 36px auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 780px) 280px;
  align-items: start;
  justify-content: center;
  gap: 48px;
}

.article {
  padding: 54px clamp(26px, 5vw, 68px) 68px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.breadcrumb {
  margin-bottom: 28px;
  color: #8a8d91;
  font-size: 13px;
}

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

.article-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.article-label::before {
  width: 22px;
  height: 3px;
  background: var(--red);
  content: "";
}

.practice-masthead {
  margin: 0 0 28px;
  padding: 22px 26px;
  color: #fff;
  background: linear-gradient(120deg, var(--red-dark), var(--red) 68%, #db4a34);
  border-left: 7px solid var(--gold);
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(40px, 7vw, 66px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.practice-masthead small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.article h1 {
  margin: 16px 0 20px;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.subtitle {
  margin: -6px 0 20px;
  color: #555;
  font-family: SimSun, "Songti SC", serif;
  font-size: 20px;
}

.article-meta {
  padding-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #8b8f94;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.article-meta strong {
  color: #4d5054;
}

.topic-tags {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tags span {
  padding: 6px 11px;
  color: var(--red-dark);
  border: 1px solid #efcfcc;
  border-radius: 999px;
  background: #fff8f7;
  font-size: 12px;
}

.article-content {
  padding-top: 26px;
}

.article-content p {
  margin: 0 0 24px;
  color: #343638;
  font-family: SimSun, "Songti SC", serif;
  font-size: 18px;
  line-height: 2.05;
  text-align: justify;
}

.article-content .intro {
  padding: 22px 24px;
  color: #4a4d50;
  border-left: 4px solid var(--red);
  background: #faf6f5;
  font-size: 19px;
}

.article-content h2 {
  margin: 48px 0 22px;
  padding-left: 15px;
  color: #202124;
  border-left: 5px solid var(--red);
  font-family: SimSun, "Songti SC", serif;
  font-size: 27px;
  line-height: 1.45;
}

.article-content h3 {
  margin: 34px 0 16px;
  color: var(--red-dark);
  font-family: SimSun, "Songti SC", serif;
  font-size: 21px;
}

.article-content figure {
  margin: 34px 0 36px;
}

.article-content figure img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #f1f1f1;
}

.article-content figcaption {
  padding: 10px 6px 0;
  color: #85898e;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.article-content .hero-media img {
  max-height: none;
  object-fit: cover;
}

.finding-list {
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.finding-list li {
  padding: 17px 20px 17px 52px;
  position: relative;
  color: #3e4145;
  border: 1px solid #eee;
  background: #fbfbfb;
  font-family: SimSun, "Songti SC", serif;
  font-size: 17px;
  line-height: 1.75;
}

.finding-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--red);
  content: attr(data-no);
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.stat-strip {
  margin: 30px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #edd9d7;
  background: #fff9f8;
}

.stat {
  padding: 24px 18px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid #edd9d7;
}

.stat b {
  display: block;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 30px;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: #777;
  font-size: 12px;
}

.pullquote {
  margin: 34px 0;
  padding: 27px 28px;
  color: #5c3a2d;
  background: linear-gradient(135deg, #fff8f2, #fffdfb);
  border: 1px solid #f0dfcf;
  font-family: SimSun, "Songti SC", serif;
  font-size: 21px;
  line-height: 1.8;
}

.article-signoff {
  margin-top: 48px;
  padding-top: 24px;
  color: #777;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.9;
  text-align: right;
}

.article-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.aside-card {
  padding: 24px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(30, 30, 30, 0.06);
}

.aside-card h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  font-family: SimSun, "Songti SC", serif;
  font-size: 19px;
}

.aside-card p,
.aside-card li {
  color: #6d7175;
  font-size: 13px;
  line-height: 1.8;
}

.aside-card ul {
  margin: 0;
  padding-left: 18px;
}

.aside-link {
  display: block;
  padding: 14px 0;
  font-family: SimSun, "Songti SC", serif;
  font-size: 16px;
  line-height: 1.55;
}

.aside-link + .aside-link {
  border-top: 1px solid var(--line);
}

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

.site-footer {
  padding: 34px 20px;
  color: #aaa;
  background: #202124;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.site-footer strong {
  color: #ddd;
}

@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-seal {
    justify-self: start;
  }

  .article-shell {
    grid-template-columns: minmax(0, 780px);
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 62px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 19px;
  }

  .main-nav {
    gap: 14px;
    font-size: 13px;
  }

  .main-nav a {
    padding: 21px 0;
  }

  .home-hero h1 {
    letter-spacing: 0.03em;
  }

  .story-grid,
  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-shell {
    width: 100%;
    margin-top: 0;
    gap: 22px;
  }

  .article {
    padding-top: 38px;
    box-shadow: none;
  }

  .article-content p {
    font-size: 17px;
    line-height: 1.95;
  }

  .article-aside {
    padding: 0 18px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat + .stat {
    border-top: 1px solid #edd9d7;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .main-nav a:nth-child(2) {
    display: none;
  }

  .hero-inner,
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    min-height: 340px;
    padding: 52px 0;
  }

  .hero-seal {
    display: none;
  }

  .section-shell {
    padding: 52px 0 64px;
  }

  .story-body {
    padding: 24px 22px 26px;
  }

  .story-body h2 {
    font-size: 24px;
  }

  .article {
    padding-right: 20px;
    padding-left: 20px;
  }

  .article h1 {
    font-size: 34px;
  }
}
