:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --primary-light: #4a9eff;
  --accent: #ffd166;
  --accent-2: #ff6b9d;
  --accent-3: #7c4dff;
  --bg: #f6f8fc;
  --bg-alt: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --text: #1f2430;
  --text-soft: #4a5264;
  --text-muted: #7a8296;
  --border: rgba(31, 36, 48, 0.1);
  --shadow-sm: 0 2px 8px rgba(26, 115, 232, 0.08);
  --shadow-md: 0 8px 28px rgba(26, 115, 232, 0.12);
  --shadow-lg: 0 18px 48px rgba(26, 115, 232, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 68px;
  --max-w: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --primary: #4a9eff;
  --primary-dark: #1a73e8;
  --primary-light: #79b8ff;
  --accent: #ffd166;
  --accent-2: #ff6b9d;
  --accent-3: #b39dff;
  --bg: #0e1420;
  --bg-alt: #151d2c;
  --bg-elevated: rgba(21, 29, 44, 0.72);
  --text: #e8edf6;
  --text-soft: #b4bfd4;
  --text-muted: #8492ab;
  --border: rgba(232, 237, 246, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(26, 115, 232, 0.08), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(255, 107, 157, 0.07), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(124, 77, 255, 0.06), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

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

a:hover,
a:focus-visible {
  color: var(--primary-dark);
}

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

h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin: 2.4rem 0 1rem; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); margin: 1.6rem 0 0.7rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.4rem;
  border-left: 4px solid var(--primary);
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-soft);
  font-style: italic;
}

blockquote p:last-child { margin-bottom: 0; }

::selection {
  background: rgba(26, 115, 232, 0.22);
  color: var(--text);
}

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

.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;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-elevated);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 800;
}

.brand:hover { color: var(--text); }

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 8px 22px rgba(26, 115, 232, 0.45);
}

.brand-name {
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--primary), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav li { margin: 0; }

.main-nav a {
  display: inline-block;
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  background: rgba(26, 115, 232, 0.1);
  transform: translateY(-1px);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.14);
}

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

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

.site-search button {
  padding: 9px 18px;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.25s var(--ease);
}

.site-search button:hover { filter: brightness(1.08); }

.theme-toggle,
.menu-toggle {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-soft);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(26, 115, 232, 0.08);
  transform: translateY(-1px);
}

.menu-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: var(--max-w);
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -28px 0 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(26, 115, 232, 0.22), transparent 60%),
    radial-gradient(ellipse at 90% 10%, rgba(255, 107, 157, 0.18), transparent 55%),
    radial-gradient(ellipse at 60% 90%, rgba(124, 77, 255, 0.16), transparent 60%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 52px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #1a73e8 0%, #4a9eff 45%, #7c4dff 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero-slider::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.35);
  filter: blur(30px);
  z-index: -1;
}

.hero-slider::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  bottom: -110px;
  left: -60px;
  border-radius: 50%;
  background: rgba(255, 107, 157, 0.32);
  filter: blur(34px);
  z-index: -1;
}

.slide {
  display: none;
  animation: slideFade 0.7s var(--ease);
}

.slide.active { display: block; }

.slide-title {
  color: #fff;
  font-size: clamp(1.4rem, 3.4vw, 2.15rem);
  margin: 0 0 0.8rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.slide-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  max-width: 46ch;
  margin: 0;
}

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

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: clamp(28px, 4vw, 52px);
  display: flex;
  gap: 9px;
  z-index: 2;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.slider-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slider-dots button[aria-current="true"] {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(26, 115, 232, 0.1), rgba(124, 77, 255, 0.08));
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stat:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--primary), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}

/* ============ BREADCRUMB / ANCHOR NAV ============ */
.breadcrumb {
  max-width: var(--max-w);
  margin: 26px auto 0;
  padding: 0 20px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li { margin: 0; }

.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--primary); }

.anchor-nav {
  max-width: var(--max-w);
  margin: 18px auto 0;
  padding: 0 20px;
}

.anchor-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px;
  list-style: none;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.anchor-nav li { margin: 0; }

.anchor-nav a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  background: rgba(26, 115, 232, 0.07);
  transition: all 0.28s var(--ease);
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent-3));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3);
}

/* ============ SECTIONS ============ */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px 20px 20px;
}

.section > h1,
.section > h2 {
  position: relative;
  padding-left: 18px;
}

.section > h1::before,
.section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), var(--accent-3), var(--accent-2));
}

.section h2,
.post-card,
.faq-list details {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.section h2.revealed,
.post-card.revealed,
.faq-list details.revealed {
  opacity: 1;
  transform: translateY(0);
}

.section p,
.section li {
  color: var(--text-soft);
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: var(--text) !important;
  line-height: 1.85;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ============ POST CARDS ============ */
.post-card {
  position: relative;
  margin: 18px 0;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-3), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 115, 232, 0.3);
}

.post-card:hover::before { transform: scaleX(1); }

.post-card h3 {
  margin-top: 0;
  transition: color 0.3s var(--ease);
}

.post-card:hover h3 { color: var(--primary); }

.post-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s var(--ease);
}

.read-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.read-more:hover { gap: 10px; }
.read-more:hover::after { transform: translateX(3px); }

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list details {
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.faq-list details:hover {
  border-color: rgba(26, 115, 232, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-list details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.28s var(--ease), background 0.28s var(--ease);
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(26, 115, 232, 0.1);
  transition: all 0.35s var(--ease);
}

.faq-list details[open] summary {
  color: var(--primary);
  background: rgba(26, 115, 232, 0.06);
}

.faq-list details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent-3));
}

.faq-list details p {
  margin: 0;
  padding: 4px 20px 18px;
  color: var(--text-soft);
  animation: faqFade 0.4s var(--ease);
}

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

/* ============ CONTACT ============ */
.contact-block {
  font-style: normal;
  margin: 18px 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-block p {
  margin: 0 0 0.6rem;
  color: var(--text-soft);
}

.contact-block p:last-child { margin-bottom: 0; }

.contact-block a {
  font-weight: 600;
  border-bottom: 1px dashed rgba(26, 115, 232, 0.4);
  transition: border-color 0.25s var(--ease);
}

.contact-block a:hover { border-color: var(--primary); }

/* ============ LISTS (sitemap / friend links) ============ */
.sitemap-list,
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.sitemap-list li,
.friend-links li { margin: 0; }

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.28s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent-3));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.28);
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 60px;
  padding: 40px 20px;
  background: linear-gradient(160deg, rgba(26, 115, 232, 0.1), rgba(124, 77, 255, 0.08));
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer-inner p {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-inner p:first-child {
  font-weight: 600;
  color: var(--text-soft);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent-3));
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s var(--ease);
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.06);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 140px;
  }

  .site-search input[type="search"] { width: 140px; }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 10px;
  }

  .brand { flex: 1; }

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

  .site-search {
    order: 5;
    width: 100%;
  }

  .site-search input[type="search"] {
    flex: 1;
    width: auto;
  }

  .main-nav {
    order: 6;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
  }

  .main-nav.open {
    max-height: 520px;
    opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 4px;
  }

  .main-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }

  .hero {
    margin-top: 18px;
  }

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

  .section {
    padding: 32px 16px 16px;
  }

  .breadcrumb,
  .anchor-nav,
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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

  .brand-name { font-size: 1rem; }

  .theme-toggle,
  .menu-toggle {
    padding: 7px 12px;
    font-size: 0.78rem;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat {
    flex: 1 1 auto;
    width: 100%;
  }

  .anchor-nav ul {
    gap: 6px;
    padding: 10px;
  }

  .anchor-nav a {
    padding: 5px 11px;
    font-size: 0.78rem;
  }

  .post-card {
    padding: 18px;
  }

  .contact-block {
    padding: 18px;
  }

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

  blockquote {
    padding: 0.8rem 1rem;
  }
}

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

  .section h2,
  .post-card,
  .faq-list details {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero,
  .anchor-nav,
  .breadcrumb,
  .back-to-top,
  .site-footer {
    display: none !important;
  }

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

  .section h2,
  .post-card,
  .faq-list details {
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .faq-list details { break-inside: avoid; }
}