:root {
  --brand-primary: #e63946;
  --brand-secondary: #f4a261;
  --brand-accent: #457b9d;
  --gradient-hero: linear-gradient(135deg, #1d3557 0%, #457b9d 40%, #e63946 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  --gradient-btn: linear-gradient(135deg, #e63946, #f4a261);
  --bg-body: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-hover: rgba(255, 255, 255, 0.92);
  --bg-header: rgba(255, 255, 255, 0.82);
  --bg-footer: #17202a;
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-inverse: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 0 24px rgba(230, 57, 70, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
  --glass-blur: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-body: #0d1117;
    --bg-card: rgba(30, 37, 48, 0.72);
    --bg-card-hover: rgba(38, 46, 60, 0.92);
    --bg-header: rgba(13, 17, 23, 0.85);
    --bg-footer: #060a0f;
    --text-primary: #e6edf3;
    --text-secondary: #b0bac5;
    --text-muted: #7d8590;
    --text-inverse: #0d1117;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 24px rgba(230, 57, 70, 0.35);
    --gradient-card: linear-gradient(145deg, rgba(30,37,48,0.9), rgba(20,26,35,0.6));
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-body);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(69, 123, 157, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(230, 57, 70, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--brand-primary);
}

a:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

ul, ol {
  list-style: none;
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

#site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

#site-header nav > a {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: transform var(--transition-fast);
}

#site-header nav > a:hover {
  transform: scale(1.04);
}

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

#site-header nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

#site-header nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-btn);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition-smooth);
}

#site-header nav ul li a:hover {
  color: var(--brand-primary);
  background: rgba(230, 57, 70, 0.06);
}

#site-header nav ul li a:hover::after {
  width: 60%;
}

#site-header nav button {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-inverse);
  background: var(--gradient-btn);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#site-header nav button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-glow);
}

#site-header nav button:active {
  transform: translateY(0) scale(0.98);
}

/* ============ MAIN ============ */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ============ HERO ============ */
#hero {
  position: relative;
  margin: 32px 0;
  padding: 80px 48px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(244,162,97,0.2) 0%, transparent 45%);
  z-index: -1;
}

#hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  animation: floatOrb 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}

#hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

#hero p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.85;
  max-width: 800px;
  opacity: 0.95;
  animation: fadeInUp 0.8s 0.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ BREADCRUMB ============ */
nav[aria-label="面包屑导航"] {
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

nav[aria-label="面包屑导航"] ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-muted);
  opacity: 0.5;
}

nav[aria-label="面包屑导航"] ol li a {
  color: var(--brand-accent);
  font-weight: 500;
}

nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--brand-primary);
}

/* ============ SECTIONS ============ */
main > section {
  margin-bottom: 40px;
  padding: 40px 36px;
  background: var(--bg-card);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), background var(--transition-smooth);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

main > section h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  position: relative;
  letter-spacing: -0.01em;
}

main > section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--gradient-btn);
  border-radius: 4px;
}

main > section h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
  padding-left: 16px;
  position: relative;
}

main > section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 4px;
  height: 1em;
  background: var(--gradient-btn);
  border-radius: 2px;
}

main > section p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.975rem;
  line-height: 1.85;
}

main > section p:last-child {
  margin-bottom: 0;
}

/* ============ ARTICLES ============ */
#news article,
#articles article {
  padding: 24px 28px;
  margin-bottom: 20px;
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-btn);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-smooth);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
  border-color: rgba(230, 57, 70, 0.2);
}

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

#news article h3,
#articles article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  padding-left: 0;
  transition: color var(--transition-fast);
}

#news article h3::before,
#articles article h3::before {
  display: none;
}

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

#news article time,
#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding: 3px 12px;
  background: rgba(69, 123, 157, 0.1);
  border-radius: 50px;
  font-weight: 500;
}

#news article p,
#articles article p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

#news article a,
#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  padding: 6px 0;
  transition: gap var(--transition-fast);
}

#news article a::after,
#articles article a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

#news article a:hover,
#articles article a:hover {
  gap: 10px;
}

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

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 12px;
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

#faq details:hover {
  border-color: rgba(230, 57, 70, 0.25);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

#faq details summary {
  padding: 18px 24px;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color var(--transition-fast), background var(--transition-fast);
  user-select: none;
  position: relative;
}

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

#faq details summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--brand-primary);
  background: rgba(230, 57, 70, 0.08);
  border-radius: 50%;
  transition: transform var(--transition-smooth), background var(--transition-fast);
}

#faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(230, 57, 70, 0.15);
}

#faq details summary:hover {
  color: var(--brand-primary);
  background: rgba(230, 57, 70, 0.04);
}

#faq details p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.85;
  animation: fadeInUp 0.3s ease both;
}

/* ============ HOWTO ============ */
#howto ol {
  counter-reset: step;
  padding-left: 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 20px 14px 64px;
  margin-bottom: 12px;
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-btn);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
  transition: transform var(--transition-fast);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(230, 57, 70, 0.2);
  background: var(--bg-card-hover);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.1);
}

/* ============ CONTACT ============ */
#contact p {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#contact p:last-child {
  border-bottom: none;
}

#contact p::before {
  content: "◆";
  color: var(--brand-primary);
  font-size: 0.7rem;
  line-height: 2;
}

/* ============ SITEMAP & LINKS ============ */
#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 12px 18px;
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: all var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #ffffff;
  background: var(--gradient-btn);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ============ LEGAL ============ */
#legal h2 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

#legal h2:first-child {
  margin-top: 0;
}

#legal h2::after {
  width: 36px;
  height: 3px;
}

#legal p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============ EEAT ============ */
#eeat {
  background: linear-gradient(135deg, rgba(69, 123, 157, 0.08), rgba(230, 57, 70, 0.06));
  border: 1px solid rgba(69, 123, 157, 0.15);
}

#eeat p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 6px 0;
}

/* ============ FOOTER ============ */
footer {
  background: var(--bg-footer);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 20px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-btn);
}

footer > p {
  max-width: var(--max-width);
  margin: 0 auto 8px;
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.7;
}

footer nav {
  max-width: var(--max-width);
  margin: 24px auto 0;
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

footer nav ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
  position: relative;
}

footer nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-btn);
  transition: width var(--transition-smooth);
}

footer nav ul li a:hover {
  color: #ffffff;
}

footer nav ul li a:hover::after {
  width: 100%;
}

/* ============ SCROLL ANIMATIONS ============ */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main > section {
  animation: revealUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

main > section:nth-child(1) { animation-delay: 0.05s; }
main > section:nth-child(2) { animation-delay: 0.1s; }
main > section:nth-child(3) { animation-delay: 0.15s; }
main > section:nth-child(4) { animation-delay: 0.2s; }
main > section:nth-child(5) { animation-delay: 0.25s; }
main > section:nth-child(6) { animation-delay: 0.3s; }
main > section:nth-child(7) { animation-delay: 0.35s; }
main > section:nth-child(8) { animation-delay: 0.4s; }
main > section:nth-child(9) { animation-delay: 0.45s; }
main > section:nth-child(10) { animation-delay: 0.5s; }
main > section:nth-child(11) { animation-delay: 0.55s; }
main > section:nth-child(12) { animation-delay: 0.6s; }

/* ============ SELECTION ============ */
::selection {
  background: rgba(230, 57, 70, 0.25);
  color: var(--text-primary);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-accent), var(--brand-primary));
  border-radius: 10px;
  border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  #site-header nav ul li a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  #hero {
    padding: 64px 36px;
  }

  main > section {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  #site-header nav {
    flex-wrap: wrap;
    padding: 12px 16px;
    height: auto;
    gap: 10px;
  }

  #site-header nav > a {
    font-size: 1.1rem;
  }

  #site-header nav ul {
    order: 3;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 2px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #site-header nav ul::-webkit-scrollbar {
    display: none;
  }

  #site-header nav ul li a {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  #site-header nav button {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  main {
    padding: 0 14px 60px;
  }

  #hero {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
    margin: 20px 0;
  }

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

  main > section h2 {
    font-size: 1.25rem;
    margin-bottom: 18px;
  }

  main > section h3 {
    font-size: 1.05rem;
    margin-top: 22px;
  }

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

  #faq details summary {
    padding: 15px 18px;
    font-size: 0.9rem;
  }

  #faq details p {
    padding: 0 18px 16px;
    font-size: 0.875rem;
  }

  #howto ol li {
    padding: 12px 16px 12px 56px;
    font-size: 0.9rem;
  }

  #howto ol li::before {
    left: 12px;
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  footer {
    padding: 36px 16px;
  }

  footer nav ul {
    gap: 8px 16px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  #hero {
    padding: 36px 18px;
    border-radius: var(--radius-md);
  }

  #hero h1 {
    font-size: 1.5rem;
  }

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

  main > section {
    padding: 20px 16px;
  }

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

  #news article h3,
  #articles article h3 {
    font-size: 1rem;
  }

  #contact p {
    font-size: 0.875rem;
  }

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

/* ============ 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 {
  #site-header,
  footer,
  #hero::after,
  #hero::before {
    display: none;
  }

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

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