:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #151922;
  --muted: #667085;
  --line: #e4e7ec;
  --accent: #c0352b;
  --ink: #202837;
  --soft: #f1f3f6;
  --shadow: 0 14px 34px rgba(22, 28, 38, 0.08);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); }
.nav { width: min(1120px, calc(100% - 32px)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--ink); color: #fff; font-size: 13px; }
.nav-links { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 46px 0 28px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 28px; align-items: start; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
h1,h2,h3 { line-height: 1.16; letter-spacing: 0; }
h1 { margin: 10px 0 14px; font-size: clamp(36px, 6vw, 62px); }
h2 { margin: 0 0 16px; font-size: 26px; }
h3 { margin: 0 0 8px; font-size: 19px; }
.lead { max-width: 720px; color: var(--muted); font-size: 18px; }
.ad-slot { min-height: 96px; display: grid; place-items: center; padding: 14px; border: 1px dashed #c9ced8; border-radius: 8px; background: #fbfcfd; color: #98a2b3; font-size: 13px; text-align: center; }
.media-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.media-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-caption { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.video-frame { position: relative; overflow: hidden; border-radius: 8px; background: #111827; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.note { padding: 14px 16px; border-left: 4px solid var(--accent); background: #fff7f6; color: #384152; }
.content-image { margin: 22px 0; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.content-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.section { padding: 28px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card,.category-card,.side-card { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); text-decoration: none; }
.post-card:hover,.category-card:hover { border-color: #d4a09b; }
.meta { color: var(--muted); font-size: 13px; }
.post-card p,.category-card p,.side-card p { margin: 8px 0 0; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 12px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; padding: 34px 0; }
.article { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.article h1 { font-size: clamp(32px, 5vw, 48px); }
.article p { color: #384152; }
.article a { color: #8f261f; font-weight: 700; }
.article ul,.article ol { padding-left: 22px; }
.sidebar { display: grid; gap: 16px; position: sticky; top: 88px; }
.footer { margin-top: 38px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
@media (max-width: 860px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav-links { flex-wrap: wrap; }
  .hero-grid,.layout { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
