/* ==========================================================================
   components.css · 公共组件（首页 / 分类页 / 详情页共用）
   顺序：重置 → 排版 → 容器 → 页头 → 按钮与标签 → 区块标题 → 图片位 → 页脚
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  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;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--dark);
  color: var(--on-dark);
  font-size: var(--fs-small);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------------- 容器 */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------------------------------------------------------------- 页头 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
}

.nav a {
  display: inline-block;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: var(--ink-body);
  font-size: var(--fs-nav);
  line-height: 1.5;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav a:hover { background: rgba(164, 85, 46, 0.09); color: var(--ink); }

.nav a.is-active,
.nav a[aria-current="page"] {
  background: var(--accent);
  color: #FBF2E6;
}

.nav-item { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 70;
  min-width: 190px;
  max-height: 360px;
  overflow-y: auto;
  margin: 6px 0 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 14px 30px rgba(60, 38, 20, 0.14);
}

.dropdown-menu li { margin: 0; }

.dropdown-menu a {
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-body);
  font-size: var(--fs-small);
  white-space: nowrap;
}

.dropdown-menu a:hover { background: rgba(164, 85, 46, 0.09); color: var(--ink); }

.nav-item:hover > .dropdown-menu { display: block; }

.site-logo-text { display: inline-block; }

.header-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  flex: none;
  font-size: var(--fs-micro);
  color: var(--muted);
}

.header-links a { display: inline-block; padding: 4px 0; }
.header-links a:hover { color: var(--accent); }
.header-links .divider {
  width: 1px;
  height: 13px;
  background: var(--line-strong);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 34px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ------------------------------------------------------------ 按钮/标签 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #FBF2E6;
  font-size: var(--fs-small);
  line-height: 1;
  white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.btn:hover { background: var(--accent-strong); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(164, 85, 46, 0.08); }

.chip {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-tag);
  line-height: 1.6;
  color: var(--muted);
  white-space: nowrap;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* ---------------------------------------------------------------- 区块头 */
.sec-head { text-align: center; }

.sec-title {
  position: relative;
  display: inline-block;
  font-size: var(--fs-h2);
  line-height: 1.3;
  padding: 0 30px;
}

.sec-title::before,
.sec-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.sec-title::before { right: 100%; margin-right: -14px; transform: scaleX(-1); }
.sec-title::after { left: 100%; margin-left: -14px; }

.sec-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* ------------------------------------------------------------------ 图片 */
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--sand);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------- 页脚 */
.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  font-size: var(--fs-micro);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0 2px;
  align-items: flex-start;
}

.footer-grid > * {
  flex: 1 1 180px;
  min-width: 170px;
}

.footer-brand-col { flex: 1.4 1 260px; max-width: 380px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
}
.footer-brand .brand-mark { color: var(--accent-soft); }
.footer-brand .brand-name {
  color: var(--on-dark);
  font-size: 19px;
  line-height: 1.15;
}

.footer-desc {
  margin-top: 10px;
  color: var(--on-dark-muted);
  font-size: 11.5px;
  line-height: 1.75;
  max-width: 340px;
}

.footer-cat-label,
.footer-about-title {
  color: var(--on-dark-faint);
  font-size: 11px;
  letter-spacing: var(--ls-wide);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-weight: 400;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 7px 18px;
  margin-top: 12px;
}
.footer-links a {
  color: var(--on-dark-muted);
  font-size: 12px;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; }

.footer-about p {
  margin-top: 12px;
  color: var(--on-dark-muted);
  font-size: 11px;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 8px 0 11px;
  border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark-faint);
  font-size: 11px;
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .nav { gap: 0; }
  .nav a { padding: 5px 8px; font-size: 12.5px; }
  .header-links { display: none; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .header-inner { gap: 16px; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(60, 38, 20, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 9px 10px; border-radius: var(--radius-sm); }
  .nav-item { position: static; }
  .dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    max-height: none;
    overflow: visible;
    margin: 2px 0 6px;
    padding: 2px 0 2px 12px;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .dropdown-menu a { padding: 5px 8px; color: var(--muted); font-size: 12.5px; }
  .footer-grid {
    gap: 28px;
  }
  .footer-about { flex: 1 1 100%; }
}

@media (max-width: 760px) {
  .sec-title { padding: 0 18px; }
  .sec-title::before, .sec-title::after { width: 34px; }
  .footer-grid { gap: 22px; }
  .footer-links { grid-template-columns: repeat(3, auto); }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

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

/* 页头滚动阴影（JS 添加 .is-scrolled） */
.site-header.is-scrolled { box-shadow: 0 1px 10px rgba(60, 38, 20, 0.07); }

/* ==========================================================================
   内页组件（分类页 / 详情页共用，首页不加载这些规则的使用）
   ========================================================================== */

/* ---------------------------------------------------------------- 面包屑 */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: var(--fs-micro);
}
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb span[aria-hidden="true"] { color: var(--line-strong); }
.crumb [aria-current="page"] { color: var(--ink-body); }

/* ------------------------------------------------------------ 分类页头 */
.page-hero {
  padding: 30px 0 26px;
  border-bottom: 1px solid var(--line);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: 14px;
}
.page-eyebrow {
  color: var(--accent);
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-wide);
}
.page-hero h1 {
  margin-top: 8px;
  font-size: var(--fs-h1);
  line-height: 1.22;
}
.page-lead {
  margin-top: 10px;
  max-width: 660px;
  color: var(--ink-body);
  font-size: var(--fs-lead);
  line-height: 1.85;
}
.page-stats {
  display: flex;
  gap: 22px;
  padding-bottom: 4px;
}
.page-stats div { text-align: left; }
.page-stats dt {
  color: var(--muted);
  font-size: 11px;
}
.page-stats dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  white-space: nowrap;
}
.page-stats span {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 15px;
  white-space: nowrap;
}

/* -------------------------------------------------------------- 筛选条 */
.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.filter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.filter-label {
  color: var(--muted);
  font-size: var(--fs-micro);
}
label.filter-label { cursor: pointer; }
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-body);
  font-size: var(--fs-tag);
  line-height: 1.5;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FBF2E6;
}
.filter-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
  font-size: var(--fs-micro);
}
.filter-count { color: var(--ink); font-variant-numeric: tabular-nums; }
.filter-sort {
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-body);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: var(--fs-micro);
}

/* -------------------------------------------------------------- 条目卡 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.entry-card {
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.entry-card:hover { border-color: var(--accent); }
.entry-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}
.entry-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}
.entry-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.entry-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 15px 12px;
}
.entry-tag {
  color: var(--accent);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.entry-title {
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  line-height: 1.4;
  color: var(--ink);
}
.entry-desc {
  margin-top: 6px;
  color: var(--ink-body);
  font-size: var(--fs-small);
  line-height: 1.7;
}
.entry-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.entry-meta .dot { color: var(--line-strong); }
.entry-empty {
  margin-top: 16px;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-card);
  color: var(--muted);
  font-size: var(--fs-small);
  text-align: center;
}

/* ---------------------------------------------------------------- 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-body);
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pager__link:hover { border-color: var(--accent); color: var(--accent); }
.pager__link[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #FBF2E6;
}
.pager__gap {
  padding: 0 4px;
  color: var(--line-strong);
  font-size: var(--fs-small);
}

/* ---------------------------------------------------------- 分类说明 */
.category-note {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 32px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.category-note h2 {
  font-size: var(--fs-h4);
  color: var(--ink);
}
.category-note p {
  margin-top: 10px;
  max-width: 72ch;
  color: var(--ink-body);
  font-size: var(--fs-small);
  line-height: 1.9;
}
.category-note p:first-of-type { margin-top: 0; }

/* -------------------------------------------------------------- 文章头 */
.article-head {
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--fs-micro);
}
.article-meta .tag {
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 11px;
}
.article-head h1 {
  margin-top: 8px;
  max-width: 900px;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.24;
}
.article-lead {
  margin-top: 12px;
  max-width: 760px;
  color: var(--ink-body);
  font-size: var(--fs-lead);
  line-height: 1.9;
}
.article-source {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  max-width: 760px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

/* ------------------------------------------------------ 正文 + 目录布局 */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 46px;
  align-items: start;
  padding: 26px 0 8px;
}
.article h2 {
  margin-top: 32px;
  font-size: 21px;
  line-height: 1.4;
}
.article h2:first-child { margin-top: 0; }
.article p {
  margin-top: 12px;
  max-width: 760px;
  color: var(--ink-body);
  font-size: 15.5px;
  line-height: 1.95;
}
.article strong { color: var(--ink); font-weight: 700; }
.article-figure {
  margin: 22px 0 0;
  max-width: 660px;
}
.article-figure .thumb { aspect-ratio: 4 / 3; }
.article-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
}
.article-note {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--bg-warm);
  border-left: 3px solid var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-body);
  font-size: 13px;
  line-height: 1.8;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
}
.toc-details { margin: 0; }
.toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: var(--ls-wide);
  list-style: none;
}
.toc-title::-webkit-details-marker { display: none; }
.toc-title::after { content: "−"; color: var(--accent); font-size: 13px; letter-spacing: 0; }
.toc-details:not([open]) .toc-title::after { content: "+"; }
.toc ol { margin-top: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 8px;
  padding: 5px 0;
  color: var(--ink-body);
  font-size: 12.5px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(220, 201, 178, 0.45);
}
.toc li:last-child a { border-bottom: 0; }
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  color: var(--line-strong);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}
.toc a:hover { color: var(--accent); }
.toc a.is-active { color: var(--accent); font-weight: 700; }
.toc a.is-active::before { color: var(--accent); }
.toc details summary {
  color: var(--muted);
  font-size: 12px;
  padding: 2px 0;
}

/* ------------------------------------------------------------ 相关推荐 */
.related {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.related-title {
  font-size: var(--fs-h3);
}
.related-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 12px;
}
.related-list a {
  display: block;
  padding: 11px 13px;
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  color: var(--ink-body);
  font-size: 13px;
  line-height: 1.6;
  transition: border-color var(--dur) var(--ease);
}
.related-list a:hover { border-color: var(--accent); }
.related-back {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: var(--fs-small);
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1000px) {
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; gap: 18px; }
  .toc { position: static; order: -1; }
  .category-note { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  .page-hero { padding: 22px 0 20px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .page-stats { gap: 18px; }
  .entry-grid { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .filter-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .article p { font-size: 15px; }
}

/* 分类页区块节奏 */
.section-entries { padding-top: 24px; }
.entries-head { margin-bottom: 2px; }
.entries-title {
  font-size: var(--fs-h2);
  line-height: 1.3;
  color: var(--ink);
}
.entries-head .sec-sub { margin-top: 6px; text-align: left; }
.section-note { padding-bottom: 34px; }

/* 锚点跳转避开固定页头 */
section[id], [id="craft"] { scroll-margin-top: calc(var(--header-h) + 14px); }
