/* ==========================================================================
   seoulpopguide.com — shared styles (2026-11)
   Static site: no frameworks, no font CDN, no external images.
   ========================================================================== */

:root {
  --ink: #14101c;
  --ink-2: #3b3446;
  --muted: #6b6478;
  --line: #e7e3ee;
  --line-strong: #cfc8dc;
  --bg: #f8f7fb;
  --surface: #ffffff;
  --brand: #2b1b3d;
  --brand-2: #6d3fa0;
  --brand-soft: #f2ecfa;
  --accent: #ff4d6d;
  --accent-soft: #ffe9ee;
  --mint: #0b7a55;
  --mint-soft: #e6f7f0;
  --amber: #8a5a00;
  --amber-soft: #fff4dc;
  --red: #b42318;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 16, 28, .05), 0 10px 28px rgba(20, 16, 28, .07);
  --shadow-sm: 0 1px 2px rgba(20, 16, 28, .06);
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic",
          "Noto Sans KR", "Segoe UI", Roboto, "Helvetica Neue", Arial,
          -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  overflow-wrap: break-word;
}

img { max-width: 100%; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 750; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(140deg, var(--accent), #b5338c);
  color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -.02em;
  box-shadow: 0 4px 14px rgba(255, 77, 109, .32);
}
.brand-name { font-size: 1.16rem; }
.brand-name em { color: var(--accent); font-style: normal; }
.brand-sub { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .05em; margin-top: -3px; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-2); font-size: .9rem; font-weight: 650; padding: 7px 10px; border-radius: 8px; }
.site-nav a:hover { background: var(--brand-soft); color: var(--brand); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(720px 320px at 88% -10%, rgba(255, 77, 109, .34), transparent 65%),
    radial-gradient(900px 460px at 4% 108%, rgba(109, 63, 160, .55), transparent 62%),
    linear-gradient(145deg, #1a1027 0%, #2b1b3d 52%, #3a2352 100%);
  padding: 58px 0 62px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 78%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  padding: 5px 12px; border-radius: 999px; font-size: .79rem; font-weight: 600;
  color: #f0e9f7; margin-bottom: 18px;
}
.hero h1 { color: #fff; max-width: 20em; }
.hero h1 .hl { color: #ff9aae; }
.hero-lead { color: #d7cde4; font-size: 1.04rem; max-width: 48em; margin-bottom: 26px; }
.hero-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-jump a {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07);
  color: #f3edf9; font-size: .86rem; font-weight: 650; padding: 8px 13px; border-radius: 999px;
}
.hero-jump a:hover { background: rgba(255, 255, 255, .17); text-decoration: none; }
.hero-jump .n { color: #ffb3c1; font-variant-numeric: tabular-nums; }

/* ---------- stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); margin-top: -34px; position: relative; z-index: 2;
}
.stat { padding: 18px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-label { font-size: .78rem; color: var(--muted); font-weight: 650; }
.stat-value { font-size: 1.42rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: 3px; }

/* ---------- generic ---------- */
.section { padding: 50px 0; }
.section.tight { padding: 34px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.section-head p { color: var(--muted); margin: 4px 0 0; max-width: 66ch; }
.eyebrow {
  display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .1em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 6px;
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: clamp(18px, 3vw, 28px); }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .78rem; }
.num { font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  font: inherit; font-weight: 700; padding: 11px 18px; line-height: 1.2;
  background: var(--brand); color: #fff; white-space: nowrap;
}
.btn:hover { background: #1e1230; text-decoration: none; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--brand-soft); border-color: #c9b6e4; color: var(--brand); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #f0395b; }
.btn-sm { padding: 7px 12px; font-size: .84rem; border-radius: 8px; }

/* ---------- pill / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line-strong); color: var(--ink-2); white-space: nowrap;
}
.pill.green { background: var(--mint-soft); border-color: #a9e3cd; color: var(--mint); }
.pill.amber { background: var(--amber-soft); border-color: #f0d6a0; color: var(--amber); }
.pill.gray { background: #f2f0f6; border-color: var(--line-strong); color: var(--muted); }
.pill.blue { background: var(--brand-soft); border-color: #d6c6ee; color: var(--brand-2); }
.pill.pink { background: var(--accent-soft); border-color: #ffc6d2; color: #b01039; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.type-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2);
}

/* ---------- filter bar ---------- */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.filterbar .grp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filterbar .grp + .grp { padding-left: 12px; border-left: 1px solid var(--line); }
.filterbar .lab { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.chip {
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2);
  font: inherit; font-size: .82rem; font-weight: 650; padding: 6px 11px; border-radius: 999px; cursor: pointer;
}
.chip:hover { border-color: var(--brand-2); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-count { font-size: .82rem; color: var(--muted); margin-left: auto; }
.filter-count b { color: var(--ink); }

/* ---------- event grid + cards ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ev-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.ev-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.ev-card a.ev-link { color: inherit; }
.ev-card a.ev-link:hover { text-decoration: none; }

.ev-art {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 128px; padding: 14px 16px; color: #fff; overflow: hidden;
}
.ev-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 16px 16px; opacity: .5;
}
.ev-art > * { position: relative; z-index: 1; }
.ev-art .art-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ev-art .art-ko { font-size: .82rem; font-weight: 700; color: rgba(255, 255, 255, .82); letter-spacing: -.01em; }
.ev-art .art-venue { font-size: .74rem; color: rgba(255, 255, 255, .78); }
.art-popup    { background: linear-gradient(135deg, #ff4d6d 0%, #a4247b 100%); }
.art-exhibition { background: linear-gradient(135deg, #2b1b3d 0%, #65439b 100%); }
.art-festival { background: linear-gradient(135deg, #0f6f7a 0%, #1a9e8f 100%); }
.art-show     { background: linear-gradient(135deg, #3b2a12 0%, #a1731f 100%); }
.dday {
  display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 800;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.dday.soon { background: #fff; color: #b01039; border-color: #fff; }
.dday.new { background: rgba(255,255,255,.92); color: #3a2352; border-color: #fff; }

.ev-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.ev-title { font-size: 1.03rem; font-weight: 780; letter-spacing: -.015em; margin: 0; line-height: 1.32; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .8rem; color: var(--muted); }
.ev-meta .sep { color: var(--line-strong); }
.ev-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.ev-foot { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ev-foot .go { font-size: .82rem; font-weight: 750; color: var(--brand-2); }

.line-dot { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 5px; font-size: .68rem; font-weight: 800; color: #fff; background: #555; font-variant-numeric: tabular-nums; }
.line-2 { background: #00a84d; }
.line-1 { background: #0052a4; }
.line-3 { background: #ef7c1c; }
.line-4 { background: #00a5de; }
.line-5 { background: #996cac; }
.line-6 { background: #cd7c2f; }
.line-7 { background: #747f00; }
.line-8 { background: #e6186c; }
.line-9 { background: #aa9872; }
.line-su { background: #f5a200; color: #2b1b3d; }
.line-ar { background: #0090d2; }
.line-gj { background: #77c4a3; color: #10341f; }

/* ---------- list groups ---------- */
.list-group + .list-group { margin-top: 34px; }
.group-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.group-head h2 { font-size: 1.16rem; margin: 0; }
.group-count {
  font-size: .76rem; font-weight: 800; color: var(--brand-2); background: var(--brand-soft);
  border: 1px solid #ddcdf3; border-radius: 999px; padding: 2px 9px;
}

/* ---------- rows (weekend list) ---------- */
.ev-rows { display: flex; flex-direction: column; gap: 10px; }
.ev-row {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; color: inherit;
}
.ev-row:hover { border-color: var(--brand-2); text-decoration: none; box-shadow: var(--shadow-sm); }
.ev-row .when { font-size: .78rem; font-weight: 750; color: var(--brand-2); white-space: nowrap; }
.ev-row .when span { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.ev-row h3 { font-size: .98rem; margin: 0 0 2px; }
.ev-row .sub { font-size: .8rem; color: var(--muted); }
.ev-row .right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* ---------- detail page ---------- */
.detail-hero { position: relative; color: #fff; padding: 34px 0 30px; overflow: hidden; }
.detail-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 20px 20px; opacity: .55;
}
.detail-hero .wrap { position: relative; z-index: 1; }
.detail-hero .crumbs { color: rgba(255,255,255,.72); }
.detail-hero .crumbs a { color: #fff; }
.detail-hero h1 { color: #fff; margin: 6px 0 8px; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.detail-hero .ko { color: rgba(255,255,255,.8); font-size: .96rem; font-weight: 600; }
.detail-hero .venue { color: rgba(255,255,255,.86); margin: 10px 0 0; font-size: .95rem; }
.detail-hero .hero-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.detail-hero .pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 30px 0 56px; }
.detail-main > section { margin-bottom: 26px; }
.detail-main h2 { font-size: 1.18rem; margin-bottom: 10px; }
.side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }

.paybox { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.paybox-head { padding: 14px 18px; background: var(--brand); color: #fff; font-weight: 750; font-size: .95rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.paybox-head .tiny { color: rgba(255,255,255,.72); font-weight: 600; }
.payrow { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.payrow:last-child { border-bottom: 0; }
.payrow .k { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.payrow .v { color: var(--ink-2); }
.payrow .v b { color: var(--ink); }
.paybox .note { padding: 12px 18px; background: #fbfafd; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); line-height: 1.6; }
.paybox .cta { padding: 14px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.paybox .cta .btn { width: 100%; }
.paybox .cta .small { text-align: center; color: var(--muted); }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kv .cell { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kv .k { font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.kv .v { font-weight: 700; margin-top: 3px; font-size: .95rem; }
.kv .v small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; margin-top: 2px; }

.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.map-links a { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; }
.map-links a:hover { border-color: var(--brand-2); text-decoration: none; }

.note-box { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: .88rem; color: #6b1630; }
.note-box.blue { border-left-color: var(--brand-2); background: var(--brand-soft); color: #33204d; }
.note-box p:last-child { margin-bottom: 0; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* ---------- prose ---------- */
.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-hero h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.page-hero p { color: var(--muted); max-width: 66ch; margin: 0; }
.prose { padding: 40px 0 64px; }
.prose h2 { font-size: 1.28rem; margin-top: 38px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.04rem; margin-top: 22px; }
.prose p, .prose li { color: var(--ink-2); font-size: .95rem; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; margin: 14px 0 22px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; border-collapse: collapse; }
.prose th, .prose td { padding: 9px 12px; font-size: .87rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #f4f1f8; font-weight: 750; }
.prose tr:last-child td { border-bottom: 0; }
.prose .note { font-size: .84rem; color: var(--muted); }
.prose .lead { font-size: 1.04rem; color: var(--ink-2); }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 26px; }
.toc a { display: inline-block; margin: 3px 14px 3px 0; font-size: .87rem; }
.byline { margin: 12px 0 0; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; line-height: 1.6; }
.byline strong { color: var(--ink-2); }
.checklist { padding-left: 0; list-style: none; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--mint); font-weight: 800; }
.sources { font-size: .84rem; color: var(--muted); padding-left: 18px; }
.sources li { margin-bottom: 6px; }
.qa { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.qa .q { font-weight: 750; color: var(--ink); margin: 0 0 4px; }
.qa .a { margin: 0; color: var(--ink-2); font-size: .95rem; }
.table-scroll { overflow-x: auto; }

/* ---------- links / cards ---------- */
.card-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.link-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: inherit; }
.link-card:hover { border-color: var(--brand-2); text-decoration: none; box-shadow: var(--shadow-sm); }
.link-card .k { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.link-card h3 { font-size: 1rem; margin: 6px 0; }
.link-card p { font-size: .86rem; color: var(--muted); margin: 0; }
.link-card .more { font-size: .82rem; font-weight: 750; color: var(--brand-2); margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; margin-top: 20px; padding: 40px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.foot-brand p { font-size: .84rem; color: var(--muted); max-width: 38ch; }
.foot-col h4 { font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.foot-col a { display: block; font-size: .87rem; color: var(--ink-2); padding: 3px 0; }
.foot-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.center-page { min-height: 56vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .related, .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .kv { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
  }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--line-strong);
    border-radius: 10px; background: #fff; cursor: pointer; font-size: 1.05rem;
  }
  .hero { padding: 40px 0 52px; }
  .hero h1 { font-size: 1.82rem; }
  .ev-grid { grid-template-columns: 1fr; }
  .ev-row { grid-template-columns: 1fr; gap: 6px; }
  .ev-row .right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .related, .card-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .payrow { grid-template-columns: 1fr; gap: 2px; }
  .filterbar .grp + .grp { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 8px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
