/* Festival timetable. Local Korean text faces and condensed Latin date numerals. */
@font-face { font-family:"Festa Sans KR"; src:url("/fonts/ibm-plex-sans-kr/regular-12cc81ac2ac31dd571f1b6f2a46a2895.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Festa Sans KR"; src:url("/fonts/ibm-plex-sans-kr/semibold-a0d5da7758190b7f02167706e24d5fa4.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Barlow Board"; src:url("/fonts/barlow-condensed/bold-f599739e94768bec57f6899c422a5119.ttf") format("truetype"); font-weight:700; font-style:normal; font-display:swap; }
:root {
  color-scheme: light;
  --paper:#f7f6f1; --paper-2:#ecece4; --card:#fffeFA; --ink:#1c211f; --ink-2:#3e463f; --ink-3:#555b54;
  --rule:#a6aaa0; --rule-soft:#d0d1c7; --map-land:#b7c3b4; --accent:#aa2e1b; --accent-soft:#ffeddf; --accent-ink:#fff;
  --field:#fff; --field-line:#73786e; --forest:#222824; --forest-deep:#191f1b; --on-forest:#f8f6e8; --forest-rule:#7c8175;
  --notice:#704400; --notice-bg:#fff0c8; --error:#8a2918; --error-bg:#fbe2d7;
  --t-festival:#993521; --t-market:#486842; --t-concert:#344d81; --t-exhibition:#75511a; --t-sports:#21605d; --t-other:#50534b;
  --board:#ed4e31; --signal:#ffcc58; --chalk:#f9f8ef; --focus:#175aab;
  --max:1290px; --gutter:clamp(16px,4.35vw,76px); --head:68px; --sec:48px;
  --sans:"Apple SD Gothic Neo","Malgun Gothic","Festa Sans KR",system-ui,sans-serif; --display:var(--sans);
  --numerals:"Barlow Board","Arial Narrow",var(--sans); --serif:var(--numerals);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
h1, h2, h3 { min-width: 0; overflow-wrap: break-word; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline 1px var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* sr-only 를 품는 요소는 기준 위치가 돼야 해요 — 아니면 가로 스크롤 줄 밖에서 문서 폭을 늘려요 */
.chip, .ev, .field, .tripbar, .exportbar { position: relative; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
/* Newsreader 는 300–500 굵기만 있어 b · strong 안에서 가짜 굵기(번짐)가 생기지 않게 합성을 끈다 */
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; font-synthesis: none; }
b.num, strong.num, h1 .num, h2 .num, h3 .num, .kicker .num { font-weight: 500; }
.latin { font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--ink-3)); flex: none; }
.t-festival { --c: var(--t-festival); } .t-market { --c: var(--t-market); } .t-concert { --c: var(--t-concert); }
.t-exhibition { --c: var(--t-exhibition); } .t-sports { --c: var(--t-sports); } .t-other { --c: var(--t-other); }
main { display: block; min-height: 50vh; }

/* Masthead and native navigation disclosure */
.site-head { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-head .wrap, .head-tools { display: flex; align-items: center; }
.site-head .wrap { min-height: var(--head); gap: clamp(1rem, 3.8vw, 3.5rem); }
.brand { display: inline-flex; align-items: center; color: var(--ink); min-height: var(--head); }
.brand svg { width: auto; height: 36px; }
.loop { fill: var(--accent); }
.nav { display: none; }
.head-tools { margin-left: auto; gap: clamp(.85rem, 1.8vw, 1.6rem); }
.head-more { position: relative; }
.head-more summary, .nav a, .plan-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: .9375rem; font-weight: 640; text-decoration: none; white-space: nowrap; }
.head-more summary { cursor: pointer; gap: .55rem; list-style: none; }
.head-more summary::-webkit-details-marker { display:none; }
.head-more summary::after { content: ''; width: .43rem; height: .43rem; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.head-more[open] summary::after { transform: translateY(2px) rotate(225deg); }
.head-more nav { position: absolute; z-index: 1; width: min(295px, 80vi); right: -80px; top: 100%; padding: 14px 18px; border: 1px solid var(--ink); background: var(--card); }
.head-more ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.head-more a { display: flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
.head-more a:hover, .head-more summary:hover, .nav a:hover { color: var(--accent); }
.plan-link { color: var(--on-forest); background: var(--forest); min-height: 40px; padding: 0 16px; border-radius: 4px; }
.plan-link:hover { background: var(--forest-deep); }
@media (min-width: 760px) {
  .site-head { position: sticky; top: 0; }
  html { scroll-padding-top: calc(var(--head) + 18px); }
  .nav { display: block; }
  .nav ul { display: flex; gap: clamp(16px, 2.8vw, 38px); }
  .nav a { min-height: var(--head); color: var(--ink-2); border-bottom: 2px solid transparent; }
  .nav a[aria-current="page"] { border-color: var(--accent); color: var(--ink); }
  .head-more nav { right: 0; }
  .brand svg { height: 42px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--paper-2); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--ink-2); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { filter: brightness(1.06); background: var(--accent); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.ext::after { content: "↗"; font-size: .9em; margin-left: 2px; }

/* trip search form */
.search { display: grid; gap: 12px; padding: 16px; background: var(--card); border: 1px solid var(--rule); border-radius: 5px; }
.search__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field select, .field input { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--field-line); border-radius: 4px; background: var(--field); color: var(--ink); font: inherit; font-size: 16px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[type="search"] { -webkit-appearance: none; appearance: none; }
.field input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.choices { display: grid; gap: 10px; margin-top: 14px; }
.choices p { font-size: 14px; color: var(--ink-2); }
.jump { margin-top: 18px; }
.jump p { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.jump .chip .num { color: var(--accent); font-size: 15px; }
.search__hint { font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; max-width: 100%; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.35; text-decoration: none; white-space: nowrap; }
/* 줄 하나보다 긴 칩(예: '12월 31일 새해맞이 · 카운트다운 · 불꽃놀이')만 글자를 접는다. 숫자는 떼지 않는다 */
.chips .chip { white-space: normal; }
.chip .num, .chip b { white-space: nowrap; flex: none; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-current="true"], .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* 칩 줄은 모든 폭에서 줄을 바꿔 다 보이게 한다 (가로 스크롤이면 화면 끝 칩 글자가 잘려 보임) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; }
/* 작은 화면에서도 현지 날짜의 연·월·일이 네이티브 입력칸 안에서 잘리지 않게 한다. */
@media (max-width: 479px) { .search__row { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 768px) {
  .search { padding: 20px; }
}
@media (min-width: 1024px) {
  .search { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 14px; }
  .search__row { display: contents; }
  .search .btn { min-width: 168px; }
  .search__hint { grid-column: 1 / -1; }
}

/* notices */
.note { margin-top: 14px; padding: 12px 14px; border-radius: 4px; font-size: 14px; line-height: 1.55; background: var(--notice-bg); color: var(--notice); }
.note--error { background: var(--error-bg); color: var(--error); }

/* home hero */
.hero { padding: 28px 0 8px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); }
.hero h1 { font-size: 30px; line-height: 1.3; font-weight: 750; letter-spacing: -0.035em; }
.hero h1 .tone { display: block; color: var(--ink-3); font-weight: 650; }
.lede { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 36em; }
.hero .search { margin-top: 22px; }
.hero__cta { margin-top: 18px; }
.hero--home { padding-bottom: 0; }
@media (min-width: 768px) { .hero { padding-top: 48px; } .hero h1 { font-size: 42px; } .lede { font-size: 18px; } }
@media (min-width: 1024px) { .hero { padding-top: 72px; } .hero h1 { font-size: 52px; } .hero .search { margin-top: 32px; } }

/* sections */
.sec { padding-top: var(--sec); }
.sec__head { display: grid; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); margin-bottom: 18px; }
.sec__head h2 { font-size: 23px; line-height: 1.3; font-weight: 750; letter-spacing: -0.03em; }
.sec__head h2 .num { color: var(--accent); font-weight: 400; margin-left: 4px; }
.sec__dek { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.sec__aside { font-size: 14px; }
.atlas__dek { margin: -6px 0 16px; }
@media (min-width: 768px) {
  .sec__head { margin-bottom: 24px; }
  .sec__head h2 { font-size: 30px; }
}
@media (min-width: 1024px) {
  .sec__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 32px; }
  /* 제목·설명은 늘 왼쪽 칸. 설명이 오른쪽 auto 칸으로 가면 긴 설명이 그 칸을 다 차지해
     제목 칸이 0px 이 되고 제목이 한 글자씩 세로로 쌓였다 */
  .sec__head > :not(.sec__aside) { grid-column: 1; }
  .sec__head--solo { grid-template-columns: minmax(0, 1fr); }
  .sec__aside { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

/* month header + picker */
.month { display: grid; gap: 18px; }
.month__mark { display: flex; align-items: flex-end; gap: 14px; min-width: 0; }
.month__num { font-family: var(--serif); font-weight: 300; font-size: 72px; line-height: .8; letter-spacing: -0.04em; font-variant-numeric: lining-nums; }
.month__cap { display: grid; gap: 2px; padding-bottom: 4px; min-width: 0; }
.month__cap b { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; }
.month__cap span { font-size: 14px; color: var(--ink-2); }
/* 달 선택: 펼친 달 목록은 가운데 칸이 아니라 picker 전체 폭에 맞춘다 (좁은 화면에서 목록이 화면 밖으로 나가지 않게) */
.picker { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch; border-block: 1px solid var(--ink); max-width: 520px; }
.picker > a, .picker summary { display: flex; align-items: center; gap: 6px; min-height: 48px; text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.picker > a { padding-inline: 4px; color: var(--ink-2); }
.picker > a:hover { color: var(--ink); }
.picker > a:last-child { justify-content: flex-end; }
.picker details { border-inline: 1px solid var(--rule); margin-inline: 12px; }
.picker summary { justify-content: center; list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; padding-inline: 10px; }
.picker summary::-webkit-details-marker { display: none; }
.picker summary::after { content: ""; width: 7px; height: 7px; margin-left: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.picker details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.months { position: absolute; z-index: 15; top: calc(100% + 1px); left: 0; right: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); background: var(--card); border: 1px solid var(--ink); }
.months a { padding: 12px 6px; text-align: center; font-size: 14px; text-decoration: none; border-top: 1px solid var(--rule-soft); white-space: nowrap; }
.months a:hover { background: var(--paper-2); }
.months a[aria-current="page"] { font-weight: 700; color: var(--accent); }
@media (min-width: 768px) {
  /* 큰 숫자·제목 칸이 남는 폭을 쓰고 달 선택은 정해진 폭을 지킨다.
     (예전처럼 제목 칸이 auto 면 '두브로브니크' 같은 긴 제목이 달 선택을 99px 로 눌러 글자가 쪼개졌다) */
  .month { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; }
  .month__num { font-size: 104px; }
  .month .picker { justify-self: end; width: clamp(272px, 36vw, 520px); }
}

/* type count strip */
.toc ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); margin-top: 22px; }
.toc li { border-bottom: 1px solid var(--rule); }
.toc li:not(:nth-child(3n)) { border-right: 1px solid var(--rule); }
.toc a, .toc span.cell { display: grid; gap: 2px; padding: 12px 12px 14px; text-decoration: none; min-height: 44px; }
.toc a:hover { background: var(--paper-2); }
.toc__n { font-size: 32px; font-weight: 300; line-height: 1; }
.toc__l { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.toc .is-zero .toc__n { color: var(--ink-3); }
@media (min-width: 768px) {
  .toc ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .toc li { border-right: 1px solid var(--rule); }
  .toc li:last-child { border-right: 0; }
  .toc a, .toc span.cell { padding: 16px 18px; }
  .toc__n { font-size: 40px; }
}

/* city map + country list (홈). 지도는 서버가 그린 SVG — 넓은 화면은 이름표, 좁은 화면은 숫자 동그라미 */
.atlas { display: grid; gap: 20px; }
.atlas__map { margin: 0; }
.eumap { display: block; width: 100%; height: auto; overflow: hidden; }
.eumap a { text-decoration: none; }
.eumap--wide { display: none; }
.eumap__land { fill: none; stroke: var(--map-land); stroke-width: 3.6; stroke-linecap: round; }
.eumap__lead { stroke: var(--ink-3); stroke-width: 1; }
.eumap--narrow .eumap__lead { stroke-width: 2; }
.eumap__dot { fill: var(--ink); }
.eumap__dot.is-zero { fill: var(--ink-3); }
.mk__box { fill: var(--card); stroke: var(--rule); stroke-width: 1; }
.mk.is-zero .mk__box { fill: var(--paper-2); stroke: var(--rule-soft); }
.mk__name { font-size: 14px; font-weight: 650; fill: var(--ink); letter-spacing: 0; }
.mk.is-zero .mk__name { fill: var(--ink-3); font-weight: 500; }
.mk__n { font-size: 14px; font-weight: 750; fill: var(--accent); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.eumap--narrow .mk__box { stroke-width: 2; }
.eumap--narrow .mk__name, .eumap--narrow .mk__n { font-size: 25px; }
.atlas__cap { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
.atlas__cap--wide { display: none; }
@media (hover: hover) {
  .mk:hover .mk__box { stroke: var(--accent); stroke-width: 1.5; }
  .ev:hover .ev__title, .country__cities a:hover span { text-decoration: underline 1px var(--accent); text-underline-offset: 4px; }
}
.atlas__list { border-top: 1px solid var(--rule); }
.country { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 2px 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.country__name { display: flex; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.country__name .num { font-size: 13px; font-weight: 400; color: var(--ink-3); }
.country__cities { display: flex; flex-wrap: wrap; gap: 0 16px; }
.country__cities a { display: inline-flex; align-items: baseline; gap: 5px; min-height: 30px; padding-top: 3px; color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 650; letter-spacing: -0.02em; }
.country__cities b { font-size: 17px; font-weight: 400; color: var(--accent); }
.country__cities .is-zero { color: var(--ink-3); font-weight: 500; }
@media (min-width: 640px) {
  .eumap--wide { display: block; }
  .eumap--narrow { display: none; }
  .atlas__cap--wide { display: inline; }
  .atlas__cap--narrow { display: none; }
  .atlas__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-content: start; }
}
@media (min-width: 1024px) {
  .atlas { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .atlas__map { position: sticky; top: calc(var(--head) + 16px); }
  .atlas__list { grid-template-columns: minmax(0, 1fr); }
}

/* event rows */
.evs { border-top: 1px solid var(--ink); }
.evs > li { border-bottom: 1px solid var(--rule-soft); }
.ev { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); column-gap: 14px; padding: 14px 0 15px; text-decoration: none; color: var(--ink); }
.ev__date { display: grid; align-content: start; gap: 2px; }
.ev__date b { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--accent); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.ev__date small { font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.ev__main { display: grid; gap: 2px; min-width: 0; }
.ev__city { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ev__title { font-size: 16px; line-height: 1.45; font-weight: 650; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.ev__main > * { min-width: 0; }
.overlap, .ev__city { overflow-wrap: anywhere; }
.ev__orig { font-family: var(--serif); font-size: 14.5px; line-height: 1.4; color: var(--ink-3); letter-spacing: 0; overflow-wrap: anywhere; }
.ev__meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border: 1px solid var(--rule); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.6; }
.tag--free { border-color: var(--t-market); color: var(--t-market); }
.tag--book { border-color: var(--accent); color: var(--accent); }
.tag--cancel { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ev--check { grid-template-columns: 2rem 6.2rem minmax(0, 1fr); }
.ev--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.pick { display: flex; align-items: flex-start; justify-content: center; margin: -12px -6px -12px -12px; padding: 12px 6px 12px 12px; cursor: pointer; }
@media (min-width: 768px) { .ev--check > .pick { grid-column: 1; grid-row: 1; } }
@media (min-width: 768px) {
  .ev { grid-template-columns: 10rem 6.5rem minmax(0, 1fr); column-gap: 20px; padding: 16px 0 17px; }
  .ev--check { grid-template-columns: 2rem 10rem 6.5rem minmax(0, 1fr); }
  .ev > .ev__date { grid-column: 1; grid-row: 1; }
  .ev > .ev__city--col { grid-column: 2; grid-row: 1; padding-top: 3px; font-size: 14px; }
  .ev > .ev__main { grid-column: 3; grid-row: 1; }
  .ev--check > .pick { grid-column: 1; grid-row: 1; }
  .ev--check > .ev__date { grid-column: 2; }
  .ev--check > .ev__city--col { grid-column: 3; }
  .ev--check > .ev__main { grid-column: 4; }
  .ev__main .ev__city { display: none; }
  .ev__date b { font-size: 19px; white-space: nowrap; }
  .ev__title { font-size: 17px; }
}
.ev--nocity { grid-template-columns: 6.2rem minmax(0, 1fr); }
.ev--check.ev--nocity { grid-template-columns: 2rem 6.2rem minmax(0, 1fr); }
@media (min-width: 768px) {
  .ev.ev--nocity { grid-template-columns: 10rem minmax(0, 1fr); }
  .ev.ev--nocity > .ev__main { grid-column: 2; }
  .ev--check.ev--nocity { grid-template-columns: 2rem 10rem minmax(0, 1fr); }
  .ev--check.ev--nocity > .ev__main { grid-column: 3; }
}
a.ev__title { text-decoration: none; }
a.ev__title:hover { text-decoration: underline 1px var(--accent); text-underline-offset: 4px; }
.ev__city--col { display: none; }
@media (min-width: 768px) { .ev__city--col { display: block; } }

/* type preview blocks */
.tblock { padding-top: 28px; }
.tblock__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 10px; }
.tblock__head h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 750; letter-spacing: -0.03em; }
.tblock__head .num { font-size: 21px; color: var(--ink-3); }
.tblock__more { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sub { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.sub small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.sub + .evs { border-top: 0; }
@media (min-width: 1200px) {
  .tblock { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 40px; padding-top: 36px; }
  .tblock__head { position: sticky; top: calc(var(--head) + 24px); align-self: start; flex-direction: column; align-items: flex-start; padding: 0; }
  .tblock__head h3 { font-size: 26px; }
  .tblock__head .num { font-size: 56px; font-weight: 300; line-height: 1; color: var(--ink); }
  .tblock__more { margin-left: 0; }
}

/* season card */
.season { display: grid; gap: 6px; margin-top: 28px; padding: 20px; border: 1px solid var(--ink); border-radius: 5px; text-decoration: none; background: var(--card); }
.season strong { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; }
.season span { font-size: 14.5px; color: var(--ink-2); }
.season:hover { background: var(--paper-2); }
@media (min-width: 768px) { .season { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 24px 28px; } .season strong { font-size: 24px; } .season .arrow { grid-row: 1 / span 2; grid-column: 2; font-size: 26px; } }

/* page heads (city, month, theme, trip) */
.crumbs { padding-top: 6px; font-size: 13px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 8px; }
.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--rule); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline 1px var(--accent); }
.page-head { padding: 12px 0 8px; }
.month__cap h1 { font-size: 20px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.3; }
.page-head h1 { font-size: 28px; line-height: 1.3; font-weight: 750; letter-spacing: -0.035em; }
.page-head .lede { margin-top: 8px; }
@media (min-width: 768px) { .page-head { padding-top: 24px; } .page-head h1 { font-size: 40px; } }

/* day groups */
.day { padding-top: 22px; }
.day h2, .day h3 { position: sticky; top: 0; z-index: 5; display: flex; align-items: baseline; gap: 10px; padding: 10px 0 8px; background: var(--paper); border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 750; }
.day h2 .num, .day h3 .num { font-size: 20px; font-weight: 400; color: var(--accent); }
.day h2 small, .day h3 small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.day h2 + .evs, .day h3 + .evs { border-top: 0; }
@media (min-width: 900px) { .day h2, .day h3 { top: var(--head); } }
.empty { padding: 18px 0 20px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule-soft); font-size: 15px; color: var(--ink-2); }
.empty a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--ink); }

/* trip results */
.tripbar { position: sticky; top: 0; z-index: 12; min-height: 44px; margin: 16px calc(-1 * var(--gutter)) 0; padding: 8px var(--gutter); display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); font-size: 14px; }
.tripbar b { font-weight: 700; }
.tripbar a:focus-visible { outline-color: var(--paper); }
.tripbar a { margin-left: auto; color: var(--paper); font-weight: 600; text-decoration-color: var(--accent); white-space: nowrap; min-height: 32px; display: inline-flex; align-items: center; }
/* 모바일 검색 결과에서는 고정 요소를 요약 막대 하나만 둬요 (날짜 제목은 고정하지 않음) */
@media (max-width: 899px) { .has-tripbar .day h3 { position: static; } html:has(.tripbar) { scroll-padding-top: 64px; } }
@media (max-height: 500px) { .tripbar { position: static; } }
@media (min-width: 900px) { .tripbar { position: static; margin: 16px 0 0; border-radius: 4px; padding: 12px 16px; } }
.filters { margin-top: 16px; }
.filters p { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.filters .filter-note { margin: 8px 0 0; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.filter-reset { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.selection-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; padding: 16px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }
.selection-guide p { flex: 1 1 260px; font-size: 14px; color: var(--ink-2); }
.selection-guide strong { display: block; color: var(--ink); }
.selection-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.selection-actions .btn { white-space: normal; text-align: center; padding-block: 8px; }
.result-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 24px; }
.result-head h2 { font-size: 22px; font-weight: 750; letter-spacing: -0.03em; }
.result-head p { font-size: 14px; color: var(--ink-2); }
.period-note { margin: 6px 0 4px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.overlap { font-size: 13px; color: var(--ink-2); }
.overlap b { color: var(--ink); font-weight: 650; }
.exportbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); margin-inline: calc(-1 * var(--gutter)); background: var(--card); border-top: 1px solid var(--ink); }
.exportbar p { font-size: 13px; color: var(--ink-2); flex: 1 1 240px; }
@media (min-width: 900px) { .exportbar { margin-inline: 0; border: 1px solid var(--rule); border-radius: 4px; padding: 14px 16px; } }

/* official city travel information */
.city-guide__links { display: grid; gap: 12px; margin-top: 16px; }
.city-guide__link { position: relative; display: block; padding: 18px 36px 18px 18px; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); text-decoration: none; }
.city-guide__link.ext::after { position: absolute; top: 18px; right: 16px; }
.city-guide__link:hover { border-color: var(--accent); }
.city-guide__link strong { display: block; font-size: 17px; }
.city-guide__source { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.city-guide__note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
@media (min-width: 640px) { .city-guide__links { grid-template-columns: 1fr 1fr; } }

/* shareable travel shortlist */
.plan { max-width: 1040px; }
.plan-range { margin-top: 12px; font-size: 16px; font-weight: 650; }
.plan-tools { margin: 20px 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--card); }
.plan-tools summary { padding: 16px 20px; min-height: 56px; font-size: 16px; font-weight: 650; cursor: pointer; }
.plan-tools-content { padding: 0 20px 20px; }
.plan-note { font-size: 13px; color: var(--ink-2); }
.plan-tools .field { margin-bottom: 6px; }
.plan-share-url { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--field); color: var(--ink); font: inherit; font-size: 14px; }
.plan .hint { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.plan-tools .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.plan .btn { white-space: normal; text-align: center; padding-block: 8px; }
.plan-list { display: grid; gap: 24px; margin: 28px 0; }
.plan-card { padding: 24px 0; border-top: 2px solid var(--ink); break-inside: avoid; }
.plan-card h2 { margin: 8px 0; font-size: 24px; line-height: 1.4; letter-spacing: -.03em; }
.plan-card .orig { font-size: 17px; }
.plan-card .kicker .num { font-size: 22px; color: var(--accent); }
.plan-card-head { margin-bottom: 20px; }
.plan-facts { border-top: 1px solid var(--rule); margin-bottom: 16px; }
.plan-facts > div { grid-template-columns: 5.5rem minmax(0, 1fr); }
.plan-card-actions { display: flex; flex-wrap: wrap; }
@media (min-width: 768px) {
  .plan-card { padding: 28px; border: 1px solid var(--rule); border-top: 2px solid var(--ink); border-radius: 0 0 12px 12px; background: var(--card); }
  .plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .plan-facts > div { min-width: 0; }
}

/* event detail */
.detail { display: grid; gap: 28px; padding-top: 16px; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kicker .badge { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 9px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); }
.detail h1 { margin-top: 14px; font-size: 30px; line-height: 1.28; font-weight: 750; letter-spacing: -0.035em; }
/* 아주 좁은 화면(320px대)에서는 '세계남자핸드볼선수권대회' 같은 긴 낱말이 한 줄에 들어가게 제목을 조금 줄인다 */
@media (max-width: 767px) { .detail h1 { font-size: clamp(23px, 7.2vw, 30px); } .page-head h1 { font-size: clamp(22px, 6.9vw, 28px); } .hero h1 { font-size: clamp(25px, 7.7vw, 30px); } }
.orig { margin-top: 6px; font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink-2); letter-spacing: 0; overflow-wrap: anywhere; }
.when { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ink); }
.when__big { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: lining-nums; }
.when__full { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.when__note { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.facts { border-top: 2px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 13px; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
.facts dd { font-size: 15.5px; line-height: 1.55; }
.facts dd small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.facts dd a { font-weight: 600; }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.actions .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.actions .row .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 6px; }
.actions .hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.prose-block h2 { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; letter-spacing: .02em; }
.prose-block p { font-size: 16.5px; line-height: 1.8; max-width: 38em; }
.hashtags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.hashtags a { color: var(--ink); text-decoration-color: var(--accent); }
.hublinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sec__dek--after { margin-top: 14px; }
.page-head .sec__dek a { color: var(--ink); }
.backlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; }
.trust { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
@media (min-width: 1024px) {
  .detail { grid-template-columns: minmax(0, 1fr) 22rem; column-gap: 64px; padding-top: 28px; }
  .detail h1 { font-size: 42px; }
  .when__big { font-size: 64px; }
  .aside { position: sticky; top: calc(var(--head) + 24px); align-self: start; }
}

/* theme pages */
.citysec { padding-top: 28px; }
.citysec h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 8px; font-size: 22px; font-weight: 750; letter-spacing: -0.03em; }
.citysec h2 a { text-decoration: none; }
.citysec h2 small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.citysec h2 .more { margin-left: auto; font-size: 14px; font-weight: 600; text-decoration: underline 1px var(--accent); }

/* prose pages */
.prose { max-width: 760px; padding-bottom: 8px; }
.prose h1 { font-size: 30px; line-height: 1.3; font-weight: 750; letter-spacing: -0.035em; margin-top: 12px; }
.prose h2 { font-size: 19px; font-weight: 750; margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--rule); }
.prose p, .prose li { font-size: 16px; line-height: 1.8; color: var(--ink); }
.prose p { margin-top: 10px; }
.prose ul { margin-top: 10px; padding-left: 1.1rem; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose .lede { color: var(--ink-2); }

/* error */
.errorpage { padding-block: 64px 24px; }
.errorpage .num { font-size: 96px; font-weight: 300; line-height: 1; color: var(--accent); }
.errorpage h1 { margin-top: 12px; font-size: 26px; font-weight: 750; }
.errorpage p { margin-top: 8px; color: var(--ink-2); }
.errorpage .presets { margin-top: 20px; }

/* footer */
.site-foot { margin-top: calc(var(--sec) + 16px); padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--paper-2); }
.site-foot .wrap { display: grid; gap: 22px; }
.foot__brand svg { height: 28px; width: auto; color: var(--ink); }
.foot__brand p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 14px; font-weight: 500; }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; }
.foot__note { font-size: 13px; line-height: 1.65; color: var(--ink-2); max-width: 44em; }
.foot__copy { font-size: 12px; color: var(--ink-3); }
@media (min-width: 768px) {
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 48px; }
  .foot__links, .foot__note { grid-column: 2; }
  .foot__brand { grid-row: 1 / span 2; }
  .foot__copy { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--rule); }
}

.ad-slot:empty { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .ev, .toc a, .country__cities a, .btn, .chip, .season { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
@media print {
  :root { color-scheme: light; --paper: #fff; --card: #fff; --ink: #000; --ink-2: #222; --ink-3: #444; --rule: #bbb; --notice-bg: #fff; --notice: #222; --accent: #333; }
  .site-head, .site-foot, .search, .presets, .tripbar, .exportbar, .actions, .selection-guide, .plan-tools { display: none !important; }
  body { background: #fff; color: #000; }
  .plan { max-width: none; padding: 0; }
  .plan .page-head h1 { font-size: 24px; }
  .plan-card { padding: 16px 0; border: 0; border-top: 1px solid #555; border-radius: 0; }
  .plan-card h2 { font-size: 19px; }
  .plan-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .plan-facts > div { padding: 8px 0; }
  .plan-facts dd, .plan-card p { font-size: 12px; }
  .plan .note { padding: 10px 0; border: 0; }
  .plan-card h2 a { text-decoration: none; }
}

/* detail grid areas */
.detail__head, .detail__body { min-width: 0; }
.detail__body { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .detail__head, .detail__body { grid-column: 1; }
  .aside { grid-column: 2; grid-row: 1 / span 2; }
}

/* 자체 여행 편집 콘텐츠와 비교 도구 연결 */
.editorial-grid { display: grid; gap: 16px; margin-top: 24px; }
.editorial-card { min-width: 0; padding: 24px; border: 1px solid var(--rule); background: var(--card); border-radius: 4px; }
.editorial-card h3 { margin: 12px 0; font-size: 21px; line-height: 1.5; }
.editorial-card p:last-child { color: var(--ink-2); }
.editorial-callout { margin: 28px 0; padding: 24px; background: var(--paper-2); border-left: 3px solid var(--accent); }
.editorial-callout h2, .editorial-callout h3 { font-size: 20px; }
.editorial-callout p { margin: 10px 0 16px; color: var(--ink-2); }
@media (min-width: 768px) { .editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 도시별 일정 비교: 표만 가로 이동하고 본문은 모바일 폭 유지 */
.compare-form { margin: 24px 0; padding: 24px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 4px; }
.compare-form__cities, .compare-form__dates { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-bottom: 20px; }
.compare-form label { display: grid; gap: 6px; }
.compare-form input, .compare-form select { width: 100%; min-width: 0; min-height: 44px; padding: 9px 12px; color: var(--ink); background: var(--field); border: 1px solid var(--field-line); border-radius: 6px; font: inherit; }
.compare-cards { display: grid; gap: 16px; margin: 24px 0; }
.compare-card { min-width: 0; padding: 24px; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; }
.compare-card h3 { margin-bottom: 12px; }
.compare-card p { margin: 12px 0; }
.compare-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0; }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare-table thead { background: var(--paper-2); }
.compare-table a { display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 44px; min-width: 44px; }
.compare-guide { max-width: 760px; }
.compare-guide p { margin: 12px 0; }
@media (min-width: 768px) { .compare-form__cities, .compare-form__dates { grid-template-columns: repeat(3,minmax(0,1fr)); } .compare-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1200px) { .compare-cards { grid-template-columns: repeat(3,minmax(0,1fr)); } }

/* 축제 맞춤 여행 설계: 조건 → 날짜 변화 → 체류표 */
.design { padding-bottom: 40px; }
.design-hero { padding-top: 30px; max-width: 850px; }
.design-hero h1 { margin-top: 12px; font-size: clamp(28px,4vw,48px); line-height: 1.28; letter-spacing: -.035em; }
.design-steps { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0; color: var(--ink-2); font-size: 14px; }
.design-steps b { color: var(--accent); margin-right: 5px; }
.design-example { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; background: var(--accent-soft); border-radius: 4px; margin: 28px 0; }
.design-example p { max-width: 42em; margin-top: 5px; color: var(--ink-2); font-size: 14px; }
.design-example .btn { white-space: normal; text-align: center; }
.design-form { display: grid; gap: 28px; border: 1px solid var(--rule); border-radius: 5px; background: var(--card); padding: 20px; margin-top: 28px; }
.design-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.design-form legend { padding: 0; font-size: 18px; font-weight: 700; line-height: 1.5; }
.design-form legend small { color: var(--ink-3); font-size: 13px; font-weight: 400; }
.design-step { display: inline-flex; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid var(--rule); border-radius: 50%; margin-right: 5px; font-size: 14px; color: var(--accent); }
.design-form .hint, .design-save .hint, .design-stay .hint { color: var(--ink-3); font-size: 13px; margin: 9px 0 14px; }
.design-cities, .design-inputs, .design-must { display: grid; gap: 14px; margin-top: 14px; }
.design-cities { grid-template-columns: minmax(0,1fr); }
/* 가장 긴 선택지('두브로브니크 · 크로아티아')가 잘리지 않을 폭에서만 열을 늘린다 */
@media (min-width: 600px) { .design-cities { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1200px) { .design-cities { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.design-form > .btn { justify-self: start; white-space: normal; }
.design-baseline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 22px; border: 1px dashed var(--field-line); border-radius: 4px; margin: 22px 0; }
.design-baseline h3 { font-size: 16px; margin: 6px 0 9px; }
.design-baseline p + p { margin-top: 5px; }
.design-options { display: grid; gap: 16px; }
.design-option { min-width: 0; padding: 22px; border: 1px solid var(--rule); background: var(--card); border-radius: 4px; }
.design-option.is-selected { border: 2px solid var(--accent); padding: 21px; }
.design-option h3 { margin-top: 10px; font-size: 22px; }
.design-option h3 span { font-size: 14px; font-weight: 400; }
.design-option p { font-size: 14px; color: var(--ink-2); margin-top: 7px; }
.design-option .btn { margin-top: 18px; white-space: normal; }
.design-route { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 14px !important; }
.design-match { display: block; color: var(--accent); margin-top: 12px; }
.design-change { padding: 20px; background: var(--paper-2); border-radius: 4px; }
.design-change ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; color: var(--ink-2); }
.design-anchors { margin: 30px 0; }
.design-anchors article { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.design-anchors article > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.design-anchors p { margin-top: 8px; font-size: 14px; }
.design-status { display: inline-flex; padding: 4px 9px; border-radius: 6px; background: var(--paper-2); font-size: 12px; font-weight: 700; }
.design-status.is-match { color: var(--t-market); }
.design-status.is-miss { color: var(--error); background: var(--error-bg); }
.design-timeline { display: grid; gap: 28px; margin: 32px 0; }
.design-stay { border: 1px solid var(--rule); border-radius: 14px; padding: 20px; min-width: 0; }
.design-stay header { display: flex; gap: 14px; align-items: center; }
.design-stay h3 { font-size: 24px; }
.design-stay h3 .design-nights { color: var(--accent); margin-left: 7px; }
.design-stay header p { font-size: 14px; color: var(--ink-2); }
.design-stop { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); flex: none; }
.design-transit { border-left: 2px dashed var(--rule); margin: 18px 0; padding: 7px 12px; font-size: 14px; color: var(--ink-3); }
.design-day { border-top: 1px solid var(--rule); padding: 18px 0; }
.design-day h4 { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.design-day h4 small { font-weight: 400; color: var(--ink-3); }
.design-day ul { margin-top: 12px; }
.design-day li { padding: 8px 0; }
.design-day li > small { display: block; color: var(--ink-3); font-size: 12px; }
.design-day a { display: inline; }
.design-pin { margin-left: 7px; font-size: 12px; color: var(--accent); font-weight: 700; }
.design-save { margin-top: 32px; padding: 24px; background: var(--paper-2); border-radius: 14px; }
.design-save h3 { font-size: 23px; }
.design-save p { margin: 12px 0; }
.design-save .btn { white-space: normal; text-align: center; }
.design-save .field { margin-top: 22px; }
.design-explain { max-width: 820px; }
.design-explain h3 { margin: 28px 0 10px; font-size: 20px; }
.design-explain p { color: var(--ink-2); margin-bottom: 16px; }
.design-explain details { border-top: 1px solid var(--rule); margin-top: 32px; padding-top: 18px; }
.design-explain summary { min-height: 44px; font-weight: 700; cursor: pointer; }
.design-home { display: grid; gap: 28px; margin-top: 40px; border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; padding: 24px; background: var(--card); }
.design-home h2 { font-size: clamp(25px,3vw,36px); line-height: 1.35; margin: 10px 0 14px; }
.design-home p { max-width: 39em; color: var(--ink-2); }
.design-home .btn { margin-top: 20px; white-space: normal; }
.design-home-flow { display: grid; gap: 18px; align-content: center; }
.design-home-flow li { display: flex; gap: 18px; align-items: center; border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.design-home-flow li > span { font: 28px var(--serif); color: var(--accent); }
.design-home-flow p { font-size: 14px; margin-top: 5px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 600px) { .design-inputs { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 900px) { .design-form { padding: 30px; } .design-must, .design-options { grid-template-columns: repeat(3,minmax(0,1fr)); } .design-home { grid-template-columns: 1.3fr 1fr; gap: 60px; padding: 40px; } .site-head .nav { min-width: 0; flex: 1; } .site-head .brand { flex-shrink: 0; }  }
@media print { .design-form, .design-example, .design-options, .design-baseline, .design-save, .design-explain, .design-steps { display: none; } .design-stay { break-inside: avoid; } .design .sec { padding-top: 24px; } }

/* A local visit date is distinct from an event period. */
.visit-check form{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap}.visit-check .field{flex:1 1 12rem}.visit-check .note{margin-top:1rem}.visit-check .note h3{font-size:1.15rem}.visit-check input{max-width:100%;min-width:0}.visit-check .row{flex-wrap:wrap}

.editorial-card form { display: flex; gap: 0.6rem; align-items: end; flex-wrap: wrap; margin-top: 1rem; }
.editorial-card form input { min-width: 0; max-width: 100%; }

.month-visit > p { max-width: 58rem; color: var(--ink-2); }
.month-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; list-style: none; padding: 0; margin: 1rem 0; }
.month-days button { display: grid; width: 100%; min-height: 64px; gap: .15rem; padding: .5rem; border: 1px solid var(--rule); border-radius: .3rem; text-align: left; font: inherit; color: var(--ink); background: var(--paper); cursor: pointer; }
.month-days button.is-weekend strong { color: var(--accent); }
.month-days button[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: -2px; }
.month-days span, .month-days small { font-size: .78rem; }
.month-days li:first-child[data-weekday="2"] { grid-column-start: 2; }
.month-days li:first-child[data-weekday="3"] { grid-column-start: 3; }
.month-days li:first-child[data-weekday="4"] { grid-column-start: 4; }
.month-days li:first-child[data-weekday="5"] { grid-column-start: 5; }
.month-days li:first-child[data-weekday="6"] { grid-column-start: 6; }
.month-days li:first-child[data-weekday="7"] { grid-column-start: 7; }
.month-selected { scroll-margin-top: 6rem; margin: 1.5rem 0; }
.month-selected h3, .month-selected h4 { margin-bottom: .5rem; }
.month-matches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.month-matches > div { padding: .8rem 1rem; border-top: 1px solid var(--rule); }
.month-matches ul { margin: .3rem 0; padding-inline-start: 1.2rem; }
.month-matches li + li { margin-top: .35rem; }
@media (max-width: 640px) {
    .month-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .month-days li:first-child[data-weekday] { grid-column-start: auto; }
    .month-matches { grid-template-columns: 1fr; }
}


/* Hallmark: travel navigation and reading layouts for the full festival calendar. */
/* Real event titles, linked city lists and dated searches retain their native destinations. */
:root { --content-gap: clamp(18px, 3.2vw, 46px); }
.site-head .brand { text-decoration: none; }
.site-head .wrap { gap: clamp(12px, 2.5vw, 40px); }
.site-head .head-tools { flex-shrink: 0; }
.site-head .nav ul { gap: clamp(12px, 2vw, 36px); }
.site-head .nav a, .site-head summary { font-weight: 650; }
.site-head .head-more nav { max-height: min(65vh, 550px); overflow: auto; overscroll-behavior: contain; }
.site-head .head-more nav:has(.all-pages-list) { width: min(600px, calc(100vw - 32px)); }
.site-head .head-more .all-pages-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.site-head .head-more .menu-group > span { display: block; padding-block: 4px 8px; border-bottom: 1px solid var(--rule); font-size: .79rem; font-weight: 700; color: var(--ink-3); }
.site-head .head-more .menu-group ul { display: block; }
.crumbs { padding-block-start: 4px; }
.page-head h1, .design-hero h1, .detail h1, .prose > h1, .errorpage h1, .hero h1 { font-size: clamp(2.05rem, 3.9vw, 3.75rem); line-height: 1.16; overflow-wrap: anywhere; }
.page-head .lede, .design-hero > .lede, .prose > .lede { max-width: 62ch; font-size: clamp(1.02rem,1.3vw,1.17rem); line-height: 1.7; }
.sec__head { padding-block-start: 15px; }
.sec__head h2, .result-head h2, .prose-block > h2 { font-size: clamp(1.25rem,2.4vw,2.05rem); line-height: 1.28; letter-spacing: -.045em; }
:is(.compare-form,.design-form,.search) .field > span { font-size: .88rem; font-weight: 700; }
:is(.search,.compare-form,.design-form) :is(input,select) { font-variant-numeric: tabular-nums; }
.btn, .chip, .plan-link { text-align: center; }
:is(.search,.compare-form,.design-form) > .btn { align-self: end; }
.filters .chips { gap: 6px; }
.selection-guide, .exportbar, .design-save, .empty, .compare-scroll, .design-baseline { min-width: 0; }
.compare-table :is(td,th) { font-variant-numeric: tabular-nums; }
.compare-table thead th { font-size: .9rem; }
.compare-table tbody th { white-space: nowrap; }
.ev__date b, .when, .month__num, .compare-card .num { font-variant-numeric: tabular-nums; }
a.ev:hover, .ev--check:focus-within { background:var(--paper-2); }
.ev__title { font-size: clamp(1rem, 1.45vw, 1.22rem); }
a.ev:hover .ev__title, .plan-card h3 a:hover, .plan-card h2 a:hover { text-decoration: underline; text-underline-offset: .2em; }
.prose { max-width: calc(51rem + 2 * var(--gutter)); }
.prose p, .prose li, .detail__body p { line-height: 1.83; }
.prose :is(h2,h3) { line-height: 1.38; }
.prose h2 { margin-top: 2rem; }
.prose :is(.plan-card,.plan-card-head) h2 { margin-top: .5rem; border: 0; padding-top: 0; }
.prose .plan-card .kicker { font-size: .88rem; }
.prose:has(#visit-briefs) { max-width: calc(var(--max) + 2 * var(--gutter)); }
.prose:has(#visit-briefs) > p { max-width: 67ch; }
.plan-card h3 a, .plan-card h2 a { text-decoration: none; }
.detail .aside, .prose-block, .plan-card, .compare-card { min-width: 0; }
.detail .aside .row { flex-wrap: wrap; }
.prose-block h2 { margin-bottom: 14px; }
.detail .facts dd, .compare-card .facts dd { overflow-wrap: anywhere; }
.design-hero { max-width: none; }
.design-hero .lede { max-width: 62ch; }
:is(.editorial-card,.compare-card,.plan-card,.design-option) .btn { white-space: normal; }
.month-days button:focus-visible { z-index: 1; position: relative; }
.site-foot .foot__links { align-content: start; }
.site-foot .foot__links a { min-height: 38px; display:inline-flex; align-items:center; }
@media (min-width: 820px) {
  main > .search { grid-template-columns: minmax(0,1.2fr) minmax(0,1.75fr) auto; align-items: end; }
  main > .search .search__hint { grid-column: 1/-1; }
  .prose #visit-briefs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:var(--content-gap); }
  .prose #visit-briefs > :is(h2,p) { grid-column:1/-1; }
  .prose:has(#visit-briefs) > .plan-card { display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); column-gap:var(--content-gap); align-items:start; }
  .prose:has(#visit-briefs) > .plan-card > :is(.kicker,h2) { grid-column:1; }
  .prose:has(#visit-briefs) > .plan-card p:not(.kicker) { grid-column:2; }
  .prose:has(#visit-briefs) > .plan-card :nth-child(3) { grid-row:1/3; align-self:center; }
}
@media (max-width: 760px) {
  .site-head .head-more nav:has(.all-pages-list) { width: min(470px, calc(100vw - 32px)); right: -78px; }
  .head-tools .plan-link { padding-inline: 10px; }
  .detail .aside { position: static; }
  .page-head, .design-hero { padding-block-start: 22px; }
}
@media (max-width: 390px) {
  :is(.design-form,.compare-form,.search) { padding-inline: 13px; }
  .search__row { gap:6px; }
  .search .field input[type=date] { padding-inline:4px; font-size: .94rem; }
  .site-head .head-more .all-pages-list { gap:10px 12px; }
}

::selection { color:var(--ink); background:var(--signal); }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.site-head { background:var(--paper); border-bottom:2px solid var(--ink); }
.site-head .brand svg { height:32px; }
.site-head .loop { fill:var(--board); }
.site-head .nav a[aria-current] { border-color:var(--board); }
.site-head .plan-link, .btn, .field input, .field select, .chip, .tag, .badge, .design-status, .kicker .badge, .search, .compare-form, .design-form, .picker, .editorial-callout, .season, .plan-card, .compare-card, .design-stay, .selection-guide, .design-save, .exportbar, .design-example, .design-option, .design-change, .tripbar { border-radius:0; }
.site-head .head-more nav { border:2px solid var(--ink); border-top:5px solid var(--board); }
.plan-link, .btn--primary, .btn--accent { background:var(--ink); color:var(--chalk); border-color:var(--ink); }
.btn--accent:hover, .btn--primary:hover { background:var(--ink-2); border-color:var(--ink-2); }
.crumbs { border-bottom:1px solid var(--rule-soft); }
.page-head, .design-hero, .detail__head { padding-block:clamp(22px,3vw,48px) clamp(20px,2.4vw,36px); }
.page-head h1, .design-hero h1, .prose>h1, .detail h1, .hero h1, .errorpage h1, .cover-copy h1 { font-family:var(--sans); font-weight:860; letter-spacing:-.06em; }
:is(.page-head, .design-hero, .detail__head, .prose, .hero, .errorpage) > h1::after { content:""; display:inline-block; width:.14em; height:.14em; margin-left:.08em; background:var(--board); }
.prose>h1 { margin-top:clamp(22px,3vw,48px); }
.plan .page-head, .errorpage { border-block-end:2px solid var(--ink); }
.sec__head { border-block-start:4px solid var(--ink); }
.sec__head h2, .result-head h2, .tblock__head h3, .design-explain h3, .prose-block>h2, .prose h2 { font-weight:800; letter-spacing:-.045em; }
.search, .compare-form, .design-form { border:1px solid var(--ink); border-top:5px solid var(--board); background:var(--card); padding:clamp(15px,2vw,29px); }
.search .field > span, .compare-form .field > span, .design-form legend { color:var(--ink); }
:is(.field input,.field select):focus { outline-color:var(--focus); }
.field input, .field select { border-color:var(--field-line); }
.design-step, .design-stop { border-radius:0; color:var(--chalk); background:var(--ink); border-color:var(--ink); font-family:var(--numerals); font-size:1.15rem; }
.design-example, .editorial-callout, .design-change, .selection-guide { border:0; border-left:5px solid var(--board); background:var(--paper-2); }
.filters { padding-block:10px; margin-block:8px; border-bottom:1px solid var(--rule-soft); }
.chip[aria-current], .chip.is-on, .month-days button[aria-pressed=true] { color:var(--chalk); background:var(--ink); border-color:var(--ink); }
.month-days button[aria-pressed=true] strong { color:var(--signal); }
.month-days { gap:1px; border:1px solid var(--rule); background:var(--rule); }
.month-days button { padding:9px; border-radius:0; background:var(--card); border:0; }
.month-days button strong { font-family:var(--numerals); font-size:1.4rem; }
.month, .tripbar { background:var(--board); color:var(--ink); }
.month { padding:clamp(14px,2vw,28px); align-items:center; }
.month__num { display:inline-grid; place-items:center; min-width:1.25em; padding:.04em .1em .12em; font-family:var(--numerals); font-size:clamp(3.2rem,7vw,5.75rem); font-weight:700; color:var(--chalk); background:var(--ink); }
.month__cap span, .month__cap b { color:var(--ink); }
.picker { border:1px solid var(--ink); background:var(--paper); }
.picker>a { padding-inline:9px; }
.tripbar { border:none; font-weight:650; }
.tripbar a { color:var(--ink); text-decoration-color:var(--ink); }
.toc, .day h3, .result-head, .tblock__head { font-variant-numeric:tabular-nums; }
.evs { border-top:2px solid var(--ink); }
.ev { padding-inline:clamp(4px,1vw,14px); }
.ev__date { border-right:1px solid var(--rule); padding-right:.3rem; }
.ev__date b { color:var(--ink); font-family:var(--numerals); font-size:clamp(1.17rem,1.8vw,1.6rem); font-weight:700; }
.ev__orig { font-family:var(--sans); font-size:.85rem; }
.ev__title { font-weight:750; }
.day h3 { background:var(--paper-2); color:var(--ink); border-top:2px solid var(--ink); padding:9px 10px; }
.compare-card, .plan-card, .design-option { border:1px solid var(--rule); border-top:3px solid var(--ink); background:var(--card); }
.compare-card .num { font-family:var(--numerals); color:var(--accent); font-weight:700; }
.compare-table thead, .when { background:var(--ink); color:var(--chalk); }
.compare-table thead th { border-color:var(--ink); }
.detail__head .when { padding:12px 15px; width:fit-content; max-width:100%; }
.detail__head .when :is(p,.num,b,small,span) { color:var(--chalk); }
.detail__head .when .when__big { color:var(--signal); font-weight:700; }
.detail .aside, .visit-check, .design-stay { padding:clamp(15px,2vw,28px); background:var(--card); border:1px solid var(--rule); border-top:4px solid var(--board); }
.prose-block>h2 { color:var(--ink); }
.facts>div, .plan-facts>div { border-color:var(--rule-soft); }
.prose .plan-card { padding:clamp(16px,2vw,29px); }
.prose .plan-card .kicker { color:var(--accent); }
.prose .jump { border-block:1px solid var(--ink); }
.prose > h2 { border-top:2px solid var(--ink); }
.prose #visit-briefs .plan-card { background:transparent; border:0; border-top:1px solid var(--rule); padding-inline:0; }
.prose:has(#visit-briefs) > .plan-card { margin-block:12px; }
.design-option.is-selected { border-color:var(--ink); border-top-color:var(--board); }
.site-foot { border-top:8px solid var(--board); }
@media (min-width:880px) {
  .site-head .nav { margin-left:auto; flex:0 1 auto; }
  .site-head .head-tools { margin-left:0; }
  .filters { display:grid; grid-template-columns:9rem minmax(0,1fr); align-items:baseline; gap:0 14px; }
  .filters .filter-note, .filters .filter-reset { grid-column:2; justify-self:start; }
  .detail { grid-template-columns:minmax(0,1fr) minmax(300px,.53fr); }
}
@media (max-width:640px) { .site-head .brand svg { height:27px; } .detail__head { padding-block:12px; } }

body { font-family:var(--sans); background:var(--paper); }
input, button, select, textarea { font-family:var(--sans); }
