/* components.css — 跨页共用组件：壳层、导航、按钮、标题、卡片、页脚 */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); font-weight: 700; line-height: 1.28; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* ---------- 品牌 ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.brand__mark { width: 25px; height: 25px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.brand__sub {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  height: var(--h-header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 31px;
}
.site-nav__list a {
  display: inline-block;
  padding: 6px 0;
  font-size: var(--fs-nav);
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.site-nav__list a:hover { color: var(--ink); }
.site-nav__list a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--gold);
}
.site-nav__list > li { position: relative; }
.dropdown > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  vertical-align: 2px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
}
.dropdown--plain > a::after { content: none; }
.dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 30;
  min-width: 156px;
  max-height: 360px;
  overflow-y: auto;
  margin-top: 6px;
  padding: 6px 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transform: translateX(-50%);
}
.dropdown:hover > .dropdown-menu { display: block; }
.dropdown-menu li { width: 100%; }
.dropdown-menu a {
  display: block;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  border-bottom: 0;
}
.dropdown-menu a:hover { color: var(--gold-deep); background: var(--paper-deep); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13px;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn--gold {
  background: var(--gold);
  color: #2c2418;
  font-weight: 600;
}
.btn--gold:hover { background: var(--gold-deep); }
.btn--ghost {
  color: var(--cream);
  border-color: rgba(251, 246, 236, 0.5);
  padding: 11px 18px;
}
.btn--ghost:hover { border-color: var(--cream); background: rgba(251, 246, 236, 0.08); }
.btn--dark {
  background: #2c3a46;
  color: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
}
.btn--dark:hover { background: var(--navy); }

/* ---------- 区块标题 ---------- */
.section-head__title {
  font-size: var(--fs-h2);
  letter-spacing: 0.01em;
  color: var(--ink);
}
.rule {
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 14px;
  background: var(--gold);
}
.rule--vert {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin: 0 8px 0 0;
  vertical-align: -2px;
}

/* ---------- 分类卡 ---------- */
.cat-card__link {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  height: 100%;
}
.cat-card__thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--card);
}
.cat-card__body { display: block; padding-top: 2px; }
.cat-card__head {
  display: block;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}
.cat-card__num {
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold-deep);
  margin-right: 4px;
}
.cat-card__desc {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.cat-card__link:hover .cat-card__head { color: var(--gold-deep); }

/* ---------- 题材卡 ---------- */
.subject-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 132px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}
.subject-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.subject-card:hover img { transform: scale(1.03); }
.subject-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 12px;
  background: linear-gradient(to top, rgba(24, 21, 17, 0.86), rgba(24, 21, 17, 0.42) 55%, rgba(24, 21, 17, 0));
  color: var(--cream);
}
.subject-card__name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.subject-card__desc {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(251, 246, 236, 0.82);
}

/* ---------- 条目行 ---------- */
.entry__link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.entry__thumb {
  width: 58px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--card);
}
.entry__title {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.entry__link:hover .entry__title { color: var(--gold-deep); }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(243, 236, 225, 0.78);
  min-height: var(--h-footer);
  padding-top: 28px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 32px;
  padding: 20px 0 6px;
}
.site-footer__brand,
.site-footer__nav,
.site-footer__topics,
.site-footer__about {
  flex: 1 1 180px;
  min-width: 170px;
}
.site-footer__nav,
.site-footer__topics,
.site-footer__about {
  border-left: 1px solid rgba(243, 236, 225, 0.18);
  padding-left: 32px;
}
.site-footer__brand { flex: 1.4 1 240px; padding-right: 16px; }
.brand--footer .brand__name { color: var(--cream); font-size: 24px; }
.brand--footer .brand__sub { font-size: 12px; letter-spacing: 0.1em; }
.site-footer__smear {
  position: absolute;
  right: -38px;
  top: 26px;
  width: 150px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}
.site-footer__inner { position: relative; z-index: 1; }
.brand--footer .brand__sub { color: rgba(243, 236, 225, 0.6); }
.site-footer__title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  margin-bottom: 10px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 23px;
  font-size: 13.5px;
  line-height: 1.7;
}
.site-footer__links a { color: rgba(243, 236, 225, 0.8); }
.site-footer__links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__nav .site-footer__links { max-width: none; }
.site-footer__note { margin-top: 10px; font-size: 11px; color: rgba(243, 236, 225, 0.55); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 10px;
  border-top: 1px solid rgba(243, 236, 225, 0.16);
  font-size: 11px;
  color: rgba(243, 236, 225, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .subject-card:hover img { transform: none; }
}

/* ============================================================
   内页组件（环节 6）：面包屑 / 页头 / 工具条 / 列表卡 / 正文 / 目录 / 相关
   只新增类，不改首页 M0–M9 的任何规则
   ============================================================ */

/* ---------- 面包屑 ---------- */
.crumb { padding: 18px 0 0; }
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; font-size: 12.5px; color: var(--ink-faint); }
.crumb li { display: flex; align-items: center; }
.crumb li + li::before { content: "/"; margin: 0 8px; color: rgba(42, 38, 32, 0.25); }
.crumb a { color: var(--ink-soft); border-bottom: 1px solid transparent; }
.crumb a:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
.crumb [aria-current="page"] { color: var(--ink); }

/* ---------- 页头 ---------- */
.page-hero {
  margin-top: 18px;
  padding: 42px 0 38px;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
.page-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.page-hero h1 { font-size: 38px; line-height: 1.2; letter-spacing: 0.01em; }
.page-lead {
  margin-top: 14px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.page-meta b { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-weight: 500; color: var(--ink); }

/* ---------- 工具条 ---------- */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
  padding: 13px var(--gutter);
}
.toolbar__group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar__label { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.06em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.result-count { font-size: 12.5px; color: var(--ink-faint); }
.result-count b { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-weight: 500; color: var(--ink); }
.sort {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.sort button {
  padding: 6px 13px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: none;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}
.sort button:hover { color: var(--ink); }
.sort button[aria-pressed="true"] { background: var(--gold-soft); color: var(--ink); font-weight: 600; }

/* ---------- 列表卡片 ---------- */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 24px;
  padding: 34px 0 10px;
}
.lcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.lcard:hover { border-color: rgba(199, 154, 75, 0.55); }
.lcard__media { display: block; background: var(--paper-deep); }
.lcard__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 15px 18px 17px;
}
.lcard__tags { display: flex; gap: 10px; font-size: 11px; letter-spacing: 0.08em; }
.lcard__cat { color: var(--gold-deep); }
.lcard__level { color: var(--ink-faint); }
.lcard__level::before { content: "·"; margin-right: 8px; color: rgba(42, 38, 32, 0.25); }
.lcard__title { font-family: var(--font-serif); font-size: 17px; line-height: 1.45; letter-spacing: 0.01em; }
.lcard__title a { color: inherit; }
.lcard__desc { font-size: 12.5px; line-height: 1.75; color: var(--ink-soft); }
.lcard__more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lcard__more::after { content: "›"; }
.lcard:hover .lcard__title { color: var(--gold-deep); }

/* 空状态（筛选无结果） */
.list-empty {
  grid-column: 1 / -1;
  padding: 56px 0;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
}
.list-empty a { color: var(--gold-deep); border-bottom: 1px solid currentColor; }

/* ---------- 分类说明 ---------- */
.list-desc {
  display: grid;
  grid-template-columns: var(--col-title) minmax(0, 1fr);
  gap: 34px;
  padding: 42px 0 56px;
  border-top: 1px solid var(--line);
}
.list-desc__body { max-width: 820px; }
.list-desc__body p { font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
.list-desc__body p + p { margin-top: 16px; }
.list-desc__links { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.list-desc__links a {
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}
.list-desc__links a:hover { color: var(--ink); border-color: var(--gold); }

/* ---------- 详情页 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 54px;
  align-items: start;
  padding: 10px 0 20px;
}
.article-aside { min-width: 0; }
.article-head { padding: 28px 0 22px; border-bottom: 1px solid var(--line); }
.article-head h1 { margin-top: 10px; font-size: 36px; line-height: 1.28; letter-spacing: 0.01em; }
.article-sub {
  margin-top: 14px;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.article-source {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-faint);
  max-width: 660px;
}
.article-body { max-width: 720px; padding-top: 24px; }
.article-body > p { font-size: 15px; line-height: 1.95; color: var(--ink-soft); }
.article-body > p + p { margin-top: 15px; }
.article-body .lead { font-size: 16px; color: var(--ink); }
.article-body h2 {
  margin: 36px 0 14px;
  font-size: 24px;
  line-height: 1.35;
  scroll-margin-top: 84px;
}
.article-body h2::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 9px;
  background: var(--gold);
}
.article-body p strong { color: var(--ink); }
.article-body figure { margin: 22px 0 0; }
.article-body figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-faint); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.article-tags a {
  padding: 5px 12px;
  font-size: 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
}
.article-tags a:hover { border-color: var(--gold); color: var(--ink); }

/* ---------- 目录 ---------- */
.toc-card {
  position: sticky;
  top: 22px;
  padding: 18px 20px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc-card h2 {
  margin-bottom: 8px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}
.toc { display: flex; flex-direction: column; }
.toc a {
  display: block;
  padding: 7px 0 7px 12px;
  border-left: 2px solid transparent;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  counter-increment: toc;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero) " ";
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-right: 4px;
}
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { border-left-color: var(--gold); color: var(--ink); font-weight: 600; }

/* ---------- 相关条目 ---------- */
.related { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.related-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.related-card span { padding: 13px 16px 15px; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.related-card:hover { border-color: rgba(199, 154, 75, 0.55); }
.related-card:hover span { color: var(--gold-deep); }

/* ---------- 分页 ---------- */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 34px 0 6px;
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--card);
}
.pager a:hover { border-color: rgba(199, 154, 75, 0.6); color: var(--gold-deep); }
.pager .is-current {
  color: var(--cream);
  background: var(--navy);
  border-color: var(--navy);
  font-weight: 600;
}
.pager .is-gap {
  min-width: auto;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--ink-faint);
}

/* ---------- 内页响应式 ---------- */
@media (max-width: 1180px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 34px; }
  .list-grid { gap: 22px 20px; }
  .page-hero h1 { font-size: 34px; }
  .article-head h1 { font-size: 32px; }
}

@media (max-width: 900px) {
  .page-hero { padding: 34px 0 30px; }
  .page-hero h1 { font-size: 30px; }
  .toolbar { position: static; }
  .toolbar__inner { justify-content: flex-start; }
  .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-desc { grid-template-columns: 1fr; gap: 18px; padding: 34px 0 44px; }
  .article-layout { display: flex; flex-direction: column; gap: 22px; }
  .article-aside { order: -1; width: 100%; }
  .toc-card {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px 16px;
  }
  .toc { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc a { padding: 6px 10px; border-left: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); white-space: nowrap; }
  .toc a::before { content: none; }
  .toc a[aria-current="true"] { border-color: var(--gold); background: var(--gold-soft); }
  .article-head h1 { font-size: 28px; }
  .article-body h2 { font-size: 21px; }
  .related__grid { grid-template-columns: 1fr; }
  .related-card { flex-direction: row; align-items: center; }
  .related-card img { width: 112px; aspect-ratio: 4 / 3; flex: none; }
  .related-card span { padding: 12px 14px; }
  .pager { padding: 26px 0 4px; gap: 5px; }
  .pager a,
  .pager span { min-width: 32px; height: 32px; padding: 0 9px; font-size: 12.5px; }
}

@media (max-width: 560px) {
  .page-hero h1 { font-size: 26px; }
  .page-lead { font-size: 14px; }
  .list-grid { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 24px; }
  .article-body > p { font-size: 14.5px; }
  .article-body h2 { font-size: 20px; }
  .pager { gap: 4px; }
  .pager a,
  .pager span { min-width: 30px; height: 30px; padding: 0 7px; font-size: 12px; }
}
