/* ============================================================
   디어데이클래스 · 공통 스타일 시트 (shared.css)
   ============================================================ */

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

:root {
  --bg:      #ffffff;
  --paper:   #f7f8fb;
  --ink:     #0c1828;
  --muted:   #5b6675;
  --hint:    #9aa6b6;
  --brand:   #0172fe;
  --brand-700: #0159c9;
  --brand-50:  #e8f1ff;
  --brand-100: #d4e6ff;
  --line:    rgba(12,24,40,.10);
  --line2:   rgba(12,24,40,.18);
  --r:       0px;
  --maxw:    1120px;
  --nav-h:   68px;
  --font:    "Pretendard Variable", Pretendard, system-ui, -apple-system,
             "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Sections ───────────────────────────────────────── */
.section { padding: clamp(72px,9vw,112px) 0; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--ink); color: #fff; }
.section.brand-dark,
.section.cta-section {
  background: linear-gradient(150deg, #060c1f 0%, #0c2461 55%, #050b1f 100%);
  color: #fff;
}

/* ── Typography ─────────────────────────────────────── */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.section.dark .eyebrow,
.section.brand-dark .eyebrow,
.section.cta-section .eyebrow { color: rgba(255,255,255,.55); }

h2.h {
  font-size: clamp(28px,3.8vw,44px); font-weight: 700;
  line-height: 1.2; letter-spacing: -.025em; word-break: keep-all;
}
h3.sh {
  font-size: clamp(18px,2.2vw,22px); font-weight: 700;
  line-height: 1.35; letter-spacing: -.018em;
}
.lead {
  margin-top: 16px; font-size: 17px; color: var(--muted);
  word-break: keep-all; max-width: 52ch; line-height: 1.78;
}
.section.dark .lead,
.section.brand-dark .lead,
.section.cta-section .lead { color: rgba(255,255,255,.7); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 48px; }
.sec-head .more { font-size: 14px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.sec-head .more svg { width: 16px; height: 16px; stroke: currentColor; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border: none; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 600; background: var(--brand); color: #fff;
  border-radius: 0; transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-700); }
.btn:active { transform: scale(.985); }
.btn.sm   { height: 44px; font-size: 14px; padding: 0 20px; }
.btn.lg   { height: 60px; font-size: 17px; padding: 0 36px; }
.btn.line { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.line:hover { background: var(--brand-50); }
.btn.white { background: #fff; color: var(--brand); }
.btn.white:hover { background: #f0f6ff; }
.btn.ghost { background: rgba(255,255,255,.09); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn.ghost:hover { background: rgba(255,255,255,.16); }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 0; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.card:hover { border-color: var(--line2); box-shadow: 0 8px 28px rgba(12,24,40,.09); }

/* ── Stretched Link (전체 카드 클릭 영역) ───────────── */
.stretched-link { color: inherit; text-decoration: none; }
.stretched-link::after { content: ''; position: absolute; inset: 0; z-index: 0; cursor: pointer; }
.card .c-footer,
.card .fc-footer,
.card .c-badges { position: relative; z-index: 1; }

/* ── Badges ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 0;
}
.badge.blue      { background: var(--brand);       color: #fff; }
.badge.blue-soft { background: var(--brand-50);    color: var(--brand); }
.badge.green     { background: #d1fae5;            color: #059669; }
.badge.gray      { background: #f1f5f9;            color: var(--muted); }
.badge.yellow    { background: #fef9c3;            color: #92400e; }
.badge.free      { background: #eff6ff;            color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── Grid ────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.g2   { grid-template-columns: repeat(2, 1fr); }
.g3   { grid-template-columns: repeat(3, 1fr); }
.g4   { grid-template-columns: repeat(4, 1fr); }

/* ── Filter Pills ────────────────────────────────────── */
.filters {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-bottom: 36px;
  border-bottom: 1.5px solid var(--line2);
}
.filter-btn {
  height: 44px; padding: 0 20px;
  border: none; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px;
  background: transparent; color: var(--muted); font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: inherit; border-radius: 0;
  transition: color .15s ease, border-color .15s ease;
}
.filter-btn:hover  { color: var(--brand); border-bottom-color: var(--brand); }
.filter-btn.active { color: var(--ink); border-bottom-color: var(--brand); font-weight: 700; }

/* ── Stats Row ───────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat-cell { padding: 36px 20px; border-right: 1px solid var(--line); text-align: center; }
.stat-cell:last-child { border-right: none; }
.stat-n {
  font-size: clamp(34px,4vw,54px); font-weight: 800;
  letter-spacing: -.04em; color: var(--brand); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-l { margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.section.dark .stat-n { color: #60a5fa; }
.section.dark .stat-l { color: rgba(255,255,255,.65); }
.section.dark .stats-row { border-color: rgba(255,255,255,.1); }
.section.dark .stat-cell { border-right-color: rgba(255,255,255,.1); }

/* ── Form ────────────────────────────────────────────── */
.form-group  { display: flex; flex-direction: column; gap: 7px; }
.form-label  { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-label span.req { color: var(--brand); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line2);
  background: #fff; color: var(--ink); font-family: inherit; font-size: 15px;
  border-radius: 0; outline: none; transition: border-color .15s ease; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--hint); }
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa6b6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-hint   { font-size: 12px; color: var(--hint); }
.form-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-box    {
  background: var(--paper); border: 1px solid var(--line);
  padding: clamp(28px,4vw,52px); max-width: 640px; margin: 0 auto;
}
.form-box.wide { max-width: 860px; }

/* ── Schedule Tags ───────────────────────────────────── */
.sched-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.sched-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.sched-item svg { width: 14px; height: 14px; stroke: currentColor; flex: none; }

/* ── Course Card ─────────────────────────────────────── */
.course-card { display: flex; flex-direction: column; }
.course-card .thumb {
  aspect-ratio: 16/10; background: var(--brand-50);
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  position: relative; overflow: hidden;
}
.course-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-card .thumb-placeholder { font-size: 13px; font-weight: 500; text-align: center; }
.course-card .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.course-card .body  { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.course-card h3     { font-size: 16px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.course-card .by    { margin-top: 8px; font-size: 13px; color: var(--muted); }
.course-card .sched-row { margin-top: 14px; }
.course-card .price-row { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; }
.course-card .price { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.course-card .price.free { color: var(--brand); }
.course-card .spots { font-size: 12px; color: var(--hint); }

/* ── Review Card ─────────────────────────────────────── */
.review-card { padding: 26px; }
.review-card .stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review-card .stars svg { width: 14px; height: 14px; fill: #fbbf24; }
.review-card .q { font-size: 15px; line-height: 1.72; word-break: keep-all; color: var(--ink); }
.review-card .who-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.review-card .av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.review-card .who b  { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.review-card .who span { display: block; font-size: 12px; color: var(--hint); }

/* ── Process Steps ───────────────────────────────────── */
.steps { display: grid; gap: 0; }
.step-item { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step-item:last-child { border-bottom: none; }
.step-n { font-size: 28px; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.04em; }
.step-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-body p  { font-size: 15px; color: var(--muted); word-break: keep-all; }

/* ── Page Hero ───────────────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
  background: linear-gradient(155deg, #060c1f 0%, #0d2257 55%, #080f28 100%);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(1,114,254,.28), transparent 65%);
}
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.page-hero .breadcrumb {
  display: flex; align-items: center; justify-content: flex-start; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 28px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.45); transition: color .15s; }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb .sep { opacity: .4; }
.page-hero .eyebrow { color: rgba(255,255,255,.55); }
.page-hero h1 {
  font-size: clamp(32px, 5.2vw, 58px); font-weight: 700;
  line-height: 1.18; letter-spacing: -.02em; word-break: keep-all; margin-top: 8px;
}
.page-hero .ph-desc {
  margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.72);
  max-width: 50ch; margin-left: auto; margin-right: auto; word-break: keep-all; line-height: 1.72;
}
.page-hero .ph-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
/* Decorative grid lines */
.page-hero .hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* ── Navigation ──────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); display: flex; align-items: center;
  color: #fff; transition: background .3s ease, color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.93); color: var(--ink);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nav .container { display: flex; align-items: center; gap: 16px; width: 100%; }

/* Text logo */
.brand-logo { display: flex; align-items: center; flex: none; }
.logo-text { font-size: 17px; font-weight: 800; letter-spacing: -.03em; color: #fff; transition: color .3s ease; line-height: 1; }
.logo-dot  { color: rgba(255,255,255,.6); transition: color .3s ease; }
.nav.scrolled .logo-text { color: var(--ink); }
.nav.scrolled .logo-dot  { color: var(--brand); }

.menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
/* shadcn Menubar 스타일 */
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; font-size: 15px; font-weight: 500; color: inherit;
  border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(120,124,134,.14); opacity: 1; }
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link { background: rgba(120,124,134,.14); }
.nav-link.active { font-weight: 700; }
.nav.scrolled .nav-link.active { color: var(--brand); }
.nav-link .ar { width: 14px; height: 14px; transition: transform .2s; opacity: .65; }
.nav-item:hover .ar,
.nav-item:focus-within .ar { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 12rem;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 8px; padding: 5px; padding-top: 13px; margin-top: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.97);
  transform-origin: top left;
  transition: opacity .16s ease, transform .16s ease;
  box-shadow: 0 10px 24px -6px rgba(11,11,12,.16), 0 4px 10px -4px rgba(11,11,12,.12);
}
.dropdown::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: transparent;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown a { display: block; padding: 8px 10px; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 6px; transition: background-color .12s ease, color .12s ease; }
.dropdown a:hover { background: #f1f3f5; color: var(--ink); }

.nav-cta { flex: none; display: flex; align-items: center; gap: 10px; }
.nav .nav-cta .btn { height: 42px; font-size: 15px; padding: 0 24px; border-radius: 999px; }
.nav:not(.scrolled) .nav-cta .btn { background: var(--brand); color: #fff; border: none; }

.hamb {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  background: none; border: none; color: inherit; cursor: pointer;
}
.hamb svg { width: 24px; height: 24px; stroke: currentColor; }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: #080f22; color: rgba(255,255,255,.8); padding: 80px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 52px; }
@media (min-width: 960px) { .foot-grid { grid-template-columns: 380px 1fr; gap: 40px; align-items: start; } }
.foot-brand .logo-text { color: #fff; font-size: 18px; }
.foot-brand .logo-dot  { color: var(--brand); }
.foot-desc { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.45); word-break: keep-all; max-width: 30ch; line-height: 1.85; }
.foot-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.foot-contact a { font-size: 14px; color: rgba(255,255,255,.45); display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.foot-contact a:hover { color: #fff; }
.foot-contact svg { width: 15px; height: 15px; stroke: currentColor; flex: none; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.fcol h4  { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.38); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.fcol ul  { display: flex; flex-direction: column; gap: 12px; }
.fcol a   { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; display: inline-block; }
.fcol a:hover { color: #fff; }
.foot-bottom {
  margin-top: 60px; border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0 32px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.foot-bottom p { font-size: 12px; color: rgba(255,255,255,.28); line-height: 2; }
.foot-kakao {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px; background: #FEE500; color: #3C1E1E;
  font-size: 13px; font-weight: 700; border-radius: 0; transition: opacity .15s;
  white-space: nowrap;
}
.foot-kakao:hover { opacity: .88; }

/* ── Reveal ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  body .page-hero {
    padding-top: calc(var(--nav-h) + 74px) !important;
    padding-bottom: 72px !important;
    min-height: auto !important;
  }
  body .page-hero .breadcrumb {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.5;
  }
  body .page-hero .eyebrow {
    font-size: 12px;
    line-height: 1.4;
  }
  body .page-hero h1 {
    white-space: normal !important;
    font-size: clamp(30px, 7.4vw, 44px) !important;
    line-height: 1.18;
    letter-spacing: -.02em;
    overflow-wrap: break-word;
  }
  body .page-hero .ph-desc {
    max-width: 100% !important;
    white-space: normal !important;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.68;
    overflow-wrap: break-word;
  }
  body .page-hero .ph-actions {
    width: 100%;
    margin-top: 24px;
    justify-content: flex-start;
  }
  body .page-hero .ph-actions .btn {
    min-width: 0;
  }
  body .page-hero .hero-grid {
    background-size: 56px 56px;
  }
  body #courseHero .ch-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  body #courseHero .ch-thumb-col {
    max-width: min(100%, 340px) !important;
    width: 100%;
    justify-self: start !important;
    margin-top: 0 !important;
  }
  body #courseHero .ch-title {
    font-size: clamp(28px, 7.4vw, 36px) !important;
    line-height: 1.24;
  }
  .menu, .nav .nav-cta .btn { display: none; }
  .nav:not(.open) .container { justify-content: space-between; }
  .nav:not(.open) .nav-cta { display: none; }
  .brand { min-width: 0; }
  .nav .brand .logo { max-width: min(210px, calc(100vw - 118px)); object-fit: contain; }
  .hamb { display: flex; margin-left: auto; flex: 0 0 42px; }
  .nav.open {
    position: fixed; top: 0; left: 0; right: 0;
    background: #fff !important; color: var(--ink) !important;
    height: auto; max-height: 100dvh; overflow-y: auto;
    flex-direction: column; align-items: stretch;
  }
  .nav.open .logo-text { color: var(--ink); }
  .nav.open .logo-dot  { color: var(--brand); }
  .nav.open .container { position: relative; flex-direction: column; align-items: stretch; padding-top: 14px; padding-bottom: 14px; }
  .nav.open .hamb { position: absolute; top: 14px; right: 24px; z-index: 2; color: var(--ink); }
  .nav.open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin-top: 16px; }
  .nav.open .nav-link { padding: 13px 8px; font-size: 16px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav.open .dropdown {
    display: none; position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 4px 0 8px 16px; min-width: 0;
  }
  .nav.open .nav-item .ar { transform: none; }
  .nav.open .nav-item.sub-open > .dropdown { display: block; }
  .nav.open .nav-item.sub-open > .nav-link .ar { transform: rotate(180deg); }
  .nav.open .nav-cta { display: flex; }
  .nav.open .nav-cta .btn { display: flex; width: 100%; margin-top: 12px; height: 50px; }
  .nav.open .brand { order: -1; padding-right: 58px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row .stat-cell:nth-child(2) { border-right: none; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body .page-hero {
    padding-top: calc(var(--nav-h) + 46px) !important;
    padding-bottom: 48px !important;
  }
  body .page-hero .breadcrumb {
    margin-bottom: 14px;
  }
  body .page-hero h1 {
    font-size: clamp(26px, 8.8vw, 34px) !important;
    line-height: 1.22;
  }
  body .page-hero .ph-desc {
    font-size: 15px;
    line-height: 1.66;
  }
  body .page-hero .ph-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  body .page-hero .ph-actions .btn {
    width: 100%;
    flex: none;
  }
  body #courseHero .ch-tag-row {
    margin-bottom: 12px;
  }
  body #courseHero .ch-title {
    font-size: clamp(24px, 8vw, 30px) !important;
  }
  body #courseHero .ch-notice,
  body #courseHero .ch-statbar {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body #courseHero .ch-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0 !important;
  }
  body #courseHero .ch-info-label {
    flex: none !important;
  }
  .g3, .g2 { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .g4 { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .nav.open .hamb { right: 18px; }
}

.course-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  overflow-anchor: none;
}
.course-grid {
  overflow-anchor: none;
}
.course-page-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(12, 24, 40, .08);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
@media (hover: hover) {
  .course-page-btn:hover:not(:disabled) {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-1px);
  }
}
.course-page-btn:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}
.course-page-count {
  min-width: 52px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
}
@media (max-width: 540px) {
  .course-pager { margin-top: 26px; }
  .course-page-btn { width: 40px; height: 40px; }
}


/* ── 홈과 동일한 이미지 로고 ── */
.brand{ display:flex; align-items:center; flex:none; }
.brand .logo{ display:block; width:auto; height:38px; }
.nav .brand .logo-ink{ display:none; }
.nav .brand .logo-white{ display:block; }
.nav.scrolled .brand .logo-white{ display:none; }
.nav.scrolled .brand .logo-ink{ display:block; }
.nav.open .brand .logo-white{ display:none; }
.nav.open .brand .logo-ink{ display:block; }
@media (max-width:640px){ .nav .brand .logo{ height:32px; } }


/* ===== 메인 홈 푸터 디자인 (서브페이지 공통) ===== */
/* ===== 다크 푸터 (첨부 사진 구성) ===== */
.site-footer{ background:#ffffff; padding:72px 0 60px; margin-top:0; border-top:1px solid var(--line); }
.site-footer .ft-wrap{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; }
.site-footer .ft-logo .logo{ height:38px; width:auto; filter:none; opacity:1; }
.site-footer .ft-social{ display:flex; gap:11px; margin-top:30px; }
.site-footer .sbtn{ width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(12,24,40,.06); color:var(--ink); transition:background .15s ease; }
.site-footer .sbtn:hover{ background:rgba(12,24,40,.12); }
.site-footer .sbtn b{ font-size:8.5px; font-weight:800; letter-spacing:-.02em; }
.site-footer .sbtn svg{ width:17px; height:17px; }
.site-footer .ft-right{ text-align:right; margin-left:auto; }
.site-footer .ft-biz{ font-size:14px; color:var(--muted); letter-spacing:-.01em; word-break:keep-all; }
.site-footer .ft-biz .bar{ margin:0 9px; color:rgba(12,24,40,.22); }
.site-footer .ft-copy{ margin-top:22px; font-size:12px; letter-spacing:.04em; color:var(--hint); }
.site-footer .ft-links{ margin-top:26px; display:flex; gap:26px; justify-content:flex-end; }
.site-footer .ft-links a{ font-size:14px; color:var(--muted); transition:color .15s ease; }
.site-footer .ft-links a:hover{ color:var(--ink); }
@media (max-width:760px){
  .site-footer{ padding:52px 0 44px; }
  .site-footer .ft-wrap{ flex-direction:column; }
  .site-footer .ft-right{ text-align:left; margin-left:0; }
  .site-footer .ft-biz{ font-size:13px; }
  .site-footer .ft-biz .bar{ margin:0 6px; }
  .site-footer .ft-links{ justify-content:flex-start; flex-wrap:wrap; gap:18px; }
}
