/* 커넥톰 아카데미 공통 스타일 (오렌지 톤 리디자인)
   팔레트와 치수는 리디자인 명세 문서의 실측 토큰을 따른다.
   모든 공개 화면은 500px 모바일 컬럼(.app)을 가운데 둔다. */

@font-face {
  font-family: 'Spoqa Han Sans Neo';
  src: url('/fonts/SpoqaHanSansNeo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spoqa Han Sans Neo';
  src: url('/fonts/SpoqaHanSansNeo-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spoqa Han Sans Neo';
  src: url('/fonts/SpoqaHanSansNeo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #FF7900;
  --orange-dark: #CC6100;
  --orange-bg: #FFF4EA;
  --orange-deep: #FF5F0F;
  --black: #1E1E25;
  --text: #212529;
  --g700: #4E4E4C;
  --g500: #6E6E6C;
  --g300: #ECECE9;
  --bg-outer: #F8F9FA;
  --bg: #FFFFFF;
  --link: #1778B5;
  --lime: #C8F169;
  --input-line: #DEE2E6;
  --danger: #C0392B;
  --radius: 8px;
  --muted: #6E6E6C; /* 구 토큰 별칭: 관리자 화면 등 기존 인라인 스타일 호환 */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Spoqa Han Sans Neo', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}
h1, h2, h3 { font-weight: 700; line-height: 1.4; margin: 0 0 12px; color: #111; }
h1 { font-size: 22px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
p { margin: 0 0 14px; }
a { color: inherit; text-decoration: none; }
strong, b { font-weight: 700; }
.num, .price-strong, td.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ---------- 레이아웃: 500px 컬럼 ---------- */
.app {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100dvh;
  position: relative;
  display: flex; flex-direction: column;
}
/* 짧은 화면에서 남는 높이는 본문이 흡수한다: 푸터가 탭바 위 20px에 붙는다 */
.app > main { flex: 1 0 auto; }
.gutter { padding-left: 20px; padding-right: 20px; }

@media (min-width: 1024px) {
  body { background: var(--bg-outer); }
}

/* ---------- PC 왼쪽 스티커 영역 ---------- */
.pc-side { display: none; }
@media (min-width: 1280px) {
  .pc-side {
    display: block;
    position: fixed;
    left: calc(50% - 250px - 300px);
    top: 180px;
    width: 280px;
    z-index: 1;
  }
  .sticker {
    display: inline-block;
    padding: 8px 16px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    white-space: nowrap;
  }
  .sticker.s1 { background: var(--black); color: var(--orange); transform: rotate(-5deg); }
  .sticker.s2 { background: var(--orange); color: #fff; transform: rotate(3deg); }
  .sticker.s3 { background: var(--black); color: var(--orange); transform: rotate(-2deg); font-size: 17px; }
  .pc-side .side-note {
    margin-top: 28px;
    color: var(--g500);
    font-size: 13px;
    line-height: 1.7;
  }
}

/* ---------- 공지 바 ---------- */
.notice-bar {
  background: var(--black); color: #fff;
  font-size: 12.5px; text-align: center; padding: 8px 16px;
}
.notice-bar:empty { display: none; }

/* ---------- 헤더 (2행) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg);
}
.header-row1 {
  height: 45px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 0 20px;
}
.wordmark {
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.12em;
  color: #111;
}
.header-icons { display: flex; align-items: center; }
.icon-btn {
  width: 44px; height: 44px; margin-right: -10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  color: #111;
}
.icon-btn svg { width: 22px; height: 22px; }
.header-row2 {
  display: flex; gap: 18px;
  overflow-x: auto;
  padding: 2px 20px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--g300);
}
.header-row2::-webkit-scrollbar { display: none; }
.header-row2 a {
  flex: none;
  font-size: 13px; color: var(--g700);
  line-height: 20px;
}
.header-row2 a.active { color: #111; font-weight: 700; }

/* ---------- 메뉴 시트 ---------- */
.menu-sheet {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(30, 30, 37, 0.45);
}
.menu-sheet[hidden] { display: none; }
.menu-sheet .sheet {
  position: absolute; top: 0; bottom: 0;
  right: max(0px, calc(50% - 250px));
  width: 290px; max-width: 86%;
  background: #fff;
  padding: 8px 24px 24px;
  overflow-y: auto;
}
.menu-sheet .sheet-top { display: flex; justify-content: flex-end; }
.menu-sheet nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px; font-weight: 500; color: #111;
  border-bottom: 1px solid var(--g300);
}
.menu-sheet nav a:last-child { border-bottom: 0; }

/* ---------- 상단 바 (상세·신청·조회) ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg);
  height: 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px;
}
.topbar .bar-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 16px; font-weight: 700; color: #111;
  max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* ---------- 하단 고정 탭바 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 500px;
  height: calc(60px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid var(--g300);
  display: flex;
  z-index: 40;
}
.tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--g500);
  font-size: 10px;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.active { color: #111; font-weight: 700; }
.has-tabbar { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 13px 20px;
  border: 1px solid var(--orange); border-radius: var(--radius);
  background: var(--orange); color: #fff;
  font-size: 16px; font-weight: 700; font-family: inherit;
  cursor: pointer; text-align: center;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: transparent; color: var(--orange);
  border-radius: 6px; min-height: 44px; font-size: 14px;
}
.btn.ghost:hover { background: var(--orange-bg); }
.btn.wide { width: 100%; }
.btn:disabled, .btn.disabled {
  background: var(--g300); border-color: var(--g300); color: var(--g500);
  cursor: not-allowed; transform: none;
}
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 13px; border-radius: 6px; }
.text-link { color: var(--orange); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .btn:active { transform: none; }
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 폼 ---------- */
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 13px; font-weight: 700; color: #111; margin-bottom: 8px; }
.field .req { color: var(--orange); margin-left: 2px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 12px;
  border: 1px solid var(--input-line); border-radius: 6px;
  background: #fff; color: var(--text);
  font-size: 16px; font-family: inherit;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.field .error-msg { color: var(--danger); font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .error-msg { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }

/* 선택(회차·결제수단) 라디오 카드 */
.choice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px; border: 1px solid var(--input-line); border-radius: var(--radius);
  background: #fff; margin-bottom: 10px; cursor: pointer; font-size: 14.5px;
}
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.choice.selected { border-color: var(--orange); background: var(--orange-bg); }
.choice.disabled { color: var(--g500); background: var(--bg-outer); cursor: not-allowed; }
.choice .choice-sub { display: block; font-size: 12.5px; color: var(--g500); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 배지 ---------- */
.badge {
  display: inline-block; padding: 2px 8px;
  border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6;
  border: 1px solid var(--g300); color: var(--g500); background: #fff;
}
.badge.open { color: var(--orange); border-color: var(--orange); }
.badge.low { color: var(--orange-dark); border-color: var(--orange-dark); }
.badge.closed { color: var(--g500); background: var(--g300); }

/* ---------- 섹션 공통 ---------- */
.section { padding-top: 48px; }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0 20px; margin-bottom: 16px;
}
.sec-head h2 { font-size: 17px; margin: 0; }
.sec-head .more { flex: none; color: var(--orange); font-size: 12.5px; font-weight: 700; }

/* ---------- 홈: 메인 배너 캐러셀 ---------- */
.banner { position: relative; }
.banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 2.8 / 1;
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--g300);
  color: #fff;
  overflow: hidden;
}
.banner-slide .b-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* 하단 60% 어두운 그라데이션: 흰 부제 대비 확보 */
.banner-slide::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}
.banner-slide .b-text {
  position: relative; z-index: 1;
  display: block;
  padding: 26px 24px 14px;
}
.banner-slide .b-title { font-size: 21px; font-weight: 700; line-height: 1.35; margin: 0; color: #fff; }
.banner-slide .b-sub { font-size: 12.5px; margin: 6px 0 0; opacity: 0.9; }
.banner-count {
  position: absolute; top: 10px; right: 12px;
  background: rgba(30, 30, 37, 0.55); color: #fff;
  font-size: 11px; font-weight: 500;
  padding: 2px 10px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 홈: 퀵 카테고리 그리드 ---------- */
.quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px 8px;
  padding: 24px 20px 0;
}
.quick-item { text-align: center; display: block; }
.quick-circle {
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--orange-bg); color: var(--orange);
  font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
}
.quick-circle img { width: 70%; height: 70%; object-fit: contain; }
.quick-item .q-label { font-size: 12px; color: var(--text); }

/* ---------- 홈: 지역·주제 찾기 배너 ---------- */
.region-banner {
  margin: 28px 20px 0;
  background: var(--orange-bg);
  border-radius: 12px;
  padding: 14px 10px 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.region-banner .rb-text { color: var(--orange); font-size: 14px; font-weight: 700; }
.region-banner select {
  flex: none; width: auto; min-height: 36px;
  border: 0; border-radius: 999px;
  background: #fff; color: #111;
  font-size: 13px; font-weight: 500;
  padding: 6px 14px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}

/* ---------- 홈: 프로그램 카드 가로 스크롤 ---------- */
.card-rail {
  display: flex; gap: 12px;
  overflow-x: auto;
  padding: 0 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.card-rail::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 210px; display: block; }
.pcard-thumb {
  position: relative;
  width: 210px; height: 210px;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  font-size: 46px; font-weight: 700; letter-spacing: -0.02em;
}
.pcard-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pcard-rank {
  position: absolute; left: 4px; bottom: -8px;
  font-size: 84px; line-height: 1; font-weight: 700;
  color: #fff;
  -webkit-text-stroke: 3px var(--black);
  z-index: 2;
  font-variant-numeric: tabular-nums;
}
.pt-1 { background: #FFE3CC; }
.pt-2 { background: #E8E6E1; }
.pt-3 { background: #DCEBE4; }
.pt-4 { background: #DDE7F2; }
.pt-5 { background: #F3E0E0; }
.pcard-cat { font-size: 11px; color: var(--g500); margin-top: 16px; }
.pcard-title {
  font-size: 14px; font-weight: 700; line-height: 1.45; color: #111;
  margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-sum {
  font-size: 11px; color: var(--g500); line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-feature {
  border: 1px dashed var(--orange);
  border-radius: 4px;
  padding: 7px 9px;
  margin-top: 10px;
  font-size: 10.5px; line-height: 1.5; color: var(--g700);
}
.pcard-feature .ft-label { display: block; color: var(--orange); font-weight: 700; font-size: 10px; }
.pcard-status { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--orange); }
.pcard-status.closed { color: var(--g500); }
.rail-empty { padding: 0 20px; }

/* ---------- 홈: 함께 만드는 일 (후기 카드 캐러셀) ---------- */
.review-rail {
  display: flex; gap: 12px;
  overflow-x: auto;
  padding: 0 20px;
  scroll-padding: 0 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.review-rail::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  background: var(--orange-bg);
  border-radius: 8px;
  padding: 22px 20px;
  display: block;
}
.review-card .review-thumb {
  display: block;
  width: 100%;
  height: auto; /* width/height 속성값이 높이로 고정되지 않도록 명시 */
  aspect-ratio: 2.8 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}
.review-card h3 { font-size: 16px; margin-bottom: 6px; }
.review-card p { font-size: 13px; color: var(--g700); margin: 0 0 12px; line-height: 1.6; }
.review-card .go { color: var(--orange); font-size: 13px; font-weight: 700; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.dots .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--g300); }
.dots .dot.active { width: 18px; background: var(--orange); }

/* ---------- 푸터 ---------- */
.site-footer {
  margin-top: 52px;
  border-top: 1px solid var(--g300);
  padding: 24px 20px 36px;
}
.site-footer .foot-intro { color: var(--g500); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.site-footer .foot-links { margin-bottom: 10px; font-size: 12px; }
.site-footer .foot-links a { margin-right: 14px; color: var(--g700); font-weight: 500; }
.site-footer .foot-links a:hover { text-decoration: underline; }
.site-footer .foot-biz { color: var(--g500); font-size: 11px; line-height: 1.8; margin: 0; }

/* ---------- 상세: 커버 ---------- */
.cover-sq {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #D1D0CB;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 30px 24px 24px 52px;
  overflow: hidden;
}
.cover-sq .kicker { font-size: 13px; font-weight: 500; color: var(--g700); margin-bottom: 8px; }
.cover-sq h1 { font-size: 26px; font-weight: 700; color: #111; margin-bottom: 8px; line-height: 1.35; }
.cover-sq .sub { font-size: 14px; color: var(--g700); margin: 0; }
/* 대표 사진이 있는 커버: 정사각 사진 + 하단 어두운 그라데이션 + 흰 글씨 */
.cover-sq .cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cover-sq.has-photo {
  background: none;
  display: flex; flex-direction: column; justify-content: flex-end;
  /* 오른쪽 아래 진행자 아바타(폭 56px + 여백)와 부제가 겹치지 않게 텍스트 영역 확보 */
  padding-right: 96px;
}
.cover-sq.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}
.cover-sq.has-photo .kicker,
.cover-sq.has-photo h1,
.cover-sq.has-photo .sub { position: relative; z-index: 2; }
.cover-sq.has-photo .kicker { color: rgba(255, 255, 255, 0.85); }
.cover-sq.has-photo h1 { color: #fff; }
.cover-sq.has-photo .sub { color: rgba(255, 255, 255, 0.9); }
.cover-sq.has-photo .cover-vert,
.cover-sq.has-photo .cover-host-badge { z-index: 2; }
.cover-sq.has-photo .cover-host-badge .hb-name { color: #fff; }
.cover-vert {
  position: absolute; left: 0; top: 0;
  background: var(--black); color: #fff;
  writing-mode: vertical-rl;
  padding: 16px 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
}
.cover-host-badge {
  position: absolute; right: 20px; bottom: 20px;
  text-align: center;
}
.cover-host-badge .hb-circle {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
}
.cover-host-badge .hb-name { font-size: 12px; font-weight: 700; color: #111; }
.cover-dim {
  position: absolute; inset: 0;
  background: rgba(30, 30, 37, 0.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 700;
  z-index: 3;
}
.cover-dim[hidden] { display: none; }

/* ---------- 상세: 가격·일정 ---------- */
.price-block { padding: 20px; }
.price-strong { color: var(--orange); font-size: 20px; font-weight: 700; }
.price-list { color: var(--g500); text-decoration: line-through; font-size: 13px; margin-left: 8px; }
.price-note { color: var(--g500); font-size: 12px; margin-top: 4px; }
.kv {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 6px 14px; margin-top: 16px; font-size: 14px;
}
.kv dt { color: var(--g500); font-size: 13px; }
.kv dd { margin: 0; }
.session-list { margin-top: 14px; }
.session-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 0; border-top: 1px solid var(--g300); font-size: 14px;
}
.session-item .left { min-width: 0; }
.session-item .seats { flex: none; font-size: 12.5px; color: var(--g500); font-variant-numeric: tabular-nums; }

/* 연회색 띠 구분 */
.band8 { height: 8px; background: var(--g300); }

/* ---------- 상세: sticky 탭 ---------- */
.anchor-tabs {
  position: sticky; top: 48px; z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--g300);
}
.anchor-tabs .inner { display: flex; }
.anchor-tabs a {
  flex: 1; text-align: center;
  padding: 13px 4px; min-height: 44px;
  font-size: 14px; font-weight: 700; color: #BBB;
  border-bottom: 2px solid transparent;
}
.anchor-tabs a.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- 상세: 본문 ---------- */
.detail-section { padding: 32px 20px; }
.detail-section .sec-label { color: var(--orange); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.detail-section h2 { font-size: 17px; }
.detail-section.centered .sec-label, .detail-section.centered h2 { text-align: center; }
.body-html { font-size: 15px; line-height: 1.7; }
.body-html p { margin-bottom: 14px; }
.body-html ul { padding-left: 20px; margin: 0 0 14px; }
.body-html blockquote {
  margin: 0 0 14px; padding: 2px 0 2px 14px;
  border-left: 3px solid var(--g300); color: var(--g700);
}

.timetable { border-top: 1px solid var(--g300); }
.timetable-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--g300); font-size: 14px; }
.timetable-row .tt { flex: none; width: 52px; color: var(--orange); font-weight: 700; font-variant-numeric: tabular-nums; }
.timetable-row .tn { color: var(--g500); font-size: 13px; display: block; }

.faq-item { border-bottom: 1px solid var(--g300); }
.faq-item summary {
  cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 14.5px; list-style: none;
  position: relative; padding-right: 24px; min-height: 44px; display: flex; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--g500); border-bottom: 2px solid var(--g500);
  transform: translateY(-70%) rotate(45deg);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item .faq-a { padding: 0 0 16px; color: var(--g700); font-size: 14px; }

/* 하드 섀도 인용·후기 카드 */
.hard-card {
  border: 1.5px solid var(--black);
  box-shadow: 6px 6px 0 #BDBDBD;
  background: #fff;
  padding: 20px 18px;
  margin: 8px 0 14px;
  font-size: 14.5px;
  line-height: 1.65;
}
.hard-card .by { display: block; margin-top: 8px; font-size: 11.5px; color: var(--g500); text-align: center; }

/* ---------- 하단 고정 CTA 바 (상세) ---------- */
.cta-bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 500px;
  z-index: 40;
  background: var(--bg);
}
.cta-strip {
  background: var(--black); color: var(--orange);
  font-size: 11px; font-weight: 500;
  text-align: center; padding: 6px 10px;
}
.cta-strip:empty { display: none; }
.cta-bar .inner {
  display: flex; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--g300);
}
.cta-bar .share {
  flex: none; width: 52px; min-height: 52px; padding: 0;
  background: var(--orange-bg); border: 0; border-radius: var(--radius);
  color: var(--orange); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.cta-bar .share svg { width: 22px; height: 22px; }
.cta-bar .apply { flex: 1; }
.has-cta-bar { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.share-toast {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  background: var(--black); color: #fff;
  font-size: 12px; padding: 5px 14px; border-radius: 999px;
  display: none; white-space: nowrap;
}
.share-toast.show { display: block; }

/* ---------- 신청·결제 ---------- */
.form-cta {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 500px;
  z-index: 40;
  background: var(--bg); border-top: 1px solid var(--g300);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.has-form-cta { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }

.test-pay-note {
  background: var(--orange-bg); border-radius: var(--radius);
  color: var(--orange-dark);
  font-size: 13px; font-weight: 700; padding: 12px 14px; margin-bottom: 14px;
}

.done-panel { padding: 8px 0 0; }
.done-panel h2 { color: var(--orange); font-size: 20px; }
.done-panel .code { color: var(--orange); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bank-box { background: var(--orange-bg); border-radius: var(--radius); padding: 16px; margin-top: 16px; font-size: 14px; }
.bank-box b { font-size: 16px; }

/* ---------- 상태 메시지 ---------- */
.msg-info { background: var(--orange-bg); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }
.msg-error { border: 1px solid var(--danger); color: var(--danger); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; }

/* ---------- 블로그형 글 (모임장·매거진·약관) ---------- */
.blog { padding: 16px 20px 0; }
.btn-list {
  display: inline-flex; align-items: center;
  border: 1px solid var(--orange); color: var(--orange);
  border-radius: 6px; padding: 7px 14px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 20px;
}
.blog h1 { font-size: 22px; margin-bottom: 8px; }
.blog .blog-date { color: var(--g500); font-size: 14px; margin-bottom: 20px; }
.blog-hero {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 28px;
}
.blog-hero img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog .lead { font-size: 20px; font-weight: 700; line-height: 1.5; color: #111; margin-bottom: 20px; }
.blog-body { font-size: 16px; line-height: 1.75; }
.blog-body p { margin-bottom: 18px; }
.blog-body ul, .blog-body ol { padding-left: 22px; margin: 0 0 18px; }
.blog-body li { margin-bottom: 6px; }
.em-orange { color: var(--orange); font-weight: 700; }
.blog .subhead { font-size: 20px; font-weight: 700; margin: 36px 0 14px; color: #111; }
.blog .pin-line { font-weight: 700; color: #111; }
.blog .faq-q { font-weight: 700; margin-bottom: 4px; }
.blog .faq-ans { color: var(--g700); margin-bottom: 18px; }

/* 지원 프로세스 인포그래픽 */
.process {
  background: var(--orange-deep);
  padding: 26px 14px 30px;
  margin: 10px 0 26px;
  text-align: center;
}
.process .pill {
  display: inline-block;
  background: var(--black); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 8px 20px; border-radius: 999px;
  margin-bottom: 24px;
}
.process-steps { display: flex; justify-content: space-between; position: relative; }
.process-steps::before {
  content: ""; position: absolute;
  left: 12%; right: 12%; top: 32px;
  height: 2px; background: rgba(255, 255, 255, 0.75);
}
.process .step { position: relative; z-index: 1; width: 24%; }
.process .step-circle {
  width: 64px; height: 64px; border-radius: 999px;
  background: #fff; color: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto;
}
.process .step-circle .no { font-size: 11px; font-weight: 700; color: var(--g500); }
.process .step-circle .nm { font-size: 10.5px; font-weight: 700; line-height: 1.25; }

/* ---------- 탭(매거진 폼 전환) ---------- */
.tab-row { display: flex; border-bottom: 1px solid var(--g300); margin-bottom: 24px; }
.tab-row button {
  flex: 1; min-height: 48px; background: none; border: 0; border-bottom: 2px solid transparent;
  font-size: 15px; color: var(--g500); font-weight: 700; cursor: pointer; font-family: inherit;
}
.tab-row button.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ---------- 표(관리자·조회) ---------- */
.table-wrap { overflow-x: auto; }
table.plain { border-collapse: collapse; width: 100%; font-size: 13.5px; }
table.plain th, table.plain td { border-bottom: 1px solid var(--g300); padding: 9px 10px; text-align: left; vertical-align: top; }
table.plain th { color: var(--g500); font-weight: 700; white-space: nowrap; background: var(--bg-outer); }
table.plain td.num { text-align: right; white-space: nowrap; }

/* ---------- 관리자 (500px 제한 없음, 토큰만 적용) ---------- */
.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 920px; }
.admin-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg); border-bottom: 1px solid var(--g300);
}
.admin-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; max-width: 920px; margin: 0 auto; padding: 0 20px;
}
.admin-header .header-links { display: flex; gap: 18px; }
.admin-header .header-links a { font-size: 14px; color: var(--g700); }
.admin-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--g300); margin-bottom: 20px; overflow-x: auto; }
.admin-tabs button {
  flex: none; min-height: 46px; padding: 10px 16px; background: none; border: 0;
  border-bottom: 2px solid transparent; font-size: 14.5px; color: var(--g500);
  cursor: pointer; font-family: inherit; font-weight: 700;
}
.admin-tabs button.active { color: var(--orange); border-bottom-color: var(--orange); }
.admin-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.admin-toolbar select, .admin-toolbar input { min-height: 40px; width: auto; font-size: 13.5px; }
.admin-card { border: 1px solid var(--g300); border-radius: var(--radius); background: #fff; padding: 16px; margin-bottom: 14px; }
.admin-card h3 { margin-bottom: 8px; }
.admin-login-card {
  border: 1.5px solid var(--black); box-shadow: 6px 6px 0 #BDBDBD;
  background: #fff; padding: 24px 20px; max-width: 420px; margin: 40px auto;
}
.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .inline-fields { grid-template-columns: 1fr; } }

/* ---------- 약관류 본문 ---------- */
.doc h2 { font-size: 16px; margin-top: 28px; }
.doc p, .doc li { font-size: 15px; }
.doc .draft-note { color: var(--g500); font-size: 13px; }

/* 사진 위 흰 글씨 대비 보강 */
.cover-sq.has-photo .kicker, .cover-sq.has-photo h1, .cover-sq.has-photo .sub, .cover-sq.has-photo .host-name,
.banner-slide h2, .banner-slide p { text-shadow: 0 1px 3px rgba(0,0,0,.45); }
