/* ==========================================================================
   GHSY 博客 — 全站样式
   1. 设计变量    2. 基础重置    3. 布局    4. 页头导航
   5. 首页        6. 文章页      7. 页脚    8. 响应式
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  color-scheme: light;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Songti SC", "Source Han Serif SC", "Noto Serif SC", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --bg: #faf8f5;
  --bg-soft: #f3efe9;
  --surface: #ffffff;
  --surface-2: #fbf9f6;
  --border: #e7e1d8;
  --border-strong: #d8d0c4;
  --text: #1b1917;
  --text-soft: #55504a;
  --text-mute: #8b8379;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-ink: #9a3412;
  --accent-soft: #fdeee5;
  --accent-line: #f0c4ac;
  --code-bg: #f4f1ec;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06), 0 1px 3px rgba(28, 25, 23, .05);
  --shadow-md: 0 6px 16px -6px rgba(28, 25, 23, .14), 0 18px 40px -24px rgba(28, 25, 23, .2);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1100px;
  --maxw-read: 732px;
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #131211;
  --bg-soft: #1b1917;
  --surface: #1c1a18;
  --surface-2: #211f1c;
  --border: #2e2a26;
  --border-strong: #403a34;
  --text: #eceae6;
  --text-soft: #b5aea6;
  --text-mute: #8b847b;
  --accent: #f97316;
  --accent-hover: #fb923c;
  --accent-ink: #fdba74;
  --accent-soft: #2a1c12;
  --accent-line: #5c3216;
  --code-bg: #221f1c;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 24px -10px rgba(0, 0, 0, .6), 0 24px 48px -28px rgba(0, 0, 0, .7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #131211;
    --bg-soft: #1b1917;
    --surface: #1c1a18;
    --surface-2: #211f1c;
    --border: #2e2a26;
    --border-strong: #403a34;
    --text: #eceae6;
    --text-soft: #b5aea6;
    --text-mute: #8b847b;
    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-ink: #fdba74;
    --accent-soft: #2a1c12;
    --accent-line: #5c3216;
    --code-bg: #221f1c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 8px 24px -10px rgba(0, 0, 0, .6), 0 24px 48px -28px rgba(0, 0, 0, .7);
  }
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { line-height: 1.28; letter-spacing: -.015em; margin: 0 0 .6em; }

button { font: inherit; color: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- 3. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--maxw-read); }

.main { padding: 0 0 80px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 64px 0 26px;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---------- 4. 页头导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 680;
  letter-spacing: -.01em;
  margin-right: auto;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.02rem; }
.brand__tag { font-size: .7rem; font-weight: 500; color: var(--text-mute); letter-spacing: .06em; }

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: .92rem;
  font-weight: 520;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.site-nav a:hover { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent-ink); background: var(--accent-soft); }

.header-tools { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { color: var(--accent-ink); border-color: var(--accent-line); }
.icon-btn:active { transform: scale(.94); }

.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

.nav-toggle { display: none; }

/* 搜索面板 */
.search-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 0;
}
.search-panel.is-open { display: block; }
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.search-field input {
  flex: 1;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 1rem;
  outline: none;
}
.search-field input::placeholder { color: var(--text-mute); }
.search-hint { margin: 10px 2px 0; font-size: .84rem; color: var(--text-mute); }

/* ---------- 5. 首页 ---------- */
.hero {
  position: relative;
  padding: 78px 0 54px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 45% 20% -10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  filter: blur(10px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: .82rem;
  color: var(--text-soft);
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 24%, transparent);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -.03em;
  margin-bottom: .35em;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__lede {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 0 30px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem;
  font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent-line); color: var(--accent-ink); }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.stat__num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
}
.stat__label { font-size: .82rem; color: var(--text-mute); letter-spacing: .04em; }

/* 精选文章 */
.featured {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.featured:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.featured__body { padding: 40px 42px; }
.featured__cover {
  position: relative;
  min-height: 100%;
  background: linear-gradient(140deg, var(--accent) 0%, #7c2d12 55%, #1b1917 100%);
  display: grid;
  place-items: center;
  padding: 30px;
}
.featured__cover svg { width: 62%; max-width: 240px; opacity: .95; }

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.post-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.featured__title {
  font-family: var(--font-serif);
  font-size: 1.72rem;
  margin-bottom: .45em;
}
.featured__title a { color: var(--text); }
.featured__title a:hover { color: var(--accent-ink); text-decoration: none; }
.featured__excerpt { color: var(--text-soft); margin: 0 0 22px; font-size: 1rem; }

.tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .76rem;
  font-weight: 560;
  letter-spacing: .02em;
}
.tag:hover { text-decoration: none; background: var(--accent-line); }

/* 筛选 */
.archive-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: .86rem;
  font-weight: 540;
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--accent-line); color: var(--accent-ink); }
.filter-btn[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* 文章卡片 */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card__title { font-size: 1.16rem; font-family: var(--font-serif); margin-bottom: .5em; }
.card__title a { color: var(--text); }
.card__title a:hover { color: var(--accent-ink); text-decoration: none; }
.card__excerpt {
  color: var(--text-soft);
  font-size: .93rem;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--text-mute);
}
.card__more { margin-left: auto; color: var(--accent-ink); font-weight: 560; }
.card__more:hover { text-decoration: none; }
.card:hover .card__more { text-decoration: underline; text-underline-offset: 3px; }

.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-mute);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* 订阅条 */
.subscribe {
  margin-top: 70px;
  padding: 42px 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 130% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    var(--surface);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.subscribe__text { flex: 1 1 320px; }
.subscribe__text h2 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .3em; }
.subscribe__text p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------- 6. 文章页 ---------- */
.article-header {
  padding: 60px 0 34px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4.2vw, 2.6rem);
  letter-spacing: -.025em;
  margin-bottom: .4em;
  text-wrap: balance;
}
.article-header__lede {
  font-size: 1.06rem;
  color: var(--text-soft);
  margin: 0 0 22px;
}
.article-header__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: var(--text-mute); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

.breadcrumbs { font-size: .85rem; color: var(--text-mute); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--border-strong); }
.breadcrumbs li:last-child::after { content: none; }

.article {
  font-size: 1.045rem;
  line-height: 1.85;
  color: var(--text);
}
.article > * + * { margin-top: 1.15em; }
.article h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-top: 2.1em;
  margin-bottom: .6em;
  padding-bottom: .3em;
  border-bottom: 1px solid var(--border);
}
.article h3 { font-size: 1.18rem; margin-top: 1.8em; margin-bottom: .5em; }
.article p { margin: 0; }
.article ul, .article ol { padding-left: 1.35em; margin: 0; }
.article li + li { margin-top: .45em; }
.article li::marker { color: var(--accent); }

.article blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--text-soft);
  font-style: normal;
}
.article blockquote p + p { margin-top: .8em; }

.article code {
  font-family: var(--font-mono);
  font-size: .87em;
  padding: .16em .42em;
  border-radius: 5px;
  background: var(--code-bg);
  border: 1px solid var(--border);
}
.article pre {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  border: 1px solid var(--border);
  overflow-x: auto;
  font-size: .875rem;
  line-height: 1.65;
}
.article pre code { padding: 0; border: 0; background: none; font-size: inherit; }

.article img { border-radius: var(--radius-sm); border: 1px solid var(--border); }

.article hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }

.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
.article th, .article td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article th { background: var(--bg-soft); font-weight: 620; }

.callout {
  margin: 1.7em 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  font-size: .96rem;
}
.callout strong { color: var(--accent-ink); }

.article-foot {
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-row span { font-size: .85rem; color: var(--text-mute); margin-right: 4px; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}
.post-nav a {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.post-nav a:hover { border-color: var(--accent-line); transform: translateY(-2px); text-decoration: none; }
.post-nav__label { display: block; font-size: .78rem; color: var(--text-mute); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.post-nav__title { font-weight: 600; }
.post-nav .is-next { text-align: right; }

/* 关于页 */
.page-header { padding: 64px 0 8px; }
.page-header h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4.6vw, 2.7rem); }

.profile {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 30px 0 8px;
}
.profile__avatar {
  width: 82px; height: 82px;
  border-radius: 20px;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.profile__name { font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 4px; }
.profile__desc { margin: 0; color: var(--text-soft); font-size: .94rem; }

.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.link-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.link-list a:hover { border-color: var(--accent-line); transform: translateX(3px); text-decoration: none; }
.link-list strong { display: block; font-weight: 600; }
.link-list small { color: var(--text-mute); }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  padding: 46px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand { max-width: 320px; }
.footer-brand p { margin: 12px 0 0; color: var(--text-mute); font-size: .88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 34px; }
.footer-col h3 {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
  font-weight: 650;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--text-soft); font-size: .9rem; }
.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .83rem;
  color: var(--text-mute);
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 900px) {
  .featured { grid-template-columns: 1fr; }
  .featured__cover { min-height: 190px; order: -1; }
  .featured__cover svg { width: 150px; }
  .featured__body { padding: 30px 28px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .container { padding: 0 18px; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) - 4px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 14px; border-radius: var(--radius-sm); font-size: 1rem; }

  .header-tools .search-trigger { display: none; }

  .hero { padding: 48px 0 34px; }
  .hero__stats { gap: 26px 34px; margin-top: 34px; }
  .stat__num { font-size: 1.4rem; }

  .section-label { margin: 46px 0 20px; }

  .post-grid { grid-template-columns: 1fr; }
  .card { padding: 24px 22px 20px; }

  .subscribe { padding: 30px 24px; margin-top: 50px; }

  .article-header { padding: 34px 0 26px; margin-bottom: 30px; }
  .article-tags { margin-left: 0; width: 100%; }

  .post-nav { grid-template-columns: 1fr; }
  .post-nav .is-next { text-align: left; }

  .footer-nav { gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .post-nav, .share-row, .subscribe { display: none; }
  body { background: #fff; color: #000; }
}
