/* ═══════════════════════════════════════════════════════════
   PLAY GOYANG — Design System "Stage Light"
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Surface — 화이트 베이스
     ink-900 이 페이지 배경, 숫자가 커질수록 더 진한 면(카드·구분면).
     다크로 되돌리려면 이 블록만 예전 값으로 바꾸면 됩니다. */
  --ink-900: #ffffff;   /* 페이지 배경 */
  --ink-850: #f7f8fa;   /* 살짝 눌린 섹션 */
  --ink-800: #f2f4f7;
  --ink-700: #ffffff;   /* 카드 면 */
  --ink-600: #eef0f4;
  --ink-500: #e3e6ec;

  --line: rgba(17, 17, 26, 0.09);
  --line-2: rgba(17, 17, 26, 0.16);

  /* 포스터·히어로 위에 얹히는 요소는 배경이 어두우므로 흰 계열을 그대로 쓴다 */
  --on-art: #ffffff;
  --on-art-2: rgba(255, 255, 255, 0.82);
  --on-art-line: rgba(255, 255, 255, 0.28);
  --scrim: rgba(12, 11, 16, 0.76);

  /* Brand — 흰 배경에서도 대비가 나오도록 조정 */
  --brand: #ee2440;
  --brand-2: #ff6a4d;
  --gold: #b07500;      /* 텍스트용. 흰 배경에서 #f7c948 은 안 읽힘 */
  --gold-fill: #f7c948; /* 면·배지 채움용 */
  --violet: #6b3ff0;
  --mint: #0f9c86;
  --sky: #1f7fe0;

  /* 로고 — media/logo.svg 의 파란색과 같은 값을 씁니다.
     '고양'의 회색은 흰 배경에서 4.6:1 이 나오도록 원본보다 조금 진하게 잡았습니다. */
  --logo-blue: #29abe2;
  --logo-gray: #767680;

  /* Text */
  --tx: #14141a;
  --tx-2: #55555f;
  --tx-3: #8a8a95;

  /* Type */
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  --serif: 'Nanum Myeongjo', 'Apple SD Gothic Neo', 'Batang', serif;

  /* Space */
  --gut: clamp(18px, 4.2vw, 56px);
  --maxw: 1480px;
  --sec-y: clamp(56px, 7vw, 104px);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --hdr-h: 116px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  font-family: var(--sans);
  background: var(--ink-900);
  color: var(--tx);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ── Skip link ─────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(to bottom, rgba(8, 7, 11, 0.92), rgba(8, 7, 11, 0.55) 60%, transparent);
  backdrop-filter: blur(2px);
  transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease), border-color 0.45s;
  border-bottom: 1px solid transparent;
}
.hdr.solid {
  background: rgba(11, 10, 15, 0.82);
  backdrop-filter: blur(22px) saturate(1.5);
  border-bottom-color: var(--line);
}

.hdr__top {
  display: flex; align-items: center; gap: 28px;
  height: 68px;
}

/* ── 로고 ───────────────────────────────────────────
   말풍선 마크(media/logo.svg) + 글자.
   글자를 이미지로 넣지 않고 조판하는 이유 — 어느 크기에서도 또렷하고,
   읽어 주는 기기에도 그대로 전달되기 때문입니다.
   공식 로고 파일이 생기면 media/logo.svg 만 바꾸면 마크가 함께 바뀝니다. */
.logo { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo__img { width: 32px; height: 32px; display: block; flex-shrink: 0; }
.logo__word {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-size: 23px; font-weight: 900; letter-spacing: -0.05em; line-height: 1;
  white-space: nowrap; flex-shrink: 0;
}
.logo__word b { color: var(--logo-blue); font-weight: 900; }
.logo__word i { color: var(--logo-gray); font-weight: 900; font-style: normal; }

/* 어두운 배경(푸터)에서는 '고양'을 밝게 */
.logo--dark .logo__word i { color: rgba(255, 255, 255, 0.86); }

.hdr__search {
  flex: 1; max-width: 460px; position: relative;
  display: flex; align-items: center;
}
.hdr__search input {
  width: 100%; height: 42px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: var(--tx); padding: 0 46px 0 20px; font-size: 14px;
  transition: 0.3s var(--ease);
}
.hdr__search input::placeholder { color: var(--tx-3); }
.hdr__search input:focus {
  outline: none; background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 59, 84, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 59, 84, 0.12);
}
.hdr__search button { position: absolute; right: 14px; opacity: 0.7; display: flex; }
.hdr__search button:hover { opacity: 1; }

.hdr__util { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.util-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--tx-2); transition: 0.25s var(--ease);
}
.util-btn:hover { color: var(--tx); background: rgba(255, 255, 255, 0.08); }
.util-btn--cta {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 20px -6px rgba(255, 59, 84, 0.7);
}
.util-btn--cta:hover { background: #ff5268; color: #fff; transform: translateY(-1px); }

/* ── 로그인한 방문자 ─────────────────────────────── */
.me { position: relative; }
.me__btn { gap: 8px; }
.me__face { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.me__menu {
  position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 172px;
  padding: 6px; border-radius: var(--r-md);
  background: var(--ink-700); border: 1px solid var(--line);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, 0.7);
  display: flex; flex-direction: column;
}
.me__menu[hidden] { display: none; }
.me__menu a, .me__menu button {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 13px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; color: var(--tx-2); text-align: left;
  transition: 0.2s var(--ease);
}
.me__menu a:hover, .me__menu button:hover { background: rgba(255, 255, 255, 0.07); color: var(--tx); }
.me__menu svg { flex-shrink: 0; }

/* ── 로그인 고르기 창 ─────────────────────────────── */
.lsheet {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
  background: rgba(6, 5, 9, 0.62); backdrop-filter: blur(6px);
  animation: lsheetIn 0.18s var(--ease);
}
@keyframes lsheetIn { from { opacity: 0; } }
.lsheet__box {
  width: min(360px, 100%); padding: 30px 26px 18px;
  border-radius: var(--r-lg); background: var(--ink-700);
  border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
  display: flex; flex-direction: column; gap: 10px; text-align: center;
}
.lsheet__box h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.lsheet__box p { font-size: 13.5px; color: var(--tx-3); line-height: 1.6; margin-bottom: 12px; }
.lsheet__x {
  margin-top: 4px; padding: 12px; font-size: 13.5px; font-weight: 600; color: var(--tx-3);
  border-radius: var(--r-sm); transition: 0.2s var(--ease);
}
.lsheet__x:hover { background: rgba(255, 255, 255, 0.06); color: var(--tx); }

/* 각 서비스의 정해진 색을 그대로 쓴다 — 익숙한 색이라야 한눈에 알아본다 */
.lbtn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700;
  transition: filter 0.18s var(--ease), transform 0.1s var(--ease);
}
.lbtn:hover { filter: brightness(0.94); }
.lbtn:active { transform: scale(0.985); }
.lbtn--google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.lbtn--kakao { background: #fee500; color: #191600; }
.lbtn--go { background: var(--brand); color: #fff; }
.lbtn:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }

.lfield {
  height: 50px; padding: 0 15px; border-radius: var(--r-sm);
  background: var(--ink-800); border: 1px solid var(--line);
  font-size: 15px; color: var(--tx); width: 100%;
  transition: border-color 0.18s var(--ease);
}
.lfield::placeholder { color: var(--tx-3); }
.lfield:focus { outline: none; border-color: var(--brand); }
.lfield:disabled { opacity: 0.55; }

/* 소셜 버튼과 이메일 칸을 가르는 줄 */
.lsheet__or {
  display: flex; align-items: center; gap: 12px;
  margin: 6px 0 2px; color: var(--tx-3); font-size: 12.5px;
}
.lsheet__or::before, .lsheet__or::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

.lsheet__row { display: flex; justify-content: space-between; gap: 10px; margin-top: 2px; }
.llink {
  font-size: 13px; font-weight: 600; color: var(--tx-3);
  padding: 6px 2px; transition: color 0.18s var(--ease);
}
.llink:hover { color: var(--tx); text-decoration: underline; }

/* 안내·오류 한 줄. 색만으로 알리지 않고 글로 적는다. */
.lsheet__msg {
  margin-top: 4px; padding: 11px 13px; border-radius: var(--r-sm);
  font-size: 13px; line-height: 1.55; text-align: left;
  background: rgba(255, 255, 255, 0.06); color: var(--tx-2);
}
.lsheet__msg.is-bad { background: rgba(255, 59, 84, 0.12); color: #ff8b9c; }

/* ── 찜하기 ──────────────────────────────────────
   눌린 상태를 색으로만 알리지 않는다 — 하트가 채워지고 글씨도 '찜함' 으로 바뀐다. */
.fav { gap: 7px; }
.fav.is-on { color: var(--brand); border-color: currentColor; }
.fav.is-on svg { fill: currentColor; }
.fav:disabled { opacity: 0.5; cursor: progress; }

/* Nav */
.nav { border-top: 1px solid var(--line); }
.nav__list { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 20px); height: 48px; }
.nav__link {
  position: relative; font-size: 15px; font-weight: 700; color: var(--tx-2);
  padding: 6px 10px; border-radius: var(--r-xs); white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav__link:hover { color: var(--tx); }
.nav__link::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: -13px; height: 2px;
  background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform 0.35s var(--ease);
}
.nav__link:hover::after { transform: scaleX(0.5); }
.nav__link.is-active { color: var(--tx); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link--accent { color: var(--gold); }

.nav__toggle { display: none; margin-left: auto; padding: 8px; }

/* ═══════════════════════════════════════════════════
   POSTER ART — 이미지 없이도 성립하는 절차적 포스터
   ═══════════════════════════════════════════════════ */
.art {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 22% 8%, hsl(var(--h) 88% 62% / 0.95), transparent 58%),
    radial-gradient(100% 100% at 88% 96%, hsl(calc(var(--h) + 42) 82% 44% / 0.9), transparent 62%),
    linear-gradient(155deg, hsl(var(--h) 60% 16%), hsl(calc(var(--h) + 28) 55% 7%));
}
.art::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  opacity: 0.5; mix-blend-mode: overlay;
}
.art::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(4, 3, 6, 0.86) 0%, rgba(4, 3, 6, 0.24) 42%, transparent 72%);
}
.art > * { position: relative; z-index: 3; }

/* 스타일별 패턴 */
.art[data-art='baroque']::before {
  background-image:
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0.15) 0deg 6deg, transparent 6deg 18deg);
}
.art[data-art='cosmos']::before {
  background-image:
    radial-gradient(1.5px 1.5px at 18% 24%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 62% 12%, #fff 50%, transparent),
    radial-gradient(2px 2px at 82% 42%, #fff 50%, transparent),
    radial-gradient(1px 1px at 34% 62%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 72% 78%, #fff 50%, transparent),
    radial-gradient(1px 1px at 12% 84%, #fff 50%, transparent);
  opacity: 0.85; mix-blend-mode: screen;
}
.art[data-art='festival']::before {
  background-image:
    repeating-linear-gradient(48deg, rgba(255, 255, 255, 0.14) 0 3px, transparent 3px 22px),
    repeating-linear-gradient(-48deg, rgba(255, 255, 255, 0.1) 0 3px, transparent 3px 30px);
}
.art[data-art='ink']::before {
  background-image:
    radial-gradient(60% 44% at 32% 34%, rgba(0, 0, 0, 0.72), transparent 70%),
    radial-gradient(46% 62% at 74% 66%, rgba(255, 255, 255, 0.24), transparent 68%);
  mix-blend-mode: soft-light; opacity: 0.95;
}
.art[data-art='gothic']::before {
  background-image:
    linear-gradient(to bottom, transparent 34%, rgba(0, 0, 0, 0.6) 100%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0 1px, transparent 1px 15px);
}
.art[data-art='classic']::before {
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 9px);
  opacity: 0.42;
}
.art[data-art='opera']::before {
  background-image:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.26), transparent) ,
    repeating-conic-gradient(from 12deg at 50% 120%, rgba(255, 255, 255, 0.12) 0deg 4deg, transparent 4deg 14deg);
}
.art[data-art='jazz']::before {
  background-image:
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.13) 0 2px, transparent 2px 17px),
    radial-gradient(70% 50% at 78% 22%, rgba(255, 255, 255, 0.3), transparent 70%);
}
.art[data-art='retro']::before {
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0 4px, transparent 4px 12px);
  opacity: 0.35;
}
.art[data-art='pop']::before {
  background-image:
    radial-gradient(circle at 26% 28%, rgba(255, 255, 255, 0.4) 0 9%, transparent 10%),
    radial-gradient(circle at 74% 66%, rgba(255, 255, 255, 0.3) 0 13%, transparent 14%),
    radial-gradient(circle at 58% 16%, rgba(255, 255, 255, 0.22) 0 6%, transparent 7%);
}
.art[data-art='stage']::before {
  background-image:
    conic-gradient(from 200deg at 50% -14%, transparent 0deg, rgba(255, 255, 255, 0.3) 14deg, transparent 30deg),
    conic-gradient(from 150deg at 50% -14%, transparent 0deg, rgba(255, 255, 255, 0.22) 12deg, transparent 26deg);
}
.art[data-art='indie']::before {
  background-image:
    repeating-linear-gradient(126deg, rgba(255, 255, 255, 0.1) 0 6px, transparent 6px 13px);
}
.art[data-art='hanji']::before {
  background-image:
    radial-gradient(38% 38% at 68% 30%, rgba(255, 255, 255, 0.42), transparent 66%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 7px);
}
.art[data-art='mono']::before {
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 10px);
  opacity: 0.5;
}

/* 포스터 위 타이틀 (이미지 없을 때) */
.art__label {
  position: absolute; inset: auto 0 0 0; padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.art__label b {
  font-size: clamp(13px, 1.15vw, 17px); font-weight: 800; line-height: 1.28;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art__label span { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); font-weight: 600; }

/* 미디어 컨테이너 안의 아트는 항상 채운다 */
.vcard__media > .art,
.newcard__media > .art,
.mcard__media > .art,
.pcard__media > .art,
.xcard__media > .art,
.kcard__media > .art,
.nitem__thumb > .art { position: absolute; inset: 0; }

/* 생성 이미지가 들어오면 */
.art > img.art__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero { position: relative; padding-top: var(--hdr-h); background: var(--ink-900); }

.hero__stage {
  position: relative; width: 100%;
  /* 16:9 에서 두 번에 걸쳐 각각 20% 씩 낮췄다 (0.8 × 0.8 = 0.64).
     같은 폭에서 16:9 높이의 0.64배 — 25/9 가 그 비율이다. */
  aspect-ratio: 25 / 9; max-height: calc((100vh - var(--hdr-h)) * 0.64);
  min-height: 294px; overflow: hidden;
}

.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.hero__slide.is-on { opacity: 1; visibility: visible; }

.hero__bg { position: absolute; inset: 0; }
.hero__bg.art::after {
  background:
    linear-gradient(100deg, rgba(6, 5, 9, 0.94) 0%, rgba(6, 5, 9, 0.72) 34%, rgba(6, 5, 9, 0.15) 62%, rgba(6, 5, 9, 0.55) 100%),
    linear-gradient(to top, rgba(6, 5, 9, 0.95) 0%, transparent 46%);
}
.hero__slide.is-on .hero__bg {
  animation: kenburns 13s var(--ease-io) forwards;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(1.2%, 0.8%, 0); }
  to { transform: scale(1.15) translate3d(-1.4%, -1%, 0); }
}

.hero__copy {
  position: absolute; z-index: 4;
  left: var(--gut); bottom: clamp(150px, 22vh, 250px);
  max-width: min(620px, 52vw);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 13px; border-radius: 999px;
  background: rgba(255, 59, 84, 0.16); border: 1px solid rgba(255, 59, 84, 0.45);
  color: #ff8e9d; font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero__badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 4.7rem); font-weight: 900; line-height: 1.03;
  letter-spacing: -0.045em; margin-bottom: 16px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
.hero__title span { display: block; }
.hero__title span:last-child {
  background: linear-gradient(94deg, #fff 20%, var(--gold) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__eyebrow { font-size: clamp(15px, 1.5vw, 19px); color: var(--tx-2); font-weight: 600; margin-bottom: 22px; }
.hero__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14.5px; color: var(--tx-2); margin-bottom: 26px;
}
/* 공연장과 날짜 사이 구분점 */
.hero__meta span + span::before { content: '·'; margin-right: 10px; opacity: 0.55; }
.hero__meta b { color: var(--tx); font-weight: 700; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 800; transition: 0.3s var(--ease);
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 34px -10px rgba(255, 59, 84, 0.85); }
.btn--primary:hover { background: #ff5468; transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 59, 84, 0.95); }
.btn--ghost { background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-2); color: var(--tx); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }

/* 하단 썸네일 스트립 (인터파크 레퍼런스) */
.hero__rail {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(28px, 5vh, 56px);
  padding-inline: var(--gut);
}
.hero__rail-inner {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: none; scroll-snap-type: x mandatory;
}
.hero__rail-inner::-webkit-scrollbar { display: none; }
.hero__thumb {
  position: relative; flex: 0 0 auto;
  width: clamp(74px, 7vw, 96px); aspect-ratio: 1; border-radius: var(--r-sm);
  overflow: hidden; scroll-snap-align: start;
  border: 2px solid transparent; opacity: 0.5;
  transition: 0.4s var(--ease);
}
.hero__thumb:hover { opacity: 0.85; transform: translateY(-4px); }
.hero__thumb.is-on {
  opacity: 1; border-color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
}
.hero__thumb .art { position: absolute; inset: 0; }
.hero__thumb-tx {
  position: absolute; inset: auto 0 0 0; z-index: 4; padding: 6px 7px;
  font-size: 10px; font-weight: 800; line-height: 1.22;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.hero__thumb.is-on::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px; z-index: 5;
  background: var(--brand);
  animation: railfill 7s linear forwards;
  transform-origin: left;
}
@keyframes railfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ═══════════════════════════════════════════════════
   SECTION 공통
   ═══════════════════════════════════════════════════ */
.sec { padding-block: var(--sec-y); position: relative; }
.sec--tight { padding-block: clamp(40px, 5vw, 68px); }

.sec__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(22px, 3vw, 38px); flex-wrap: wrap;
}
.sec__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--brand); margin-bottom: 10px; text-transform: uppercase;
}
.sec__eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec__title {
  font-size: clamp(1.55rem, 2.9vw, 2.35rem); font-weight: 900;
  letter-spacing: -0.038em; line-height: 1.16;
}
.sec__desc { font-size: 14.5px; color: var(--tx-2); margin-top: 8px; max-width: 56ch; }
.sec__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--tx-2);
  padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line);
  transition: 0.28s var(--ease); white-space: nowrap;
}
.sec__more:hover { color: var(--tx); border-color: var(--line-2); background: rgba(255, 255, 255, 0.06); transform: translateX(3px); }

/* 스크롤 리빌 */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* 가로 레일 */
.rail { display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; }
.rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }
.rail > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ═══════════════════════════════════════════════════
   영상 섹션 (1행 2열)
   ═══════════════════════════════════════════════════ */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.8vw, 26px); }

.vcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-700); border: 1px solid var(--line);
  transition: 0.45s var(--ease);
}
.vcard:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.95); }
.vcard__media { position: relative; aspect-ratio: 16 / 9; }

.vcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.vcard__play {
  position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(56px, 5.2vw, 76px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  display: grid; place-items: center; transition: 0.4s var(--ease);
}
.vcard:hover .vcard__play { background: var(--brand); border-color: var(--brand); transform: translate(-50%, -50%) scale(1.1); }
.vcard__tag {
  position: absolute; z-index: 4; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 13px; border-radius: 999px;
  background: rgba(8, 7, 11, 0.72); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em;
}
.vcard__tag--live { background: rgba(255, 59, 84, 0.9); border-color: transparent; }
.vcard__tag--live i {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.vcard__dur {
  position: absolute; z-index: 4; bottom: 14px; right: 14px;
  padding: 4px 10px; border-radius: var(--r-xs); font-size: 12px; font-weight: 700;
  background: rgba(8, 7, 11, 0.8); backdrop-filter: blur(8px);
}
.vcard__body { padding: 20px 22px 24px; }
.vcard__body h3 { font-size: clamp(16px, 1.4vw, 20px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.vcard__body p { font-size: 14px; color: var(--tx-2); line-height: 1.62; }
.vcard__meta { display: flex; gap: 8px; margin-top: 14px; }
.chip {
  display: inline-flex; align-items: center; height: 25px; padding: 0 11px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--tx-2);
}

/* ═══════════════════════════════════════════════════
   플레이고양 추천 — 대형 에디토리얼
   ═══════════════════════════════════════════════════ */
/* 신규 공연과 같은 가로 한 줄. .rail 의 스크롤·스냅을 그대로 쓴다. */
.picks { display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; scrollbar-width: thin; }
.picks::-webkit-scrollbar { height: 4px; }
.picks::-webkit-scrollbar-track { background: rgba(17, 17, 26, 0.05); border-radius: 4px; }
.picks::-webkit-scrollbar-thumb { background: rgba(17, 17, 26, 0.2); border-radius: 4px; }
.pick {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  width: clamp(200px, 19vw, 262px); flex: 0 0 auto; scroll-snap-align: start;
  aspect-ratio: 3 / 4; transition: 0.5s var(--ease);
}
.pick:hover { transform: translateY(-7px); box-shadow: 0 34px 64px -26px rgba(0, 0, 0, 1); }
.pick .art { position: absolute; inset: 0; }
/* 글씨가 놓이는 아래쪽은 사진이 밝든 어둡든 같은 바탕이 되도록 더 눌러 준다.
   위쪽 절반은 그대로 두어 사진이 보인다. */
.pick .art::after {
  background: linear-gradient(to top,
    rgba(4, 3, 6, 0.97) 0%,
    rgba(4, 3, 6, 0.88) 26%,
    rgba(4, 3, 6, 0.46) 52%,
    transparent 82%);
}
/* 사진 위 왼쪽 표식 — 순위(뮤지컬·콘서트) · 연령(가족극) · 모집중(교육)이 같은 자리를 쓴다 */
.pick__badge {
  position: absolute; z-index: 4; top: 12px; left: 12px;
  min-width: 26px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  font-size: 11.5px; font-weight: 800; color: var(--tx); text-align: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

.pick__body { position: absolute; z-index: 4; inset: auto 0 0 0; padding: clamp(20px, 2vw, 30px); }
.pick__rank {
  display: inline-block; font-size: clamp(11.5px, 0.2vw + 11px, 13px);
  font-weight: 900; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 10px;
}
.pick__body h3 {
  font-size: clamp(17px, 1.7vw, 25px); font-weight: 900;
  letter-spacing: -0.035em; line-height: 1.22; margin-bottom: 8px; word-break: keep-all;
}

/* 부제·장소는 대비는 넉넉한데(7:1 이상) 글씨가 작고 가늘어 흐리게 보였다.
   색을 더 밝히기보다 크기와 굵기를 올려 읽히게 한다 — 제목과의 위아래 관계는 유지. */
.pick__sub {
  font-size: clamp(13px, 0.35vw + 12px, 15px); font-weight: 500; line-height: 1.5;
  color: var(--tx-2); margin-bottom: 14px; word-break: keep-all;
  /* 부제가 길면 두 줄에서 끊어 카드 높이를 지킨다 */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.pick__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: clamp(12.5px, 0.3vw + 11.6px, 14px); font-weight: 500; line-height: 1.45;
  color: var(--tx-2); border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 12px;
  word-break: keep-all;
}
.pick__price { font-size: 15px; font-weight: 800; color: var(--tx); }
.pick__off {
  display: inline-block; margin-left: 7px; padding: 2px 8px; border-radius: var(--r-xs);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 800;
}

/* ═══════════════════════════════════════════════════
   신규공연 — 오픈 타이머 레일
   ═══════════════════════════════════════════════════ */
.newcard {
  width: clamp(180px, 17vw, 232px);
  border-radius: var(--r-md); overflow: hidden;
  background: var(--ink-700); border: 1px solid var(--line);
  transition: 0.42s var(--ease);
}
.newcard:hover { transform: translateY(-6px); border-color: rgba(255, 59, 84, 0.42); box-shadow: 0 26px 52px -22px rgba(0, 0, 0, 0.95); }
.newcard__media { position: relative; aspect-ratio: 3 / 4; }
.newcard__flag {
  position: absolute; z-index: 4; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: var(--r-xs);
  background: var(--gold); color: #1a1204; font-size: 10.5px; font-weight: 900; letter-spacing: 0.06em;
}
.newcard__body { padding: 14px 15px 17px; }
.newcard__genre { font-size: 11px; font-weight: 800; color: var(--brand); letter-spacing: 0.06em; }
.newcard__body h3 {
  font-size: 15px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.34; margin: 6px 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px;
}
.newcard__body p { font-size: 12.5px; color: var(--tx-3); line-height: 1.5; }
.newcard__open {
  display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--mint);
}

/* ═══════════════════════════════════════════════════
   클래식 · 오페라 — 와이드 시네마틱
   ═══════════════════════════════════════════════════ */
.sec--classic { background: linear-gradient(180deg, var(--ink-900), var(--ink-850) 30%, var(--ink-900)); }
.sec--classic .sec__eyebrow { color: var(--violet); }
.sec--classic .sec__eyebrow::before { background: var(--violet); }
.sec--classic .sec__title { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }

.classics { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.ccard {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 16 / 9; transition: 0.5s var(--ease);
}
.ccard:hover { transform: scale(1.014); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 1); }
.ccard .art { position: absolute; inset: 0; }
.ccard__body { position: absolute; z-index: 4; inset: auto 0 0 0; padding: clamp(20px, 2.2vw, 32px); }
.ccard__body h3 { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 27px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.ccard__body p { font-size: 13.5px; color: var(--tx-2); margin-bottom: 14px; }
.ccard__meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--tx-2); flex-wrap: wrap; }
.ccard__meta b { color: var(--tx); font-weight: 700; }

/* ═══════════════════════════════════════════════════
   콘서트 · 뮤지컬 — 랭킹 포스터
   ═══════════════════════════════════════════════════ */
.mcard { width: clamp(176px, 16.5vw, 224px); position: relative; }
.mcard__media {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden;
  transition: 0.45s var(--ease);
}
.mcard:hover .mcard__media { transform: translateY(-8px); box-shadow: 0 30px 56px -22px rgba(0, 0, 0, 1); }
.mcard__no {
  position: absolute; z-index: 5; left: -6px; bottom: 8px;
  font-size: clamp(46px, 5vw, 68px); font-weight: 900; line-height: 0.8;
  color: #fff; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
  paint-order: stroke fill;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.9);
}
.mcard__tag {
  position: absolute; z-index: 4; top: 11px; right: 11px;
  padding: 4px 9px; border-radius: var(--r-xs);
  background: var(--brand); font-size: 10.5px; font-weight: 900;
}
.mcard__body { padding-top: 13px; }
.mcard__body h3 {
  font-size: 14.5px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.34;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mcard__body p { font-size: 12.5px; color: var(--tx-3); margin-top: 5px; }

/* ═══════════════════════════════════════════════════
   문화뉴스 — 매거진 리스트
   ═══════════════════════════════════════════════════ */
.sec--news { background: var(--ink-850); border-block: 1px solid var(--line); }
.sec--news .sec__eyebrow { color: var(--sky); }
.sec--news .sec__eyebrow::before { background: var(--sky); }

.news { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 3vw, 46px); align-items: start; }
.news__lead { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.news__lead .art { position: absolute; inset: 0; }
.news__lead-in { position: relative; z-index: 4; aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.4vw, 36px); }
.news__cat {
  display: inline-block; width: fit-content; padding: 4px 11px; border-radius: 999px;
  background: rgba(76, 168, 255, 0.2); border: 1px solid rgba(76, 168, 255, 0.5);
  color: #9ccdff; font-size: 11.5px; font-weight: 800; margin-bottom: 13px;
}
.news__lead h3 { font-size: clamp(20px, 2.2vw, 31px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.22; margin-bottom: 11px; }
.news__lead p { font-size: 14px; color: var(--tx-2); line-height: 1.66; margin-bottom: 15px; max-width: 48ch; }
.news__byline { font-size: 12.5px; color: var(--tx-3); display: flex; gap: 12px; }

.news__list { display: flex; flex-direction: column; }
.nitem {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line); transition: 0.3s var(--ease);
}
.nitem:first-child { padding-top: 0; }
.nitem:last-child { border-bottom: none; }
.nitem:hover { transform: translateX(5px); }
.nitem__thumb { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; position: relative; }
.nitem__thumb .art { position: absolute; inset: 0; }
.nitem h4 {
  font-size: 15px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.38; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nitem__meta { font-size: 12px; color: var(--tx-3); display: flex; gap: 10px; }
.nitem__meta b { color: var(--sky); font-weight: 700; }

/* ═══════════════════════════════════════════════════
   국악 · 무용 — 한지 톤 오프셋
   ═══════════════════════════════════════════════════ */
.sec--dance { background: linear-gradient(165deg, #14100c 0%, var(--ink-900) 62%); }
.sec--dance .sec__eyebrow { color: var(--gold); }
.sec--dance .sec__eyebrow::before { background: var(--gold); }
.sec--dance .sec__title { font-family: var(--serif); font-weight: 700; letter-spacing: -0.005em; }

.dances { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.dcard { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; transition: 0.5s var(--ease); }
.dances > .dcard:nth-child(odd) { transform: translateY(clamp(12px, 2vw, 30px)); }
.dances > .dcard:nth-child(odd):hover { transform: translateY(calc(clamp(12px, 2vw, 30px) - 8px)); }
.dcard:hover { transform: translateY(-8px); box-shadow: 0 30px 58px -24px rgba(0, 0, 0, 1); }
.dcard .art { position: absolute; inset: 0; }
.dcard__body { position: absolute; z-index: 4; inset: auto 0 0 0; padding: 20px 18px 22px; }
.dcard__body h3 { font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.32; margin-bottom: 6px; }
.dcard__body p { font-size: 12.5px; color: var(--tx-2); margin-bottom: 10px; }
.dcard__meta { font-size: 11.5px; color: var(--tx-3); line-height: 1.55; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 9px; }

/* ═══════════════════════════════════════════════════
   연극 — 티켓 스터브
   ═══════════════════════════════════════════════════ */
.plays { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.pcard {
  display: grid; grid-template-columns: 108px 1fr;
  background: var(--ink-700); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; position: relative;
  transition: 0.4s var(--ease);
}
.pcard::before, .pcard::after {
  content: ''; position: absolute; left: 108px; width: 14px; height: 14px;
  background: var(--ink-900); border-radius: 50%; z-index: 5; transform: translateX(-50%);
}
.pcard::before { top: -7px; }
.pcard::after { bottom: -7px; }
.pcard:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.95); }
.pcard__media { position: relative; }
.pcard__body { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.pcard__body h3 {
  font-size: 15px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.36; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__meta { font-size: 12px; color: var(--tx-3); line-height: 1.6; margin-bottom: 11px; }
.pcard__price { display: flex; align-items: baseline; gap: 8px; }
.pcard__price b { font-size: 16px; font-weight: 900; }
.pcard__price s { font-size: 12px; color: var(--tx-3); }
.pcard__off { color: var(--brand); font-size: 13px; font-weight: 900; }

/* ═══════════════════════════════════════════════════
   전시 — 라이트 갤러리 (대비 반전)
   ═══════════════════════════════════════════════════ */
.sec--exhibit { background: #f2efe9; color: #14120f; }
.sec--exhibit .sec__eyebrow { color: #b2402c; }
.sec--exhibit .sec__eyebrow::before { background: #b2402c; }
.sec--exhibit .sec__desc { color: #5d574d; }
.sec--exhibit .sec__more { color: #5d574d; border-color: rgba(0, 0, 0, 0.16); }
.sec--exhibit .sec__more:hover { color: #14120f; background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.3); }

.exhibits { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.xcard { transition: 0.45s var(--ease); }
.xcard:hover { transform: translateY(-7px); }
.xcard__media { position: relative; aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.45); }
.xcard__media .art::after { background: linear-gradient(to top, rgba(4, 3, 6, 0.5), transparent 55%); }
.xcard__body { padding-top: 16px; }
.xcard__body h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.032em; line-height: 1.3; margin-bottom: 5px; }
.xcard__body p { font-size: 13px; color: #6b6459; margin-bottom: 10px; }
.xcard__meta { font-size: 12px; color: #8a8377; line-height: 1.6; border-top: 1px solid rgba(0, 0, 0, 0.12); padding-top: 10px; }

/* ═══════════════════════════════════════════════════
   행사 · 축제 — 날짜 캘린더 리스트
   ═══════════════════════════════════════════════════ */
.fests { display: flex; flex-direction: column; gap: 2px; }
.fcard {
  display: grid; grid-template-columns: 92px 1fr 210px auto; gap: clamp(14px, 2vw, 30px);
  align-items: center; padding: clamp(16px, 1.8vw, 24px) clamp(14px, 1.6vw, 24px);
  border-radius: var(--r-md); position: relative; overflow: hidden;
  border: 1px solid transparent; transition: 0.4s var(--ease);
}
.fcard::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: linear-gradient(90deg, hsl(var(--h) 70% 40% / 0.28), transparent 70%);
  transition: opacity 0.4s var(--ease);
}
.fcard:hover { border-color: var(--line); transform: translateX(6px); }
.fcard:hover::before { opacity: 1; }
.fcard > * { position: relative; z-index: 1; }
.fcard__date { text-align: center; line-height: 1; }
.fcard__date b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 900; letter-spacing: -0.05em; }
.fcard__date span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: var(--gold); margin-top: 6px; }
.fcard__title { font-size: clamp(16px, 1.6vw, 21px); font-weight: 800; letter-spacing: -0.033em; }
.fcard__place { font-size: 13.5px; color: var(--tx-2); }
.fcard__note { font-size: 12.5px; color: var(--tx-3); }
.fcard__go {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: 0.35s var(--ease); flex-shrink: 0;
}
.fcard:hover .fcard__go { background: var(--brand); border-color: var(--brand); transform: rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   아동 · 가족 — 밝고 둥근
   ═══════════════════════════════════════════════════ */
.sec--family { background: linear-gradient(180deg, var(--ink-900), #0d1310 55%, var(--ink-900)); }
.sec--family .sec__eyebrow { color: var(--mint); }
.sec--family .sec__eyebrow::before { background: var(--mint); }

.families { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.kcard {
  background: var(--ink-700); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; transition: 0.45s var(--ease);
}
.kcard:hover { transform: translateY(-8px) rotate(-0.6deg); border-color: rgba(46, 211, 183, 0.45); box-shadow: 0 28px 54px -22px rgba(0, 0, 0, 0.95); }
.kcard__media { position: relative; aspect-ratio: 5 / 4; }
.kcard__age {
  position: absolute; z-index: 4; top: 13px; left: 13px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(46, 211, 183, 0.92); color: #04211c;
  font-size: 11.5px; font-weight: 900;
}
.kcard__body { padding: 18px 20px 22px; }
.kcard__body h3 { font-size: 15.5px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.34; margin-bottom: 9px; min-height: 42px; }
.kcard__meta { font-size: 12.5px; color: var(--tx-3); line-height: 1.6; }

/* ═══════════════════════════════════════════════════
   공지사항
   ═══════════════════════════════════════════════════ */
.sec--notice { background: var(--ink-850); border-top: 1px solid var(--line); }
.notices { border-top: 1px solid var(--line); }
.notice {
  display: grid; grid-template-columns: 74px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 6px; border-bottom: 1px solid var(--line); transition: 0.3s var(--ease);
}
.notice:hover { background: rgba(255, 255, 255, 0.035); padding-inline: 14px 6px; }
.notice__cat {
  font-size: 11.5px; font-weight: 800; text-align: center;
  padding: 4px 0; border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.08); color: var(--tx-2);
}
.notice__cat--pin { background: rgba(255, 59, 84, 0.16); color: #ff8e9d; }
.notice__title { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.notice__title b { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: 0.06em; }
.notice__date { font-size: 12.5px; color: var(--tx-3); }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.ftr { background: var(--ink-850); border-top: 1px solid var(--line); padding-block: clamp(44px, 5vw, 72px) 36px; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(24px, 3vw, 50px); margin-bottom: 42px; }
.ftr__brand p { font-size: 13.5px; color: var(--tx-3); line-height: 1.75; margin-top: 16px; max-width: 40ch; }
.ftr h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 15px; color: var(--tx); }
.ftr li { margin-bottom: 10px; }
.ftr li a { font-size: 13.5px; color: var(--tx-3); transition: color 0.25s; }
.ftr li a:hover { color: var(--tx); }
.ftr__bottom {
  border-top: 1px solid var(--line); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--tx-3);
}
.ftr__legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   페이지 헤드 (서브 페이지 공통)
   ═══════════════════════════════════════════════════ */
.phead { position: relative; padding-top: calc(var(--hdr-h) + clamp(46px, 6vw, 90px)); padding-bottom: clamp(36px, 4.6vw, 66px); overflow: hidden; }
.phead::before {
  content: ''; position: absolute; z-index: 0; inset: 0;
  background:
    radial-gradient(70% 90% at 12% 0%, hsl(var(--ph, 345) 78% 46% / 0.32), transparent 62%),
    radial-gradient(60% 80% at 88% 10%, hsl(calc(var(--ph, 345) + 60) 72% 44% / 0.22), transparent 66%);
}
.phead > * { position: relative; z-index: 1; }
.phead__eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 14px; }
.phead h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1.06; margin-bottom: 16px; }
.phead p { font-size: clamp(14.5px, 1.4vw, 17px); color: var(--tx-2); max-width: 58ch; line-height: 1.68; }
.phead__stats { display: flex; gap: clamp(24px, 3vw, 52px); margin-top: 32px; flex-wrap: wrap; }
.phead__stat b { display: block; font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; letter-spacing: -0.04em; }
.phead__stat span { font-size: 12.5px; color: var(--tx-3); font-weight: 600; }

/* 필터 탭 */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-bottom: clamp(24px, 3vw, 40px); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; height: 38px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--tx-2);
  display: inline-flex; align-items: center; transition: 0.3s var(--ease);
}
.tab:hover { color: var(--tx); border-color: var(--line-2); }
.tab.is-on { background: var(--tx); color: var(--ink-900); border-color: var(--tx); }

.live-dot {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 900;
  color: var(--brand); margin-left: 6px;
}
.live-dot i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); animation: blink 1.5s infinite; }

/* ═══════════════════════════════════════════════════
   영상 페이지 그리드
   ═══════════════════════════════════════════════════ */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.vgrid .vcard__body { padding: 16px 18px 20px; }
.vgrid .vcard__body h3 { font-size: 16px; }

/* ═══════════════════════════════════════════════════
   영상 상세
   ═══════════════════════════════════════════════════ */
.vdetail__back { padding-top: calc(var(--hdr-h) + 20px); }
.vdetail__back a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--tx-2);
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  transition: 0.25s var(--ease);
}
.vdetail__back a:hover { color: var(--tx); border-color: var(--line-2); background: rgba(255, 255, 255, 0.06); }

.vdetail__stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r-lg); overflow: hidden;
  background: #000; border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 1);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.vdetail__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

.vdetail__novideo { position: absolute; inset: 0; display: grid; place-items: center; }
.vdetail__novideo .art { position: absolute; inset: 0; }
.vdetail__novideo-tx {
  position: relative; z-index: 4; font-size: 14.5px; font-weight: 600; color: var(--tx-2);
  background: rgba(8, 7, 11, 0.72); backdrop-filter: blur(10px);
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line);
}

.vdetail__head { max-width: 900px; }
.vdetail__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.vdetail__head h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.2; margin-bottom: 16px;
}
.vdetail__desc { font-size: clamp(15px, 1.5vw, 17px); color: var(--tx-2); line-height: 1.75; }

/* 카드가 링크가 되면서 필요한 보정 */
a.vcard { display: block; color: inherit; }

/* ═══════════════════════════════════════════════════
   IN고양 / 지역
   ═══════════════════════════════════════════════════ */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.spcard { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; transition: 0.5s var(--ease); }
.spcard:hover { transform: translateY(-7px); box-shadow: 0 30px 58px -24px rgba(0, 0, 0, 1); }
.spcard .art { position: absolute; inset: 0; }
.spcard__body { position: absolute; z-index: 4; inset: auto 0 0 0; padding: 24px 22px; }
.spcard__body h3 { font-size: 21px; font-weight: 900; letter-spacing: -0.035em; margin-bottom: 7px; }
.spcard__body p { font-size: 13px; color: var(--tx-2); margin-bottom: 13px; }
.spcard__meta { font-size: 12px; color: var(--tx-3); line-height: 1.6; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 11px; }

.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.rcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--ink-700);
  padding: clamp(24px, 2.6vw, 36px); transition: 0.45s var(--ease);
}
.rcard::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background: radial-gradient(80% 70% at 82% 6%, hsl(var(--h) 78% 48% / 0.4), transparent 66%);
  transition: opacity 0.45s var(--ease);
}
.rcard:hover { transform: translateY(-7px); border-color: var(--line-2); }
.rcard:hover::before { opacity: 1; }
.rcard > * { position: relative; z-index: 1; }
.rcard__tag { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--gold); }
.rcard h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; letter-spacing: -0.04em; margin: 10px 0 6px; }
.rcard__count { font-size: 13.5px; color: var(--tx-2); margin-bottom: 20px; }
.rcard__count b { color: var(--brand); font-weight: 800; }
.rcard__spots { display: flex; flex-wrap: wrap; gap: 7px; }

/* ═══════════════════════════════════════════════════
   반응형
   ═══════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .dances, .exhibits, .families { grid-template-columns: repeat(2, 1fr); }
  .plays { grid-template-columns: repeat(2, 1fr); }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .spaces, .regions { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .news { grid-template-columns: 1fr; }
  .fcard { grid-template-columns: 76px 1fr auto; }
  .fcard__note { display: none; }
}

@media (max-width: 900px) {
  :root { --hdr-h: 104px; }
  .hdr__search { display: none; }
  .nav__list { overflow-x: auto; scrollbar-width: none; }
  .nav__list::-webkit-scrollbar { display: none; }
  .hero__copy { bottom: clamp(128px, 20vh, 190px); max-width: 78vw; }
  .classics { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --sec-y: 48px; }
  .hero__stage { aspect-ratio: 1 / 1; min-height: 448px; }
  .hero__copy { max-width: 100%; right: var(--gut); }
  .videos { grid-template-columns: 1fr; }
  .dances, .exhibits, .families, .plays, .vgrid, .spaces, .regions { grid-template-columns: 1fr; }
  .dances > .dcard:nth-child(odd) { transform: none; }
  .fcard { grid-template-columns: 62px 1fr; row-gap: 6px; }
  .fcard__place { grid-column: 2; }
  .fcard__go { display: none; }
  .ftr__grid { grid-template-columns: 1fr; }
  .notice { grid-template-columns: 62px 1fr; }
  .notice__date { grid-column: 2; }
  .util-btn span { display: none; }
  .nitem { grid-template-columns: 76px 1fr; }
}

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

/* ═══════════════════════════════════════════════════════════
   라이트 테마 보정
   ───────────────────────────────────────────────────────────
   위쪽 규칙들은 어두운 배경을 전제로 흰색 반투명(테두리·호버)을 쓰고 있다.
   페이지 면 위의 것만 어두운 반투명으로 뒤집고,
   포스터/히어로 이미지 위에 얹히는 것(.art, .hero, 카드 미디어 오버레이)은
   배경이 여전히 어두우므로 그대로 둔다.
   ═══════════════════════════════════════════════════════════ */

/* ── 헤더 ───────────────────────────────────────────── */
.hdr {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.6) 60%, transparent);
}
.hdr.solid {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(17, 17, 26, 0.06);
}
.hdr__search input { background: var(--ink-850); border-color: var(--line); }
.hdr__search input:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(238, 36, 64, 0.12);
}
.util-btn:hover { background: var(--ink-800); }
.util-btn--cta { box-shadow: 0 6px 18px -8px rgba(238, 36, 64, 0.6); }

/* ── 버튼 · 공용 ────────────────────────────────────── */
.btn--ghost { background: var(--ink-800); border-color: var(--line); color: var(--tx); }
.btn--ghost:hover { background: var(--ink-600); }
.btn--primary { box-shadow: 0 8px 24px -12px rgba(238, 36, 64, 0.75); }
.btn--primary:hover { box-shadow: 0 14px 30px -12px rgba(238, 36, 64, 0.85); }

.sec__more:hover { background: var(--ink-850); }

.chip { background: var(--ink-800); border-color: var(--line); color: var(--tx-2); }

.rail::-webkit-scrollbar-track { background: rgba(17, 17, 26, 0.05); }
.rail::-webkit-scrollbar-thumb { background: rgba(17, 17, 26, 0.2); }

/* 히어로 CTA 는 어두운 이미지 위에 있으므로 흰 계열 유지 */
.hero__cta .btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--on-art-line);
  color: var(--on-art);
}
.hero__cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.24); }

/* ── 카드 · 그림자 ──────────────────────────────────── */
.vcard, .newcard, .kcard {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04);
}
.vcard:hover, .pick:hover, .ccard:hover, .dcard:hover,
.spcard:hover, .newcard:hover, .kcard:hover, .pcard:hover {
  box-shadow: 0 18px 40px -20px rgba(17, 17, 26, 0.3);
}
.mcard:hover .mcard__media { box-shadow: 0 18px 36px -18px rgba(17, 17, 26, 0.35); }
.xcard__media { box-shadow: 0 10px 26px -14px rgba(17, 17, 26, 0.28); }

/* 랭킹 숫자 — 흰 획이라 흰 배경에서 사라진다 */
.mcard__no {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

/* 연극 티켓 카드의 반원 노치는 페이지 배경색이어야 자연스럽다 */
.pcard { background: #fff; }
.pcard::before, .pcard::after { background: var(--ink-900); }

/* ── 섹션 배경 ──────────────────────────────────────── */
.sec--classic { background: linear-gradient(180deg, #fff, var(--ink-850) 30%, #fff); }
.sec--news { background: var(--ink-850); }
.sec--dance { background: linear-gradient(165deg, #fbf7f1 0%, #fff 62%); }
.sec--family { background: linear-gradient(180deg, #fff, #f2fbf8 55%, #fff); }
.sec--notice { background: var(--ink-850); }

.nitem:hover { background: transparent; }
.notice:hover { background: rgba(17, 17, 26, 0.03); }

/* 전시 — 유일하게 반전되는 섹션. 다크였을 땐 밝은 갤러리였고, 이제 반대로. */
.sec--exhibit { background: #14131a; color: var(--on-art); }
.sec--exhibit .sec__title { color: var(--on-art); }
.sec--exhibit .sec__eyebrow { color: #ff8f7a; }
.sec--exhibit .sec__eyebrow::before { background: #ff8f7a; }
.sec--exhibit .sec__desc { color: rgba(255, 255, 255, 0.66); }
.sec--exhibit .sec__more { color: rgba(255, 255, 255, 0.72); border-color: var(--on-art-line); }
.sec--exhibit .sec__more:hover {
  color: var(--on-art); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4);
}
.sec--exhibit .xcard__body h3 { color: var(--on-art); }
.sec--exhibit .xcard__body p { color: rgba(255, 255, 255, 0.6); }
.sec--exhibit .xcard__meta { color: rgba(255, 255, 255, 0.45); border-top-color: var(--on-art-line); }
.sec--exhibit .xcard__media { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }

/* 행사·축제 리스트 */
.fcard::before { background: linear-gradient(90deg, hsl(var(--h) 70% 62% / 0.16), transparent 70%); }
.fcard:hover { background: var(--ink-850); }
.fcard__date span { color: var(--gold); }
.fcard__go { border-color: var(--line); }

/* ── 푸터 ───────────────────────────────────────────── */
.ftr { background: var(--ink-850); }

/* ── 서브 페이지 ────────────────────────────────────── */
.phead::before {
  background:
    radial-gradient(70% 90% at 12% 0%, hsl(var(--ph, 345) 88% 62% / 0.16), transparent 62%),
    radial-gradient(60% 80% at 88% 10%, hsl(calc(var(--ph, 345) + 60) 82% 60% / 0.12), transparent 66%);
}
.phead__eyebrow { color: var(--brand); }

.tab.is-on { background: var(--tx); color: #fff; border-color: var(--tx); }
.me__menu { background: #fff; box-shadow: 0 18px 44px -14px rgba(0,0,0,0.18); }
.lsheet__box { background: #fff; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.25); }
.lfield { background: var(--g50, #f7f8fa); }
.lsheet__msg { background: rgba(0, 0, 0, 0.05); }
.lsheet__msg.is-bad { background: rgba(238, 36, 64, 0.08); color: #d32040; }


.rcard { background: #fff; }
.rcard::before { background: radial-gradient(80% 70% at 82% 6%, hsl(var(--h) 78% 62% / 0.18), transparent 66%); }
.rcard__tag { color: var(--gold); }

.vdetail__back a:hover { background: var(--ink-850); }
.vdetail__stage { border-color: var(--line); box-shadow: 0 20px 50px -26px rgba(17, 17, 26, 0.4); }

/* ── 선택 영역 ──────────────────────────────────────── */
::selection { background: rgba(238, 36, 64, 0.18); color: inherit; }

/* ── 이미지 위에 얹히는 텍스트 ───────────────────────
   히어로와 포스터는 여전히 어두운 이미지다.
   여기 글자는 페이지 본문색(--tx, 어두움)을 상속하면 안 보이므로 흰 계열로 되돌린다. */
.hero__title,
.hero__meta b,
.hero__thumb-tx,
.art__label b,
.pick__body h3,
.pick__price,
.ccard__body h3,
.ccard__meta b,
.dcard__body h3,
.spcard__body h3,
.news__lead h3,
.vcard__tag,
.vcard__dur,
.vcard__play,
.mcard__tag { color: var(--on-art); }

.hero__eyebrow,
.hero__meta,
.pick__sub,
.pick__foot,
.ccard__body p,
.ccard__meta,
.dcard__body p,
.spcard__body p,
.news__lead p { color: var(--on-art-2); }

.art__label span,
.dcard__meta,
.spcard__meta,
.news__byline { color: rgba(255, 255, 255, 0.6); }

.pick__foot,
.dcard__meta,
.spcard__meta { border-top-color: var(--on-art-line); }

/* 히어로 두 번째 줄 그라데이션은 흰색 → 금색이라 그대로 둔다 */
.hero__title span:last-child {
  background: linear-gradient(94deg, #fff 20%, var(--gold-fill) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── 흰 배경 대비 보정 ───────────────────────────────
   브랜드 레드와 골드는 채움(버튼·배지)에는 충분하지만
   흰 배경 위 '작은 글씨'로 쓰면 대비가 4.5:1 에 못 미친다.
   면으로 쓰는 색과 글자로 쓰는 색을 분리한다. */
:root {
  --brand-ink: #c2183a;  /* 흰 배경 위 텍스트용 (약 6:1) */
  --gold: #8a5c00;       /* 흰 배경 위 텍스트용 (약 5.7:1) */
}

.sec__eyebrow,
.newcard__genre,
.phead__eyebrow,
.pcard__off,
.rcard__count b,
.nitem__meta b { color: var(--brand-ink); }
.sec__eyebrow::before { background: var(--brand-ink); }

.newcard__open { color: #0b7a68; }        /* 민트도 흰 배경에선 진하게 */
.sec--family .sec__eyebrow { color: #0b7a68; }
.sec--family .sec__eyebrow::before { background: #0b7a68; }
.sec--news .sec__eyebrow { color: #1560b0; }
.sec--news .sec__eyebrow::before { background: #1560b0; }
.sec--classic .sec__eyebrow { color: #5a2fd0; }
.sec--classic .sec__eyebrow::before { background: #5a2fd0; }
.sec--dance .sec__eyebrow { color: var(--gold); }
.sec--dance .sec__eyebrow::before { background: var(--gold); }

/* 배지·칩은 채움이라 원래 밝은 색을 써도 된다 */
.newcard__flag { background: var(--gold-fill); color: #1a1204; }
.kcard__age { background: rgba(15, 156, 134, 0.95); color: #fff; }
.news__cat { background: rgba(31, 127, 224, 0.12); border-color: rgba(31, 127, 224, 0.4); color: #1560b0; }

/* 히어로·포스터 위 배지는 어두운 배경이라 밝은 색 유지 */
.hero__badge { background: rgba(238, 36, 64, 0.22); border-color: rgba(255, 255, 255, 0.35); color: #ffd9df; }
.hero__badge i { background: #ff8296; }
.pick__rank { color: var(--gold-fill); }

/* ── 히어로 반응형 보정 ──────────────────────────────
   문제: 히어로 높이는 16:9 라 화면 '폭'을 따라 계속 커지는데
         제목은 4.7rem 에서 멈추고, 세로 위치는 vh(화면 '높이') 기준이라
         둘이 서로 다른 기준을 봤다. 넓은 화면일수록 글씨가 작아 보이고
         여백만 커지던 이유.
   해결: 글자 크기는 폭을 계속 따라가게 상한을 올리고,
         세로 위치는 %(=히어로 높이 기준)로 바꿔 히어로와 함께 움직이게 한다. */

/* 히어로를 낮추면 글 덩어리도 같이 줄여야 한다.
   틀만 줄이면 제목이 위로 잘려 나간다 — 아래 값들은 무대 높이와 함께 움직인다. */
.hero__copy {
  bottom: clamp(120px, 16%, 240px);
  max-width: min(52rem, 58vw);
}
.hero__title { margin-bottom: clamp(7px, 0.6vw, 13px); }
.hero__eyebrow { margin-bottom: clamp(8px, 0.8vw, 15px); }
.hero__meta { margin-bottom: clamp(10px, 1vw, 18px); }
.hero__badge { height: 24px; margin-bottom: clamp(7px, 0.7vw, 13px); }

.hero__rail { bottom: clamp(18px, 3%, 46px); }
.hero__thumb { width: clamp(62px, 4.8vw, 104px); }
.hero__thumb-tx { font-size: clamp(10px, 0.55vw, 12px); }

.hero__cta .btn { height: clamp(38px, 2.4vw, 46px); font-size: clamp(13.5px, 0.88vw, 15.5px); padding-inline: clamp(19px, 1.5vw, 28px); }

@media (max-width: 900px) {
  .hero__copy { bottom: clamp(132px, 20%, 200px); max-width: 78vw; }
}
@media (max-width: 720px) {
  /* 세로형 히어로 — 썸네일이 작아지므로 카피를 조금 더 내린다 */
  .hero__copy { bottom: clamp(120px, 17%, 180px); max-width: 100%; }
  .hero__rail { bottom: clamp(20px, 3%, 36px); }
}

/* ═══════════════════════════════════════════════════════════
   타이포 — 해상도 대응 재정비
   ───────────────────────────────────────────────────────────
   1) 순수 vw 는 기울기가 가팔라 중간 크기에서 튄다.
      '고정값 + vw' 로 400px~1920px 사이를 선형 보간하고 양끝은 고정한다.
      예) clamp(34px, 15.6px + 4.6vw, 104px)
          → 400px 에서 34px, 1920px 에서 104px, 그 밖은 고정
   2) 본문은 vw 로 키우지 않는다. 사용자가 브라우저 기본 글자 크기를 키웠을 때
      무시되고, 좁은 화면에서 지나치게 작아지기 때문이다. 제목만 유동적으로.
   3) 한글은 word-break 기본값이면 '엘리자/벳' 처럼 낱자에서 잘린다.
      keep-all 로 어절 단위로만 줄바꿈되게 한다.
   ═══════════════════════════════════════════════════════════ */

/* ── 한글 줄바꿈 ────────────────────────────────────── */
h1, h2, h3, h4,
.hero__title, .hero__eyebrow, .hero__meta,
.sec__title, .sec__desc,
.vcard__body h3, .newcard__body h3, .mcard__body h3,
.pick__body h3, .ccard__body h3, .dcard__body h3,
.xcard__body h3, .kcard__body h3, .pcard__body h3,
.spcard__body h3, .nitem h4, .news__lead h3,
.notice__title, .fcard__title, .hero__thumb-tx,
.art__label b, .phead h1, .phead p, .vdetail__head h1 {
  word-break: keep-all;
  overflow-wrap: break-word;   /* 한 어절이 칸보다 길면 그때만 자른다 */
}

/* ── 히어로 (400px→1920px 보간) ───────────────────────
   무대를 20% 낮추면서 글씨도 같은 비율로 줄였다. 안 그러면 넘쳐서 잘린다. */
.hero__title    { font-size: clamp(1.55rem, 9px + 3.1vw, 4.3rem); line-height: 1.02; }
.hero__eyebrow  { font-size: clamp(0.875rem, 10.5px + 0.58vw, 1.15rem); }
.hero__meta     { font-size: clamp(0.78rem, 9.5px + 0.3vw, 1rem); }
.hero__badge    { font-size: clamp(0.6875rem, 9.9px + 0.12vw, 0.78rem); }

/* 썸네일 캡션은 칸이 좁아 유동 확대가 오히려 해가 된다. 고정 + 어절 단위 줄바꿈. */
.hero__thumb-tx { font-size: 11px; line-height: 1.3; }

/* ── 섹션 제목 ──────────────────────────────────────── */
.sec__title  { font-size: clamp(1.5rem, 18.7px + 1.32vw, 2.75rem); }
.sec__eyebrow { font-size: clamp(0.6875rem, 10.2px + 0.08vw, 0.8125rem); }
.sec__desc   { font-size: clamp(0.875rem, 13.1px + 0.05vw, 0.9375rem); }

/* ── 서브 페이지 헤드 ───────────────────────────────── */
.phead h1 { font-size: clamp(1.875rem, 20.7px + 2.24vw, 4rem); line-height: 1.08; }
.phead p  { font-size: clamp(0.9063rem, 13px + 0.24vw, 1.125rem); }
.phead__stat b { font-size: clamp(1.375rem, 15.8px + 1.32vw, 2.625rem); }

/* ── 영상 상세 ──────────────────────────────────────── */
.vdetail__head h1 { font-size: clamp(1.5rem, 16.1px + 1.97vw, 3.25rem); }
.vdetail__desc    { font-size: clamp(0.9375rem, 13.9px + 0.13vw, 1.0625rem); }

/* ── 카드 제목 — 칸 폭이 정해져 있어 살짝만 ────────── */
.pick__body h3  { font-size: clamp(1.0625rem, 14.2px + 0.39vw, 1.5rem); }
.ccard__body h3 { font-size: clamp(1.125rem, 15.3px + 0.36vw, 1.5625rem); }
.mcard__body h3, .newcard__body h3 { font-size: clamp(0.875rem, 13.3px + 0.08vw, 0.9375rem); }

/* ── 히어로 썸네일 캡션 ──────────────────────────────
   keep-all 로 어절을 지키니 좁은 칸에서 3줄이 됐다.
   칸을 넓혀 2줄에 들어가게 하고, 넘치면 확실히 잘리도록 높이를 못 박는다.
   (-webkit-line-clamp 는 display 가 -webkit-box 여야 동작한다) */
.hero__thumb { width: clamp(96px, 6vw, 132px); }
.hero__thumb-tx {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  max-height: calc(1.3em * 2);
  padding: 6px 8px 7px;
}

/* ── ONAIR 메뉴 강조 ─────────────────────────────────
   실시간 채널이라 다른 메뉴와 구분되게 빨간색.
   --brand(#ee2440)는 흰 배경에서 4.2:1 로 기준(4.5:1)에 못 미쳐
   글자용 --brand-ink 를 쓴다. 밑줄은 채움이라 원색 그대로. */
.nav__link--live { color: var(--brand-ink); font-weight: 800; letter-spacing: 0.01em; }
.nav__link--live:hover { color: var(--brand); }
.nav__link--live.is-active { color: var(--brand-ink); }
.nav__link--live::after { background: var(--brand); }

/* ═══════════════════════════════════════════════════
   NEWS — 목록 / 상세
   ═══════════════════════════════════════════════════ */
.ngrid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}

.ncard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04);
  transition: 0.4s var(--ease);
}
.ncard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -20px rgba(17, 17, 26, 0.3); }
.ncard__media { position: relative; aspect-ratio: 16 / 10; flex-shrink: 0; }
.ncard__media > .art { position: absolute; inset: 0; }
.ncard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.ncard__cat {
  align-self: flex-start; font-size: 11.5px; font-weight: 800;
  color: var(--brand-ink); background: rgba(238, 36, 64, 0.08);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 11px;
}
.ncard__body h3 {
  font-size: clamp(15px, 14.2px + 0.13vw, 17px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.42; margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard__body p {
  font-size: 13.5px; color: var(--tx-2); line-height: 1.62; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard__meta {
  margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--tx-3); padding-top: 12px; border-top: 1px solid var(--line);
}

/* ── 상세 ───────────────────────────────────────────── */
.ndetail__head { max-width: 800px; margin-bottom: clamp(22px, 2.6vw, 34px); }
.ndetail__head h1 {
  font-size: clamp(1.5rem, 16.1px + 1.97vw, 3rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.22; margin: 12px 0 16px;
}
.ndetail__byline {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--tx-3);
  padding-top: 14px; border-top: 1px solid var(--line);
}
.ndetail__byline b { color: var(--tx-2); font-weight: 700; }

.ndetail__hero { margin-bottom: clamp(20px, 2.4vw, 32px); }
.ndetail__hero img { width: 100%; border-radius: var(--r-lg); }
.ndetail__hero figcaption { font-size: 13px; color: var(--tx-3); margin-top: 10px; line-height: 1.6; }

.ndetail__lead {
  max-width: 760px; font-size: clamp(16px, 15.2px + 0.13vw, 18px);
  font-weight: 600; color: var(--tx); line-height: 1.75; margin-bottom: 22px;
}
.ndetail__body { max-width: 760px; font-size: 16px; color: var(--tx-2); line-height: 1.85; }
.ndetail__body p { margin-bottom: 18px; }
.ndetail__body img { width: 100%; border-radius: var(--r-md); margin: 18px 0; }
.ndetail__body a { color: var(--brand-ink); text-decoration: underline; }

.ndetail__gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px; margin-top: 26px;
}
.ndetail__gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); }

/* 출처 표기 — 수집 기사는 원문으로 보낸다 */
.ndetail__source {
  margin-top: clamp(30px, 3.4vw, 46px); padding: clamp(20px, 2.2vw, 28px);
  background: var(--ink-850); border: 1px solid var(--line); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.ndetail__source p { font-size: 14.5px; color: var(--tx-2); line-height: 1.65; margin: 0; }
.ndetail__source b { color: var(--tx); font-weight: 700; }

@media (max-width: 1024px) { .ngrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ngrid { grid-template-columns: 1fr; } }

/* ── ONAIR — 인트로 없이 바로 플레이어 ───────────────
   phead 를 없앴으므로 고정 헤더에 가리지 않도록 위 여백을 직접 준다. */


@media (max-width: 1180px) {
  /* 본문이 1열이 되면 두 패널을 좌우로 나란히 */
}
@media (max-width: 720px) {
}

/* ── 페이지 상단 여백 ────────────────────────────────
   서브 페이지의 인트로(.phead)를 걷어내면서, 첫 요소가 고정 헤더에 가린다.
   페이지마다 클래스를 붙이는 대신 첫 자식에 자동으로 여백을 준다.
     - .hero  : 자체 padding-top 이 이미 있음
     - .phead : '찾을 수 없습니다' 같은 안내에만 남아 있고 자체 여백이 큼 */
#main > :first-child:not(.hero):not(.phead) {
  padding-top: calc(var(--hdr-h) + clamp(18px, 2.2vw, 34px));
}

/* ═══════════════════════════════════════════════════
   문화공간 — 공간 디렉토리
   ═══════════════════════════════════════════════════ */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.place {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 1px 2px rgba(17,17,26,.04);
  transition: 0.4s var(--ease); display: flex; flex-direction: column;
}
.place:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -20px rgba(17,17,26,.3); }
.place__media { position: relative; aspect-ratio: 16 / 10; }
.place__media > .art { position: absolute; inset: 0; }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__body { padding: 18px 20px 22px; }
.place__dist {
  display: inline-block; font-size: 11.5px; font-weight: 800; color: var(--brand-ink);
  background: rgba(238,36,64,.08); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.place__body h3 { font-size: 17px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.place__body p { font-size: 13.5px; color: var(--tx-2); line-height: 1.6; margin-bottom: 12px; }
.place__meta {
  display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--tx-3);
  border-top: 1px solid var(--line); padding-top: 11px; line-height: 1.55;
}

/* ═══════════════════════════════════════════════════
   캘린더
   ═══════════════════════════════════════════════════ */
.cal__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.cal__nav {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  font-size: 20px; line-height: 1; color: var(--tx-2);
  display: grid; place-items: center; transition: .25s var(--ease);
}
.cal__nav:hover { background: var(--ink-850); color: var(--tx); border-color: var(--line-2); }
.cal__title { font-size: clamp(19px, 17px + .5vw, 26px); font-weight: 900; letter-spacing: -.04em; min-width: 148px; }
.cal__count { font-size: 13px; color: var(--tx-3); }
.cal__today { margin-left: auto; height: 38px; font-size: 13.5px; }

.cal__grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.cal__wd {
  background: var(--ink-850); padding: 11px 0; text-align: center;
  font-size: 12.5px; font-weight: 700; color: var(--tx-2);
}
.cal__wd.sun { color: var(--brand-ink); }
.cal__wd.sat { color: #1560b0; }

.cal__cell {
  background: #fff; min-height: clamp(84px, 9vw, 124px);
  padding: 8px 7px; text-align: left; display: flex; flex-direction: column; gap: 5px;
  transition: background .18s var(--ease);
}
.cal__cell--pad { background: var(--ink-850); }
.cal__cell[data-day]:hover { background: var(--blue-weaker, #f4f9ff); }
.cal__cell.is-empty { cursor: default; }
.cal__cell.is-today .cal__num {
  background: var(--tx); color: #fff; border-radius: 999px;
  width: 22px; height: 22px; display: grid; place-items: center;
}
.cal__cell.is-picked { background: rgba(238,36,64,.07); box-shadow: inset 0 0 0 2px var(--brand); }
.cal__num { font-size: 12.5px; font-weight: 700; color: var(--tx-2); }
.cal__num.sun { color: var(--brand-ink); }
.cal__num.sat { color: #1560b0; }

.cal__chips { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal__chip {
  font-size: 10.5px; font-weight: 600; line-height: 1.3;
  padding: 3px 6px; border-radius: 4px;
  background: hsl(var(--h) 70% 95%); color: hsl(var(--h) 65% 30%);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal__more { font-size: 10.5px; color: var(--tx-3); padding-left: 4px; }

.cal__detail { margin-top: clamp(22px, 2.6vw, 34px); }
.cal__dtitle { font-size: 17px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.cal__list { display: flex; flex-direction: column; gap: 8px; }
.cal__item {
  display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid hsl(var(--h) 70% 55%);
  border-radius: var(--r-md); padding: 13px 16px;
  transition: 0.24s var(--ease);
}
/* 누르면 해당 분류 페이지로 간다는 걸 드러낸다 */
a.cal__item:hover {
  border-color: var(--line-2); transform: translateX(3px);
  box-shadow: 0 10px 26px -18px rgba(17, 17, 26, 0.4);
}
.cal__go { font-size: 18px; color: var(--tx-3); line-height: 1; }
a.cal__item:hover .cal__go { color: var(--tx); }
.cal__tag {
  font-size: 11.5px; font-weight: 700; text-align: center;
  color: hsl(var(--h) 65% 32%); background: hsl(var(--h) 70% 95%);
  padding: 4px 0; border-radius: 999px;
}
.cal__iname { font-size: 14.5px; font-weight: 700; color: var(--tx); }
.cal__imeta { font-size: 12.5px; color: var(--tx-3); margin-top: 3px; }

@media (max-width: 1024px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .places { grid-template-columns: 1fr; }
  .cal__cell { min-height: 62px; padding: 5px 4px; }
  .cal__chip { display: none; }          /* 좁은 화면에선 점만 */
  .cal__chips::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--brand); margin: 2px auto 0;
  }
  .cal__cell.is-empty .cal__chips::before { display: none; }
  .cal__more { display: none; }
  .cal__item { grid-template-columns: 1fr; gap: 6px; }
  .cal__tag { justify-self: start; padding-inline: 10px; }
}

/* ═══════════════════════════════════════════════════
   행사 포스터 카드
   축제·전시를 공연 카드와 같은 3:4 포스터 형식으로 통일.
   ═══════════════════════════════════════════════════ */
.ecards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 24px); }

.ecard { display: block; transition: 0.45s var(--ease); }
.ecard:hover { transform: translateY(-7px); }

.ecard__media {
  position: relative; aspect-ratio: 3 / 4;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 10px 26px -14px rgba(17, 17, 26, 0.28);
  transition: box-shadow 0.45s var(--ease);
}
.ecard:hover .ecard__media { box-shadow: 0 22px 46px -20px rgba(17, 17, 26, 0.4); }
.ecard__media > .art { position: absolute; inset: 0; }

/* 날짜 배지 — 축제만 */
.ecard__date {
  position: absolute; z-index: 4; top: 12px; left: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  min-width: 46px; padding: 7px 8px 6px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.ecard__date b {
  font-size: 19px; font-weight: 900; line-height: 1;
  letter-spacing: -0.04em; color: var(--tx);
}
.ecard__date span {
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: var(--brand-ink);
}

.ecard__note {
  position: absolute; z-index: 4; bottom: 12px; left: 12px; right: 12px;
  font-size: 11.5px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.ecard__body { padding-top: 14px; }
.ecard__body h3 {
  font-size: clamp(14.5px, 13.8px + 0.13vw, 16.5px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.36; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ecard__body p {
  font-size: 12.5px; color: var(--tx-2); line-height: 1.5; margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.ecard__meta {
  font-size: 12px; color: var(--tx-3); line-height: 1.55;
  border-top: 1px solid var(--line); padding-top: 10px;
}

/* 전시 섹션은 어두운 반전 구역이라 글자를 밝게 */
.sec--exhibit .ecard__body h3 { color: var(--on-art); }
.sec--exhibit .ecard__body p { color: rgba(255, 255, 255, 0.6); }
.sec--exhibit .ecard__meta { color: rgba(255, 255, 255, 0.45); border-top-color: var(--on-art-line); }
.sec--exhibit .ecard__media { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7); }

@media (max-width: 1024px) { .ecards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .ecards { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════════════
   상단 하위 메뉴 (드롭다운)
   ═══════════════════════════════════════════════════ */
.nav__item { position: relative; }

.subnav {
  position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 170px; padding: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 14px 34px -12px rgba(17, 17, 26, 0.24);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
/* 링크와 목록 사이 빈 틈에서 사라지지 않도록 걸침을 만든다 */
.subnav::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

.nav__item--has-sub:hover .subnav,
.nav__item--has-sub:focus-within .subnav,
.nav__item--has-sub.is-open .subnav {
  opacity: 1; pointer-events: auto; transform: none;
}

.subnav__link {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; color: var(--tx-2);
  white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.subnav__link:hover { background: var(--ink-850); color: var(--tx); }

/* 하위 메뉴가 있는 항목에 작은 표시 */
.nav__item--has-sub > .nav__link::before {
  content: ''; position: absolute; left: 50%; bottom: 2px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--tx-3); transform: translateX(-50%);
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.nav__item--has-sub:hover > .nav__link::before,
.nav__item--has-sub.is-open > .nav__link::before { opacity: 1; }

/* 터치 기기에선 hover 가 어색하므로 드롭다운을 쓰지 않는다.
   각 페이지에 같은 항목이 탭으로 있어 기능 손실은 없다. */
@media (hover: none), (max-width: 900px) {
  .subnav { display: none; }
}

/* ── 문화공간 세부 유형 버튼 ───────────────────────────
   대분류 탭 아래에 그 분류의 세부 유형만 나온다. */
.cukinds { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: clamp(18px, 2vw, 26px); }
.cukinds:empty { display: none; }
.cukind {
  height: 32px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--tx-2);
  transition: 0.22s var(--ease);
}
.cukind:hover { color: var(--tx); border-color: var(--line-2); }
.cukind.is-on { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }

/* 유형 배지 — 이미지를 없앤 뒤 본문 상단으로 옮겼다 */
.place__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.place__kind {
  font-size: 11.5px; font-weight: 700; color: var(--tx);
  background: var(--ink-850); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}

/* 문화공간 리스트 — 썸네일 + 텍스트 */
.places { grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 24vw, 320px), 1fr)); }
.place__body { padding: 18px 22px 22px; }
.place__body h3 { font-size: clamp(16px, 0.6vw + 14px, 18.5px); }
.place__dist { margin-bottom: 0; }
.place:hover { transform: translateY(-3px); border-color: var(--line-2); }

.cuempty { padding: 64px 0; text-align: center; font-size: 14.5px; color: var(--tx-3); }

/* ═══════════════════════════════════════════════════
   ARTIST — 창작자 인명부
   ═══════════════════════════════════════════════════ */
.abgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 26vw, 340px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.abcard {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04);
  transition: 0.32s var(--ease);
}
a.abcard:hover { transform: translateY(-3px); border-color: var(--line-2); }

/* 인물 사진 대신 분야 색을 쓴 원형 칩 — 가짜 초상을 만들지 않는다 */
.ab__avatar {
  position: relative; flex: 0 0 auto;
  width: clamp(46px, 4vw, 58px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; box-shadow: inset 0 0 0 1px rgba(17, 17, 26, 0.08);
}
.ab__avatar > .art { position: absolute; inset: 0; }

.ab__body { min-width: 0; }
.ab__body h3 {
  font-size: clamp(15.5px, 0.5vw + 14px, 18px); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 5px; word-break: keep-all;
}
.ab__body p {
  font-size: 13px; color: var(--tx-2); line-height: 1.6; word-break: keep-all;
}

/* IN고양 → ARTIST 배너 */
.inbanner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(105deg, var(--ink-850), #fff 62%);
  transition: 0.32s var(--ease);
}
.inbanner:hover { border-color: var(--line-2); transform: translateY(-2px); }
.inbanner__eyebrow {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--brand-ink); margin-bottom: 8px;
}
.inbanner__in h3 {
  font-size: clamp(19px, 1vw + 15px, 26px); font-weight: 800;
  letter-spacing: -0.035em; margin-bottom: 7px; word-break: keep-all;
}
.inbanner__in p { font-size: 14px; color: var(--tx-2); }
.inbanner__go { font-size: 14px; font-weight: 700; color: var(--tx); white-space: nowrap; }

/* ═══════════════════════════════════════════════════
   지역 네트워크 — 도시별 자매 사이트
   ═══════════════════════════════════════════════════ */
.scards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 26vw, 340px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.scard {
  display: block; padding: clamp(22px, 2.4vw, 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04);
  transition: 0.32s var(--ease);
}
a.scard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 18px 40px -22px rgba(17, 17, 26, 0.32); }

.scard__city {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--brand-ink); margin-bottom: 10px;
}
.scard h3 {
  font-size: clamp(19px, 1vw + 15px, 25px); font-weight: 800;
  letter-spacing: -0.035em; margin-bottom: 8px; word-break: keep-all;
}
.scard__now {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  font-size: 11px; font-style: normal; font-weight: 700; color: var(--tx-2);
  background: var(--ink-850); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px; letter-spacing: 0;
}
.scard p { font-size: 13.5px; color: var(--tx-2); line-height: 1.6; margin-bottom: 16px; word-break: keep-all; }
.scard__go { font-size: 13.5px; font-weight: 700; color: var(--tx); }

/* 주소가 아직 없는 도시 — 눌러도 아무 일이 없으니 그렇게 보이게 한다 */
.scard--soon { background: var(--ink-850); border-style: dashed; }
.scard--soon .scard__city,
.scard--soon h3 { color: var(--tx-3); }
.scard--soon .scard__go { color: var(--tx-3); font-weight: 600; }

/* ═══════════════════════════════════════════════════
   IN고양 — 고양인(인터뷰) · 리뷰(글)
   ═══════════════════════════════════════════════════ */

/* 고양인 — 인터뷰 기사 */
.icards { display: grid; gap: clamp(16px, 1.8vw, 24px); }
.icard {
  display: grid; grid-template-columns: clamp(150px, 20vw, 260px) 1fr;
  gap: clamp(18px, 2.4vw, 36px); align-items: center;
  padding: clamp(18px, 2vw, 28px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04);
  transition: 0.34s var(--ease);
}
.icard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 20px 44px -24px rgba(17, 17, 26, 0.32); }
.icard__portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden;
}
.icard__portrait > .art { position: absolute; inset: 0; }
.icard__label {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.16em;
  color: var(--brand-ink); margin-bottom: 14px;
}
/* 발췌를 인용문으로 세운다 — 인터뷰 지면의 리드 문장 자리 */
.icard__quote {
  font-family: var(--serif);
  font-size: clamp(17px, 1vw + 14px, 25px); line-height: 1.5; letter-spacing: -0.02em;
  color: var(--tx); margin-bottom: 14px; word-break: keep-all;
}
.icard__quote::before { content: '“'; margin-right: 2px; }
.icard__quote::after  { content: '”'; margin-left: 2px; }
.icard__body h3 {
  font-size: clamp(14.5px, 0.4vw + 13px, 16.5px); font-weight: 700;
  color: var(--tx-2); line-height: 1.55; margin-bottom: 12px; word-break: keep-all;
}
.icard__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--tx-3); }

@media (max-width: 640px) {
  .icard { grid-template-columns: 1fr; }
  .icard__portrait { aspect-ratio: 16 / 10; max-width: 260px; }
}

/* 리뷰 — 글 목록 */
.rlist { border-top: 1px solid var(--line); }
.ritem {
  display: block; padding: clamp(20px, 2.2vw, 30px) 0;
  border-bottom: 1px solid var(--line); transition: 0.24s var(--ease);
}
.ritem:hover { background: var(--ink-850); padding-left: 12px; padding-right: 12px; }
.ritem__top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.ritem__kind {
  font-size: 11.5px; font-weight: 800; color: var(--brand-ink);
  background: rgba(238, 36, 64, 0.08); padding: 4px 10px; border-radius: 999px;
}
.ritem__date { font-size: 12.5px; color: var(--tx-3); }
.ritem h3 {
  font-size: clamp(17px, 0.8vw + 14px, 22px); font-weight: 800;
  letter-spacing: -0.032em; line-height: 1.4; margin-bottom: 8px; word-break: keep-all;
}
.ritem p {
  font-size: clamp(13.5px, 0.3vw + 12.5px, 15px); color: var(--tx-2);
  line-height: 1.7; margin-bottom: 10px; word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ritem__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--tx-3); }
/* ═══════════════════════════════════════════════════
   홈 NEWS — 썸네일 + 텍스트 목록
   ═══════════════════════════════════════════════════ */
.nrows {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(300px, 32vw, 420px), 1fr));
  column-gap: clamp(24px, 3vw, 52px);
}
.nrows .nitem {
  grid-template-columns: clamp(96px, 10vw, 136px) 1fr;
  gap: clamp(14px, 1.4vw, 20px);
  align-items: start;
  padding: clamp(16px, 1.6vw, 22px) 0;
}
/* 격자라 '첫 줄'이 한 개가 아니다 — 위 여백은 모두 그대로 둔다 */
.nrows .nitem:first-child { padding-top: clamp(16px, 1.6vw, 22px); }
.nrows .nitem:last-child { border-bottom: 1px solid var(--line); }
.nrows .nitem__thumb { aspect-ratio: 4 / 3; }
.nitem__text { min-width: 0; }
.nitem__ex {
  font-size: 13px; color: var(--tx-2); line-height: 1.6; margin-bottom: 8px;
  word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nrows .nitem h4 { word-break: keep-all; }

/* ═══════════════════════════════════════════════════
   교육 — 강좌 · 체험 · 아카데미
   ═══════════════════════════════════════════════════ */
.edugrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 28vw, 360px), 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.edu {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04);
  transition: 0.34s var(--ease);
}
a.edu:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 44px -24px rgba(17, 17, 26, 0.32); }

.edu__media { position: relative; aspect-ratio: 16 / 9; }
.edu__media > .art { position: absolute; inset: 0; }
.edu__media img { width: 100%; height: 100%; object-fit: cover; }
.edu__status {
  position: absolute; z-index: 4; top: 11px; right: 11px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 800;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}
/* 접수가 끝난 건 눌러도 소용없으니 눈에 덜 띄게 */
.edu__status--off { background: rgba(17, 17, 26, 0.55); }

.edu__body { padding: 18px 20px 22px; }
.edu__body h3 {
  font-size: clamp(16px, 0.6vw + 14px, 18.5px); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 6px; word-break: keep-all;
}
.edu__body > p {
  font-size: 13.5px; color: var(--tx-2); line-height: 1.6;
  margin-bottom: 14px; word-break: keep-all;
}
.edu__meta {
  display: grid; gap: 5px; font-size: 12.5px; line-height: 1.55;
  border-top: 1px solid var(--line); padding-top: 12px;
}
.edu__meta > div { display: grid; grid-template-columns: 46px 1fr; gap: 8px; }
.edu__meta dt { color: var(--tx-3); font-weight: 700; }
.edu__meta dd { color: var(--tx-2); word-break: keep-all; }

/* ═══════════════════════════════════════════════════
   문화공간 상세 — 사진 · 위치 · 홈페이지 · 진행 중인 공연
   ═══════════════════════════════════════════════════ */
.pdback {
  display: inline-block; margin-bottom: clamp(18px, 2vw, 28px);
  font-size: 13.5px; font-weight: 700; color: var(--tx-2);
}
.pdback:hover { color: var(--tx); }

.pdtop {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 56px); align-items: center;
}
.pdshot {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-850); box-shadow: 0 20px 48px -26px rgba(17, 17, 26, 0.4);
}
.pdshot > .art { position: absolute; inset: 0; }
.pdshot img { width: 100%; height: 100%; object-fit: cover; }

.pdinfo h1 {
  font-size: clamp(26px, 2.4vw + 16px, 46px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1.14; margin-bottom: 10px; word-break: keep-all;
}
.pdinfo__sub { font-size: clamp(14px, 0.4vw + 13px, 16px); color: var(--tx-2); margin-bottom: 12px; word-break: keep-all; }
.pdinfo__desc { font-size: 14px; color: var(--tx-2); line-height: 1.75; margin-bottom: 18px; word-break: keep-all; }

.pdmeta {
  display: grid; gap: 9px; margin-bottom: clamp(20px, 2.2vw, 28px);
  padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.6;
}
/* 라벨 칸은 가장 긴 이름('주최 · 후원')이 한 줄에 들어가는 폭으로 잡는다.
   좁게 두면 그 줄만 두 줄로 접혀 표가 어긋나 보인다. */
.pdmeta > div { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.pdmeta dt { color: var(--tx-3); font-weight: 700; white-space: nowrap; }
.pdmeta dd { color: var(--tx); word-break: keep-all; }
.pdmeta dd a { color: var(--brand-ink); font-weight: 700; }

.pdacts { display: flex; flex-wrap: wrap; gap: 10px; }
/* 홈페이지 주소가 없으면 눌러도 소용없다는 걸 드러낸다 */
.pdacts .is-off { opacity: 0.45; cursor: default; pointer-events: none; }

@media (max-width: 860px) {
  .pdtop { grid-template-columns: 1fr; }
}

/* 대분류 탭 + 세부 유형 버튼을 한 덩어리로 — 필터 줄이 둘로 보이지 않게 */
.filterbar { margin-bottom: clamp(20px, 2.4vw, 32px); }
.filterbar .tabs { margin-bottom: 10px; }
.filterbar .cukinds { margin-bottom: 0; padding-left: 2px; }


/* ═══════════════════════════════════════════════════
   홈 — 섹션 간격을 좁힌다
   섹션마다 탭이 붙으면서 세로가 길어져, 위아래 여백을 줄였다.
   ═══════════════════════════════════════════════════ */
body[data-page='home'] {
  --sec-y: clamp(17px, 1.7vw, 28px);
}
body[data-page='home'] .sec--tight { padding-block: clamp(14px, 1.3vw, 22px); }
body[data-page='home'] .sec__head { margin-bottom: clamp(7px, 0.7vw, 11px); }
/* 가로 스크롤 줄 아래 여백도 함께 줄인다 */
body[data-page='home'] .picks { padding-bottom: 4px; }
body[data-page='home'] .tabs { margin-bottom: clamp(12px, 1.2vw, 18px); }

/* ═══════════════════════════════════════════════════
   아티스트 상세 — ARTIST
   ═══════════════════════════════════════════════════ */
.atgenre {
  font-size: clamp(13.5px, 0.4vw + 12.5px, 15.5px); font-weight: 700;
  color: var(--brand-ink); margin-bottom: 14px; word-break: keep-all;
}
.atgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 27vw, 340px), 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(30px, 3.4vw, 52px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
}
.atblock h3 {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--tx-3); margin-bottom: 12px;
}
.atblock ul { display: grid; gap: 7px; }
.atblock li {
  position: relative; padding-left: 13px;
  font-size: 14px; color: var(--tx); line-height: 1.6; word-break: keep-all;
}
.atblock li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--brand);
}
.atblock p { font-size: 14px; color: var(--tx); line-height: 1.7; word-break: keep-all; }

/* 공연 상세 — 포스터는 3:4 로 세운다 */
.pdshot--poster { aspect-ratio: 3 / 4; }
.pdmeta dd a { color: var(--brand-ink); font-weight: 700; }
.pdmeta dd a:hover { text-decoration: underline; }
.pdoff { color: var(--brand-ink); font-weight: 800; margin-left: 4px; }

/* 하위 메뉴의 실시간 채널 항목 — 상단 ONAIR 와 같은 빨간색 */
.subnav__link--live { color: var(--brand-ink); font-weight: 800; }
.subnav__link--live:hover { color: var(--brand); }

/* ═══════════════════════════════════════════════════
   공연 진행 상태 배지 — 공연중 / 예정 / 완료
   ═══════════════════════════════════════════════════ */
.mstate {
  position: absolute; z-index: 5; top: 10px; left: 10px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: -0.01em;
  color: #fff; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}
.mstate--live { background: var(--brand); }
.mstate--soon { background: rgba(255, 255, 255, 0.94); color: var(--tx); }
.mstate--done { background: #14141a; }

/* 끝난 공연은 목록에서 한 걸음 물러나 보이게 */
.mcard.is-done .mcard__media { filter: grayscale(0.55); opacity: 0.72; }
.mcard.is-done:hover .mcard__media { filter: none; opacity: 1; }

/* ═══════════════════════════════════════════════════
   정렬·가격 버튼
   ═══════════════════════════════════════════════════ */
.sortbar {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  margin-bottom: clamp(18px, 2vw, 26px);
}
.sortbtn {
  height: 34px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 700; color: var(--tx-2);
  display: inline-flex; align-items: center; transition: 0.24s var(--ease);
}
.sortbtn:hover { color: var(--tx); border-color: var(--line-2); }
.sortbtn.is-on { background: var(--tx); color: #fff; border-color: var(--tx); }

/* 눌러도 나올 게 없는 버튼 — 감추지 않고 흐리게 둔다.
   버튼이 사라지면 '없어졌다' 로 보여 오히려 헷갈린다. */
.sortbtn.is-none { color: var(--tx-3); border-style: dashed; }
.sortbtn.is-none.is-on { background: var(--tx-3); border-color: var(--tx-3); color: #fff; }

.sortbar__sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 5px; }

/* 정렬은 order 로 하므로 격자를 flex 가 아닌 grid 로 두고 order 를 살린다 */
.exhibits, .edugrid, .ecards { display: grid; }

/* ═══════════════════════════════════════════════════
   카드 링크 + 예약 버튼
   카드 전체는 상세로, 예약 버튼만 원문(예매처)으로 간다.
   a 안에 a 를 넣을 수 없어 제목 링크를 카드 전체로 늘리는 방식을 쓴다.
   ═══════════════════════════════════════════════════ */
.mcard, .ecard, .edu { position: relative; }
.cardlink { color: inherit; }
.cardlink::after { content: ''; position: absolute; inset: 0; z-index: 1; }

/* 상세 페이지의 예매 버튼 — 이 화면에서 가장 눈에 띄어야 한다 */
.btn--book {
  background: var(--brand); color: #fff; font-weight: 800;
  box-shadow: 0 10px 28px -12px rgba(238, 36, 64, 0.8);
}
.btn--book:hover { background: #ff5468; transform: translateY(-2px); }
/* 예매처 주소가 아직 없으면 눌러도 소용없다는 걸 드러낸다 */
.btn--book.is-off {
  background: rgba(238, 36, 64, 0.28); box-shadow: none;
  cursor: default; pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   포스터 카드 — 장소·날짜를 또렷하게
   12.5px 회색 한 덩어리라 잘 안 읽혀, 두 줄로 나누고
   날짜는 진하게 올려 훑을 때 눈에 들어오게 했다.
   ═══════════════════════════════════════════════════ */
/* .mcard__body p 가 더 구체적이라 색을 덮어쓴다 — 같은 깊이로 맞춘다.
   장소는 날짜보다 한 단계만 약하게: 제목 800 > 날짜 700 > 장소 600 */
.mcard__body .mcard__place, .ecard__body .ecard__place {
  font-size: clamp(13.5px, 0.3vw + 12.5px, 14.5px);
  font-weight: 600; color: #3a3a44; line-height: 1.45; margin-top: 8px;
  word-break: keep-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mcard__body .mcard__date, .ecard__body .ecard__date-t {
  display: block;
  font-size: clamp(13px, 0.3vw + 12px, 14px);
  font-weight: 700; color: var(--tx); letter-spacing: -0.01em;
  line-height: 1.45; margin-top: 4px;
}
.ecard__meta { display: block; }


/* 캘린더 일정 이름 — 누르면 그 공연 상세로 간다 */
.cal__chip { cursor: pointer; }
.cal__chip:hover { filter: brightness(0.94); text-decoration: underline; }
.cal__cell[data-day] { cursor: pointer; }
.cal__cell[data-day]:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

/* ═══════════════════════════════════════════════════
   광고 배너 — 홈 NEWS 아래
   ═══════════════════════════════════════════════════ */
/* 가로로 넘겨 보는 띠 — 한 화면에 3장, 좁아지면 2장·1장 */
.adcar { position: relative; }
.adcar__rail {
  display: flex; gap: clamp(10px, 1.2vw, 18px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* overflow-x 를 켜면 세로도 잘린다. 카드가 hover 로 떠오르고 그림자가 지므로
     위아래로 자리를 조금 남긴다 (가로 여백은 칸 계산이 어긋나므로 두지 않는다). */
  padding-block: 6px 14px;
}
.adcar__rail::-webkit-scrollbar { display: none; }
.adcar__rail > * { flex: 0 0 calc((100% - 2 * clamp(10px, 1.2vw, 18px)) / 3); scroll-snap-align: start; }

.adbanner {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--ink-850); line-height: 0;
  transition: 0.3s var(--ease);
}
a.adbanner:hover { border-color: var(--line-2); box-shadow: 0 16px 36px -22px rgba(17, 17, 26, 0.4); }
.adbanner img { width: 100%; height: auto; display: block; }

/* 좌우 화살표 — 띠 바깥으로 반쯤 걸치게 */
.adcar__nav {
  position: absolute; top: calc(50% - 22px); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 20px -8px rgba(17, 17, 26, 0.32);
  font-size: 22px; line-height: 1; color: var(--tx);
  display: grid; place-items: center; transition: 0.22s var(--ease);
}
.adcar__nav:hover { background: var(--ink-850); transform: scale(1.06); }
.adcar__nav--prev { left: -14px; }
.adcar__nav--next { right: -14px; }

/* 진행 바 · 멈춤 · 쪽수 */
.adcar__bar {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 1.4vw, 20px); margin-top: 14px;
}
.adcar__play {
  width: 22px; height: 22px; flex-shrink: 0; color: var(--tx);
  display: grid; place-items: center;
}
.adcar__play::before {
  content: ''; width: 12px; height: 13px;
  background: currentColor;
  clip-path: polygon(0 0, 34% 0, 34% 100%, 0 100%, 0 0, 66% 0, 100% 0, 100% 100%, 66% 100%, 66% 0);
}
.adcar__play.is-paused::before {
  width: 12px; clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.adcar__track {
  width: clamp(140px, 30vw, 420px); height: 3px; border-radius: 999px;
  background: var(--ink-600); overflow: hidden;
}
.adcar__fill { display: block; height: 100%; background: var(--tx); transition: width 0.35s var(--ease); }
.adcar__count {
  font-size: 12.5px; color: var(--tx-3);
  background: var(--ink-850); border-radius: 999px; padding: 4px 12px;
}
.adcar__count b { color: var(--tx); font-weight: 700; }

/* 배너가 한 장뿐이면 넘길 것이 없다 */
.adcar.is-single .adcar__nav,
.adcar.is-single .adcar__bar { display: none; }

@media (max-width: 1024px) {
  .adcar__rail > * { flex-basis: calc((100% - clamp(10px, 1.2vw, 18px)) / 2); }
  .adcar__nav--prev { left: -8px; }
  .adcar__nav--next { right: -8px; }
}
@media (max-width: 640px) {
  .adcar__rail > * { flex-basis: 100%; }
}

/* 광고임을 밝힌다 — 기사·공연 카드와 구분되어야 한다 */
.adbanner__tag {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(17, 17, 26, 0.62); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.4;
  backdrop-filter: blur(6px);
}

/* 유튜브·비메오는 iframe 으로 들어온다.
   .vdetail__video 가 이미 absolute·inset:0 이라 자리는 맞고,
   iframe 기본 테두리만 지우면 된다. */
iframe.vdetail__video, iframe.promo__video { border: 0; background: #000; }

/* LIVE 배지가 iframe 위에 오도록 (iframe 은 기본 쌓임 순서가 다르다) */


/* 홈 카드는 어두운 판 위라 흰 계열(--on-art-2)을 쓴다. 흰 배경 카드만 여기서 보정한다. */
.edu__meta dd { color: #3a3a44; }

/* 빈 화면에서 조건을 한 번에 푸는 버튼 */
.btn--clear { margin-top: 16px; height: 36px; padding: 0 18px; font-size: 13.5px; }

/* 남의 플랫폼 영상은 출처를 밝힌다 */
/* 공연·교육 상세의 홍보영상 — 16:9 로 고정해 화면이 튀지 않게 한다 */
.promo {
  position: relative; aspect-ratio: 16 / 9; max-width: 900px;
  border-radius: var(--r-lg); overflow: hidden; background: var(--ink-850);
  border: 1px solid var(--line);
}
.promo > iframe, .promo > video, .promo__video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  object-fit: cover;
}

/* 남의 채널 영상 — 출처 한 줄 + 원본으로 가는 버튼 */
.vsource {
  margin-top: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.vsource__who { font-size: 13.5px; color: var(--tx-3); }
.vsource__who a {
  color: var(--tx-2); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.vsource__who a:hover { color: var(--brand-ink); }

/* 유튜브 빨강. 예매 버튼(--brand)과 색이 비슷해 헷갈리지 않도록 따로 둔다. */
.btn--yt {
  background: #ff0033; color: #fff; font-weight: 800;
  box-shadow: 0 10px 26px -14px rgba(255, 0, 51, 0.85);
}
.btn--yt:hover { background: #e6002e; transform: translateY(-2px); }
.btn--yt svg { width: 15px; height: 15px; }

/* ═══════════════════════════════════════════════════
   홈 문화공간 — 한 줄에 세 곳
   ═══════════════════════════════════════════════════ */
/* 문화공간 카드 — 홈에서는 넘겨 보는 띠(.adcar__rail) 안에 들어간다.
   칸 나눔과 반응형은 띠 쪽 규칙이 맡는다. */
.hplace {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 1px 2px rgba(17, 17, 26, 0.04);
  transition: 0.32s var(--ease);
}
.hplace:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 44px -24px rgba(17, 17, 26, 0.32); }
.hplace__media { position: relative; aspect-ratio: 16 / 10; }
.hplace__media > .art { position: absolute; inset: 0; }
.hplace__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hplace__body { padding: 16px 20px 20px; }
.hplace__body h3 {
  font-size: clamp(15.5px, 0.5vw + 14px, 18px); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 6px; word-break: keep-all;
}
.hplace__addr { font-size: 13px; color: #3a3a44; line-height: 1.55; word-break: keep-all; }
