:root {
  --bg: #f6f8fc;
  --bg-soft: #eef2f9;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.72);
  --border: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --brand: #0f172a;
  --accent: #f59e0b;
  --accent-2: #38bdf8;
  --accent-3: #6366f1;
  --success: #22c55e;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.16);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 42%, #334155 72%, #0ea5e9 100%);
  --grad-accent: linear-gradient(135deg, #f59e0b 0%, #f97316 45%, #38bdf8 100%);
  --grad-soft: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(56, 189, 248, 0.14));
  --grad-card: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.55));
  --maxw: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #070b16;
  --bg-soft: #0b1222;
  --card: #101a2e;
  --card-glass: rgba(16, 26, 46, 0.68);
  --border: rgba(148, 163, 184, 0.16);
  --text: #e8eefc;
  --text-soft: #b6c2d9;
  --text-muted: #8b9ab5;
  --brand: #e8eefc;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 14px 38px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
  --grad-hero: linear-gradient(135deg, #070b16 0%, #0f1b33 40%, #12304f 72%, #0e7490 100%);
  --grad-card: linear-gradient(150deg, rgba(24, 38, 64, 0.9), rgba(16, 26, 46, 0.55));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(800px 460px at 92% 4%, rgba(245, 158, 11, 0.14), transparent 62%),
    radial-gradient(700px 520px at 50% 108%, rgba(99, 102, 241, 0.12), transparent 65%);
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(1.75rem, 4.4vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.15rem);
}

h3 {
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
}

h4 {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

p {
  color: var(--text-soft);
}

::selection {
  background: rgba(56, 189, 248, 0.32);
}

/* ---------- 顶部导航 ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: var(--card-glass);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

#site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.brand svg {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease);
}

.brand:hover svg {
  transform: rotate(-6deg) scale(1.06);
}

.brand-name {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

#main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--text-soft);
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

#main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

#main-nav a:hover,
#main-nav a:focus-visible {
  color: var(--text);
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
}

#main-nav a:hover::after {
  width: 60%;
}

#menu-toggle,
#theme-toggle {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

#menu-toggle:hover,
#theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: var(--grad-soft);
}

#menu-toggle {
  display: none;
}

/* ---------- 主体容器 ---------- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 20px 80px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--card-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-muted);
  opacity: 0.6;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* ---------- 通用 section 卡片 ---------- */
main > section {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

main > section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.28);
}

main > section:hover::before {
  opacity: 1;
}

main > section > h2 {
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
}

main > section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-pill);
  background: var(--grad-accent);
}

main > section > h3 {
  margin: 22px 0 10px;
  color: var(--text);
}

main > section > h4 {
  margin: 16px 0 8px;
  color: var(--text);
}

main > section p + p {
  margin-top: 10px;
}

main > section ul:not(.breadcrumb):not(.stats),
main > section ol {
  margin: 12px 0;
  display: grid;
  gap: 10px;
}

main > section ul:not(.breadcrumb):not(.stats) > li,
main > section ol > li {
  position: relative;
  padding: 12px 16px 12px 44px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

main > section ul:not(.breadcrumb):not(.stats) > li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

main > section ol {
  counter-reset: step;
}

main > section ol > li {
  counter-increment: step;
}

main > section ol > li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  background: var(--grad-accent);
}

main > section ul:not(.breadcrumb):not(.stats) > li:hover,
main > section ol > li:hover {
  transform: translateX(6px);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: var(--shadow-sm);
}

/* ---------- Hero ---------- */
#hero {
  background: var(--grad-hero);
  color: #f8fafc;
  border: none;
  padding: clamp(28px, 5vw, 60px);
  isolation: isolate;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 320px at 88% 10%, rgba(56, 189, 248, 0.35), transparent 62%),
    radial-gradient(520px 300px at 6% 92%, rgba(245, 158, 11, 0.28), transparent 60%);
  pointer-events: none;
}

#hero::before {
  opacity: 1;
  height: 3px;
}

#hero h1 {
  color: #ffffff;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
}

#hero > p {
  color: rgba(241, 245, 249, 0.9);
  max-width: 62ch;
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 30px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-primary {
  background: var(--grad-accent);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.48);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- 轮播 ---------- */
.hero-slider {
  position: relative;
  min-height: 168px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.slide {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 3vw, 34px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide h2 {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: #ffffff;
  margin-bottom: 10px;
}

.slide p {
  color: rgba(241, 245, 249, 0.86);
  max-width: 58ch;
}

/* ---------- 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.stats li {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.stats li:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
}

.stats strong {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span {
  font-size: 0.84rem;
  color: rgba(241, 245, 249, 0.82);
}

/* ---------- 案例引用 ---------- */
blockquote {
  margin: 16px 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  border-left: 4px solid transparent;
  border-image: var(--grad-accent) 1;
  background: rgba(148, 163, 184, 0.1);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

blockquote p {
  font-style: italic;
  color: var(--text-soft);
}

/* ---------- 文章卡片 ---------- */
#articles > article {
  margin: 16px 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--card-glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

#articles > article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 189, 248, 0.35);
}

#articles > article h3 {
  margin-bottom: 6px;
}

#articles > article h3 + p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

#articles > article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-2);
}

#articles > article a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

#articles > article a:hover::after {
  transform: translateX(5px);
}

#articles section {
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(148, 163, 184, 0.08);
  border: 1px dashed var(--border);
  transition: background 0.35s var(--ease);
}

#articles section:hover {
  background: rgba(56, 189, 248, 0.09);
}

/* ---------- FAQ ---------- */
#faq details {
  margin: 12px 0;
  border-radius: var(--radius);
  background: var(--card-glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

#faq details:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.32);
}

#faq summary {
  cursor: pointer;
  padding: 16px 46px 16px 20px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  list-style: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  background: var(--grad-accent);
  transition: transform 0.35s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

#faq summary:hover {
  background: rgba(56, 189, 248, 0.1);
}

#faq details p {
  padding: 4px 20px 18px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
  animation: fadeSlide 0.45s var(--ease) both;
}

/* ---------- HowTo ---------- */
#howto h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#howto h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--grad-accent);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- 联系信息 ---------- */
#contact p {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

#contact p:hover {
  transform: translateX(6px);
  background: rgba(56, 189, 248, 0.12);
}

/* ---------- 网站地图 / 友情链接 ---------- */
#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

#sitemap li,
#links li {
  padding: 0;
  background: none;
  border: none;
}

#sitemap a,
#links a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--card-glass);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  transform: translateY(-4px);
  color: var(--text);
  background: var(--grad-soft);
  box-shadow: var(--shadow-md);
}

/* ---------- 法律声明 ---------- */
#legal h3 {
  margin-top: 20px;
}

#legal p:last-child {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ---------- 页脚 ---------- */
#site-footer {
  margin-top: 20px;
  background: var(--grad-hero);
  color: #e2e8f0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 20px 54px;
  display: grid;
  gap: 8px;
  text-align: center;
}

.footer-inner p {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.9rem;
}

.footer-inner p:first-child {
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-inner p:last-child {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.82rem;
}

/* ---------- 返回顶部 ---------- */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 95;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  background: var(--grad-accent);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--shadow-lg);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 平板 ---------- */
@media (max-width: 1024px) {
  #main-nav {
    order: 3;
    flex-basis: 100%;
  }

  #main-nav ul {
    justify-content: flex-start;
  }

  .header-inner {
    padding-bottom: 10px;
  }
}

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
  :root {
    --header-h: 62px;
  }

  .header-inner {
    gap: 10px;
  }

  .brand {
    margin-right: auto;
  }

  #menu-toggle {
    display: inline-block;
  }

  #main-nav {
    display: none;
    flex-basis: 100%;
    width: 100%;
    padding: 8px 0 14px;
  }

  #main-nav.is-open {
    display: block;
    animation: fadeSlide 0.4s var(--ease) both;
  }

  #main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  #main-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(148, 163, 184, 0.1);
  }

  #main-nav a::after {
    display: none;
  }

  main {
    padding: 18px 14px 64px;
    gap: 18px;
  }

  main > section {
    border-radius: var(--radius);
    padding: 20px 18px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-slider {
    min-height: 210px;
  }

  blockquote {
    padding: 16px 18px;
  }

  #articles > article {
    padding: 18px;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }

  #back-to-top {
    right: 14px;
    bottom: 16px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }

  .breadcrumb {
    font-size: 0.78rem;
    padding: 8px 12px;
  }
}

/* ---------- 打印 ---------- */
@media print {
  #site-header,
  #back-to-top,
  .hero-slider,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #cccccc;
    break-inside: avoid;
  }
}