:root {
  --peach-50: #fff5f9;
  --peach-100: #ffe4ef;
  --peach-200: #ffc9df;
  --peach-300: #ffa8cb;
  --peach-400: #ff85b6;
  --peach-500: #ff6b9d;
  --peach-600: #f04d85;
  --peach-700: #d6336c;
  --peach-800: #ad2456;
  --peach-900: #7f1a40;
  --plum-500: #9b5de5;
  --plum-600: #7b3fc4;
  --mint-500: #2ec4b6;
  --ink-900: #1a1420;
  --ink-800: #2a2233;
  --ink-700: #3d3348;
  --ink-600: #574a63;
  --ink-500: #776a82;
  --ink-400: #9c8fa7;
  --ink-300: #c5bbc9;
  --ink-200: #e6dfe9;
  --ink-100: #f4eff6;
  --white: #ffffff;
  --bg: #fdf7fa;
  --bg-elev: #ffffff;
  --text: #2a2233;
  --text-muted: #6b5f76;
  --border: rgba(155, 93, 229, 0.14);
  --shadow-sm: 0 2px 8px rgba(127, 26, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(127, 26, 64, 0.10);
  --shadow-lg: 0 18px 48px rgba(127, 26, 64, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.55);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --gradient-brand: linear-gradient(135deg, #ff6b9d 0%, #ff8fb8 35%, #9b5de5 100%);
  --gradient-soft: linear-gradient(135deg, #ffe4ef 0%, #f3e8ff 100%);
  --gradient-hero: linear-gradient(120deg, #ff6b9d 0%, #ff85b6 30%, #c77dff 65%, #9b5de5 100%);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14101a;
    --bg-elev: #1d1727;
    --text: #f2ecf6;
    --text-muted: #b3a6bf;
    --border: rgba(199, 125, 255, 0.18);
    --glass-bg: rgba(29, 23, 39, 0.62);
    --glass-border: rgba(199, 125, 255, 0.22);
    --peach-50: #241726;
    --peach-100: #33203a;
    --ink-100: #221b2c;
    --ink-200: #2f2639;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
    --gradient-soft: linear-gradient(135deg, #2a1e35 0%, #221b2c 100%);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 107, 157, 0.14), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(155, 93, 229, 0.12), transparent 55%),
    radial-gradient(800px 600px at 50% 100%, rgba(46, 196, 182, 0.07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover,
a:focus-visible {
  color: var(--peach-700);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(155, 93, 229, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}

p {
  margin: 0 0 1em;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin: 0 0 0.6em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--peach-600);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.8em;
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 6px;
  background: var(--gradient-brand);
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 0 0 0.5em;
}

blockquote {
  margin: 0 0 1em;
  padding: 16px 20px;
  border-left: 4px solid var(--peach-400);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
}

blockquote p {
  margin: 0;
}

time {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

ul, ol {
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

/* ============ Header ============ */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.top-bar p {
  margin: 0;
  padding: 6px 16px;
  font-weight: 500;
}

nav[aria-label="主导航"] {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--peach-600);
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.logo a:hover {
  transform: scale(1.05) rotate(-1.5deg);
}

nav[aria-label="主导航"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1 1 auto;
}

nav[aria-label="主导航"] ul li {
  margin: 0;
}

nav[aria-label="主导航"] ul a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  position: relative;
}

nav[aria-label="主导航"] ul a:hover,
nav[aria-label="主导航"] ul a:focus-visible {
  color: var(--peach-600);
  background: var(--peach-50);
  transform: translateY(-2px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--peach-400);
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.15);
}

.search-box label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-box input[type="search"] {
  border: none;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 6px 0;
  min-width: 0;
  width: 160px;
  outline: none;
}

.search-box input[type="search"]::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.search-box button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gradient-brand);
  padding: 8px 18px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
}

.search-box button:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(255, 107, 157, 0.45);
}

.search-box button:active {
  transform: translateY(0) scale(0.98);
}

/* ============ Main Layout ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px 60px;
}

main > nav[aria-label="面包屑导航"] {
  margin-bottom: 20px;
  font-size: 0.85rem;
}

main > nav[aria-label="面包屑导航"] ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

main > nav[aria-label="面包屑导航"] li {
  margin: 0;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--ink-300);
}

main > nav[aria-label="面包屑导航"] li[aria-current="page"] {
  color: var(--peach-600);
  font-weight: 600;
}

/* ============ Sections ============ */
main > section {
  margin-bottom: 40px;
  padding: 32px clamp(20px, 4vw, 40px);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.7s var(--ease) both;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

main > section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 40%);
  opacity: 0.6;
}

@media (prefers-color-scheme: dark) {
  main > section::after {
    background: linear-gradient(160deg, rgba(199, 125, 255, 0.09), transparent 45%);
  }
}

main > section:hover {
  box-shadow: var(--shadow-lg);
}

main > section > * {
  position: relative;
  z-index: 1;
}

/* ============ Hero ============ */
#hero {
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
  padding: clamp(40px, 7vw, 72px) clamp(20px, 4vw, 48px);
  border: none;
  box-shadow: 0 24px 60px rgba(155, 93, 229, 0.32);
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(500px 260px at 85% 80%, rgba(255, 255, 255, 0.18), transparent 60%);
  pointer-events: none;
}

#hero::after {
  display: none;
}

#hero h1 {
  background: none;
  -webkit-text-fill-color: var(--white);
  color: var(--white);
  text-shadow: 0 4px 24px rgba(127, 26, 64, 0.35);
}

#hero p {
  max-width: 820px;
  margin: 0 auto 32px;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(127, 26, 64, 0.25);
}

.banner-carousel {
  display: flex;
  justify-content: center;
}

.banner-carousel figure {
  margin: 0;
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(127, 26, 64, 0.35);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.banner-carousel figure:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 70px rgba(127, 26, 64, 0.45);
}

.banner-carousel svg {
  width: 100%;
  height: auto;
  display: block;
}

.banner-carousel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 20px;
  background: linear-gradient(to top, rgba(26, 20, 32, 0.65), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

/* ============ Articles & News ============ */
#news article,
#articles article {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--peach-300);
}

#news article:hover::before,
#articles article:hover::before {
  transform: scaleY(1);
}

#news article h3,
#articles article h3 {
  color: var(--peach-700);
  transition: color 0.25s var(--ease);
}

#news article:hover h3,
#articles article:hover h3 {
  color: var(--peach-600);
}

#articles article p:last-child {
  margin-bottom: 0;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--peach-700);
  transition: all 0.3s var(--ease);
}

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

#articles article a:hover {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.35);
}

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

/* ============ FAQ ============ */
#faq dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

#faq dt {
  font-weight: 700;
  color: var(--peach-700);
  padding: 14px 20px 14px 44px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  cursor: default;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

#faq dt::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--white);
  background: var(--gradient-brand);
  border-radius: 50%;
}

#faq dt:hover {
  transform: translateX(4px);
  border-color: var(--peach-300);
}

#faq dd {
  margin: 0 0 4px;
  padding: 14px 20px 14px 44px;
  color: var(--text-muted);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  position: relative;
}

#faq dd::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--peach-600);
  background: var(--peach-100);
  border-radius: 50%;
}

/* ============ HowTo ============ */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 60px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--gradient-brand);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

/* ============ Contact ============ */
#contact address {
  font-style: normal;
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

#contact address p {
  margin: 0;
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

#contact address p::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--peach-500);
  font-size: 0.8rem;
  top: 0.15em;
}

/* ============ Sitemap ============ */
#sitemap > ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

#sitemap > ul li {
  margin: 0;
}

#sitemap > ul a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}

#sitemap > ul a:hover {
  background: var(--gradient-brand);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.35);
}

#sitemap h3 {
  margin-top: 8px;
}

#sitemap h3 + ul {
  margin-bottom: 0;
}

/* ============ Footer ============ */
footer[role="contentinfo"] {
  background: var(--gradient-hero);
  color: rgba(255, 255, 255, 0.92);
  margin-top: 40px;
  padding: 48px clamp(20px, 5vw, 60px) 24px;
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 260px at 10% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

footer[role="contentinfo"] > * {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

footer[role="contentinfo"] section {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
}

footer[role="contentinfo"] h2 {
  color: var(--white);
  font-size: 1.15rem;
  padding-left: 0;
}

footer[role="contentinfo"] h2::before {
  display: none;
}

footer[role="contentinfo"] h3 {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  margin-top: 16px;
}

footer[role="contentinfo"] p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.6em;
}

footer[role="contentinfo"] a {
  color: #fff0f6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer[role="contentinfo"] a:hover {
  color: var(--white);
}

footer[role="contentinfo"] > p {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0;
}

/* ============ Animations ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Staggered reveal */
main > section:nth-of-type(1) { animation-delay: 0.02s; }
main > section:nth-of-type(2) { animation-delay: 0.06s; }
main > section:nth-of-type(3) { animation-delay: 0.10s; }
main > section:nth-of-type(4) { animation-delay: 0.14s; }
main > section:nth-of-type(5) { animation-delay: 0.18s; }
main > section:nth-of-type(6) { animation-delay: 0.22s; }
main > section:nth-of-type(7) { animation-delay: 0.26s; }
main > section:nth-of-type(8) { animation-delay: 0.30s; }
main > section:nth-of-type(9) { animation-delay: 0.34s; }
main > section:nth-of-type(10) { animation-delay: 0.38s; }
main > section:nth-of-type(11) { animation-delay: 0.42s; }
main > section:nth-of-type(12) { animation-delay: 0.46s; }
main > section:nth-of-type(13) { animation-delay: 0.50s; }

@supports (animation-timeline: view()) {
  main > section {
    animation: fadeUp 0.8s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  nav[aria-label="主导航"] {
    gap: 12px;
  }

  nav[aria-label="主导航"] ul {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    padding-top: 4px;
  }

  .search-box {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  body {
    font-size: 15px;
  }

  nav[aria-label="主导航"] {
    padding: 10px 14px;
  }

  .logo a {
    font-size: 1.2rem;
  }

  nav[aria-label="主导航"] ul {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  nav[aria-label="主导航"] ul::-webkit-scrollbar {
    display: none;
  }

  nav[aria-label="主导航"] ul a {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .search-box {
    flex: 1 1 100%;
    order: 4;
    margin-left: 0;
  }

  .search-box input[type="search"] {
    width: 100%;
    flex: 1;
  }

  main {
    padding: 16px 12px 40px;
  }

  main > section {
    padding: 24px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
  }

  #hero {
    padding: 32px 18px;
  }

  #hero p {
    font-size: 0.92rem;
  }

  .banner-carousel figcaption {
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  #news article,
  #articles article {
    padding: 16px 18px;
  }

  #faq dt,
  #faq dd {
    padding: 12px 16px 12px 42px;
    font-size: 0.92rem;
  }

  #howto ol li {
    padding: 14px 16px 14px 54px;
  }

  footer[role="contentinfo"] {
    padding: 32px 16px 20px;
  }

  footer[role="contentinfo"] section {
    padding: 20px 18px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.45rem;
  }

  h2 {
    font-size: 1.25rem;
    padding-left: 14px;
  }

  h2::before {
    width: 4px;
  }

  .top-bar p {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  #sitemap > ul a {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ Print ============ */
@media print {
  header[role="banner"],
  footer[role="contentinfo"],
  .search-box {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
  }
}