:root {
  --bg: #fff8f3;
  --surface: #ffffff;
  --surface-soft: #fff1e9;
  --ink: #231f20;
  --muted: #6f6662;
  --brand: #d83b35;
  --brand-dark: #a82723;
  --line: #eadbd4;
  --accent: #1c7f75;
  --shadow: 0 16px 45px rgba(88, 45, 32, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8f3 0%, #fff 42%, #fff8f3 100%);
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 15px 0; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .02em; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(216,59,53,.25); }
.logo small { display:block; font-weight: 600; color: var(--muted); font-size: 12px; margin-top: -4px; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.nav a { padding: 9px 12px; border-radius: 999px; color: #463d3a; font-weight: 700; font-size: 14px; }
.nav a:hover, .nav a.active { color: var(--brand-dark); background: var(--surface-soft); }
.search-strip { border-top: 1px solid #f4e6df; background: #fffdfb; }
.search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; }
.search-form label { position: absolute; left: -9999px; }
.search-form input { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; font-size: 15px; outline: none; }
.search-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(216,59,53,.08); }
.button, .search-form button { border: 0; border-radius: 16px; background: var(--brand); color: #fff; font-weight: 800; padding: 12px 18px; cursor: pointer; box-shadow: 0 10px 22px rgba(216,59,53,.18); }
.button.secondary { background: #fff; color: var(--brand-dark); border: 1px solid var(--line); box-shadow: none; }
.search-hint { font-size: 13px; color: var(--muted); padding-bottom: 12px; min-height: 24px; }
.hero { padding: 44px 0 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: 28px; align-items: center; }
.eyebrow { color: var(--brand-dark); font-weight: 900; letter-spacing: .08em; font-size: 13px; }
h1, h2, h3 { line-height: 1.22; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.04em; }
h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.025em; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; color: #534946; }
.meta-line, .card-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--muted); font-size: 13px; }
.badge, .tag { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; color: var(--brand-dark); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 800; }
.hero-card, .card, .panel { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.hero-content { padding: 24px; }
.media-frame { position: relative; overflow: hidden; border-radius: 24px; background: #171717; }
.media-frame img, .media-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-frame video { display: block; background: #101010; }
.play-overlay { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; background: rgba(0,0,0,.26); transition: opacity .2s ease; }
.media-frame:hover .play-overlay, .video-card:hover .play-overlay, .video-card:focus-within .play-overlay { opacity: 1; }
.play-button { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--brand); font-size: 30px; box-shadow: 0 18px 32px rgba(0,0,0,.18); }
figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.section { padding: 34px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 18px; }
.section-head p { color: var(--muted); max-width: 680px; }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 18px; box-shadow: none; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(88,45,32,.10); transition: all .18s ease; }
.video-card { padding: 0; }
.video-card .card-body { padding: 16px; }
.video-card h3 { margin-bottom: 8px; }
.stat-row { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 12px; }
.stat-row span { background: #fff8f3; border: 1px solid #f2e4dd; border-radius: 999px; padding: 4px 8px; }
.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.news-item strong { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: var(--brand); }
.topic { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, #fff, #fff1e9); }
.author { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: center; }
.author img { width: 82px; height: 82px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(88,45,32,.12); }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 900; color: var(--brand-dark); }
.comment { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; }
.comment strong { color: var(--brand-dark); }
.cta { background: linear-gradient(135deg, var(--brand), #ef8b58); color: #fff; border-radius: 30px; padding: 28px; box-shadow: var(--shadow); }
.cta p { color: rgba(255,255,255,.9); }
.breadcrumb { color: var(--muted); font-size: 14px; margin: 22px 0 12px; }
.breadcrumb a { color: var(--brand-dark); font-weight: 800; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: min(5vw, 44px); box-shadow: var(--shadow); }
.article-body p, .article-body li { color: #4c4542; font-size: 16px; }
.article-body h2 { margin-top: 30px; }
.article-body ul { padding-left: 22px; }
.sidebar { position: sticky; top: 130px; display: grid; gap: 16px; }
.panel { padding: 18px; box-shadow: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer { margin-top: 40px; padding: 34px 0; background: #231f20; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; }
.site-footer .logo-mark { background: #fff; color: var(--brand); }
.site-footer small, .site-footer p { color: rgba(255,255,255,.72); }
.site-footer a { color: #fff; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.table th, .table td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { background: #fff1e9; color: var(--brand-dark); }
.table tr:last-child td { border-bottom: 0; }
.skip-link { position: absolute; left: -999px; top: 10px; background: #fff; padding: 8px 12px; border-radius: 12px; }
.skip-link:focus { left: 10px; z-index: 99; }
@media (max-width: 920px) {
  .hero-grid, .article-layout, .grid.cols-3, .grid.cols-4, .grid.cols-2, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .nav { justify-content: flex-start; }
  .sidebar { position: static; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 22px, 1180px); }
  .search-form { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; }
  .section-head { display:block; }
}
