/*
Theme Name: Winevision K2
Theme URI: https://winevision.kr
Author: Winevision
Description: K2 디자인 시스템 기반 와인비전 커스텀 테마. Rich Teal 악센트 + Bebas Neue / Noto Sans KR. TSOL 패턴 참고, 화이트 90% / 악센트 10%.
Version: 2.52.21
Text Domain: winevision-k2
*/

/* ============================================================
   K2 DESIGN TOKENS
   ============================================================ */
:root {
  --color-accent:       #1D9E75;
  --color-accent-dark:  #14785A;
  --color-bg:           #FEFEFE;
  --color-surface:      #F6F6F6;
  --color-dark:         #111111;
  --color-text:         #1A1A1A;
  --color-text-sub:     #555555;
  --color-text-mute:    #999999;
  --color-border:       #E8E5E0;

  --font-heading: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-body:    Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

  --max-width:    960px;
  --max-width-lg: 1200px;

  --section-pad:  100px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p { color: var(--color-text-sub); }

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

/* ============================================================
   UTILITIES
   ============================================================ */
.label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-header { text-align: center; margin-bottom: 72px; }
.section-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section-header .section-sub {
  font-size: 16px;
  color: var(--color-text-sub);
  max-width: 640px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-lg { padding: 18px 36px; font-size: 15px; }

/* <button class="btn"> 은 UA 기본값이 글꼴·행간을 덮는다.
   그대로 두면 한글이 Arial 폴백으로 찍히고 고유 높이가 <a class="btn"> 보다 8px 낮다.
   flex stretch 가 있는 자리에서는 안 보이다가 줄바꿈되면 드러난다. (2026-09-11) */
button.btn { font-family: inherit; line-height: inherit; }


/* ============================================================
   HEADER (Light, Sticky)
   ============================================================ */
.site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  color: var(--color-text);
  letter-spacing: -0.03em;
}
.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--color-accent); }
.cta-btn {
  background: var(--color-accent);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--color-accent-dark); }

/* ============================================================
   1. HERO (Dark)
   ============================================================ */
.hero {
  background: var(--color-dark);
  color: #fff;
  padding: 140px 0 120px;
  text-align: center;
}
.hero-inner { max-width: 880px; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 32px;
}
.hero-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 36px;
}
.hero-mission {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  margin-bottom: 40px;
}
.hero-mission .accent { color: var(--color-accent); font-weight: 500; }
/* CTA 가 없는 히어로 — 미션 문단이 마지막이면 아래 여백을 접는다 (2026-09-11 히어로 앵커 버튼 제거) */
.hero-mission:last-child { margin-bottom: 0; }

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-meta li {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
  position: relative;
}
.hero-meta li + li::before {
  content: '·';
  position: absolute;
  left: -18px;
  color: rgba(255,255,255,0.3);
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   2. ABOUT
   ============================================================ */
.about { padding: var(--section-pad) 0; background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width-lg);
  margin: 0 auto;
  padding: 0 24px;
}
.about-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.25;
  margin-bottom: 28px;
}
.about-text p {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 18px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.stat {
  background: var(--color-surface);
  padding: 44px 28px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  font-size: 56px;
  color: var(--color-accent);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.stat strong sup {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 500;
  vertical-align: super;
  margin-left: 2px;
}
.stat span {
  font-size: 13px;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
}

/* ============================================================
   3. LEARNING MODES
   ============================================================ */
.modes { padding: var(--section-pad) 0; background: var(--color-surface); }
.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.mode-card {
  background: #fff;
  padding: 56px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mode-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--color-text-mute);
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.mode-card h3 {
  font-size: 28px;
  margin-bottom: 4px;
}
.mode-en {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.mode-desc {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 24px;
  line-height: 1.7;
}
.mode-features {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  margin-bottom: 28px;
  flex: 1;
}
.mode-features li {
  font-size: 13px;
  color: var(--color-text-sub);
  padding: 6px 0;
  position: relative;
  padding-left: 16px;
}
.mode-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--color-accent);
}
.mode-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  align-self: flex-start;
}
.mode-link:hover { color: var(--color-accent-dark); }

.mode-featured { background: var(--color-dark); color: #fff; }
.mode-featured .mode-num { color: rgba(255,255,255,0.5); }
.mode-featured h3 { color: #fff; }
.mode-featured .mode-desc { color: rgba(255,255,255,0.75); }
.mode-featured .mode-features { border-top-color: rgba(255,255,255,0.15); }
.mode-featured .mode-features li { color: rgba(255,255,255,0.8); }
.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 5px 10px;
  font-weight: 700;
}

/* ============================================================
   4. PROGRAMS
   ============================================================ */
.programs { padding: var(--section-pad) 0; background: #fff; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.program-card {
  background: var(--color-surface);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.program-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 3px;
  color: #fff;
  background: var(--color-accent);
  padding: 4px 10px;
  align-self: flex-start;
  margin-bottom: 20px;
}
.program-card h3 {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  color: var(--color-text);
}
.program-en {
  font-size: 12px;
  color: var(--color-text-mute);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.program-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 22px;
}
.program-list {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  margin-bottom: 24px;
  flex: 1;
}
.program-list li {
  font-size: 12px;
  color: var(--color-text-sub);
  padding: 5px 0;
}
.program-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  align-self: flex-start;
}

/* ============================================================
   5. SMART LEARNING MODULES
   ============================================================ */
.modules { padding: var(--section-pad) 0; background: var(--color-surface); }
.modules-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  max-width: var(--max-width-lg);
  margin: 0 auto;
}
.module-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
}
.module-tier {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--color-text-mute);
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.module-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}
.module-desc {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 26px;
  line-height: 1.75;
}
.module-includes {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  margin-bottom: 30px;
  flex: 1;
}
.module-includes li {
  font-size: 13px;
  color: var(--color-text-sub);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}
.module-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.module-price {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
}
.module-price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.module-price span { font-size: 12px; color: var(--color-text-mute); }

.module-core { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }
.module-core .module-tier { color: var(--color-accent); }
.module-core h3 { color: #fff; }
.module-core .module-desc { color: rgba(255,255,255,0.75); }
.module-core .module-includes,
.module-core .module-price { border-top-color: rgba(255,255,255,0.15); }
.module-core .module-includes li { color: rgba(255,255,255,0.85); }
.module-core .module-price strong { color: #fff; }
.module-core .module-price span { color: rgba(255,255,255,0.5); }

/* ============================================================
   6. WORKSHOPS
   ============================================================ */
.workshops { padding: var(--section-pad) 0; background: #fff; }
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.workshop-card {
  background: var(--color-surface);
  padding: 56px 48px;
  border-left: 3px solid var(--color-accent);
}
.workshop-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 18px;
}
.workshop-card h3 {
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.35;
}
.workshop-desc {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 26px;
  line-height: 1.75;
}
.workshop-meta {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  margin-bottom: 22px;
}
.workshop-meta li {
  font-size: 13px;
  color: var(--color-text-sub);
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
}
.workshop-meta li strong {
  color: var(--color-text-mute);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.workshop-price {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 32px;
  color: var(--color-accent);
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
}

/* ============================================================
   7. SCHEDULE
   ============================================================ */
.schedule { padding: var(--section-pad) 0; background: var(--color-surface); }
.schedule-list {
  max-width: var(--max-width);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
}
.schedule-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 40px;
  border-bottom: 1px solid var(--color-border);
}
.schedule-item:last-child { border-bottom: 0; }
.schedule-date {
  text-align: center;
  border-right: 1px solid var(--color-border);
  padding-right: 24px;
}
.schedule-date .month {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--color-accent);
}
.schedule-date .day {
  display: block;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
  font-size: 42px;
  color: var(--color-text);
  font-weight: 800;
  line-height: 1.1;
}
.schedule-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.schedule-info h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.schedule-info p {
  font-size: 13px;
  color: var(--color-text-sub);
}
.schedule-cta {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-accent);
  white-space: nowrap;
}
.schedule-foot { text-align: center; margin-top: 48px; }

/* ============================================================
   8. REVIEWS
   ============================================================ */
.reviews { padding: var(--section-pad) 0; background: #fff; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: var(--max-width-lg);
  margin: 0 auto;
}
.review-card {
  background: var(--color-surface);
  padding: 44px 40px;
  border-top: 2px solid var(--color-accent);
}
.review-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.85;
  margin-bottom: 24px;
  font-weight: 400;
}
.review-card footer {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
}
.review-card strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 4px;
  font-weight: 700;
}
.review-card span {
  font-size: 12px;
  color: var(--color-text-mute);
  letter-spacing: 0.02em;
}

/* ============================================================
   9. NEWS
   ============================================================ */
.news { padding: var(--section-pad) 0; background: var(--color-surface); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.news-card {
  background: #fff;
  padding: 44px 32px;
  transition: background 0.2s;
  cursor: pointer;
}
.news-card:hover { background: var(--color-surface); }
.news-cat {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.news-card h3 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 22px;
  min-height: 84px;
}
.news-meta {
  font-size: 12px;
  color: var(--color-text-mute);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

/* ============================================================
   10. CTA BAR (Dark)
   ============================================================ */
.cta-bar { background: var(--color-dark); padding: 100px 0; color: #fff; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-text .label { color: var(--color-accent); }
.cta-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.2;
}
.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER (Dark)
   ============================================================ */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 80px 0 40px;
  border-top: 1px solid #1f1f1f;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 22px;
}
.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 2;
  display: block;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid #1f1f1f;
  margin-top: 64px;
  padding-top: 28px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .modes-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-text p { margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .main-nav { display: none; }
  .nav-wrap { height: 64px; }
  .site-logo { font-size: 24px; }

  .hero { padding: 100px 0 80px; }
  .hero-meta { gap: 24px; }
  .hero-meta li + li::before { left: -14px; }

  .section-header { margin-bottom: 48px; }

  .program-grid { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; gap: 16px; }
  .workshop-card { padding: 40px 32px; }
  .review-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .schedule-item {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 24px 24px;
  }
  .schedule-cta { grid-column: 1 / -1; text-align: right; }
  /* 알림 버튼도 전폭 행으로. 없으면 80px 칸에 들어가 글자가 잘린다 (2026-09-11) */
  .schedule-item > .wv-notify-btn { grid-column: 1 / -1; justify-self: end; }
  .schedule-date .day { font-size: 32px; }

  .about-stats .stat { padding: 32px 16px; }
  .stat strong { font-size: 42px; }

  .mode-card,
  .module-card { padding: 40px 28px; }
}

/* ============================================================
   K2 — PAGE TEMPLATES (about / schedule / wset / smart / workshop)
   All new selectors use the `wv-` prefix to avoid conflict
   with front-page classes. Reuse front-page classes
   (`.about`, `.programs`, `.modules`, `.workshops`,
   `.schedule`, `.modes`, `.program-grid`, etc.) wherever possible.
   ============================================================ */

/* ----- Header — nav actions group ----- */
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-login:hover { color: var(--color-accent); }

/* ----- Page hero (slimmer dark hero used by all sub pages) ----- */
.page-hero { padding: 120px 0 100px; }
.page-hero .hero-inner { max-width: 880px; }
.page-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.page-title .accent { color: var(--color-accent); }
.page-hero .badge-inline {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  padding: 6px 14px;
  margin-bottom: 28px;
}

/* ============================================================
   wv — TIMELINE  (about page)
   ============================================================ */
.wv-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 0;
}
.wv-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 110px;
  width: 1px;
  background: var(--color-border);
}
.wv-timeline li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  padding: 26px 0;
  align-items: start;
  position: relative;
}
.wv-timeline li::before {
  content: '';
  position: absolute;
  left: 105px;
  top: 36px;
  width: 11px;
  height: 11px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid #fff;
}
.wv-timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  color: var(--color-text);
  letter-spacing: -0.03em;
  line-height: 1;
  padding-top: 6px;
}
.wv-timeline h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.wv-timeline p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ============================================================
   wv — CONTACT (about page)
   ============================================================ */
.wv-contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.wv-contact-info {
  background: #fff;
  padding: 56px 48px;
}
.wv-contact-info h3 {
  font-size: 22px;
  margin-bottom: 24px;
}
.wv-contact-info dl {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
}
.wv-contact-info dt {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 18px;
}
.wv-contact-info dd {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-top: 4px;
  line-height: 1.7;
}
.wv-contact-map {
  background: var(--color-surface);
  border-radius: 8px;
  overflow: hidden;
}

/* ============================================================
   wv — CTA BAND (dark, used at the bottom of all pages)
   ============================================================ */
.wv-cta-band {
  background: var(--color-dark);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.wv-cta-band .label { color: var(--color-accent); }
.wv-cta-band h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: #fff;
  margin: 18px 0 18px;
  line-height: 1.25;
}
.wv-cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.wv-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   wv — FILTER CHIPS (schedule page)
   ============================================================ */
.wv-filter-bar {
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
  background: #fff;
  position: sticky;
  top: 76px;
  z-index: 50;
}
.wv-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.wv-chip {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-sub);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.wv-chip:hover { color: var(--color-accent); border-color: var(--color-accent); }
.wv-chip.is-active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ============================================================
   wv — SMART LEARNING BANNER (schedule page)
   ============================================================ */
.wv-banner {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  background: var(--color-dark);
  color: #fff;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.wv-banner .label { color: var(--color-accent); margin-bottom: 12px; }
.wv-banner h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 6px;
}
.wv-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

/* ============================================================
   wv — SCHEDULE GROUP HEADERS (month dividers)
   ============================================================ */
.wv-month-header {
  max-width: var(--max-width);
  margin: 56px auto 20px;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 0 4px;
}
.wv-month-header strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--color-text);
  letter-spacing: -0.03em;
}
.wv-month-header span {
  font-size: 13px;
  color: var(--color-text-mute);
  letter-spacing: 0.04em;
}
.wv-month-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* ============================================================
   wv — LEVEL GRID (WSET L1/L2/L3 comparison)
   ============================================================ */
.wv-level-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width-lg);
  margin: 0 auto;
}
.wv-level-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
}
.wv-level-card.is-featured {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
  transform: translateY(-12px);
  position: relative;
}
.wv-level-card.is-featured h3,
.wv-level-card.is-featured strong { color: #fff; }
.wv-level-card.is-featured .wv-level-feature li { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.wv-level-card.is-featured .wv-level-feature li strong { color: rgba(255,255,255,0.95); }
.wv-level-card.is-featured .wv-level-price { border-top-color: rgba(255,255,255,0.15); }
.wv-level-card.is-featured .wv-level-price strong { color: var(--color-accent); }
.wv-level-card.is-featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 3px;
  padding: 6px 14px;
  font-weight: 700;
}
.wv-level-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.wv-level-card h3 { font-size: 24px; margin-bottom: 22px; line-height: 1.3; }
.wv-level-feature {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.wv-level-feature li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-sub);
}
.wv-level-feature li:last-child { border-bottom: 0; }
.wv-level-feature strong {
  color: var(--color-text);
  font-weight: 600;
  font-size: 13px;
}
.wv-level-price {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  margin-bottom: 24px;
}
.wv-level-price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.wv-level-price span {
  font-size: 12px;
  color: var(--color-text-mute);
}

/* ============================================================
   wv — LEARNING PATH (WSET page)
   ============================================================ */
.wv-path {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 12px;
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto;
}
.wv-path-step {
  background: var(--color-surface);
  padding: 36px 28px;
  text-align: center;
  border-top: 3px solid var(--color-accent);
}
.wv-path-step strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 32px;
  color: var(--color-text);
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.wv-path-step span {
  font-size: 13px;
  color: var(--color-text-sub);
  display: block;
  line-height: 1.6;
}
.wv-path-arrow {
  align-self: center;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 24px;
  color: var(--color-text-mute);
  text-align: center;
}

/* ============================================================
   wv — STEP LIST (smart learning 4 steps)
   ============================================================ */
.wv-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.wv-step-card {
  background: #fff;
  padding: 48px 32px;
  text-align: left;
}
.wv-step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.wv-step-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.wv-step-card p {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ============================================================
   wv — FEATURE GRID (smart learning 6 features, target audience)
   ============================================================ */
.wv-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  max-width: var(--max-width-lg);
  margin: 0 auto;
}
.wv-feature-card {
  background: #fff;
  padding: 44px 32px;
}
.wv-feature-card .icon {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.wv-feature-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.wv-feature-card p {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}
.section-surface .wv-feature-card { background: var(--color-surface); }

/* ============================================================
   wv — COMPARE TABLE (smart learning vs other modes)
   ============================================================ */
.wv-table-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  border: 1px solid var(--color-border);
  background: #fff;
}
.wv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.wv-table th,
.wv-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.wv-table thead th {
  background: var(--color-surface);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-text);
  font-weight: 700;
  text-transform: uppercase;
}
.wv-table thead th.is-core {
  background: var(--color-dark);
  color: #fff;
}
.wv-table thead th.is-core::after {
  content: ' · CORE';
  color: var(--color-accent);
  font-size: 10px;
  letter-spacing: 2px;
}
.wv-table tbody th {
  background: #fff;
  font-weight: 600;
  color: var(--color-text);
  width: 30%;
}
.wv-table tbody td { color: var(--color-text-sub); }
.wv-table tbody td.is-core {
  background: rgba(29,158,117,0.06);
  color: var(--color-text);
  font-weight: 500;
}
.wv-table tbody tr:last-child th,
.wv-table tbody tr:last-child td { border-bottom: 0; }
.wv-check { color: var(--color-accent); font-weight: 700; }
.wv-cross { color: var(--color-text-mute); }

/* ============================================================
   wv — FAQ ACCORDION
   ============================================================ */
.wv-faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}
.wv-faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.wv-faq summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text);
  list-style: none;
  position: relative;
  padding-right: 40px;
  line-height: 1.5;
}
.wv-faq summary::-webkit-details-marker { display: none; }
.wv-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-accent);
  font-weight: 800; /* Light 소멸 (D16) */
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}
.wv-faq details[open] summary::after { content: '−'; }
.wv-faq details p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--color-text-sub);
}

/* ============================================================
   Section background helper for sub pages
   ============================================================ */
.section-surface { background: var(--color-surface) !important; }
.section-surface .wv-feature-grid,
.section-surface .wv-step-grid {
  background: var(--color-border);
}
.section-surface .wv-step-card,
.section-surface .wv-feature-card { background: var(--color-surface); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .wv-level-grid { grid-template-columns: 1fr; }
  .wv-level-card.is-featured { transform: none; }
  .wv-step-grid { grid-template-columns: repeat(2, 1fr); }
  .wv-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .wv-path {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .wv-path-arrow { transform: rotate(90deg); padding: 4px 0; }
  .wv-contact { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-actions { gap: 10px; }
  .nav-login { display: none; }
  .page-hero { padding: 80px 0 70px; }
  .wv-step-grid { grid-template-columns: 1fr; }
  .wv-feature-grid { grid-template-columns: 1fr; }
  .wv-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 28px;
  }
  .wv-timeline::before { left: 16px; }
  .wv-timeline li {
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }
  .wv-timeline li::before { left: 11px; top: 30px; }
  .wv-timeline-year { font-size: 22px; }
  .wv-filter-bar { top: 64px; }
  .wv-table { font-size: 12px; }
  .wv-table th, .wv-table td { padding: 12px 10px; }
}

/* ============================================================
   K2 — DROPDOWN MENU + NEWS CARDS + PROGRAMS HUB
   Appended after page templates CSS.
   ============================================================ */

/* ----- Primary nav: enable submenu positioning ----- */
.main-nav ul { position: relative; }
.main-nav > div > ul,
.main-nav .menu { display: flex; gap: 36px; align-items: center; }
.main-nav li { position: relative; }
.main-nav li > a {
  display: inline-flex;
  align-items: center;
  height: 76px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav li > a:hover { color: var(--color-accent); }

/* Parent items with children get a small caret */
.main-nav li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
  opacity: 0.7;
}
.main-nav li.menu-item-has-children:hover > a::after {
  transform: translateY(0) rotate(225deg);
  opacity: 1;
}

/* Sub-menu (dropdown) */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-accent);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 16px 40px rgba(17,17,17,0.08);
  z-index: 200;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu li > a {
  white-space: nowrap;
  display: block;
  height: auto;
  padding: 12px 24px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--color-text-sub);
  transition: background 0.15s, color 0.15s;
}
.main-nav .sub-menu li > a:hover {
  background: var(--color-surface);
  color: var(--color-accent);
}

/* Mobile: show submenu items inline */
@media (max-width: 768px) {
  .main-nav { display: none; }
}

/* ============================================================
   wv — PROGRAMS HUB (page-programs.php)
   ============================================================ */
.wv-program-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  max-width: var(--max-width-lg);
  margin: 0 auto;
}
.wv-program-hero-card {
  background: #fff;
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.25s;
}
.wv-program-hero-card:hover { background: var(--color-surface); }
.wv-program-hero-card.is-dark { background: var(--color-dark); color: #fff; }
.wv-program-hero-card.is-dark:hover { background: #181818; }
.wv-program-hero-card .tag {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 4px;
  background: var(--color-accent);
  color: #fff;
  padding: 5px 12px;
  align-self: flex-start;
  margin-bottom: 28px;
}
.wv-program-hero-card .program-mark {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--color-text);
}
.wv-program-hero-card.is-dark .program-mark { color: #fff; }
.wv-program-hero-card .program-en-name {
  font-size: 13px;
  color: var(--color-text-mute);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.wv-program-hero-card.is-dark .program-en-name { color: rgba(255,255,255,0.55); }
.wv-program-hero-card .program-summary {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.85;
  margin-bottom: 28px;
}
.wv-program-hero-card.is-dark .program-summary { color: rgba(255,255,255,0.78); }
.wv-program-hero-card .program-points {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.wv-program-hero-card.is-dark .program-points { border-top-color: rgba(255,255,255,0.15); }
.wv-program-hero-card .program-points li {
  font-size: 13px;
  padding: 6px 0;
  color: var(--color-text-sub);
  position: relative;
  padding-left: 16px;
}
.wv-program-hero-card.is-dark .program-points li { color: rgba(255,255,255,0.75); }
.wv-program-hero-card .program-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--color-accent);
}
.wv-program-hero-card .more-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-accent);
  align-self: flex-start;
}

/* ============================================================
   wv — NEWS LIST (page-news.php)
   ============================================================ */
.wv-news-filter {
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  background: #fff;
}
.wv-news-filter .wv-filter-row { justify-content: center; }

.wv-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  max-width: var(--max-width-lg);
  margin: 0 auto;
}
.wv-news-card {
  background: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.wv-news-card:hover { background: var(--color-surface); }
.wv-news-card .news-cat {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 18px;
  align-self: flex-start;
}
.wv-news-card .news-cat.is-notice { color: var(--color-text); }
.wv-news-card .news-cat.is-column { color: var(--color-accent-dark); }
.wv-news-card h3 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 14px;
  min-height: 56px;
}
.wv-news-card h3 a { color: var(--color-text); transition: color 0.2s; }
.wv-news-card h3 a:hover { color: var(--color-accent); }
.wv-news-card .excerpt {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wv-news-card .news-meta {
  font-size: 12px;
  color: var(--color-text-mute);
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.02em;
}

.wv-news-empty {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
}
.wv-news-empty h3 { font-size: 20px; margin-bottom: 12px; }
.wv-news-empty p { font-size: 14px; color: var(--color-text-sub); }

.wv-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
}
.wv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-sub);
  background: #fff;
  transition: all 0.2s;
}
.wv-pagination .page-numbers:hover { border-color: var(--color-accent); color: var(--color-accent); }
.wv-pagination .page-numbers.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

@media (max-width: 1024px) {
  .wv-program-hero { grid-template-columns: 1fr; }
  .wv-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .wv-news-grid { grid-template-columns: 1fr; }
  .wv-program-hero-card { padding: 48px 32px; }
}

/* ============================================================
   K2 — LOGO IMAGE OVERRIDES
   Replace text logo with PNG images while keeping K2 layout.
   ============================================================ */

/* Header logo (light header, black PNG, 28px tall) */
.site-logo {
  display: inline-flex;
  align-items: center;
  height: 76px;
  padding: 0;
  font-size: 0;            /* hide any leftover text nodes */
  line-height: 1;
}
.site-logo img {
  display: block;
  height: 28px;
  width: auto;
}

/* Footer logo (dark footer, white PNG, 32px tall) */
.footer-logo {
  display: inline-block;
  margin-bottom: 22px;
}
.footer-logo img {
  display: block;
  height: 32px;
  width: auto;
}

/* Hero logo (dark hero, white PNG, large) */
.hero-logo-img {
  margin-bottom: 36px;
  line-height: 1;
}
.hero-logo-img img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

/* Page hero variant — slightly smaller */
.page-hero .hero-logo-img img { max-width: 360px; }

@media (max-width: 768px) {
  .site-logo { height: 64px; }
  .site-logo img { height: 24px; }
  .hero-logo-img img { max-width: 280px; }
  .page-hero .hero-logo-img img { max-width: 240px; }
  .footer-logo img { height: 28px; }
}

/* ============================================================
   K2 — NESTED SUB-MENU (depth 3 support)
   3단계 메뉴: 프로그램 ▾ → WSET ▾ → WSET Level 2
   ============================================================ */

/* Nested sub-menu pops out to the right of its parent item */
.main-nav .sub-menu .sub-menu {
  top: -11px;        /* align with parent item top (compensate sub-menu padding) */
  left: 100%;
  margin-left: 1px;  /* sit just outside parent border */
  border-top: 1px solid var(--color-border);
  border-left: 2px solid var(--color-accent);
}

/* Caret indicator on second-level parent items (e.g. WSET) */
.main-nav .sub-menu .menu-item-has-children > a {
  position: relative;
  padding-right: 36px;
}
.main-nav .sub-menu .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}
.main-nav .sub-menu .menu-item-has-children:hover > a::after {
  opacity: 1;
  transform: translateY(-50%) rotate(-45deg) translateX(2px);
}

/* Smooth transition for the third level */
.main-nav .sub-menu .sub-menu {
  transform: translateX(-8px);
}
.main-nav .sub-menu li:hover > .sub-menu,
.main-nav .sub-menu li:focus-within > .sub-menu {
  transform: translateX(0);
}

/* ============================================================
   K2 — ENROLL BUTTON (single course pages)
   ============================================================ */
.btn-enroll {
  margin-top: 8px;
  width: 100%;
  text-align: center;
  display: block;
  align-self: stretch;
}
.mode-card .btn-enroll,
.module-card .btn-enroll {
  margin-top: 16px;
}

/* ============================================================
   K2 — WOOCOMMERCE OVERRIDES  (Cart · Checkout · My Account)
   ============================================================ */

/* ---------- Section wrapper ---------- */
.wv-wc-section {
  padding: 80px 0 120px;
  background: var(--color-bg);
}
.wv-wc-section > .container { max-width: var(--max-width-lg); }

/* ---------- Step indicator bar ---------- */
.wv-wc-steps {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}
.wv-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}
.wv-steps li {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-mute);
  padding: 0 24px;
  letter-spacing: 0.02em;
  position: relative;
}
.wv-steps li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: var(--color-border);
  transform: translateY(-50%);
}
.wv-steps li span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--color-text-mute);
  margin-right: 10px;
}
.wv-steps li.is-done { color: var(--color-text); }
.wv-steps li.is-done span { color: var(--color-accent); }
.wv-steps li.is-active { color: var(--color-text); font-weight: 700; }
.wv-steps li.is-active span {
  color: #fff;
  background: var(--color-accent);
  padding: 4px 10px;
  border-radius: 2px;
  margin-right: 10px;
}

/* ---------- Generic page content (for page.php) ---------- */
.wv-page-content {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.85;
}
.wv-page-content h2 { font-size: 24px; margin: 40px 0 16px; color: var(--color-text); }
.wv-page-content h3 { font-size: 19px; margin: 32px 0 12px; color: var(--color-text); }
.wv-page-content p { margin-bottom: 16px; }
.wv-page-content a { color: var(--color-accent); border-bottom: 1px solid currentColor; }
.wv-page-content ul, .wv-page-content ol { margin: 0 0 16px 20px; }
.wv-page-content li { margin-bottom: 8px; list-style: disc; }

/* ============================================================
   WooCommerce notices
   ============================================================ */
.woocommerce-notices-wrapper { margin-bottom: 28px; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
  background: var(--color-surface);
  border: 0;
  border-left: 3px solid var(--color-accent);
  border-radius: 0;
  color: var(--color-text);
  padding: 18px 24px;
  font-size: 14px;
  list-style: none;
  margin: 0 0 24px;
}
/* WooCommerce 알림 아이콘 제거 (2026-08-21).
   WC 는 ::before 에 자기 아이콘 폰트의 사용자 영역 글리프(\e028 등)를 찍는다.
   K2 는 색만 바꾸고 아이콘을 그대로 뒀는데, 글리프가 그려지지 않는 자리에는
   빈 네모(tofu)가 남는다 — 빈 장바구니 안내 왼쪽의 파란 상자가 그것이다.
   K2 는 왼쪽 굵은 보더로 이미 종류를 구분하므로 아이콘 자체를 쓰지 않는다. */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none !important; }
/* 색은 아래 「WooCommerce 알림 3종 통일」 한 곳에서만 정한다 (2026-08-22).
   여기 있던 .woocommerce-error(#d24848) · .woocommerce-info(#1a73e8 파랑)
   정의는 같은 선택자를 두 번 쓰는 중복이었다 — 파란 알림의 출처. */
/* 아이콘을 없앴으니 그 자리로 비워 둔 왼쪽 여백(3.5em)도 되돌린다. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { padding-left: 24px; }
.cart-empty.woocommerce-info { padding-left: 32px; }

.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  padding: 8px 16px !important;
  font-size: 12px !important;
}

/* ============================================================
   Shop table (cart line items)
   ============================================================ */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  border: 1px solid var(--color-border);
  border-collapse: collapse;
  border-radius: 0;
  background: #fff;
  font-size: 14px;
  margin: 0 0 32px;
  width: 100%;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-page table.shop_table th,
.woocommerce-page table.shop_table td {
  border: 0;
  border-bottom: 1px solid var(--color-border);
  padding: 20px 22px;
  vertical-align: middle;
}
.woocommerce table.shop_table thead th {
  background: var(--color-surface);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
}
.woocommerce table.shop_table tbody tr:last-child td { border-bottom: 0; }
.woocommerce table.shop_table td.product-name a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}
.woocommerce table.shop_table td.product-name a:hover { color: var(--color-accent); }
.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  font-weight: 600;
  color: var(--color-text);
}
.woocommerce table.shop_table td.product-thumbnail img { max-width: 72px; border: 1px solid var(--color-border); }

.woocommerce table.shop_table .quantity input.qty {
  width: 68px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  text-align: center;
  background: #fff;
  border-radius: 0;
}

.woocommerce a.remove {
  color: var(--color-text-mute) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1;
  transition: color 0.2s;
  border: 0;
  height: auto;
  width: auto;
}
.woocommerce a.remove:hover {
  background: transparent !important;
  color: #d24848 !important;
}

/* ============================================================
   Buttons — force K2 teal on all WC buttons
   ============================================================ */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.woocommerce-page #place_order,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--color-accent) !important;
  color: #fff !important;
  border: 1.5px solid var(--color-accent) !important;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--color-accent-dark) !important;
  border-color: var(--color-accent-dark) !important;
  color: #fff !important;
}

.woocommerce a.button.wc-backward,
.woocommerce a.button.wp-element-button {
  background: #fff !important;
  color: var(--color-text) !important;
  border-color: var(--color-border) !important;
}
.woocommerce a.button.wc-backward:hover {
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
  background: #fff !important;
}

/* ============================================================
   Cart actions row (coupon / update)
   ============================================================ */
.woocommerce-cart table.cart td.actions {
  padding: 24px;
  background: var(--color-surface);
}
.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: 8px;
  float: none;
  align-items: center;
}
.woocommerce-cart table.cart td.actions .coupon label { display: none; }
.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: 260px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  font-size: 14px;
  background: #fff;
}
.woocommerce-cart table.cart td.actions .button[name="update_cart"] {
  float: right;
}

/* ============================================================
   Cart collaterals / totals
   ============================================================ */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
  margin-top: 48px;
}
.woocommerce .cart-collaterals::after { content: ''; display: block; clear: both; }
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  background: var(--color-surface);
  padding: 44px 40px;
  border: 1px solid var(--color-border);
  float: right;
  width: 50%;
  max-width: 500px;
}
.woocommerce .cart-collaterals .cart_totals h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.woocommerce .cart-collaterals .cart_totals table {
  margin: 0 0 24px;
  border: 0;
}
.woocommerce .cart-collaterals .cart_totals table tr th,
.woocommerce .cart-collaterals .cart_totals table tr td {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-size: 14px;
  color: var(--color-text);
}
.woocommerce .cart-collaterals .cart_totals table tr:last-child th,
.woocommerce .cart-collaterals .cart_totals table tr:last-child td { border-bottom: 0; }
.woocommerce .cart-collaterals .cart_totals table tr.order-total th,
.woocommerce .cart-collaterals .cart_totals table tr.order-total td {
  font-size: 18px;
  font-weight: 700;
  padding-top: 20px;
}
.woocommerce .cart-collaterals .cart_totals table tr.order-total .amount {
  color: var(--color-accent);
  font-size: 22px;
}
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout {
  padding: 0;
}
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100%;
  padding: 20px !important;
  font-size: 15px !important;
  letter-spacing: 0.04em;
  background: var(--color-accent) !important;
  color: #fff !important;
  border-color: var(--color-accent) !important;
}

/* Empty cart */
.cart-empty.woocommerce-info {
  background: var(--color-surface);
  /* 왼쪽 줄 색을 지정하지 않는다 — 「빈 장바구니」는 정보 알림이므로
     .woocommerce-info 의 회색을 따라야 한다. accent(초록)로 덮어쓰는 바람에
     성공 알림과 구분되지 않았다 (2026-08-22). */
  padding: 56px 32px !important;
  text-align: center;
  font-size: 16px;
  margin-bottom: 24px;
}
.return-to-shop { text-align: center; margin-top: 24px; }
.return-to-shop .button { display: inline-flex !important; }

/* ============================================================
   Checkout page layout
   ============================================================ */
.woocommerce form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.woocommerce form.checkout #customer_details {
  margin: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
}
.woocommerce form.checkout #customer_details .col-1,
.woocommerce form.checkout #customer_details .col-2 {
  float: none;
  width: 100%;
  margin-bottom: 40px;
}
.woocommerce form.checkout h3 {
  font-size: 18px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.woocommerce form.checkout #order_review_heading,
.woocommerce form.checkout #order_review {
  grid-column: 2;
  margin: 0;
}
.woocommerce form.checkout #order_review_heading { margin-top: 0 !important; }
.woocommerce form.checkout #order_review {
  background: var(--color-surface);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  margin-top: 16px;
}
.woocommerce form.checkout #order_review table.shop_table {
  background: transparent;
  border: 0;
  margin-bottom: 20px;
}
.woocommerce form.checkout #order_review table.shop_table th,
.woocommerce form.checkout #order_review table.shop_table td {
  background: transparent;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}
.woocommerce form.checkout #order_review table.shop_table tfoot .order-total .amount {
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 700;
}

/* ============================================================
   Checkout form fields
   ============================================================ */
.woocommerce form .form-row {
  display: flex;
  flex-direction: column;
  padding: 0 0 18px;
  margin: 0;
}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  width: calc(50% - 8px);
  float: none;
  display: inline-flex;
}
.woocommerce form .form-row-first { margin-right: 16px; }
.woocommerce form .form-row label {
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.woocommerce form .form-row .required {
  color: var(--color-accent);
  text-decoration: none;
  border: 0;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text);
  border-radius: 0;
  transition: border-color 0.2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: 0;
  border-color: var(--color-accent);
}
.woocommerce form .form-row textarea { min-height: 110px; }

/* Select2 */
.woocommerce .select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: #fff;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding: 0 16px;
  color: var(--color-text);
  font-size: 14px;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 8px;
}
.woocommerce .select2-dropdown {
  border: 1px solid var(--color-border);
  border-radius: 0;
}
.woocommerce .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--color-accent);
}

/* ============================================================
   Payment methods
   ============================================================ */
.woocommerce ul.wc_payment_methods,
.woocommerce-page ul.wc_payment_methods {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  margin: 0 0 24px !important;
  list-style: none !important;
}
.woocommerce ul.wc_payment_methods li {
  padding: 18px 20px !important;
  border: 1px solid var(--color-border) !important;
  margin-bottom: 10px !important;
  background: #fff !important;
  list-style: none !important;
  border-radius: 0 !important;
}
.woocommerce ul.wc_payment_methods li input[type="radio"] { margin-right: 10px; }
.woocommerce ul.wc_payment_methods label {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
}
.woocommerce .payment_box {
  background: var(--color-bg) !important;
  border: 1px solid var(--color-border) !important;
  padding: 16px 18px !important;
  font-size: 13px !important;
  color: var(--color-text-sub) !important;
  margin-top: 10px !important;
  border-radius: 0 !important;
}
.woocommerce .payment_box::before { display: none !important; }

/* Terms checkbox */
.woocommerce-terms-and-conditions-wrapper {
  font-size: 13px;
  padding: 18px 0;
  color: var(--color-text-sub);
}
.woocommerce form.woocommerce-checkout .wc-terms-and-conditions {
  margin-bottom: 16px;
}
.woocommerce form.woocommerce-checkout .wc-terms-and-conditions label {
  font-weight: 500;
  font-size: 13px;
}

/* Place order button — make it extra prominent */
.woocommerce #payment #place_order {
  width: 100%;
  padding: 20px !important;
  font-size: 16px !important;
  margin-top: 10px;
}

/* ============================================================
   My Account
   ============================================================ */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 25%;
  padding-right: 40px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  border: 1px solid var(--color-border);
  padding: 0;
  margin: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  list-style: none;
  border-bottom: 1px solid var(--color-border);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--color-text);
  font-weight: 500;
  transition: all 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--color-surface);
  color: var(--color-accent);
}
.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  width: 75%;
}
.woocommerce-account form.login,
.woocommerce-account form.register {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--color-border);
  background: #fff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .wv-wc-section { padding: 56px 0 80px; }
  .wv-steps li { padding: 0 14px; font-size: 12px; }
  .wv-steps li span { margin-right: 6px; }

  .woocommerce form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .woocommerce form.checkout #customer_details,
  .woocommerce form.checkout #order_review_heading,
  .woocommerce form.checkout #order_review { grid-column: 1; }

  .woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }
  .woocommerce-cart table.cart td.actions .coupon { flex-wrap: wrap; }
  .woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
  .woocommerce-cart table.cart td.actions .button[name="update_cart"] { float: none; }

  .woocommerce table.shop_table,
  .woocommerce-page table.shop_table { font-size: 13px; }
  .woocommerce table.shop_table thead { display: none; }
  .woocommerce table.shop_table tbody tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .woocommerce table.shop_table tbody td {
    display: block;
    padding: 6px 20px;
    border: 0;
  }

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 100%;
  }
  .woocommerce form .form-row-first { margin-right: 0; }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    padding: 0;
    margin-bottom: 24px;
  }
}

/* ============================================================
   K2 — MOBILE HAMBURGER MENU + SLIDE DRAWER
   ============================================================ */

/* ----- Hamburger button (hidden on desktop) ----- */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 210;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text, #1A1A1A);
  border-radius: 1px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 11px; }
.nav-hamburger span:nth-child(3) { top: 22px; }

/* Animated X when open */
.nav-hamburger.is-open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ----- Overlay ----- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.is-visible {
  display: block;
  opacity: 1;
}

/* ----- Drawer ----- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: var(--color-dark, #111);
  color: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 80px 0 32px;
}

/* ----- Mobile menu items ----- */
.mobile-nav {
  flex: 1;
}
.mobile-menu,
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level items */
.mobile-menu > li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu > li > a {
  display: flex;
  align-items: center;
  padding: 18px 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-menu > li > a:hover {
  background: rgba(255,255,255,0.04);
}
.mobile-menu > li.current-menu-item > a,
.mobile-menu > li.current-page-ancestor > a {
  color: var(--color-accent, #1D9E75);
}

/* Sub-menu toggle — parent items with children */
.mobile-menu li.menu-item-has-children {
  position: relative;
}
.mobile-menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.mobile-menu li.menu-item-has-children.is-sub-open > a::after {
  transform: rotate(45deg);
  border-color: var(--color-accent, #1D9E75);
}

/* Sub-menu (2nd level) */
.mobile-menu .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(0,0,0,0.25);
}
.mobile-menu li.is-sub-open > .sub-menu {
  display: block;
}
.mobile-menu .sub-menu li a {
  display: block;
  padding: 14px 28px 14px 48px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.mobile-menu .sub-menu li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.03);
}
/* 하위 단계의 '자식 있는' 항목도 flex 로 — block 이면 margin-left:auto 가 먹지 않아
   화살표가 글자 바로 뒤에 붙고, 오른쪽 끝 터치 영역에 화살표가 없게 된다 (2026-08-19) */
.mobile-menu .sub-menu li.menu-item-has-children > a {
  display: flex;
  align-items: center;
}
.mobile-menu .sub-menu li.current-menu-item a {
  color: var(--color-accent, #1D9E75);
  border-left-color: var(--color-accent, #1D9E75);
}

/* Sub-sub-menu (3rd level) */
.mobile-menu .sub-menu .sub-menu {
  background: rgba(0,0,0,0.15);
}
.mobile-menu .sub-menu .sub-menu li a {
  padding-left: 68px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.mobile-menu .sub-menu .sub-menu li a:hover {
  color: rgba(255,255,255,0.9);
}

/* ----- Drawer actions ----- */
.mobile-drawer-actions {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-drawer-actions .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.mobile-drawer-actions .btn-outline:hover {
  border-color: #fff;
}

/* ----- Show hamburger on mobile, hide desktop nav ----- */
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .main-nav { display: none !important; }
  .nav-actions { display: none !important; }

  .nav-wrap {
    height: 64px;
  }
  .site-logo img { height: 24px; }
}

/* Prevent body scroll when drawer is open */
body.wv-drawer-open {
  overflow: hidden;
}

/* ============================================================
   K2 — INSTAGRAM FEED SECTION
   Smash Balloon overrides for K2 design system.
   ============================================================ */

.instagram-feed-section {
  padding: var(--section-pad, 100px) 0;
  background: var(--color-surface, #F5F4F0);
}

/* Override Smash Balloon default styles */
.instagram-feed-section #sb_instagram,
.instagram-feed-section .sbi {
  padding: 0 !important;
  background: transparent !important;
}
.instagram-feed-section #sb_instagram .sbi_item,
.instagram-feed-section .sbi .sbi_item {
  padding: 4px !important;
  transition: opacity 0.2s ease;
}
.instagram-feed-section .sbi_item:hover {
  opacity: 0.85;
}
.instagram-feed-section .sbi_item img {
  border-radius: 0 !important;
}

/* Hide Smash Balloon header/footer (we use our own) */
.instagram-feed-section #sb_instagram #sbi_load,
.instagram-feed-section .sbi_load_btn,
.instagram-feed-section .sb_instagram_header,
.instagram-feed-section .sbi_header_text,
.instagram-feed-section .sbi_follow_btn {
  display: none !important;
}

/* "더보기" button */
.instagram-more {
  text-align: center;
  margin-top: 48px;
}
.instagram-more .btn-outline {
  background: transparent;
  color: var(--color-text, #1A1A1A);
  border-color: var(--color-border, #E8E5E0);
}
.instagram-more .btn-outline:hover {
  border-color: var(--color-accent, #1D9E75);
  color: var(--color-accent, #1D9E75);
}

/* Responsive: mobile 3 cols */
@media (max-width: 768px) {
  .instagram-feed-section {
    padding: 72px 0;
  }
}

/* KAKAO CHANNEL CHAT FAB — 규칙 제거 2026-09-09
   footer.php 의 FAB 마크업이 2026-09-03 채널톡 일원화로 삭제돼 사용처 0.
   원본: /tmp/style.css.bak-20260909 · 마크업 원본: footer.php.pre-kakaofab-20260903 */

/* ============================================================
   IMAGE PLACEMENT — Hero backgrounds + About photo + Instructors
   ============================================================ */
.hero--bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.65);
  z-index: 0;
}
.hero--bg .hero-inner {
  position: relative;
  z-index: 1;
}

/* About section with photo */
.about-photo {
  border-radius: 10px;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Instructors grid */
.wv-instructors { padding: var(--section-pad) 0; background: var(--color-surface); }
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--max-width-lg);
  margin: 0 auto;
  padding: 0 24px;
}
.instructor-card { text-align: center; }
.instructor-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--color-accent);
}
.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.instructor-card h4 {
  font-size: 20px;
  margin-bottom: 4px;
  font-weight: 600;
}
.instructor-card .instructor-en {
  font-size: 13px;
  color: var(--color-text-sub);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.instructor-card .instructor-role {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.instructor-card .instructor-bio {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* Event poster grid */
.event-poster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 32px auto 0;
}
.event-poster-grid img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* WSET about image */
.wset-about-img {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 32px;
}
.wset-about-img img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .instructor-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .instructor-photo { width: 140px; height: 140px; }
  .event-poster-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WINEVISION K2 REDESIGN — v2.2.3 (front-page)
   9 핵심 섹션 alternating + 다양화된 레이아웃 패턴
   ============================================================ */

/* Shared section system */
.wv-section { padding: var(--section-pad, 100px) 0; background: var(--color-bg, #FEFEFE); position: relative; }
.wv-section-alt { background: var(--color-surface, #F6F6F6); }

.wv-eyebrow {
  font-size: 11px;
  color: var(--color-accent, #1D9E75);
  letter-spacing: 0.25em;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.wv-eyebrow-light { color: rgba(255,255,255,0.9); }

.wv-heading-lg {
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin: 0 0 24px;
}

.wv-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   1. HERO SLIDER (4-slide fade)
   ============================================================ */
.wv-hero-slider {
  /* hero: 풀와이드 + viewport-based cinematic */
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 540px;
  max-height: 920px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #111;
}
.wv-hero-track { position: absolute; inset: 0; z-index: 0; }
.wv-hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.wv-hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%);
}
.wv-hero-slide.is-active { opacity: 1; }
/* 08-12: data-filter(warm/cool/dark) 규칙 제거 — 플레이스홀더 시절
   같은 사진을 4장처럼 보이게 하던 장치. 마크업에서 사라져 사용처 0. */

/* 슬라이드별 카피 — 배경과 함께 교차 페이드한다.
   .wv-hero-inner 의 max-width:900px + margin:0 auto 가 inset:0 과 만나
   가로 가운데 정렬을 유지한다. */
/* 특이도 주의 — .wv-hero-inner(0,1,0) 가 이 블록보다 아래에 있어
   같은 특이도면 position:relative 가 이겨 카피들이 가로로 늘어선다.
   그래서 .wv-hero-slider 를 앞에 붙여 (0,2,0) 으로 올린다. (08-12) */
.wv-hero-slider .wv-hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.wv-hero-slider .wv-hero-copy > * { width: 100%; max-width: 900px; }
.wv-hero-slider .wv-hero-copy.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.wv-hero-dots {
  position: absolute; top: 90px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 24px;
  z-index: 3;
  padding: 0 24px;
}
.wv-hero-dot {
  width: 60px; height: 2px;
  background: rgba(255,255,255,0.35);
  border: 0; padding: 0; cursor: pointer;
  transition: background 0.3s ease;
}
.wv-hero-dot.is-active { background: var(--color-accent, #1D9E75); }
.wv-hero-dot:hover { background: rgba(255,255,255,0.7); }

.wv-hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: 60px 24px;
  margin: 0 auto;
  max-width: 900px;
}
/* 08-12: 히어로 워드마크 → 텍스트 헤드라인.
   헤더 로고와 중복이라 홈에서 뺐다. 브랜드 워드마크는 /about/ 전용.
   .wv-hero-logo 규칙은 사용처 0 이 되어 제거. */
.wv-hero-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.32;
  margin: 0 auto 20px;
  color: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.wv-hero-mission {
  font-size: clamp(16px, 1.9vw, 21px);
  font-weight: 400; /* Light 소멸 (D16) */
  line-height: 1.55;
  margin: 0 0 24px;
  color: rgba(255,255,255,0.95);
}
.wv-hero-mission .accent { color: var(--color-accent, #1D9E75); font-weight: 500; }
.wv-hero-meta {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: 0.18em; color: rgba(255,255,255,0.75);
}
.wv-hero-meta li { position: relative; }
.wv-hero-meta li + li::before {
  content: ""; position: absolute; left: -14px; top: 50%;
  width: 4px; height: 4px; background: rgba(255,255,255,0.4);
  border-radius: 50%; transform: translateY(-50%);
}
.wv-hero-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   2. ABOUT v2 (2col + stats)
   ============================================================ */
.wv-about-v2 .wv-about-text p {
  font-size: 16px; line-height: 1.8; color: var(--color-text-sub, #555); margin: 0 0 16px;
}
.wv-about-stats { display: flex; flex-direction: column; }
.wv-stat-row {
  display: flex; align-items: baseline; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #EEE;
}
.wv-stat-row:first-child { padding-top: 0; }
.wv-stat-row:last-child { border-bottom: 0; }
.wv-stat-num {
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--color-dark, #111);
  line-height: 1;
  flex-shrink: 0;
}
.wv-stat-num sup { font-size: 0.5em; font-weight: 500; vertical-align: super; margin-left: 2px; }
.wv-stat-num-sm { font-size: 22px; letter-spacing: -0.02em; }
.wv-stat-line {
  flex: 1; height: 1px; background: #E0E0E0; min-width: 24px;
}
.wv-stat-label {
  font-size: 14px; color: var(--color-text-sub, #555); flex-shrink: 0;
  max-width: 50%;
}
.wv-stat-row-progress { display: block; }
.wv-stat-progress-wrap { width: 100%; }
.wv-stat-progress-head { margin-bottom: 12px; }
.wv-progress-bar {
  height: 8px; background: #EEE; border-radius: 4px; overflow: hidden;
}
.wv-progress-fill {
  height: 100%;
  background: var(--color-accent, #1D9E75);
  border-radius: 4px;
  transition: width 1.2s ease;
}
.wv-progress-compare {
  margin: 10px 0 0; font-size: 13px; color: var(--color-text-sub, #555);
}
.wv-progress-compare .accent { color: var(--color-accent, #1D9E75); font-weight: 600; }
.wv-progress-compare span { font-weight: 600; }

.wv-modules-v2 .wv-modules-text p {
  font-size: 16px; line-height: 1.8; color: var(--color-text-sub, #555); margin: 0;
}
.wv-module-diagram { display: flex; flex-direction: column; gap: 16px; }
.wv-module-card {
  background: #fff;
  border-left: 3px solid var(--color-accent, #1D9E75);
  padding: 24px 28px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.wv-module-core {
  background: var(--color-dark, #111);
  color: #fff;
  border-left-color: var(--color-accent, #1D9E75);
}
.wv-module-core .wv-module-desc { color: rgba(255,255,255,0.8); }
.wv-module-core .wv-module-tier { color: var(--color-accent, #1D9E75); }
.wv-module-tier {
  font-size: 11px; letter-spacing: 0.2em; font-weight: 500;
  color: var(--color-accent, #1D9E75); text-transform: uppercase;
  display: block; margin-bottom: 6px;
}
.wv-module-card h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; }
.wv-module-desc { font-size: 14px; line-height: 1.6; color: var(--color-text-sub, #555); margin: 0 0 12px; }
.wv-module-price { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.wv-module-price strong { font-size: 20px; font-weight: 700; }
.wv-module-price span { font-size: 12px; color: var(--color-text-sub, #555); }
.wv-module-core .wv-module-price span { color: rgba(255,255,255,0.6); }
.wv-module-plus {
  text-align: center; font-size: 24px; color: #CCC; font-weight: 400; /* Light 소멸 (D16) */
  line-height: 1;
}

/* ============================================================
   6. WORKSHOPS v2 — 원형 아이콘 + 가로 카드
   ============================================================ */
.wv-workshop-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-top: 48px;
}
.wv-workshop-card {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px;
  background: var(--color-surface, #F6F6F6);
  border-radius: 12px;
  border-left: 3px solid var(--color-accent, #1D9E75);
}
.wv-workshop-icon {
  flex-shrink: 0;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-accent, #1D9E75);
  color: var(--color-accent, #1D9E75);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; line-height: 1.1; text-align: center;
}
.wv-workshop-icon-dark {
  background: var(--color-dark, #111); color: #fff; border-color: var(--color-dark, #111);
}
.wv-workshop-body { flex: 1; }
.wv-workshop-body h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.wv-workshop-desc { font-size: 14px; line-height: 1.65; color: var(--color-text-sub, #555); margin: 0 0 12px; }
.wv-workshop-meta {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--color-text-sub, #555);
}
.wv-workshop-meta strong { color: var(--color-dark, #111); margin-right: 4px; }
.wv-workshop-price {
  font-size: 18px; font-weight: 700; color: var(--color-dark, #111); margin: 0;
}

/* ============================================================
   7. SCHEDULE v2 — 세로 타임라인
   ============================================================ */
.wv-timeline {
  list-style: none; padding: 0; margin: 48px 0 0;
  position: relative;
  max-width: 880px;
}
.wv-timeline::before {
  content: ""; position: absolute;
  left: 18px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent, #1D9E75) 0%, #DDD 100%);
}
.wv-timeline-item {
  position: relative;
  padding: 24px 0 24px 60px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid #EEE;
}
.wv-timeline-item:last-child { border-bottom: 0; }
.wv-timeline-dot {
  position: absolute;
  left: 11px; top: 50%;
  width: 16px; height: 16px;
  background: #fff;
  border: 3px solid var(--color-accent, #1D9E75);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.wv-timeline-date {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 0;
  border: 1px solid #DDD;
  border-left: 3px solid var(--color-accent, #1D9E75);
  background: #fff;
  border-radius: 4px;
}
.wv-timeline-date .month {
  font-size: 11px; letter-spacing: 0.18em; color: var(--color-accent, #1D9E75); font-weight: 600;
}
.wv-timeline-date .day {
  font-size: 28px; font-weight: 700; line-height: 1; color: var(--color-dark, #111);
}
.wv-timeline-body .schedule-tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.15em;
  color: var(--color-accent, #1D9E75); margin-bottom: 6px; font-weight: 500;
}
.wv-timeline-body h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.wv-timeline-body p { font-size: 13px; color: var(--color-text-sub, #555); margin: 0; }
.wv-timeline-item .schedule-cta {
  font-size: 13px; color: var(--color-accent, #1D9E75); font-weight: 800;
  text-decoration: none; white-space: nowrap;
}
.wv-timeline-item .schedule-cta:hover { text-decoration: underline; }

/* ============================================================
   8. REVIEWS v2 — Feature + small 3
   ============================================================ */
.wv-reviews-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  margin-top: 48px;
  align-items: stretch;
}
.wv-review-quote-lg {
  display: flex; flex-direction: column; justify-content: center;
  margin: 0;
  background: var(--color-dark, #111);
  color: #fff;
  padding: 48px 40px;
  border-radius: 12px;
  position: relative;
}
.wv-review-quote-lg::before {
  content: """;
  position: absolute;
  top: 12px; left: 24px;
  font-size: 96px; line-height: 1; color: var(--color-accent, #1D9E75);
  font-family: Georgia, serif;
  opacity: 0.6;
}
.wv-review-quote-lg blockquote {
  margin: 0 0 24px;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400; /* Light 소멸 (D16) */
  position: relative;
  z-index: 1;
}
.wv-review-quote-lg .accent { color: var(--color-accent, #1D9E75); font-weight: 500; }
.wv-review-quote-lg figcaption strong { display: block; font-size: 15px; margin-bottom: 4px; }
.wv-review-quote-lg figcaption span { font-size: 12px; color: rgba(255,255,255,0.6); }

.wv-review-small-grid { display: flex; flex-direction: column; gap: 16px; }
.wv-review-small {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  border-left: 3px solid var(--color-accent, #1D9E75);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.wv-review-small p { font-size: 14px; line-height: 1.7; margin: 0 0 12px; color: var(--color-text, #222); }
.wv-review-small footer strong { display: block; font-size: 13px; margin-bottom: 2px; }
.wv-review-small footer span { font-size: 11px; color: var(--color-text-sub, #555); }

/* ============================================================
   9. MAGAZINE v2 — Feature + List
   ============================================================ */
.wv-magazine-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.wv-magazine-feature-link { display: block; text-decoration: none; color: inherit; }
.wv-magazine-feature-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2a2a2a, #444);
  border-radius: 12px 12px 0 0;
}
.wv-magazine-feature-body {
  background: #fff;
  padding: 32px;
  border-radius: 0 0 12px 12px;
}
.wv-magazine-badge {
  display: inline-block; font-size: 10px; letter-spacing: 0.2em;
  background: var(--color-accent, #1D9E75); color: #fff;
  padding: 4px 10px; border-radius: 2px; font-weight: 600;
  margin-bottom: 12px;
}
.wv-magazine-meta {
  font-size: 11px; letter-spacing: 0.15em; color: var(--color-text-sub, #555);
  margin: 0 0 12px; text-transform: uppercase;
}
.wv-magazine-feature-body h3 {
  font-size: 22px; font-weight: 700; margin: 0 0 12px; line-height: 1.4;
  transition: color 0.2s ease;
}
.wv-magazine-feature-link:hover h3 { color: var(--color-accent, #1D9E75); }
.wv-magazine-excerpt {
  font-size: 14px; line-height: 1.7; color: var(--color-text-sub, #555); margin: 0;
}

.wv-magazine-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.wv-magazine-item a {
  display: flex; gap: 16px; align-items: center;
  padding: 16px; background: #fff; border-radius: 8px;
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wv-magazine-item a:hover { transform: translateX(4px); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.wv-magazine-thumb {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 6px;
  background: linear-gradient(135deg, #E5E5E5, #F5F5F5);
}
.wv-magazine-item-body { flex: 1; min-width: 0; }
.wv-magazine-item-body .wv-magazine-meta { margin-bottom: 4px; }
.wv-magazine-item-body h4 {
  font-size: 14px; font-weight: 600; margin: 0; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
  .wv-section { padding: 60px 0; }

  .wv-grid-2col { grid-template-columns: 1fr; gap: 32px; }

  .wv-hero-slider {
    height: 60vh;
    min-height: 420px;
    max-height: 600px;
    padding: 0;
  }
  .wv-hero-dots { top: 70px; gap: 12px; }
  .wv-hero-dot { width: 40px; }
  .wv-hero-mission { font-size: 16px; }
  .wv-hero-meta { gap: 16px; font-size: 11px; }

  .wv-stat-num { font-size: 40px; }
  .wv-stat-label { max-width: 100%; font-size: 13px; }
  .wv-stat-row { flex-wrap: wrap; gap: 12px; }
  .wv-stat-line { display: none; }

  .wv-workshop-row { grid-template-columns: 1fr; gap: 16px; }
  .wv-workshop-card { padding: 24px; gap: 16px; }
  .wv-workshop-icon { width: 64px; height: 64px; font-size: 13px; }

  .wv-timeline-item {
    grid-template-columns: 60px 1fr;
    padding-left: 50px; row-gap: 12px;
  }
  .wv-timeline-item .schedule-cta { grid-column: 1 / -1; justify-self: start; }
  .wv-timeline::before { left: 14px; }
  .wv-timeline-dot { left: 7px; }

  .wv-reviews-feature { grid-template-columns: 1fr; gap: 24px; }
  .wv-review-quote-lg { padding: 32px 24px; }
  .wv-review-quote-lg blockquote { font-size: 16px; }

  .wv-magazine-grid { grid-template-columns: 1fr; gap: 24px; }
  .wv-magazine-feature-body { padding: 24px; }
  .wv-magazine-feature-body h3 { font-size: 18px; }
}

/* ============================================================
   인증기관 로고 (2026-05-22)
   ============================================================ */
.cert-logo {
    display: inline-block;
    height: auto;
    vertical-align: middle;
    max-width: 100%;
}
.cert-logo-wset { max-height: 56px; }
.cert-logo-cms  { max-height: 56px; }
.cert-logo-wsg  { max-height: 56px; }

/* Hero 영역 인증 배지 */
.hero-cert-badge {
    max-height: 40px;
    opacity: 0.9;
}

/* 페이지 안 인증 배지 (학습 형식 카드 등) */
.page-cert-badge { max-height: 48px; }


/* ============================================================
   page-course.php — 통합 과정 페이지 (2026-05-25)
   18 페이지 공통 템플릿 전용 클래스 (.wv-course-*)
   ============================================================ */

/* ---------- 공통 ---------- */
.wv-section-alt { background: var(--color-surface, #F6F6F6); }

/* ---------- HERO ---------- */
.wv-course-hero { background: var(--color-dark, #111111); color: #fff; padding: 140px 0 120px; }
.wv-course-hero .hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.wv-course-hero .hero-cert-badge { margin-bottom: 8px; max-height: 40px; opacity: .92; }
.wv-course-hero .eyebrow { color: var(--color-accent, #1D9E75); letter-spacing: .14em; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.wv-course-hero .page-title { font-family: var(--font-body, Pretendard), sans-serif; /* 한글 제목 — 본문 폰트 (D15) */ font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.02em; margin: 8px 0 0; line-height: 1.05; color: #fff; }
.wv-course-hero .hero-mission { color: rgba(255,255,255,.85); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; max-width: 760px; margin: 0; }
.wv-course-hero .hero-mission .accent { color: var(--color-accent, #1D9E75); font-weight: 700; }
.wv-course-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
@media (max-width: 720px) { .wv-course-hero { padding: 80px 0 64px; } }

/* ---------- OVERVIEW ---------- */
.wv-course-overview { padding: var(--section-pad, 100px) 0; background: var(--color-bg, #FEFEFE); }
.wv-course-overview-inner { max-width: 880px; margin: 0 auto; }
.wv-course-overview .section-header { text-align: center; margin-bottom: 32px; }
.wv-course-overview-content { font-size: 16px; line-height: 1.85; color: #333; }
.wv-course-overview-content p { margin: 0 0 18px; }

/* ---------- TARGET ---------- */
.wv-course-target { padding: var(--section-pad, 100px) 0; }
.wv-course-target-grid { display: grid; gap: 24px; margin-top: 40px; }
.wv-course-target-grid-1 { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.wv-course-target-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wv-course-target-grid-3 { grid-template-columns: repeat(3, 1fr); }
/* 4카드 이상도 카드 그리드로 통일 (2×2) — 2026-08-19
   grid-4 정의가 없어 아로마파인더만 1열 전폭으로 떨어지고 있었다. */
.wv-course-target-grid-4 { grid-template-columns: repeat(2, 1fr); }
.wv-course-target-grid-5,
.wv-course-target-grid-6 { grid-template-columns: repeat(3, 1fr); }
/* 설명 없는 카드 — 제목만으로 높이가 잡히게 (빈 문단 여백 제거) */
.wv-course-target-card h4:last-child { margin-bottom: 0; }
.wv-course-target-grid-4 .wv-course-target-card,
.wv-course-target-grid-5 .wv-course-target-card,
.wv-course-target-grid-6 .wv-course-target-card { padding: 30px 26px; }
.wv-course-target-card { background: #fff; padding: 36px 28px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.04); border-top: 3px solid var(--color-accent, #1D9E75); }
.wv-course-target-num { font-family: var(--font-heading, Pretendard); font-weight: 800; font-size: 28px; color: var(--color-accent, #1D9E75); display: inline-block; margin-bottom: 10px; letter-spacing: -0.03em; }
.wv-course-target-card h4 { font-size: 20px; font-weight: 600; /* 카드·FAQ 제목 (D16) */ margin: 0 0 12px; color: #111; }
.wv-course-target-card p { font-size: 15px; line-height: 1.7; color: #555; margin: 0; }
@media (max-width: 900px) {
  .wv-course-target-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .wv-course-target-grid-4,
  .wv-course-target-grid-5,
  .wv-course-target-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wv-course-target-grid-2,
  .wv-course-target-grid-3,
  .wv-course-target-grid-4,
  .wv-course-target-grid-5,
  .wv-course-target-grid-6 { grid-template-columns: 1fr; }
}

/* ---------- STATS ---------- */
.wv-course-stats { padding: 64px 0; background: #fff; }
.wv-course-stats-grid { display: grid; gap: 24px; }
.wv-course-stats-grid-1 { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
.wv-course-stats-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wv-course-stats-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wv-course-stats-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wv-course-stat { text-align: center; padding: 16px 8px; }
.wv-course-stat strong { display: block; font-family: var(--font-heading, Pretendard); font-weight: 800; font-size: clamp(48px, 5vw, 72px); color: var(--color-accent, #1D9E75); letter-spacing: -0.03em; line-height: 1; }
.wv-course-stat strong sup { font-size: 0.45em; vertical-align: super; margin-left: 4px; font-weight: 400; color: #555; }
.wv-course-stat span { display: block; margin-top: 8px; font-size: 14px; color: #666; letter-spacing: 0.02em; }
@media (max-width: 720px) {
  .wv-course-stats-grid-3,
  .wv-course-stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CURRICULUM ---------- */
.wv-course-curriculum { padding: var(--section-pad, 100px) 0; }
.wv-course-curriculum-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; max-width: 880px; margin-left: auto; margin-right: auto; }
.wv-course-curriculum-item { display: flex; gap: 24px; background: #fff; padding: 24px 28px; border-radius: 8px; border-left: 4px solid var(--color-accent, #1D9E75); box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.wv-course-curriculum-num { font-family: var(--font-heading, Pretendard); font-weight: 800; font-size: 38px; color: var(--color-accent, #1D9E75); flex-shrink: 0; line-height: 1; letter-spacing: -0.03em; min-width: 56px; }
.wv-course-curriculum-body h4 { margin: 0 0 8px; font-size: 18px; font-weight: 600; /* 카드·FAQ 제목 (D16) */ color: #111; }
.wv-course-curriculum-body p { margin: 0; font-size: 15px; line-height: 1.7; color: #555; }
@media (max-width: 600px) {
  .wv-course-curriculum-item { gap: 14px; padding: 20px 18px; }
  .wv-course-curriculum-num { font-size: 30px; min-width: 44px; }
}

/* ---------- LEARNING MODES ---------- */
.wv-course-modes { padding: var(--section-pad, 100px) 0; background: #fff; }
.wv-modes-grid { display: grid; gap: 24px; margin-top: 40px; }
.wv-modes-grid-1 { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.wv-modes-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wv-modes-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wv-modes-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wv-mode-card {
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.wv-mode-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: var(--color-accent, #1D9E75); }
.wv-mode-num {
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-accent, #1D9E75);
  letter-spacing: -0.02em;
}
.wv-mode-card h3 { margin: 0; font-size: 22px; font-weight: 600; /* 카드·FAQ 제목 (D16) */ color: #111; }
.wv-mode-subtitle { margin: 0; font-size: 14px; color: #666; }
.wv-mode-features { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; }
.wv-mode-features li { font-size: 14px; color: #444; padding-left: 18px; position: relative; line-height: 1.5; }
.wv-mode-features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent, #1D9E75); font-weight: 700; }
.wv-mode-highlight {
  background: rgba(29, 158, 117, 0.08);
  color: #166e51;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 6px;
  margin: 8px 0 0;
  line-height: 1.5;
}
.wv-mode-cta { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }

/* 수강 방식 카드 — 반응형 (2026-08-21).
   지금까지 3·4열 규칙만 있고 좁은 화면 규칙이 없어, 모바일에서도 3열이
   그대로 눌렸다. 카드 폭이 110px 남짓이 되면서 "이론 + 시 험" 처럼 단어가
   중간에서 끊기고, 버튼이 카드 밖으로 밀려 가로 스크롤이 생겼다. */
@media (max-width: 900px) {
  .wv-modes-grid-3,
  .wv-modes-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wv-modes-grid-2,
  .wv-modes-grid-3,
  .wv-modes-grid-4 { grid-template-columns: 1fr; gap: 18px; }
  .wv-mode-card { padding: 26px 20px; }
  .wv-mode-card h3 { font-size: 20px; }
  /* 상품 행 — 좁으면 버튼을 아래로 내린다. 가로로 붙여 두면 라벨이 깨진다. */
  .wv-mode-product-row { flex-wrap: wrap; }
  .wv-mode-product-cta { width: 100%; }
  .wv-mode-product-cta > * { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- MULTI-PRODUCT (스마트러닝) ---------- */
.wv-mode-products { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.wv-mode-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--color-surface, #F6F6F6);
  border-radius: 6px;
}
.wv-mode-product-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wv-mode-product-tier {
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-accent, #1D9E75);
  text-transform: uppercase;
}
.wv-mode-product-label { font-size: 14px; color: #111; font-weight: 700; }
.wv-mode-product-desc { font-size: 12px; color: #777; }
.wv-mode-product-cta { flex-shrink: 0; }

/* ---------- WORKSHOP CARD ---------- */
.wv-mode-workshop {
  border: 2px dashed var(--color-accent, #1D9E75);
  background: rgba(29, 158, 117, 0.04);
}

/* ---------- WORKSHOP SECTION (별도) ---------- */
.wv-course-workshop-section { padding: var(--section-pad, 100px) 0; }
.wv-workshop-card {
  background: #fff;
  padding: 40px 36px;
  border-radius: 10px;
  border-top: 4px solid var(--color-accent, #1D9E75);
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  max-width: 880px;
  margin: 32px auto 0;
}
.wv-workshop-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #EEE;
}
.wv-workshop-stat { text-align: center; }
.wv-workshop-stat strong { display: block; font-family: var(--font-heading, Pretendard); font-weight: 800; letter-spacing: -0.03em; font-size: 36px; color: var(--color-accent, #1D9E75); }
.wv-workshop-stat span { display: block; font-size: 13px; color: #666; margin-top: 4px; }
.wv-workshop-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }

/* ---------- EXTERNAL CTA ---------- */
.wv-external-cta-block { margin-top: 40px; display: flex; justify-content: center; }
.wv-external-cta-card {
  background: #fff;
  border: 1px solid #E0E0E0;
  border-top: 4px solid var(--color-accent, #1D9E75);
  border-radius: 10px;
  padding: 48px 40px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.wv-external-cta-label {
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--color-accent, #1D9E75);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.wv-external-cta-card h3 { margin: 0 0 10px; font-size: 26px; font-weight: 700; color: #111; }
.wv-external-cta-sub { font-size: 15px; color: #666; margin: 0 0 20px; }
.wv-external-cta-note {
  background: var(--color-surface, #F6F6F6);
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0 24px;
  text-align: left;
}
.wv-external-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- SCHEDULE ---------- */
.wv-course-schedule { padding: var(--section-pad, 100px) 0; }
.wv-schedule-grid .schedule-item { background: #fff; }

/* ---------- FAQ ---------- */
.wv-course-faq-section { padding: var(--section-pad, 100px) 0; background: #fff; }
.wv-faq-list { max-width: 880px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 10px; }
.wv-faq-list details {
  background: var(--color-surface, #F6F6F6);
  border-radius: 8px;
  padding: 0;
  border: 1px solid #EEE;
  overflow: hidden;
  transition: border-color .2s ease;
}
.wv-faq-list details[open] { border-color: var(--color-accent, #1D9E75); background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.wv-faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-size: 16px;
  font-weight: 600; /* 카드·FAQ 제목 (D16) */
  color: #111;
  position: relative;
  line-height: 1.5;
}
.wv-faq-list summary::-webkit-details-marker { display: none; }
.wv-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--color-accent, #1D9E75);
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}
.wv-faq-list details[open] summary::after { content: "−"; }
.wv-faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

/* ---------- CTA BAND ---------- */
.wv-course-cta-band {
  background: var(--color-dark, #111111);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.wv-cta-band-content { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.wv-course-cta-band h2 {
  font-family: var(--font-body, Pretendard), sans-serif; /* 한글 제목 — 본문 폰트 (D15) */
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.wv-course-cta-band p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin: 0;
}
.wv-course-cta-band .wv-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }

/* ---------- enroll-placeholder (preview mode) ---------- */
.wv-enroll-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px dashed #BBB;
  border-radius: 6px;
  background: #FAFAFA;
  color: #555;
  font-size: 14px;
}
.wv-enroll-placeholder .enroll-price { font-weight: 700; color: #111; }
.wv-enroll-placeholder .enroll-cta-disabled {
  font-size: 12px;
  background: #EEE;
  color: #666;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.enroll-disabled { color: #999; font-size: 13px; }

/* ============================================================
   상품 페이지 (2026-08-20)
   add_theme_support('woocommerce') 선언 후 WC 기본 스킨 위에 K2 를 입힌다.
   ============================================================ */
.wv-wc-main { padding-top: 48px; }
.woocommerce div.product { margin-bottom: 0; }

/* 갤러리·요약 플로트 담기 (2026-09-09)
   WC 기본 스킨에서 div.images 는 float:left, div.summary 는 float:right 다.
   원래는 뒤따르는 .woocommerce-tabs(clear:both) 가 이 플로트를 끊는데,
   이 테마의 상품 화면에는 탭·연관상품·리뷰가 하나도 출력되지 않는다.
   그래서 div.product 가 높이 0 으로 접히고 푸터가 본문 위로 올라왔다.
   (실측 — 상품 61: div.product h=0 · 푸터 top=225 · 요약 bottom=836 → 611px 겹침)
   overflow:hidden 은 갤러리 확대·라이트박스를 잘라내므로 쓰지 않는다.
   ⚠ 이미지 없는 상품은 아래 .wv-product-noimage 규칙이 display:block 으로
     덮어쓴다. 그쪽은 summary 가 float:none 이라 담을 플로트가 없다. */
.woocommerce div.product { display: flow-root; }

/* 요약 영역 ------------------------------------------------ */
.woocommerce div.product .product_title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: #111;
  margin: 6px 0 14px;
  letter-spacing: -0.01em;
}
.wv-product-back {
  display: inline-block;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  margin-bottom: 14px;
}
.wv-product-back:hover { color: #1D9E75; }
.wv-product-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1D9E75;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin: 0 0 24px;
}
.woocommerce div.product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.wv-product-allcourses { margin: 26px 0 0; font-size: 14px; }
.wv-product-allcourses a {
  color: #1D9E75;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29,158,117,0.35);
}
.wv-product-allcourses a:hover { border-bottom-color: #1D9E75; }

/* 이미지가 없는 수강 상품 — 요약을 한 단으로 */
/* 이미지가 없는 수강 상품 — 한 단으로 모아 가운데에 둔다 (2026-08-21).
   좌측 640px 정렬이던 때는 1200px 컨테이너에서 오른쪽 절반이 통째로 비어,
   내용이 짧은 것이 아니라 화면이 고장 난 것처럼 보였다. 폭을 넓히고
   가운데로 모으면 남는 공간이 양쪽으로 갈려 "좁은 단" 으로 읽힌다. */
.wv-product-noimage.woocommerce div.product div.summary {
  float: none;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.wv-product-noimage.woocommerce div.product { display: block; }

/* /enroll/ 담김 알림 — 상품 페이지와 같은 톤 (2026-08-21).
   이 자리에는 성공 알림만 온다(page-enroll.php 참조). 오류 스타일도
   함께 정의해 두어, 나중에 다른 알림이 흘러와도 기본 스킨이 튀지 않게 한다. */
/* ── 담기 토스트 (2026-08-22) — /enroll/ 전용 고정 배치 ─────────────
   본문 흐름에서 빼내 우하단에 띄운다. 담기 버튼이 목록 아래에 있어
   인라인 알림은 스크롤을 흔든다. */
.wv-toast-wrap {
  position: fixed;
  right: 28px;
  /* 카카오 FAB(우하단 · bottom 28 · 56px · z-index 999) 바로 위.
     28 + 56 + 16 = 100. 겹치면 토스트가 FAB 에 잘려 안 보인다 — 실측 확인. */
  bottom: 100px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}
.wv-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius, 10px);
  background: #FFF;
  border: 1px solid #E8E8E8;
  border-left: 3px solid var(--color-line, #E8E8E8);
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  animation: wv-toast-in .22s ease-out;
}
.wv-toast-success { border-left-color: var(--color-accent, #1D9E75); background: rgba(29,158,117,.08); }
.wv-toast-info    { border-left-color: #9A9A9A;                     background: var(--color-surface, #F6F6F6); }
.wv-toast-error   { border-left-color: #C0392B;                     background: rgba(192,57,43,.08); }
.wv-toast-body { flex: 1; min-width: 0; }
.wv-toast-body a {
  color: var(--color-accent, #1D9E75);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29,158,117,.4);
}
.wv-toast-body .button,
.wv-toast-body .wc-forward {
  /* 초록 채운 버튼은 「결제 진행하기」 같은 주요 행동 전용.
     토스트 안에서는 텍스트 링크로 낮춘다. */
  all: unset;
  cursor: pointer;
  color: var(--color-accent, #1D9E75);
  font-weight: 600;
  border-bottom: 1px solid rgba(29,158,117,.4);
}
.wv-toast-close {
  flex-shrink: 0;
  border: 0; background: none; cursor: pointer;
  font-size: 20px; line-height: 1; color: #999; padding: 0 2px;
}
.wv-toast-close:hover { color: #333; }
.wv-toast.is-out { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
@keyframes wv-toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  /* 모바일 FAB 은 bottom 16 · 48px → 16 + 48 + 16 = 80. 여유를 둬 88. */
  .wv-toast-wrap { left: 12px; right: 12px; bottom: 88px; max-width: none; }
}

/* 담기 진행 중 — 연타로 두 번 담기는 것을 막는다. */
.btn-enroll.is-loading { opacity: .6; pointer-events: none; }

/* ── WooCommerce 알림 3종 통일 (2026-08-22) ───────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-left: 3px solid var(--color-line, #E8E8E8);
  border-radius: var(--radius, 10px);
}
.woocommerce-message { border-left-color: var(--color-accent, #1D9E75); background: rgba(29,158,117,.08); }
.woocommerce-info    { border-left-color: #9A9A9A;                     background: var(--color-surface, #F6F6F6); }
.woocommerce-error   { border-left-color: #C0392B;                     background: rgba(192,57,43,.08); }

/* 알림 안의 「장바구니 보기」류 — 채운 버튼 대신 텍스트 링크 */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message .wc-forward,
.woocommerce-info .wc-forward {
  all: unset;
  cursor: pointer;
  color: var(--color-accent, #1D9E75);
  font-weight: 600;
  border-bottom: 1px solid rgba(29,158,117,.4);
}

.wv-enroll-notices .woocommerce-message,
.wv-enroll-notices .woocommerce-error,
.wv-enroll-notices .woocommerce-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 10px;
  padding: 14px 16px;
  /* 사방 테두리 박스를 쓰지 않는다 — 알림은 왼쪽 줄 + 연한 배경 한 형태다
     (2026-08-22 §3 통일). */
  border: 0;
  border-left: 3px solid var(--color-accent, #1D9E75);
  background: rgba(29,158,117,.08);
  color: var(--color-text, #1A1A1A);
  font-size: 14px;
  line-height: 1.6;
  list-style: none;
}
.wv-enroll-notices .woocommerce-error {
  border-color: #F0C3C3;
  border-left-color: #B32D2E;
  background: #FDF3F3;
  color: #8a2224;
}
/* 알림 안의 되돌리기 링크 — 평문과 구분 (2026-08-22) */
.woocommerce-message .wv-notice-link,
.woocommerce-info .wv-notice-link,
.wv-enroll-notices .wv-notice-link {
  color: #1D9E75;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29,158,117,0.4);
}
.woocommerce-message .wv-notice-link:hover,
.woocommerce-info .wv-notice-link:hover,
.wv-enroll-notices .wv-notice-link:hover { border-bottom-color: #1D9E75; }

.wv-enroll-notices .woocommerce-message::before,
.wv-enroll-notices .woocommerce-error::before,
.wv-enroll-notices .woocommerce-info::before { display: none; }
.wv-enroll-notices a { color: inherit; font-weight: 700; text-decoration: underline; }
.wv-enroll-notices .button {
  order: 2;
  margin: 0 0 0 auto;
  padding: 8px 14px;
  background: #1D9E75;
  color: #FFF;
  border: 0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.wv-enroll-notices .button:hover { background: #17805E; color: #FFF; }
@media (max-width: 782px) {
  .wv-enroll-notices .button { margin-left: 0; width: 100%; text-align: center; }
}

/* 상품 페이지 담김 알림 (2026-08-21) --------------------- */
.wv-product-notices { margin: 0 0 18px; }
.wv-product-notices .woocommerce-message,
.wv-product-notices .woocommerce-error,
.wv-product-notices .woocommerce-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 14px 16px;
  /* 사방 테두리 박스를 쓰지 않는다 — 알림은 왼쪽 줄 + 연한 배경 한 형태다
     (2026-08-22 §3 통일). */
  border: 0;
  border-left: 3px solid var(--color-accent, #1D9E75);
  background: rgba(29,158,117,.08);
  color: var(--color-text, #1A1A1A);
  font-size: 14px;
  line-height: 1.6;
}
.wv-product-notices .woocommerce-error {
  border-left-color: #C0392B;
  background: rgba(192,57,43,.08);
  background: #FDF3F3;
  color: #8a2224;
}
.wv-product-notices .woocommerce-message::before,
.wv-product-notices .woocommerce-error::before,
.wv-product-notices .woocommerce-info::before { display: none; }
.wv-product-notices .button {
  order: 2;
  margin: 0 0 0 auto;
  padding: 8px 14px;
  background: #1D9E75;
  color: #FFF;
  border: 0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.wv-product-notices .button:hover { background: #17805E; color: #FFF; }

@media (max-width: 782px) {
  .wv-product-notices .button { margin-left: 0; width: 100%; text-align: center; }
}

/* 요약 블록 (2026-08-21) --------------------------------- */
.wv-product-summary {
  margin: 0 0 26px;
  padding: 18px 20px;
  background: #FAFAFA;
  border: 1px solid #EEE;
  border-radius: 8px;
}
.wv-psum-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 4px 16px;
  align-items: baseline;
  padding: 7px 0;
}
.wv-psum-row + .wv-psum-row { border-top: 1px solid #EFEFEF; }
.wv-product-summary dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
.wv-product-summary dd {
  margin: 0;
  font-size: 15px;
  color: #222;
  line-height: 1.7;
}
/* 라벨 없는 줄은 값이 전체 폭을 쓴다 */
.wv-psum-row > dd:first-child { grid-column: 1 / -1; }

@media (max-width: 782px) {
  .wv-product-summary { padding: 16px 16px; }
  .wv-psum-row { grid-template-columns: 92px 1fr; gap: 4px 12px; }
  .wv-product-summary dd { font-size: 14px; }
}

/* 옵션 카드 ------------------------------------------------ */
.wv-variations .wv-opt-native { display: none; }
.wv-variations .variations { margin: 0 0 22px; border: 0; }
.wv-variation-row + .wv-variation-row { margin-top: 20px; }
.wv-variation-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}
.wv-opt-cards { display: grid; gap: 10px; }
@media (min-width: 600px) {
  .wv-opt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wv-opt-card { display: block; margin: 0; cursor: pointer; }
.wv-opt-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.wv-opt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #DDD;
  border-radius: 8px;
  background: #FFF;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.wv-opt-card:hover .wv-opt-body { border-color: #BBB; }
.wv-opt-card input:checked + .wv-opt-body {
  border-color: #1D9E75;
  background: #F3FBF8;
  box-shadow: inset 0 0 0 1px #1D9E75;
}
.wv-opt-card input:focus-visible + .wv-opt-body {
  outline: 2px solid #1D9E75;
  outline-offset: 2px;
}
.wv-opt-name { font-size: 14px; font-weight: 600; color: #111; line-height: 1.45; }
.wv-opt-price { font-size: 16px; font-weight: 800; color: #111; }
.wv-opt-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }
.wv-opt-tilde { margin: 0 2px; color: #888; font-weight: 400; }
.wv-price-from { margin-left: 1px; color: #888; font-weight: 400; }
.wv-opt-card.is-unavailable { cursor: not-allowed; }
.wv-opt-card.is-unavailable .wv-opt-body { opacity: .45; }

/* 합계 + 담기 ---------------------------------------------- */
.wv-variations .single_variation_wrap { margin-top: 4px; }
.woocommerce div.product .woocommerce-variation-price {
  display: block;
  padding: 14px 0 4px;
  border-top: 1px solid #E5E5E5;
}
.woocommerce div.product .woocommerce-variation-price .price {
  font-size: 26px;
  font-weight: 800;
  color: #111;
}
.woocommerce div.product form.cart .button,
.woocommerce div.product .single_add_to_cart_button {
  background: #1D9E75;
  color: #FFF;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 6px;
  border: 0;
  line-height: 1.2;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce div.product .single_add_to_cart_button:hover { background: #17805E; color: #FFF; }
.woocommerce div.product form.cart .button:focus-visible {
  outline: 2px solid #1D9E75;
  outline-offset: 2px;
}
.woocommerce div.product form.cart .variations_button { margin-top: 14px; }
.woocommerce div.product form.cart div.quantity { margin-right: 10px; }

/* 게이트가 닫힌 상품 ---------------------------------------- */
.woocommerce div.product .wv-launch-gated { margin: 20px 0 4px; }

/* 굿즈 — 갤러리·탭은 그대로 두고 타이포만 K2 로 ------------- */
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 -1px; border-bottom: 1px solid #E5E5E5; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin: 0 22px 0 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 2px;
  font-size: 14px;
  font-weight: 600;
  color: #777;
  border-bottom: 2px solid transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #111; border-bottom-color: #1D9E75; }
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 26px; font-size: 15px; line-height: 1.8; color: #444; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 20px; font-weight: 800; color: #111; margin: 0 0 14px; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 17px; font-weight: 700; color: #111; margin: 26px 0 10px; }
.woocommerce div.product .woocommerce-tabs .panel ul { list-style: disc; padding-left: 20px; margin: 0 0 16px; }
.woocommerce div.product .woocommerce-tabs .panel li { margin-bottom: 6px; }
.woocommerce div.product .woocommerce-tabs .panel table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.woocommerce div.product .woocommerce-tabs .panel table th,
.woocommerce div.product .woocommerce-tabs .panel table td { border: 1px solid #E5E5E5; padding: 10px 14px; font-size: 14px; }
.woocommerce div.product .woocommerce-tabs .panel table th { background: #FAFAFA; font-weight: 700; width: 140px; }
.woocommerce div.product p.price { font-size: 24px; font-weight: 800; color: #111; }
.woocommerce div.product .related > h2,
.woocommerce div.product .up-sells > h2 { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 22px; }

/* 목록 화면 ------------------------------------------------ */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
}
.woocommerce ul.products li.product .price { color: #111; font-weight: 700; font-size: 15px; }
.woocommerce ul.products li.product .button {
  background: #1D9E75;
  color: #FFF;
  border-radius: 6px;
  font-weight: 700;
}
.woocommerce ul.products li.product .button:hover { background: #17805E; }

@media (max-width: 782px) {
  .wv-wc-main { padding-top: 28px; }
  .woocommerce div.product .product_title { font-size: 24px; }
  .woocommerce div.product .woocommerce-variation-price .price { font-size: 22px; }
  .woocommerce div.product form.cart .button,
  .woocommerce div.product .single_add_to_cart_button { width: 100%; text-align: center; }
  .woocommerce div.product .woocommerce-tabs ul.tabs li { margin-right: 16px; }
}

/* /winepower/ — CONTACT 아래 파트너십 안내 (2026-08-21).
   와인력(기업 교육)과 파트너십(기관 개설)은 다른 사업이라
   구분선과 문장으로 성격을 갈라 둔다. */
.wv-wp-partner {
  max-width: 620px;
  margin: 26px auto 0;
  padding-top: 20px;
  border-top: 1px solid #E5E5E5;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}
.wv-wp-partner a {
  margin-left: 8px;
  color: #1D9E75;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29,158,117,0.35);
  white-space: nowrap;
}
.wv-wp-partner a:hover { border-bottom-color: #1D9E75; }
@media (max-width: 640px) {
  .wv-wp-partner a { display: block; margin: 8px 0 0; }
}

/* /about/ — 두 교육원 아래 파트너십 안내 한 줄 (2026-08-21).
   수강생 대상 CTA 밴드와 섞지 않기 위해 이 섹션에 둔다. */
.wv-about-partner {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid #E5E5E5;
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.wv-about-partner a {
  margin-left: 8px;
  color: #1D9E75;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29,158,117,0.35);
  white-space: nowrap;
}
.wv-about-partner a:hover { border-bottom-color: #1D9E75; }
@media (max-width: 640px) {
  .wv-about-partner a { display: block; margin: 8px 0 0; }
}

/* ---------- /partnership/ 교육 파트너십 (2026-08-21) ---------- */
.wv-pt-certs {
  margin: 26px 0 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}
.wv-pt-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.wv-pt-num {
  display: block;
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 26px;
  color: #1D9E75;
  line-height: 1;
  margin-bottom: 10px;
}
.wv-pt-why-item h3 { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 10px; }
.wv-pt-why-item p { font-size: 15px; line-height: 1.8; color: #555; margin: 0; }

.wv-pt-programs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wv-pt-prog {
  background: #FFF;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 30px 26px;
}
.wv-pt-tag {
  display: inline-block;
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #1D9E75;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.wv-pt-prog h3 { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 12px; }
.wv-pt-prog > p { font-size: 14px; line-height: 1.8; color: #555; margin: 0 0 18px; }
.wv-pt-spec { margin: 0; padding-top: 16px; border-top: 1px solid #EFEFEF; }
.wv-pt-spec > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 4px 14px;
  padding: 6px 0;
}
.wv-pt-spec dt { margin: 0; font-size: 12px; font-weight: 600; color: #888; line-height: 1.7; }
.wv-pt-spec dd { margin: 0; font-size: 14px; color: #333; line-height: 1.7; }

.wv-pt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wv-pt-steps > li { margin: 0; }
.wv-pt-step-num {
  display: block;
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 24px;
  color: #1D9E75;
  line-height: 1;
  margin-bottom: 10px;
}
.wv-pt-steps h3 { font-size: 17px; font-weight: 700; color: #111; margin: 0 0 8px; }
.wv-pt-steps p { font-size: 14px; line-height: 1.75; color: #555; margin: 0; }

.wv-pt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 34px; }
.wv-pt-stat {
  background: #FFF;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 26px 22px;
  text-align: center;
}
.wv-pt-stat strong {
  display: block;
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.1;
  color: #111;
  letter-spacing: -0.03em;
}
.wv-pt-stat span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.6; color: #666; }

.wv-pt-history { list-style: none; margin: 0; padding: 0; max-width: 560px; }
.wv-pt-history li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #E8E8E8;
  font-size: 15px;
  color: #333;
}
.wv-pt-history li:first-child { border-top: 1px solid #E8E8E8; }
.wv-pt-year {
  font-family: var(--font-heading, Pretendard);
  font-weight: 800;
  font-size: 20px;
  color: #1D9E75;
  min-width: 56px;
}

.wv-pt-ideal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wv-pt-ideal h3 { font-size: 17px; font-weight: 700; color: #111; margin: 0 0 10px; }
.wv-pt-ideal p { font-size: 14px; line-height: 1.8; color: #555; margin: 0; }

.wv-pt-contact { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 0; }
.wv-pt-mail { font-size: 15px; color: #1D9E75; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(29,158,117,0.35); }
.wv-pt-legal {
  max-width: 720px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #E5E5E5;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #777;
}
.wv-pt-legal strong { color: #444; }

@media (max-width: 900px) {
  .wv-pt-steps { grid-template-columns: repeat(2, 1fr); }
  .wv-pt-ideal { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 720px) {
  .wv-pt-why { grid-template-columns: 1fr; gap: 26px; }
  .wv-pt-programs { grid-template-columns: 1fr; }
  .wv-pt-steps { grid-template-columns: 1fr; gap: 22px; }
  .wv-pt-stats { grid-template-columns: 1fr; gap: 14px; }
  .wv-pt-stat { display: flex; align-items: baseline; gap: 14px; text-align: left; padding: 18px 20px; }
  .wv-pt-stat strong { font-size: 32px; }
  .wv-pt-stat span { margin-top: 0; }
  .wv-pt-spec > div { grid-template-columns: 68px 1fr; }
  .wv-pt-contact { flex-direction: column; align-items: center; gap: 12px; }
  .wv-pt-contact .btn { width: 100%; text-align: center; }
}

/* ---------- /exam-retake/ 재시험 안내 (2026-08-20) ---------- */
.wv-retake-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wv-retake-steps > li { margin: 0; }
.wv-retake-num { display: block; font-size: 22px; line-height: 1; color: #1D9E75; margin-bottom: 12px; }
.wv-retake-steps h3 { font-size: 17px; font-weight: 700; color: #111; margin: 0 0 8px; }
.wv-retake-steps p { font-size: 14px; line-height: 1.75; color: #555; margin: 0; }
.wv-retake-steps a { color: #1D9E75; text-decoration: none; border-bottom: 1px solid rgba(29,158,117,0.35); }

.wv-retake-fees { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.wv-fee-card h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 12px; }
.wv-fee-table { width: 100%; border-collapse: collapse; }
.wv-fee-table th,
.wv-fee-table td {
  border: 1px solid #E5E5E5;
  padding: 11px 14px;
  font-size: 14px;
  text-align: left;
  color: #333;
}
.wv-fee-table thead th { background: #FAFAFA; font-weight: 700; color: #111; }
.wv-fee-table tbody th { font-weight: 600; background: #FCFCFC; }
.wv-fee-table td { font-weight: 700; color: #111; }
.wv-retake-note { margin: 22px 0 0; font-size: 14px; line-height: 1.75; color: #555; }
.wv-retake-cta { margin: 26px 0 0; }

.wv-retake-notes { display: grid; gap: 26px; max-width: 780px; }
.wv-retake-note-item h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 8px; }
.wv-retake-note-item p { font-size: 14px; line-height: 1.8; color: #555; margin: 0 0 8px; }
.wv-retake-note-item p:last-child { margin-bottom: 0; }
.wv-retake-note-item ul { list-style: disc; padding-left: 20px; margin: 0 0 10px; }
.wv-retake-note-item li { font-size: 14px; line-height: 1.8; color: #555; }
.wv-retake-note-item a { color: #1D9E75; text-decoration: none; border-bottom: 1px solid rgba(29,158,117,0.35); }

.wv-retake-format { overflow-x: auto; }
.wv-retake-format .wv-fee-table { min-width: 620px; }
.wv-retake-format .wv-fee-table td { font-weight: 400; color: #444; }

.wv-retake-prep { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.wv-prep-card { border: 1px solid #E5E5E5; border-radius: 10px; padding: 26px; background: #FFF; }
.wv-prep-card h3 { font-size: 17px; font-weight: 700; color: #111; margin: 0 0 10px; }
.wv-prep-card p { font-size: 14px; line-height: 1.75; color: #555; margin: 0 0 12px; }
.wv-prep-price { font-size: 14px; color: #333 !important; }
.wv-prep-price strong { color: #111; font-weight: 800; }
.wv-prep-more { margin: 0 !important; }
.wv-prep-more a { color: #1D9E75; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(29,158,117,0.35); }

.wv-retake-contact { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 0; }
.wv-retake-mail { font-size: 14px; color: #666; text-decoration: none; }
.wv-retake-mail:hover { color: #1D9E75; }

.wv-retake-product-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #F7F7F7;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}
.wv-retake-product-note a { color: #1D9E75; font-weight: 600; text-decoration: none; white-space: nowrap; }

@media (max-width: 782px) {
  .wv-retake-steps { grid-template-columns: 1fr; gap: 22px; }
  .wv-retake-fees { grid-template-columns: 1fr; gap: 24px; }
  .wv-retake-prep { grid-template-columns: 1fr; }
}

/* ---------- /enroll/ 안내 블록 (2026-08-20) ---------- */
.wv-enroll-howto .wv-howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.wv-howto-step { margin: 0; }
.wv-howto-step .wv-howto-num {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: #1D9E75;
  margin-bottom: 12px;
}
.wv-howto-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}
.wv-howto-step p {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}
.wv-howto-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid #E5E5E5;
  font-size: 14px;
  color: #666;
  text-align: center;
}
.wv-howto-links a {
  color: #1D9E75;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29,158,117,0.35);
}
.wv-howto-links a:hover { border-bottom-color: #1D9E75; }

@media (max-width: 782px) {
  .wv-enroll-howto .wv-howto-grid { grid-template-columns: 1fr; gap: 22px; }
  .wv-howto-links { flex-direction: column; gap: 10px; }
}

/* 런치 게이트 — /shop/ · 상품 페이지 (2026-08-20) */
.wv-launch-gated { flex-wrap: wrap; }
.wv-launch-gated .wv-launch-gated-note { font-size: 13px; color: #666; line-height: 1.6; }
.woocommerce ul.products li.product .wv-launch-gated { margin-top: 8px; }
.woocommerce div.product .wv-launch-gated { margin: 16px 0 8px; }

/* btn-sm 보조 (멀티 프로덕트 row 용) */
.btn.btn-sm { padding: 8px 14px; font-size: 13px; }


/* ============================================================
   Course Overview 섹션 (2026-05-24 v3 옵션 1)
   ============================================================ */
.course-overview {
    background: var(--color-surface, #F6F6F6);
    padding: var(--section-pad, 100px) 0;
}

.course-overview-title {
    font-family: var(--font-body, Pretendard), sans-serif; /* 한글 제목 — 본문 폰트 (D15) */
    font-size: 3rem;
    color: var(--color-dark, #111111);
    text-align: center;
    margin: 0 0 48px;
    line-height: 1.2;
}

.course-overview-body {
    max-width: 720px;
    margin: 0 auto;
    font-family: var(--font-body, Pretendard), sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text, #333333);
    text-align: center;
}

.course-overview-body p {
    margin: 0 0 1em;
}

.course-overview-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .course-overview {
        padding: 60px 0;
    }
    .course-overview-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }
    .course-overview-body {
        font-size: 1rem;
    }
}


/* ============================================================
   v4 최종 (2026-05-24) — Course Overview 정렬 + 로고 정규화 + Hero 이미지 + 디자인 완성도
   ============================================================ */

/* ---------- 단계 2: Course Overview 정렬 일관성 ---------- */
.course-overview .wv-eyebrow {
    text-align: center !important;
    display: block;
    margin: 0 0 24px;
}
.course-overview-title,
.course-overview h2 {
    text-align: center;
}
.course-overview-body {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

/* ---------- 단계 3: 인증 로고 크기 정규화 ---------- */
.cert-logo {
    display: inline-block;
    height: auto;
    vertical-align: middle;
}
.cert-logo-wset { max-height: 56px; max-width: 160px; }
.cert-logo-cms { max-height: 56px; max-width: 140px; }
.cert-logo-wsg { max-height: 56px; max-width: 130px; }

.hero-cert-badge {
    max-height: 48px;
    opacity: 0.95;
}
.page-cert-badge { max-height: 48px; }

/* Hero 다크 배경 위 로고 — white variant 사용하므로 filter 불필요 */
.wv-course-hero .cert-logo:not([src*="white"]) {
    /* white variant 가 아닐 때만 보정 */
}

@media (max-width: 720px) {
    .cert-logo-wset { max-height: 40px; max-width: 130px; }
    .hero-cert-badge { max-height: 36px; }
}

/* ---------- 단계 4: Hero 배경 이미지 + 오버레이 ---------- */
.wv-course-hero {
    background-color: var(--color-dark, #111111);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.wv-course-hero.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.60) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
}

.wv-course-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(29, 158, 117, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.05), transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.wv-course-hero > .container,
.wv-course-hero .container,
.wv-course-hero .hero-inner {
    position: relative;
    z-index: 3;
}

/* 배경 이미지 없는 페이지 — 단순 검정 탈출 */
.wv-course-hero:not(.has-bg-image) {
    background-image:
        radial-gradient(ellipse at top right, rgba(29, 158, 117, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.04), transparent 50%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 50%);
}

.wv-course-hero:not(.has-bg-image)::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* CMS 디지털 배지 */
.wv-course-hero-badge {
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 3;
}
.wv-course-hero-badge img {
    max-height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@media (max-width: 720px) {
    .wv-course-hero-badge img { max-height: 80px; }
}

/* ---------- 단계 5: 섹션 교차 배경 + 디자인 완성도 ---------- */
/* Course Overview 회색 (이미 적용) */
.course-overview { background: var(--color-surface, #F6F6F6); }

/* TARGET / WHO IS IT FOR — 흰색 */
.wv-course-target,
.target-section,
.who-is-it-for { background: var(--color-bg, #FEFEFE); }

/* STATS — 회색 */
.wv-course-stats,
.stats-section { background: var(--color-surface, #F6F6F6); }

/* CURRICULUM — 흰색 */
.wv-course-curriculum,
.curriculum-section { background: var(--color-bg, #FEFEFE); }

/* SCHEDULE + FAQ — 회색 */
.wv-course-schedule,
.wv-course-faq-section,
.schedule-section,
.faq-section { background: var(--color-surface, #F6F6F6); }

/* h2 제목 — Bebas Neue (전역) */
.course-overview-title,
.wv-course-target h2,
.wv-course-curriculum h2,
.wv-course-stats h2,
.wv-course-schedule h2,
.wv-course-faq-section h2,
.target-title,
.curriculum-title {
    font-family: var(--font-body, Pretendard), sans-serif; /* 한글 제목 — 본문 폰트 (D15) */
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-dark, #111111);
    text-align: center;
    margin: 0 0 56px;
}

/* eyebrow 전역 일관성 */
.wv-eyebrow {
    font-family: var(--font-heading, Pretendard), sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--color-accent, #1D9E75);
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin: 0 0 24px;
}

/* 카드 hover 효과 */
.wv-course-target-card,
.target-card,
.who-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 3px solid var(--color-accent, #1D9E75);
    border-radius: 4px;
    padding: 40px 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wv-course-target-card:hover,
.target-card:hover,
.who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 통계 숫자 강조 */
.wv-course-stat-value,
.stat-value,
.wv-stat-value {
    font-family: var(--font-heading, Pretendard), sans-serif;
    letter-spacing: -0.03em;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-accent, #1D9E75);
    line-height: 1;
}

/* ============================================================
   Tasting & Events — Archive + Single (2026-06-16)
   ============================================================ */

/* Hero (다크) — page-hero 패딩 일치 */
.wv-events-hero {
    background-color: var(--color-dark, #111111);
    background-image:
        radial-gradient(ellipse at top right, rgba(29, 158, 117, 0.12), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(255, 255, 255, 0.04), transparent 50%);
    color: #fff;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}
.wv-events-hero .hero-inner { position: relative; z-index: 2; text-align: center; }
.wv-events-eyebrow { color: var(--color-accent, #1D9E75); }
.wv-events-hero .page-title {
    font-family: var(--font-heading, Pretendard), sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 7vw, 88px);
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 24px;
}
.wv-events-hero .hero-mission {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.88);
    max-width: 720px;
    margin: 0 auto;
}
.wv-events-hero .accent { color: var(--color-accent, #1D9E75); }

/* Intro — 카테고리 5종 안내 */
.wv-events-intro { background: var(--color-bg, #FEFEFE); padding: var(--section-pad, 100px) 0; }
.wv-events-intro-title {
    font-family: var(--font-heading, Pretendard), sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin: 0 0 56px;
}
.wv-events-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.wv-events-cat-card {
    background: #fff;
    border: 1px solid var(--color-border, #E8E5E0);
    border-top: 3px solid var(--color-accent, #1D9E75);
    border-radius: 4px;
    padding: 28px 20px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
}
.wv-events-cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.wv-events-cat-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--color-dark, #111);
    letter-spacing: -0.01em;
}
.wv-events-cat-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-text-sub, #555);
    margin: 0;
}

/* Archive 본문 */
.wv-events-archive { padding: var(--section-pad, 100px) 0; }
.wv-events-archive-title {
    font-family: var(--font-heading, Pretendard), sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(32px, 5vw, 48px);
    text-align: center;
    margin: 0 0 40px;
}

/* 필터 칩 */
.wv-event-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0 0 48px;
}
.wv-event-filters .wv-chip {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--color-border, #E8E5E0);
    border-radius: 999px;
    background: #fff;
    color: var(--color-text-sub, #555);
    font-size: 13px;
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
}
.wv-event-filters .wv-chip:hover {
    border-color: var(--color-accent, #1D9E75);
    color: var(--color-accent, #1D9E75);
}
.wv-event-filters .wv-chip.is-active {
    background: var(--color-dark, #111);
    border-color: var(--color-dark, #111);
    color: #fff;
}

/* 카드 그리드 */
.wv-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.wv-event-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    border: 1px solid var(--color-border, #E8E5E0);
}
.wv-event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.wv-event-card-link { display: block; color: inherit; text-decoration: none; }
.wv-event-card-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-surface, #F6F6F6);
}
.wv-event-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 텍스트 카드 (이미지 없을 때 — DWWA 등) */
.wv-event-card-thumb--text {
    background: linear-gradient(135deg, #111 0%, #1a3a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.wv-event-card-mark {
    font-family: var(--font-heading, Pretendard), sans-serif;
    font-weight: 800;
    font-size: 48px;
    letter-spacing: -0.03em;
    color: var(--color-accent, #1D9E75);
}

.wv-event-card-body { padding: 24px 24px 28px; }
.wv-event-card-badge {
    display: inline-block;
    background: var(--color-surface, #F6F6F6);
    color: var(--color-accent, #1D9E75);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    font-weight: 600;
}
.wv-event-card-date {
    font-size: 12px;
    color: var(--color-text-mute, #999);
    margin: 0 0 8px;
    letter-spacing: 0.04em;
}
.wv-event-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-dark, #111);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}
.wv-event-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-sub, #555);
    margin: 0;
}

/* Empty state */
.wv-events-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-mute, #999);
}

/* Pagination */
.wv-events-pagination { margin-top: 56px; text-align: center; }
.wv-events-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid var(--color-border, #E8E5E0);
    border-radius: 3px;
    color: var(--color-text-sub, #555);
    text-decoration: none;
    transition: border-color .2s, color .2s;
}
.wv-events-pagination .page-numbers:hover,
.wv-events-pagination .page-numbers.current {
    border-color: var(--color-dark, #111);
    color: var(--color-dark, #111);
}

/* Single */
.wv-event-single-hero .page-title {
    font-size: clamp(28px, 5vw, 56px);
    font-family: var(--font-body, Pretendard), sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.wv-event-single-date {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    margin: 16px 0 0;
    letter-spacing: 0.04em;
}
.wv-event-single { padding: 80px 0; }
.wv-event-single-thumb { margin: 0 0 48px; }
.wv-event-single-thumb img { width: 100%; height: auto; border-radius: 6px; }
.wv-event-single-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text, #1A1A1A);
}
.wv-event-single-body p { margin: 0 0 1.2em; }
.wv-event-single-back { margin-top: 64px; text-align: center; }

/* 반응형 */
@media (max-width: 1024px) {
    .wv-events-cats-grid { grid-template-columns: repeat(2, 1fr); }
    .wv-events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .wv-events-hero { padding: 80px 0 60px; }
    .wv-events-intro, .wv-events-archive { padding: 60px 0; }
    .wv-events-cats-grid { grid-template-columns: 1fr; }
    .wv-events-grid { grid-template-columns: 1fr; gap: 20px; }
    .wv-events-hero .hero-mission { font-size: 16px; }
}

/* ===== Footer Legal Block (2026-07-24) ===== */
.site-footer .footer-legal { margin-top:36px; padding-top:24px; border-top:1px solid rgba(255,255,255,.08); display:flex; flex-wrap:wrap; gap:20px; justify-content:space-between; align-items:flex-start; }
.site-footer .footer-legal-info p { margin:0 0 4px; font-size:12px; line-height:1.65; color:rgba(255,255,255,.55); }
.site-footer .footer-legal-info p:first-child { color:rgba(255,255,255,.75); font-size:13px; }
.site-footer .footer-legal-info a { color:inherit; text-decoration:none; }
.site-footer .footer-legal-info a:hover { color:rgba(255,255,255,.85); text-decoration:underline; }
.site-footer .footer-legal-links { display:flex; align-items:center; gap:10px; font-size:12px; }
.site-footer .footer-legal-links a { color:rgba(255,255,255,.65); text-decoration:none; }
.site-footer .footer-legal-links a.is-strong { color:#fff; }
.site-footer .footer-legal-links a.is-strong strong { font-weight:700; }
.site-footer .footer-legal-links a:hover { color:#fff; text-decoration:underline; }
.site-footer .footer-legal-links .sep { color:rgba(255,255,255,.25); }
@media (max-width:720px) { .site-footer .footer-legal { flex-direction:column; gap:14px; } }

/* ===== .wv-page-content (page.php) 본문·표 스타일 (2026-07-24) ===== */
.wv-page-content { font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; color:#111; line-height:1.75; font-size:16px; }
.wv-page-content p { margin:0 0 1.2em; }
.wv-page-content h1, .wv-page-content h2, .wv-page-content h3, .wv-page-content h4 { margin:2em 0 .8em; font-weight:700; line-height:1.4; }
.wv-page-content h2 { font-size:1.4em; padding-bottom:.4em; border-bottom:2px solid #1D9E75; }
.wv-page-content h3 { font-size:1.2em; color:#333; }
.wv-page-content h4 { font-size:1.05em; color:#444; }
.wv-page-content img { max-width:100%; height:auto; display:block; margin:1.5em auto; border-radius:6px; }
.wv-page-content a { color:#1D9E75; text-decoration:underline; }
.wv-page-content ul, .wv-page-content ol { margin:.5em 0 1.2em 1.5em; padding-left:.5em; }
.wv-page-content li { margin-bottom:.4em; }
.wv-page-content ul ul, .wv-page-content ol ol, .wv-page-content ul ol, .wv-page-content ol ul { margin:.4em 0 .4em 1.2em; }
.wv-page-content blockquote { border-left:3px solid #1D9E75; padding:.6em 1em; margin:1.5em 0; color:#555; background:#F8F8F8; }
.wv-page-content hr { border:none; border-top:1px solid #E0E0E0; margin:2.5em 0; }
.wv-page-content code { background:#F4F4F4; padding:2px 6px; border-radius:3px; font-size:.9em; color:#c23; }
.wv-page-content strong { font-weight:700; }
.wv-page-content iframe { max-width:100%; }
/* 표: 가로 스크롤 컨테이너 감쌈 없이 자체 반응형 */
.wv-page-content table { border-collapse:collapse; width:100%; margin:1.5em 0; font-size:.95em; display:block; overflow-x:auto; }
@media (min-width:720px) { .wv-page-content table { display:table; overflow:visible; } }
.wv-page-content th, .wv-page-content td { border:1px solid #E0E0E0; padding:10px 14px; text-align:left; vertical-align:top; }
.wv-page-content th { background:#F6F6F6; font-weight:700; color:#111; white-space:nowrap; }
.wv-page-content tbody tr:nth-child(even) { background:#FAFAFA; }
/* container-narrow 최대폭 */
.wv-wc-section .container-narrow { max-width:960px; margin:0 auto; padding:40px 20px 60px; }

/* ===== Instagram feed 확정 배치 (2026-07-24 v3.12) — 4×2 / 2×3 = 8 / 6
   데스크톱(>720): 4열 × 2행 = 8개 노출 · 모바일(≤720): 2열 × 3행 = 6개 노출
   근본 원인:
     ① SBI는 #sbi_images { display:grid } 사용. 지난 세션 flex 규칙 삭제.
     ② sbi_photo_wrap 에 명시 높이 없음 → aspect-ratio:1/1 강제
     ③ 우상단 carousel/video 아이콘 (fa-clone/fa-play) 숨김
   sbi_mob_col_2 는 기본 max-width:480px 만 커버 → 481~720 강제 grid.
====================================================================== */

/* [모바일/태블릿 481~720] SBI 기본 mob_col_2가 커버 안 하는 구간 강제 2열 */
@media (max-width: 720px) {
  .instagram-feed-section #sb_instagram #sbi_images {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
  .instagram-feed-section #sb_instagram #sbi_images .sbi_item {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  /* [모바일 6개 노출] SBI num=8 로드분 중 앞 6개만 (nth-child 7~8 숨김) */
  .instagram-feed-section #sb_instagram #sbi_images .sbi_item:nth-child(n+7) {
    display: none !important;
  }
}

/* [모든 폭] 정사각 크롭 강제 — sbi_photo_wrap에 aspect-ratio */
.instagram-feed-section #sb_instagram .sbi_photo_wrap {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  position: relative !important;
}
.instagram-feed-section #sb_instagram .sbi_photo,
.instagram-feed-section #sb_instagram .sbi_photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* [모든 폭] 우상단 아이콘 숨김 (carousel: fa-clone · video: fa-play) */
.instagram-feed-section #sb_instagram .sbi_lightbox_carousel_icon,
.instagram-feed-section #sb_instagram .sbi_playbtn,
.instagram-feed-section #sb_instagram .sbi_type_carousel .fa-clone,
.instagram-feed-section #sb_instagram .sbi_type_video .fa-play,
.instagram-feed-section #sb_instagram .sbi_type_carousel .svg-inline--fa.fa-clone,
.instagram-feed-section #sb_instagram .sbi_type_video .svg-inline--fa.fa-play {
  display: none !important;
}

/* 더보기 버튼 모바일 */
@media (max-width: 720px) {
  .instagram-more { margin-top: 24px; padding: 0 20px; }
  .instagram-more .btn-outline {
    display: inline-block; width: 100%; max-width: 320px;
    padding: 14px 20px; font-size: 15px; font-weight: 600;
  }
}

/* ===== v2.1 라이브 강의 시스템 (2026-07-25 · style v2.3.13) =====
   [챕터 헤더 처리 방침]
   L2 이론+시험 모듈은 v2.1에서 use_chapters=false + lecture_interleave=true 로 전환.
   → 챕터 아코디언 헤더(01 과정 소개~09 페어링)는 렌더 대상에서 자동 제외됨.
   → 대신 강의(is-lecture) 아이템 자체가 그룹 구분자 역할. 별도 챕터 헤더 마크업 없음.
   → 기존 챕터 데이터(_wv_parent_chapter)는 DB에 그대로 보존 (다른 모듈/코스 영향 없음).
=========================================================================== */

/* [사이드바] wv-mod-interleave = 인터리브 컨테이너 */
.wv-mod-units.wv-mod-interleave { padding: 4px 0; }

/* [사이드바] 강의 아이템 (is-lecture) - teal 좌측 바 + 재생 아이콘 + 강사명 */
.wv-mod-units .wv-outline-item.is-lecture { margin-top: 12px; }
.wv-mod-units .wv-outline-item.is-lecture:first-child { margin-top: 0; }
.wv-mod-units .wv-outline-item.is-lecture > a {
  position: relative;
  padding: 10px 12px 10px 18px !important;
  background: rgba(29, 158, 117, 0.06);
  border-left: 3px solid #1D9E75;
  border-radius: 0 6px 6px 0;
  font-weight: 600;
  color: #111;
  display: flex; align-items: center; gap: 6px;
}
.wv-mod-units .wv-outline-item.is-lecture > a:hover { background: rgba(29, 158, 117, 0.12); }
.wv-mod-units .wv-outline-item.is-lecture.is-current > a { background: rgba(29, 158, 117, 0.18); border-left-color: #158764; }

.wv-mod-units .wv-outline-item.is-lecture .wv-lecture-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #1D9E75; color: #fff;
  flex-shrink: 0;
}
.wv-mod-units .wv-outline-item.is-lecture .wv-outline-num {
  font-size: 11px; font-weight: 700; color: #1D9E75;
  min-width: 20px;
}
.wv-mod-units .wv-outline-item.is-lecture .wv-outline-title {
  font-size: 13px; line-height: 1.4; color: #111;
}
.wv-mod-units .wv-outline-item.is-lecture .wv-lecture-lecturer {
  font-size: 11px; color: #666; margin-left: auto;
  padding-left: 8px; white-space: nowrap;
}

/* [사이드바] 딸린 유닛 (is-in-lecture) - 좌측 12px 들여쓰기 */
.wv-mod-units .wv-outline-item.is-in-lecture > a {
  padding-left: 32px !important;
  font-size: 13px;
  color: #555;
}
.wv-mod-units .wv-outline-item.is-in-lecture .wv-outline-num {
  font-size: 12px; color: #999;
  min-width: 12px;
}
.wv-mod-units .wv-outline-item.is-in-lecture.is-current > a {
  color: #111; font-weight: 600; background: #F5F4F0;
}
.wv-mod-units .wv-outline-item.is-in-lecture.is-done .wv-outline-title { color: #888; }

/* ===== 강의 페이지 (single-wv_unit-lecture.php) ===== */
.wv-lecture-hero {
  background: linear-gradient(135deg, #1A1F1D 0%, #0F1211 100%);
  color: #F5F4F0;
  padding: 60px 0 40px;
}
.wv-lecture-hero-inner { max-width: 960px; }
.wv-lecture-badge-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1D9E75; color: #fff;
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.wv-lecture-title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700; line-height: 1.3; letter-spacing: -0.015em;
  margin: 0 0 12px; color: #fff;
}
.wv-lecture-lecturer {
  font-size: 14px; color: rgba(255,255,255,0.72);
  margin: 0 0 16px;
}
.wv-lecture-coverage {
  font-size: 13px; color: rgba(255,255,255,0.6);
  line-height: 1.6; margin: 12px 0 0;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}
.wv-lecture-coverage strong { color: #1D9E75; }

/* Vimeo 16:9 */
.wv-lecture-video-wrap { padding: 32px 0; background: #F5F4F0; }
.wv-lecture-video {
  max-width: 960px; margin: 0 auto;
  position: relative; padding-top: 56.25%;
  background: #000; border-radius: 8px; overflow: hidden;
}
.wv-lecture-video iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}
.wv-lecture-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); font-size: 16px;
}

/* 다루는 유닛 카드 + 이어서 학습 */
.wv-lecture-coverage-wrap { padding: 40px 0 60px; background: #fff; }
.wv-lecture-coverage-wrap .container { max-width: 960px; }
.wv-lecture-h2 {
  font-size: 20px; font-weight: 700; margin: 0 0 16px;
  padding-bottom: 8px; border-bottom: 2px solid #1D9E75;
}
.wv-lecture-child-cards {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px;
}
.wv-lecture-child-cards li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #FAFAFA; border: 1px solid #E8E5E0; border-radius: 6px;
  text-decoration: none; color: #111;
  transition: background .15s ease, border-color .15s ease;
}
.wv-lecture-child-cards li a:hover {
  background: #F5F4F0; border-color: #1D9E75;
}
.wv-lecture-child-title { flex: 1; font-size: 14px; }
.wv-lecture-child-done { font-size: 11px; color: #1D9E75; font-weight: 600; }
.wv-lecture-child-arrow { color: #999; }

.wv-lecture-next-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px;
}
@media (max-width: 720px) {
  .wv-lecture-next-wrap { grid-template-columns: 1fr; }
}
.wv-lecture-next-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px; border-radius: 8px;
  text-decoration: none; font-size: 14px;
}
.wv-lecture-next-btn .wv-lecture-next-label {
  font-size: 11px; color: rgba(255,255,255,0.7);
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.wv-lecture-next-btn .wv-lecture-next-title { flex: 1; font-weight: 600; }
.wv-lecture-next-child { background: #F5F4F0; color: #111; border: 1px solid #E8E5E0; }
.wv-lecture-next-child .wv-lecture-next-label { color: #666; }
.wv-lecture-next-child:hover { border-color: #1D9E75; }
.wv-lecture-next-lecture { background: #1D9E75; color: #fff; }
.wv-lecture-next-lecture:hover { background: #158764; }

/* 모바일 사이드바: 강의 padding 축소 */
@media (max-width: 720px) {
  .wv-mod-units .wv-outline-item.is-lecture > a { padding: 8px 10px 8px 14px !important; }
  .wv-mod-units .wv-outline-item.is-lecture .wv-lecture-lecturer { display: none; }  /* 좁은 화면 강사명 숨김 */
  .wv-mod-units .wv-outline-item.is-in-lecture > a { padding-left: 26px !important; }
}

/* ===== v2.1-fix 사이드바 강의 아코디언 (2026-07-25 · style v2.3.14) =====
   [수정1] flat 인터리브 → 아코디언 그룹 (기존 챕터 UI 재활용)
   [수정1] 강사명 사이드바에서 제거
   [수정2] 모든 그룹 기본 접힘 → 현재 유닛 속한 그룹만 펼침 (has_current=true → is-open)
   * 챕터 아코디언 컴포넌트/JS는 initAccordion() 기존 로직 그대로 재활용됨
     (li.wv-outline-chapter · button.wv-outline-chapter-head · is-open)
=========================================================================== */

/* [수정1] 강사명 사이드바 제거 (기존 flat 렌더 마크업 잔재 · 아코디언에도 안 씀) */
.wv-mod-units .wv-outline-item .wv-lecture-lecturer,
.wv-outline-lecture .wv-lecture-lecturer { display: none !important; }

/* 강의 헤더 = 챕터 헤더 재활용 · 좌측 teal 좌측 바만 시각 강조 */
.wv-outline-lecture > .wv-lecture-head-row {
  display: flex; align-items: stretch;
  border-left: 3px solid #1D9E75;
  background: rgba(29, 158, 117, 0.04);
  border-radius: 0 6px 6px 0;
  overflow: hidden;
  cursor: default;
}
.wv-outline-lecture.is-lecture-current > .wv-lecture-head-row {
  background: rgba(29, 158, 117, 0.12);
}
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-toggle {
  flex: 1;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 8px 10px 12px;
  background: transparent; border: 0;
  text-align: left; cursor: pointer;
  color: #111; font-weight: 600; font-size: 13px;
}
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-toggle:hover { background: rgba(29, 158, 117, 0.06); }
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-toggle .wv-outline-caret {
  width: 8px; height: 8px; border-right: 2px solid #1D9E75; border-bottom: 2px solid #1D9E75;
  transform: rotate(-45deg); transition: transform .15s ease;
}
.wv-outline-lecture.is-open > .wv-lecture-head-row > .wv-lecture-toggle .wv-outline-caret {
  transform: rotate(45deg);
}
.wv-outline-lecture .wv-outline-chapter-num { color: #1D9E75; font-weight: 700; min-width: 22px; }
.wv-outline-lecture .wv-outline-chapter-title { flex: 1; color: #111; }
.wv-outline-lecture .wv-outline-chapter-meta { color: #666; font-size: 11px; margin-right: 4px; }

/* 강의 페이지 진입 링크 (토글과 분리) */
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0 12px;
  background: #1D9E75; color: #fff;
  text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
  transition: background .15s ease;
  flex-shrink: 0;
}
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link:hover { background: #158764; color: #fff; }
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link svg { flex-shrink: 0; }

/* 그룹 내부 유닛 (기존 wv-outline-units 스타일 그대로) */
.wv-outline-lecture .wv-outline-units { margin: 0; padding: 4px 0; }
.wv-outline-lecture:not(.is-open) .wv-outline-units { display: none; }
.wv-outline-lecture.is-open .wv-outline-units { display: block; }

/* 모바일: 강의 페이지 링크 라벨 숨김 (▶ 아이콘만) */
@media (max-width: 720px) {
  .wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link { padding: 0 10px; }
  .wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link .wv-lecture-play-label { display: none; }
  .wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-toggle { padding: 8px 6px 8px 10px; font-size: 12px; }
}

/* [수정2] 모바일: 강제 아코디언 접힘 (has_current 그룹만 열림 · 서버에서 is-open 부여) */
/* 별도 CSS 규칙 불필요 — 서버가 has_current 그룹에만 is-open 세팅.
   기존 데스크톱 로직도 동일 (현재 유닛 속한 그룹만 초기 펼침 · JS 클릭 토글). */

/* ===== v2.1-fix2 강의 헤더 경량화 + 레이아웃 안정화 (2026-07-25 · v2.3.15) =====
   [수정] div 클래스 정리 (wv-outline-chapter-head 중복 제거 · JS 이벤트 중복 방지)
   [디자인] "▶ 강의" 초록 채움 → 아웃라인 알약 (호버 시 채움)
   [디자인] grid layout: 캐럿 | 번호 | 제목(1fr, 말줄임) | 진도 | 링크 — 08행 오버플로 해결
=========================================================================== */

/* 헤더 행: grid 5열 고정 · overflow 방지 */
.wv-outline-lecture > .wv-lecture-head-row {
  display: grid;
  grid-template-columns: 1fr auto;   /* toggle(1fr) | play-link(auto) */
  align-items: stretch;
  border-left: 3px solid #1D9E75;
  background: rgba(29, 158, 117, 0.04);
  border-radius: 0 6px 6px 0;
  overflow: hidden;
  min-height: 40px;
}
.wv-outline-lecture.is-lecture-current > .wv-lecture-head-row {
  background: rgba(29, 158, 117, 0.12);
}

/* toggle button = grid 5열 (caret · num · title[말줄임] · meta) */
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-toggle {
  display: grid !important;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  background: transparent; border: 0;
  text-align: left; cursor: pointer;
  color: #111; font-weight: 600; font-size: 13px;
  min-width: 0;   /* grid children overflow 방지 */
}
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-toggle:hover { background: rgba(29, 158, 117, 0.06); }

/* 캐럿 (▼ 회전) */
.wv-outline-lecture .wv-lecture-toggle .wv-outline-caret {
  width: 8px; height: 8px;
  border-right: 2px solid #1D9E75; border-bottom: 2px solid #1D9E75;
  transform: rotate(-45deg); transition: transform .15s ease;
  flex-shrink: 0;
}
.wv-outline-lecture.is-open .wv-lecture-toggle .wv-outline-caret {
  transform: rotate(45deg);
}

.wv-outline-lecture .wv-outline-chapter-num {
  color: #1D9E75; font-weight: 700; font-size: 12px;
  min-width: 22px;
}
.wv-outline-lecture .wv-outline-chapter-title {
  color: #111; font-size: 13px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;   /* 말줄임 */
  min-width: 0;
}
.wv-outline-lecture .wv-outline-chapter-meta {
  color: #666; font-size: 11px; font-weight: 500;
  padding-left: 4px;
  flex-shrink: 0;
}

/* [디자인] 강의 진입 링크 = 아웃라인 알약 (호버 시 채움) */
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link {
  display: inline-flex; align-items: center; gap: 4px;
  align-self: center;
  height: 24px;
  margin: 0 8px 0 4px;
  padding: 0 10px;
  background: transparent;
  color: #1D9E75;
  border: 1px solid #1D9E75;
  border-radius: 12px;
  text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  transition: background .15s ease, color .15s ease;
  flex-shrink: 0;
}
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link:hover {
  background: #1D9E75;
  color: #fff;
}
.wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link svg { flex-shrink: 0; }

/* 그룹 내부 유닛 (아코디언 열림/닫힘) */
.wv-outline-lecture .wv-outline-units {
  margin: 0; padding: 4px 0;
  list-style: none;
}
.wv-outline-lecture:not(.is-open) .wv-outline-units { display: none; }
.wv-outline-lecture.is-open .wv-outline-units { display: block; }

/* 모바일: 알약 라벨 숨김 · ▶ 아이콘만 */
@media (max-width: 720px) {
  .wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link {
    padding: 0 8px;
    margin: 0 6px;
  }
  .wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-play-link .wv-lecture-play-label {
    display: none;
  }
  .wv-outline-lecture > .wv-lecture-head-row > .wv-lecture-toggle {
    padding: 6px 6px 6px 10px; font-size: 12px;
  }
  .wv-outline-lecture .wv-outline-chapter-title { font-size: 12px; }
}

/* ===== v2.1-fix3 강의 페이지 2단 구조 (2026-07-25 · v2.3.16) =====
   [수정1] 강의 페이지 = 일반 유닛 페이지 shell (wv-player-grid) 재사용
   [수정2] 소개문 (_wv_lecture_desc) · 컴팩트 히어로
   [수정3] JS delegated click으로 아코디언 모바일 이슈 대응 (player.js 처리)
=========================================================================== */

/* 컴팩트 히어로 (풀폭 아님 · main 안 · 다크 톤) */
.wv-player-main .wv-lecture-compact-hero {
  background: linear-gradient(135deg, #1A1F1D 0%, #0F1211 100%);
  color: #F5F4F0;
  padding: 20px 24px 18px;
  border-radius: 8px;
  margin: 0 0 20px;
}
.wv-player-main .wv-lecture-badge-eyebrow {
  display: inline-flex; align-items: center; gap: 4px;
  background: #1D9E75; color: #fff;
  padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.wv-player-main .wv-lecture-compact-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700; line-height: 1.32; letter-spacing: -0.015em;
  margin: 0 0 6px; color: #fff;
}
.wv-player-main .wv-lecture-compact-lecturer {
  font-size: 13px; color: rgba(255,255,255,0.72);
  margin: 0;
}

/* 강의 소개문 (main 안) */
.wv-player-main .wv-lecture-desc {
  margin: 24px 0;
  padding: 20px 24px;
  background: #FAFAFA; border-left: 3px solid #1D9E75;
  border-radius: 0 6px 6px 0;
}
.wv-player-main .wv-lecture-desc p {
  margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: #333;
}
.wv-player-main .wv-lecture-desc p:last-child { margin-bottom: 0; }

/* 다루는 유닛 카드 (main 안) */
.wv-player-main .wv-lecture-coverage-block { margin: 32px 0 24px; }
.wv-player-main .wv-lecture-h2 {
  font-size: 18px; font-weight: 700; margin: 0 0 12px;
  padding-bottom: 8px; border-bottom: 2px solid #1D9E75;
}
.wv-player-main .wv-lecture-child-cards {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px;
}
.wv-player-main .wv-lecture-child-cards li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #fff; border: 1px solid #E8E5E0; border-radius: 6px;
  text-decoration: none; color: #111;
  transition: background .15s ease, border-color .15s ease;
  font-size: 13px;
}
.wv-player-main .wv-lecture-child-cards li a:hover { background: #F5F4F0; border-color: #1D9E75; }
.wv-player-main .wv-lecture-child-title { flex: 1; }
.wv-player-main .wv-lecture-child-done { font-size: 11px; color: #1D9E75; font-weight: 600; }
.wv-player-main .wv-lecture-child-arrow { color: #999; }

/* 다음 강의 (main 안) */
.wv-player-main .wv-lecture-next-wrap { margin-top: 24px; }
.wv-player-main .wv-lecture-next-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-radius: 8px;
  text-decoration: none; font-size: 14px;
  background: #1D9E75; color: #fff;
  transition: background .15s ease;
}
.wv-player-main .wv-lecture-next-btn:hover { background: #158764; }
.wv-player-main .wv-lecture-next-btn .wv-lecture-next-label {
  font-size: 11px; color: rgba(255,255,255,0.75);
  font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.wv-player-main .wv-lecture-next-btn .wv-lecture-next-title { flex: 1; font-weight: 600; }

/* 모바일 */
@media (max-width: 720px) {
  .wv-player-main .wv-lecture-compact-hero { padding: 16px 18px 14px; margin: 0 0 16px; }
  .wv-player-main .wv-lecture-desc { padding: 16px 18px; margin: 20px 0; }
  .wv-player-main .wv-lecture-desc p { font-size: 14px; }
  .wv-player-main .wv-lecture-child-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   wv — WSET HUB (2차-2) 최소 CSS
   재사용 우선: .wv-level-card / .wv-level-feature / .wv-cta-band
   ============================================================ */

/* S3 옵션 카드 — 강조 카드 (틸 보더 · 한글 배지) */
.wv-level-card--highlight {
  border: 2px solid var(--color-accent);
  position: relative;
}
.wv-level-card--highlight::before {
  content: '가장 인기';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 14px;
  font-weight: 700;
  border-radius: 2px;
  white-space: nowrap;
}

/* S3 옵션 부제 · 소개 라인 */
.wv-level-card .wv-level-sub {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: -14px 0 12px;
}
.wv-level-card .wv-level-desc {
  color: var(--color-text-sub);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* S3 옵션 행 — .wv-level-feature 재활용 + 부제 · 가격 */
.wv-level-options li {
  align-items: center;
}
.wv-level-options .wv-lo-note {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--color-text-mute);
  margin-top: 4px;
  letter-spacing: 0;
}
.wv-level-options .wv-lo-price {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-accent);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* S4 BEYOND WINE — 카드 링크 라인 */
.wv-feature-card .wv-feature-links {
  margin-top: 12px;
  font-size: 14px;
}
.wv-feature-card .wv-feature-links a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}
.wv-feature-card .wv-feature-links a:hover { text-decoration: underline; }
.wv-feature-card .wv-feature-links .wv-fl-sep {
  color: var(--color-text-mute);
  margin: 0 8px;
}

/* S7 SMART LEARNING BAND — 낮은 높이 블랙 밴드 (홈 개편에서도 재사용) */
.wv-sl-band {
  background: #111;
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.wv-sl-band .label {
  color: var(--color-accent);
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
}
.wv-sl-band h2 {
  color: #fff;
  font-size: clamp(24px, 3.5vw, 36px);
  margin: 12px 0 10px;
  line-height: 1.3;
}
.wv-sl-band p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin: 0 auto 24px;
  max-width: 560px;
}

/* S3 반응형 (모바일 1열 스택 — 기존 .wv-level-grid 규칙 재활용, 옵션 행 줄바꿈 방지만 확인) */
@media (max-width: 640px) {
  .wv-level-options li { padding: 14px 0; font-size: 14px; }
  .wv-level-options .wv-lo-price { font-size: 16px; }
  .wv-level-card--highlight::before { font-size: 11px; padding: 4px 12px; }
  .wv-sl-band { padding: 40px 20px; }
}

/* ============================================================
   wv — HOME (2차-3R) 인트로 · SL 밴드 좌우 분할 · 인스타 스트립 · 인증 3열
   목업 v4 확정 마크업 기준
   ============================================================ */

/* S2 · 인증 프로그램 인트로 (좌 리드 + 우 통계) */
.wv-prog-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.wv-prog-lead h3 {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: #1A1A1A;
}
.wv-prog-lead p {
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.wv-prog-lead p:last-child { margin-bottom: 0; }
.wv-prog-lead a {
  color: inherit;
  border-bottom: 1px solid rgba(0,0,0,0.4);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.wv-prog-lead a:hover {
  color: #1D9E75;
  border-bottom-color: #1D9E75;
}
.wv-prog-stats {
  border-left: 1px solid rgba(0,0,0,0.08);
  padding-left: 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wv-ps-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.wv-ps-num {
  font-family: var(--font-heading, Pretendard, sans-serif);
  letter-spacing: -0.03em;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  min-width: 104px;
  color: #1A1A1A;
}
.wv-ps-num span {
  color: #1D9E75;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 2px;
}
.wv-ps-label {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.wv-ps-progress {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 18px;
  margin-top: 4px;
}
.wv-ps-ptitle {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A1A1A;
}
.wv-ps-ptitle em {
  color: #1D9E75;
  font-style: normal;
}
.wv-ps-bar {
  height: 6px;
  background: #e8e8e3;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.wv-ps-bar i {
  display: block;
  height: 100%;
  background: #1D9E75;
  border-radius: 3px;
}
.wv-ps-cmp {
  font-size: 12.5px;
  color: #666;
}
.wv-ps-cmp strong { color: #1D9E75; }

/* 통계 3행 — 숫자 없는 라벨 행 (합격률 진행바 대체 · 3차-2 PART B) */
.wv-ps-row--label {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 18px;
  margin-top: 4px;
}
.wv-ps-row--label .wv-ps-label {
  font-size: 14.5px;
  color: #1A1A1A;
  font-weight: 500;
}
.wv-ps-row--label .wv-ps-label strong { color: #1D9E75; font-weight: 800; }

.wv-sl-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  text-align: left;
  flex-wrap: wrap;
}
.wv-sl-band .wv-sl-band-inner .wv-eyebrow {
  color: #1D9E75;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 800;
  margin-bottom: 8px;
}
.wv-sl-band .wv-sl-band-inner h2 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 8px;
  line-height: 1.3;
  text-align: left;
}
.wv-sl-band .wv-sl-band-inner .wv-sl-sub {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  margin: 0;
  max-width: 640px;
}
.wv-sl-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #1D9E75;
  color: #fff !important;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.wv-sl-btn:hover { background: #14785A; }

/* S6 · 인스타 스트립 (매거진 컨테이너 안, 풀폭 금지) */
.wv-insta-strip {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 60px;
  padding-top: 40px;
}
.wv-insta-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.wv-insta-head .wv-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 800;
}
.wv-insta-head a {
  color: #1D9E75;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.wv-insta-head a:hover { text-decoration: underline; }

/* 모바일 반응형 (≤760px) */
@media (max-width: 760px) {
  .wv-prog-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .wv-prog-stats {
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-left: 0;
    padding-top: 32px;
  }
  .wv-sl-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .wv-sl-btn { width: 100%; text-align: center; }
  .wv-insta-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================================
   wv — COURSE NOTICE BLOCK (2차-4 · 공통 수강 안내)
   ============================================================ */
.wv-course-notice {
  padding: 40px 0;
  background: #fff;
}
.wv-notice-box {
  background: var(--color-surface, #F6F6F6);
  border-left: 4px solid var(--color-accent, #1D9E75);
  padding: 32px 40px;
  border-radius: 4px;
}
.wv-notice-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 16px;
}
.wv-notice-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wv-notice-box li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  line-height: 1.7;
  color: #3a3a3a;
}
.wv-notice-box li:last-child { border-bottom: 0; }
.wv-notice-box li strong {
  color: #1A1A1A;
  font-weight: 700;
  display: inline-block;
  min-width: 72px;
}
.wv-notice-box a {
  color: var(--color-accent, #1D9E75);
  font-weight: 600;
  text-decoration: none;
}
.wv-notice-box a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .wv-notice-box { padding: 24px 20px; }
  .wv-notice-box li strong { display: block; min-width: 0; margin-bottom: 4px; }
}

/* ============================================================
   wv — 2차-5 · 워크숍 카드 재구성 (v3 · 가로 1행)
   기존 .wv-workshop-card 재정의 · 신규 클래스 없이 최소 침습
   ============================================================ */
.wv-workshop-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 36px 40px;
  max-width: var(--max-width-lg, 1200px);
  margin: 0 auto;
}
.wv-workshop-card .wv-workshop-stats {
  display: flex;
  gap: 40px;
  text-align: left;
  margin: 0;
  flex-wrap: wrap;
}
.wv-workshop-card .wv-workshop-stat { text-align: left; }
.wv-workshop-card .wv-workshop-stat strong {
  font-family: var(--font-body, Pretendard);
  font-weight: 900;
  font-size: 28px;
  color: #1A1A1A;
  line-height: 1;
}
.wv-workshop-card .wv-workshop-stat span {
  font-size: 12.5px;
  color: #666;
  margin-top: 6px;
}
.wv-workshop-card .wv-workshop-actions {
  display: flex;
  gap: 12px;
  margin-top: 0;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .wv-workshop-card {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
    gap: 24px;
  }
  .wv-workshop-card .wv-workshop-actions { justify-content: stretch; }
  .wv-workshop-card .wv-workshop-actions .btn { flex: 1; text-align: center; }
}

/* ============================================================
   wv — 2차-5 · /programs/ OTHER COURSES 5카드 그리드
   신규 .wv-other-grid · 기존 .wv-feature-grid 영향 없음
   ============================================================ */
.wv-other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: var(--max-width-lg, 1200px);
  margin: 0 auto;
}
.wv-other-grid .wv-feature-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color 0.15s, transform 0.15s;
}
.wv-other-grid .wv-feature-card:hover {
  border-color: var(--color-accent, #1D9E75);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .wv-other-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   wv — 2차-6R · 카드 레이아웃 정합 (cms · wsg)
   1) LEARNING PATH 4-step modifier
   2) .wv-level-card 높이 균등 + 버튼 하단 정렬
   3) is-featured MOST POPULAR 배지 → 카드 내부 상단 이동
   ============================================================ */

/* LEARNING PATH — 4-step 모드 (CMS) */
.wv-path.wv-path--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* .wv-level-grid — 카드 높이 균등 (align-items: stretch 는 grid 기본이지만 명시) */
.wv-level-grid { align-items: stretch; }

/* .wv-level-card — 세로 flex + 버튼 하단 정렬 · height 100% */
.wv-level-card { height: 100%; }
.wv-level-card > a.btn,
.wv-level-card > .btn { margin-top: auto; }

/* .wv-level-card.is-featured — translateY 제거 (높이 균등) · 배지 카드 내부 배치 */
.wv-level-card.is-featured {
  transform: none;
  padding-top: 60px;   /* MOST POPULAR 배지 공간 확보 */
}
.wv-level-card.is-featured::after {
  top: 16px;           /* 카드 밖(-14px) → 카드 안(16px) */
}

/* .wv-level-card--highlight — 강조 카드 (틸 보더) 도 동일 처리 · 일관성 */
.wv-level-card.wv-level-card--highlight {
  padding-top: 60px;
}
.wv-level-card--highlight::before {
  top: 16px;
}

/* wv-mode-detail-link (2차-6 코스 03 워크숍 카드 · 회색 배경 대비) */
.wv-mode-detail-link {
  display: inline-block;
  color: var(--color-accent, #1D9E75);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
  padding: 6px 0;
  align-self: flex-start;
}
.wv-mode-detail-link:hover { border-bottom-color: var(--color-accent, #1D9E75); }

/* wv-level-card--soon · COMING SOON 상태 (배지 없음 · 틸 점선) */
.wv-level-card--soon {
  border: 2px dashed var(--color-accent, #1D9E75);
  background: rgba(29, 158, 117, 0.03);
}

/* wv — /about/ 강사진 재구성 (2차-7 · 최소 CSS) */
.wv-instructor-lead {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  max-width: var(--max-width-lg, 1200px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 40px;
}
.wv-instructor-lead-photo img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.wv-instructor-lead h3 {
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 700;
}
.wv-instructor-role {
  color: var(--color-text-mute, #999);
  font-size: 15px;
  font-weight: 400;
}
.wv-instructor-sub {
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.wv-instructor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wv-instructor-list li {
  font-size: 13.5px;
  color: #555;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.wv-instructor-list li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--color-accent, #1D9E75);
  font-weight: 700;
}
.wv-instructor-mini-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
@media (max-width: 760px) {
  .wv-instructor-lead {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }
  .wv-instructor-lead-photo { max-width: 200px; margin: 0 auto; }
  .wv-instructor-list li { text-align: left; }
}

/* ============================================================
   wv — 모바일 반응형 정합 (2차-8 · 640px 통일)
   신규 규칙만 640px · 기존 규칙 유지 · 인라인 style 오버라이드용 !important
   ============================================================ */
@media (max-width: 640px) {
  /* 카드 그리드 강제 1열 (인라인 grid-template-columns 오버라이드) */
  .wv-level-grid,
  .wv-path,
  .wv-feature-grid,
  .wv-step-grid,        /* 08-13 추가 — 인라인 3열 페이지의 모바일 찌그러짐 방지 */
  .modes-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  /* 학습경로 화살표 모바일 숨김 (::4에는 없지만 3-step wv-path에도 대비) */
  .wv-path .wv-path-arrow { display: none; }
}

/* wv — 2차-8 ④ 코스 히어로 인증 로고 크기 통일 (1규칙) */
.page-hero .hero-cert-badge {
  height: 40px !important;
  width: auto !important;
  max-width: 220px;
  margin-bottom: 22px;
  display: block;
}

/* ===== HUB HERO 통일 (2차-9 · 2026-07-28) ===== */
.wv-hub-hero{position:relative}
.wv-hub-hero::before{content:'';position:absolute;inset:0;background:rgba(17,24,39,.65)}
.wv-hub-hero .hero-inner{position:relative;z-index:1;text-align:center}
.wv-hub-hero .hero-logo-img{height:96px;width:auto;display:inline-block}
.wv-hub-hero--wset .hero-logo-img{height:112px}
.wv-hub-hero .eyebrow{display:block;margin:20px 0 10px}
.wv-hub-hero .page-title{font-size:clamp(38px,5vw,58px);font-weight:800;letter-spacing:-0.02em}
.wv-hub-hero .hero-mission{max-width:640px;margin:14px auto 30px}
@media(max-width:640px){
  .wv-hub-hero .hero-logo-img{height:72px}
  .wv-hub-hero--wset .hero-logo-img{height:84px}
}

/* ===== WSG 국가 4버튼 · 2×2 균등 그리드 (2차-9 마감) ===== */
.wv-country-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  max-width:520px;
  margin-left:auto;
  margin-right:auto;
}
.wv-country-grid .btn{width:100%}
@media(max-width:640px){
  .wv-country-grid{gap:10px;max-width:100%}
}

/* ===== 코스 히어로 로고 확대 (2차-9 마감R · 허브 불변) ===== */
.wv-course-hero.wv-hub-hero--wset .hero-logo-img{height:112px}
.wv-course-hero.wv-hub-hero--wsg .hero-logo-img{height:96px}
@media(max-width:640px){
  .wv-course-hero.wv-hub-hero--wset .hero-logo-img{height:84px}
  .wv-course-hero.wv-hub-hero--wsg .hero-logo-img{height:72px}
}

/* ===== 로고 캡 해제 (2차-9 capfix · cert-logo max-height 56px 무력화) ===== */
.wv-course-hero .hero-logo-img{max-height:none;max-width:none}
.wv-hub-hero .hero-logo-img{max-height:none;max-width:none}

/* ===== 히어로 수직 규격 통일 · 코스→허브 값 (2차-9 vrhythm) =====
   원본 L3553~3561 유지 · .wv-course-hero.wv-hub-hero (0-2-0) 로 오버라이드
   flex 유지 + gap 0. flex 는 마진 상쇄가 없으므로 title→mission 구간은
   허브의 상쇄 결과(24px)와 맞추기 위해 mission margin-top 을 0 으로 둔다. */
.wv-course-hero.wv-hub-hero{padding:120px 0 100px}
.wv-course-hero.wv-hub-hero .hero-inner{gap:0}
.wv-course-hero.wv-hub-hero .page-title{margin:0 0 24px;line-height:1.2}
.wv-course-hero.wv-hub-hero .hero-mission{margin-top:0}
.wv-course-hero.wv-hub-hero .hero-cta{margin-top:0}
/* 3층(.wv-hero-l3)에서는 규격 간격이 실효되어야 한다 — v1.2 패치에서
   위 (0-3-0) 규칙이 .wv-hero-l3 .hero-cta (0-2-0) 를 이겨 0 으로 눌렸다.
   flex + gap:0 구조라 마진 상쇄는 없고, 순수 특이도 문제였다. (v1.3) */
.wv-hero-l3.wv-course-hero.wv-hub-hero .hero-cta,
.wv-hero-l3.wv-course-hero .hero-cta { margin-top: clamp(24px, 3vw, 36px); }
@media(max-width:768px){
  .wv-course-hero.wv-hub-hero{padding:80px 0 70px}
}
/* 로고 라인박스 아티팩트 제거 — block 레이아웃(허브)에서 inline-block 로고가
   라인박스 디센더 ~7px 를 유발해 코스(flex)와 logo→eyebrow 간격이 어긋남.
   양쪽 모두 block+auto 중앙정렬로 통일 (flex 컨텍스트에선 무영향). */
.wv-hub-hero .hero-logo-img{display:block;margin:0 auto}
.wv-hub-hero .eyebrow{margin-top:36px}

/* ===== 코스 템플릿 · 학습 성과 / 주의 문구 (2026-07-28) ===== */
.wv-course-target-note{margin-top:24px;text-align:center;font-size:14px;color:var(--color-muted,#6b6b6b)}
.wv-course-outcome-list{max-width:760px;margin:0 auto;padding:0;list-style:none;display:grid;gap:14px}
.wv-course-outcome-list li{position:relative;padding-left:28px;font-size:16px;line-height:1.7}
.wv-course-outcome-list li::before{content:'';position:absolute;left:0;top:10px;width:12px;height:12px;border-radius:50%;background:var(--color-accent,#1D9E75)}

/* ============================================================
   검색 (헤더 아이콘 · 모달 · 결과 페이지) — 2026-07-29
   ============================================================ */
.nav-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;
  background:none;border:none;padding:0;cursor:pointer;color:inherit;position:relative;border-radius:2px}
.nav-icon-btn:hover{color:var(--color-accent,#1D9E75)}
.nav-cart-badge{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;
  border-radius:8px;background:var(--color-accent,#1D9E75);color:#fff;font-size:10px;font-weight:700;
  line-height:16px;text-align:center}

.wv-search-form{display:flex;align-items:center;gap:8px;width:100%}
.wv-search-input{flex:1;min-width:0;height:46px;padding:0 14px;font-size:15px;
  border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:#fff;border-radius:2px}
.wv-search-input::placeholder{color:rgba(255,255,255,.5)}
.wv-search-input:focus{outline:none;border-color:var(--color-accent,#1D9E75)}
.wv-search-submit{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;
  border:none;background:var(--color-accent,#1D9E75);color:#fff;cursor:pointer;border-radius:2px;flex:0 0 auto}

.wv-search-modal{position:fixed;inset:0;z-index:9999;background:rgba(10,12,11,.9);
  display:none;align-items:flex-start;justify-content:center;padding:16vh 20px 20px}
.wv-search-modal.is-open{display:flex}
.wv-search-modal-inner{position:relative;width:100%;max-width:640px}
.wv-search-close{position:absolute;top:-46px;right:0;width:36px;height:36px;background:none;border:none;
  color:#fff;font-size:30px;line-height:1;cursor:pointer}

.mobile-drawer-search{padding:0 0 16px}
.mobile-drawer-search .wv-search-input{background:rgba(0,0,0,.04);border-color:var(--color-border,#e0e0e0);color:var(--color-text,#1A1A1A)}
.mobile-drawer-search .wv-search-input::placeholder{color:#8a8a8a}

.wv-search-hero-form{max-width:520px;margin:22px auto 0}
.wv-search-results{display:grid;gap:0;max-width:820px;margin:0 auto}
.wv-search-item{padding:26px 0;border-bottom:1px solid var(--color-border,#e6e6e6)}
.wv-search-item:first-child{padding-top:0}
.wv-search-type{display:inline-block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;
  font-weight:700;color:var(--color-accent,#1D9E75);margin-bottom:8px}
.wv-search-title{font-size:20px;line-height:1.4;margin:0 0 8px}
.wv-search-title a{color:inherit;text-decoration:none}
.wv-search-title a:hover{color:var(--color-accent,#1D9E75)}
.wv-search-excerpt{font-size:15px;line-height:1.7;color:#5a5a5a;margin:0 0 10px}
.wv-search-more{font-size:14px;font-weight:600;color:var(--color-accent,#1D9E75);text-decoration:none}
.wv-search-pagination{margin-top:40px;text-align:center}
.wv-search-empty{max-width:620px;margin:0 auto;text-align:center}
.wv-search-empty h2{font-size:24px;margin-bottom:12px}
.wv-search-empty p{color:#5a5a5a;margin-bottom:26px}

@media(max-width:640px){
  .nav-icon-btn{width:34px;height:34px}
  .wv-search-modal{padding:12vh 16px 20px}
  .wv-search-title{font-size:18px}
}

/* ============================================================
   HERO UNIFY v1 — 08-11
   3계층 공통 규격. 페이지별 하드코딩 금지, 이 블록만 고칠 것.
     1층 기능 .wv-hero-l1 : 로고 없음 · 제목 Noto 40px · 높이 420
     2층 허브 .wv-hero-l2 : 로고 60px · 제목 Noto 40px · 높이 460
     3층 코스 .wv-hero-l3 : 로고 44px · 제목 Bebas 44px · 높이 380
   오버레이는 전 계층 rgba(17,24,39,.65) 단일값.
   배경 사진은 각 페이지 유지 — 사진에 색이 입혀진 경우(schedule 보라 등)
   사진은 그대로 두고 오버레이만 표준값을 얹는다.
   ============================================================ */

/* 공통 — 오버레이 · 높이 · 정렬 */
.wv-hero-l1, .wv-hero-l2, .wv-hero-l3 {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0 24px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.wv-hero-l1::before, .wv-hero-l2::before, .wv-hero-l3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.65);
  z-index: 0;
}
.wv-hero-l1 .hero-inner, .wv-hero-l2 .hero-inner, .wv-hero-l3 .hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  word-break: keep-all;
}

/* 높이 — 데스크탑 기준값, 모바일은 하한으로 자연 축소 */
.wv-hero-l1 { min-height: clamp(360px, 44vw, 560px); }
.wv-hero-l2 { min-height: clamp(380px, 44vw, 560px); }
.wv-hero-l3 { min-height: clamp(360px, 42vw, 500px); }

/* 3층 내부 간격 — 요소가 몰려 보이지 않게 (v1.1) */
.wv-hero-l3 .hero-inner { gap: 0; }
.wv-hero-l3 .hero-cert-badge,
.wv-hero-l3 .cert-logo,
.wv-hero-l3 .hero-logo-img { margin: 0 0 clamp(20px, 2.5vw, 32px); }
.wv-hero-l3 .eyebrow { margin: 0 0 clamp(12px, 1.5vw, 18px); }
.wv-hero-l3 .page-title,
.wv-hero-l3 .hero-logo { margin: 0 0 clamp(14px, 1.7vw, 20px); }
.wv-hero-l3 .hero-mission { margin: 0; }
.wv-hero-l3 .hero-cta { margin-top: clamp(24px, 3vw, 36px); }
.wv-hero-l3 .hero-meta { margin-top: clamp(14px, 1.6vw, 20px); }

/* 3층 콘텐츠 확대 (v1.2) — 500px 상자를 채우도록 */
.wv-hero-l3 .hero-mission { font-size: clamp(15px, 1.65vw, 19px); }
.wv-hero-l3 .hero-cta .btn {
  padding: clamp(12px, 1.3vw, 14px) clamp(22px, 2.3vw, 28px);
  font-size: clamp(14px, 1.3vw, 15px);
}

/* 3층 코스가 hub 클래스를 함께 달 때의 충돌 해소 (v1.2)
   page-course.php 는 인증 브랜드가 있으면 wv-hub-hero 를 함께 붙인다.
   그대로 두면 ① ::before 오버레이가 두 겹으로 깔려 배경이 과하게 어두워지고
   ② .wv-hub-hero .hero-logo-img{height:96px/112px} 가 3층 로고 규격을 덮는다.
   3층에서만 무력화한다 — hub 단독(2층)은 그대로 둔다. */
/* 08-13 수정 — 위 규칙은 원래 '이중 오버레이 해소'가 목적이었으나,
   ::before 는 요소당 하나뿐이라 두 겹이 될 수 없었다. transparent 로 두니
   3층 코스(hub 클래스 보유)의 유일한 오버레이까지 꺼져 0겹이 됐다.
   특히 배경 사진이 있는 WSG 4종은 사진 위에 흰 텍스트가 무보호로 얹혔다.
   → 표준 1겹으로 되돌린다. (0,2,1) 이라 has-bg-image 그라데이션도 이긴다. */
.wv-hero-l3.wv-hub-hero::before { background: rgba(17,24,39,.65); }
.wv-hero-l3.wv-hub-hero .hero-logo-img { height: auto; }
.wv-hero-l3.wv-hub-hero .hero-logo-img img,
.wv-hero-l3.wv-hub-hero .cert-logo { max-height: clamp(57px, 5.8vw, 84px); height: auto; width: auto; }

/* eyebrow — 전 계층 공통 */
.wv-hero-l1 .eyebrow, .wv-hero-l2 .eyebrow, .wv-hero-l3 .eyebrow {
  color: var(--color-accent, #1D9E75);
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0;
}

/* 제목 */
.wv-hero-l1 .page-title, .wv-hero-l1 .hero-logo,
.wv-hero-l2 .page-title, .wv-hero-l2 .hero-logo {
  font-family: var(--font-body, Pretendard), sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.24;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
}
.wv-hero-l3 .page-title, .wv-hero-l3 .hero-logo {
  font-family: var(--font-heading, Pretendard), sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
}

/* 서브카피 */
.wv-hero-l1 .hero-mission, .wv-hero-l2 .hero-mission, .wv-hero-l3 .hero-mission {
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  max-width: 720px;
  margin: 0;
  word-break: keep-all;
}

/* 로고 — 1층은 없음, 2층 60px, 3층 44px */
/* 08-12: .wv-hero--brand 예외 폐기. /about/ 도 워드마크를 빼고 텍스트 제목을
   쓰게 되어 1층에 예외가 없어졌다. 헤더 로고와 중복이던 문제도 함께 해소. */
.wv-hero-l1 .hero-logo-img,
.wv-hero-l1 .cert-logo { display: none; }
.wv-hero-l2 .hero-logo-img img,
.wv-hero-l2 .cert-logo,
.wv-hero-l2 .hero-cert-badge { height: auto; max-height: clamp(40px, 4.6vw, 60px); width: auto; }
.wv-hero-l3 .hero-logo-img img,
.wv-hero-l3 .cert-logo,
.wv-hero-l3 .hero-cert-badge { height: auto; max-height: clamp(57px, 5.8vw, 84px); width: auto; }
.wv-hero-l2 .hero-logo-img, .wv-hero-l3 .hero-logo-img { line-height: 1; margin: 0; }

/* 배지·메타·CTA */
.wv-hero-l1 .badge-inline, .wv-hero-l2 .badge-inline, .wv-hero-l3 .badge-inline {
  font-size: clamp(10.5px, 1vw, 12px);
  padding: 6px 14px;
}
.wv-hero-l1 .hero-meta, .wv-hero-l2 .hero-meta, .wv-hero-l3 .hero-meta {
  margin: 4px 0 0;
  font-size: clamp(12px, 1.2vw, 14px);
}
.wv-hero-l1 .hero-cta, .wv-hero-l2 .hero-cta { margin-top: clamp(14px, 1.6vw, 20px); }
/* 08-13: .hero-trust 제거 — /smartlearning/ 히어로 간소화로 사용처 0.
   신뢰 문구는 본문 WHY SMART LEARNING 섹션의 .wv-sl-trust 로 이동했다. */

/* 단어 중간 줄바꿈 금지 — 히어로 전역 */
.wv-hero-l1 *, .wv-hero-l2 *, .wv-hero-l3 * { word-break: keep-all; }

/* /smartlearning/ 신뢰 문구 — 히어로에서 본문으로 이동 (08-13) */
.wv-sl-trust {
  max-width: 780px;
  margin: 0 auto 14px;
  font-size: clamp(12px, 1.15vw, 14px);
  letter-spacing: .01em;
  color: var(--color-text-mute, #777);
  word-break: keep-all;
}

/* ============================================================
   08-13 ① /smartlearning/ HOW IT WORKS — 카드 3장 전용 3열
   기본 .wv-step-grid 는 4열이라 마지막 칸이 컨테이너 배경(선 색)으로
   드러난다. 전역 클래스를 건드리지 않고 modifier 로만 3열 고정.
   인라인 style 을 쓰지 않는 이유: 인라인은 !important 없는 미디어쿼리를
   전부 이겨 모바일에서도 3열로 남는다.
   ============================================================ */
.wv-step-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .wv-step-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .wv-step-grid--3 { grid-template-columns: 1fr; } }

/* ============================================================
   08-14 홈 인증 카드 — B안 타이포 리드형 (로고 사용 폐기)
   로고 3종이 종횡비 3.09~3.72 로 제각각이라 면적을 맞춰도 인상이 갈렸다.
   약칭을 Bebas 로 크게 세우고 정보를 위계로 정리하는 쪽이 안정적이다.
   ============================================================ */



/* ============================================================
   08-13 그리드 빈 셀 일괄 해소 — .wv-feature-grid 태블릿 2열 구간
   컨테이너 배경(선 색) + 카드 흰 배경 구조라, 마지막 줄이 덜 차면
   그 칸이 회색 빈 박스로 드러난다. 홀수 장일 때 마지막 카드를
   한 줄 전체로 늘려 빈 칸 자체를 없앤다.

   :not([style]) — 인라인 grid-template-columns 를 가진 그리드는 제외.
   그쪽은 2열이 아니라 인라인 열 수(4·5열 등)로 렌더되므로 이 보정이
   오히려 정상 배치를 깨뜨린다 (winepower 5카드/5열 등).
   범위를 769~1024 로 못박은 이유: 768 이하는 1열이라 보정이 무의미하다.
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .wv-feature-grid:not([style]) > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   08-13 가로형 로고 시각 무게 보정
   같은 높이를 주면 종횡비가 큰 로고가 훨씬 크게 보인다.
   실측: WSET 오벌 1.34 / CMS 2.67 / WSG 2.75
         → 높이 60px 기준 면적 4,800 vs 9,600 vs 9,900 px² (약 2배)
   면적을 맞추려면 h = sqrt(4800 / r) ≈ 42px (2층) · 31px (3층).
   기관명이 아니라 파일 종횡비(>=2.0)로 판정하므로 로고 교체에도 따라간다.
   ============================================================ */
/* 08-14 v2 — 높이 기준 폐기, 면적 기준으로 전환.
   같은 높이를 주면 종횡비가 큰 로고가 훨씬 크게 보이고, 높이를 낮추면
   이번엔 너무 작아 보인다. 기준은 WSET 오벌의 시각 면적이다.
     2층: /wset/ 은 .wv-hub-hero--wset 로 height:112px (640px 이하 84px).
          WSET h112 × w150 = 16,768 px² → wide 는 max-width 213px
          (CMS 101% · WSG 98%). WSET 이 vw 로 줄지 않으므로 wide 도 고정폭,
          640px 이하에서 함께 160px 로 내린다.
     3층: WSET h84 × w112 = 9,324 px² → wide 는 max-width clamp(108,11.1vw,160)
          (1440 103% · 1280 103% · 1024 103% · 768 100%) — 08-14 2차 상향
   height:auto / max-height:none 을 함께 주는 이유 — .wv-hub-hero 가
   height:96px 를 고정으로 걸어두어, max-width 만 주면 가로만 눌려 찌그러진다. */
.wv-hero-l2 .hero-logo-img.hero-logo--wide,
.wv-hero-l2 img.hero-logo--wide,
.wv-hero-l2 .cert-logo.hero-logo--wide {
  height: auto;
  max-height: none;
  width: auto;
  max-width: 213px;
}
@media (max-width: 640px) {
  .wv-hero-l2 .hero-logo-img.hero-logo--wide,
  .wv-hero-l2 img.hero-logo--wide,
  .wv-hero-l2 .cert-logo.hero-logo--wide { max-width: 160px; }
}
.wv-hero-l3 .hero-logo-img.hero-logo--wide,
.wv-hero-l3 img.hero-logo--wide,
.wv-hero-l3 .cert-logo.hero-logo--wide,
.wv-hero-l3.wv-hub-hero .hero-logo--wide {
  height: auto;
  max-height: none;
  width: auto;
  max-width: clamp(108px, 11.1vw, 160px);
}

/* 로고 ↔ eyebrow 간격 (v2)
   실측: 2층은 .hero-inner 의 flex gap 16px 만, 3층은 gap:0 이라 0px 이었다.
   원인이 로고 하단 여백이므로 그쪽에만 준다 — eyebrow 상단은 건드리지 않는다.
   2층 총간격 = gap 16 + margin(8~20) = 24~36px
   3층 총간격 = gap 0  + margin(20~32) = 20~32px */
.wv-hero-l2 .hero-logo-img { margin-bottom: clamp(8px, 1.4vw, 20px); }
.wv-hero-l3 .hero-logo-img,
.wv-hero-l3 .cert-logo { margin-bottom: clamp(20px, 2.2vw, 32px); }

/* 08-14 인증 카드 ↔ 스마트러닝 블랙 밴드 분리 여백 */
.wv-programs-v2 + .wv-sl-band { margin-top: clamp(64px, 7vw, 104px); }

/* /special-courses/ 허브 — 그래픽 포스터 배경이라 표준 65% 오버레이면
   색이 죽는다. 제목 가독을 지키는 최저값으로 낮춘다. (08-14) */
.wv-hub-hero--special.wv-hero-l2::before { background: rgba(17,24,39,.50); }
.wv-hub-hero--special .page-title,
.wv-hub-hero--special .hero-mission { text-shadow: 0 2px 12px rgba(0,0,0,.55); }

/* /sensory-training/ — 화이트 배경 제품컷. 동일 사유로 완화 + 텍스트 그림자. */
body.page-id-540 .wv-course-hero.wv-hero-l3::before { background: rgba(17,24,39,.50); }
body.page-id-540 .wv-course-hero .page-title,
body.page-id-540 .wv-course-hero .hero-mission { text-shadow: 0 2px 12px rgba(0,0,0,.55); }


/* ============================================================
   개별 글(single.php) — 히어로 · 본문 · 하단 내비   [2026-08-14]
   ------------------------------------------------------------
   전에는 single.php 안의 인라인 <style> 로 들어 있었다.
   인라인은 HTML 과 함께 캐시되므로 ?ver 로 무효화할 수단이 없다.
   외부 style.css 로 옮겨 버전 범프가 실제로 먹도록 한다.
   본문 15px / 제목 clamp(22,3vw,32) — 구 winevision.kr 기준.
   ============================================================ */
/* ---------- 히어로 ---------- */
  .wv-single-hero {
    position: relative; overflow: hidden;
    min-height: clamp(280px, 32vw, 420px);
    display: flex; align-items: center;
    padding: clamp(40px, 4.4vw, 60px) 24px;
    background: #111;
    background-size: cover; background-position: center; background-repeat: no-repeat;
  }
  .wv-single-hero.has-bg::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(17,24,39,.65); z-index: 0;
  }
  .wv-single-hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 720px; margin: 0 auto; text-align: left;
  }
  .wv-single-eyebrow {
    display: inline-block; text-decoration: none;
    font-size: clamp(11px, 1.05vw, 13px); font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--color-accent, #1D9E75); margin: 0 0 14px;
  }
  .wv-single-eyebrow:hover { color: #fff; }
  .wv-single-title {
    font-family: var(--font-body, Pretendard), sans-serif;
    font-size: clamp(22px, 3vw, 32px); font-weight: 700;
    line-height: 1.34; letter-spacing: -.015em; color: #fff;
    margin: 0; word-break: keep-all; overflow-wrap: break-word;
  }
  .wv-single-meta {
    margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.72);
    display: flex; gap: 14px; flex-wrap: wrap;
  }

  /* ---------- 본문 폭·타이포 ---------- */
  .wv-single-wrap { max-width: 720px; }
  .wv-post-content { font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; color:#111; line-height:1.7; font-size:15px; }
  .wv-post-content p { margin: 0 0 .85em; }
  .wv-post-content h1, .wv-post-content h2, .wv-post-content h3, .wv-post-content h4 { margin-top:2em; margin-bottom:.7em; font-weight:700; line-height:1.4; }
  .wv-post-content h2 { font-size:1.44em; }
  .wv-post-content h3 { font-size:1.2em; }
  .wv-post-content img { max-width:100%; height:auto; display:block; margin:1.8em auto; border-radius:6px; }
  .wv-post-content a { color:#1D9E75; }
  .wv-post-content ul, .wv-post-content ol { margin:1em 0; padding-left:1.35em; }
  /* 번호 헤딩(‘1. 과정 안내’ 같은 plain p) 바로 뒤의 목록은 붙인다 */
  .wv-post-content p + ul, .wv-post-content p + ol { margin-top:.4em; }
  .wv-post-content ul, .wv-post-content ol,
  .wv-post-content li { font-size: inherit; line-height: inherit; }
  .wv-post-content li { margin-bottom:.2em; padding-left:.15em; line-height:1.6; }
  .wv-post-content li > ul, .wv-post-content li > ol { margin:.3em 0; }
  .wv-post-content li:last-child { margin-bottom:0; }
  /* 11/16 Jason: 글 본문 목록에 점 · 번호 — 전역 ul,ol{list-style:none} 을 글 본문의 class 없는 목록에서만 되살림(.wv-post-list · 번호 글 목록 .wv-post-numbered 등 class 있는 목록은 그대로) */
  .wv-post-content ul:not([class]) { list-style: disc; }
  .wv-post-content ol:not([class]) { list-style: decimal; }
  .wv-post-content li > ul:not([class]) { list-style: circle; }
  /* 빈 문단은 the_content 필터가 .wv-post-gap 으로 바꿔 놓는다.
     CSS 셀렉터로 가르려던 이전 방식은 두 줄 문단까지 눌러 겹침을 만들었다. */
  .wv-post-content .wv-post-gap { height:.3em; }
  /* 소제목 문단 — 위는 띄우고 아래(본문·목록)는 붙인다 */
  .wv-post-content .wv-post-h { margin:1.5em 0 .3em; font-weight:700; color:#111; }
  .wv-post-content .wv-post-h:first-child { margin-top:0; }
  .wv-post-content .wv-post-h + ul, .wv-post-content .wv-post-h + ol { margin-top:.2em; }
  /* 이관 본문의 구분선 */
  .wv-post-rule { border:0; border-top:1px solid #E8E5E0; margin:.9em 0; }
  .wv-post-content .wv-post-list { list-style:none; padding-left:.2em; }
  .wv-post-content .wv-post-list > li { position:relative; padding-left:1em; }
  .wv-post-content .wv-post-list > li::before { content:'·'; position:absolute; left:.15em; color:#999; font-weight:700; }
  .wv-post-content blockquote { border-left:3px solid #1D9E75; padding:.6em 1.1em; margin:1.8em 0; color:#555; background:#F8F8F8; }
  .wv-post-content table { border-collapse:collapse; width:100%; margin:1.8em 0; font-size:14px; }
  .wv-post-content th, .wv-post-content td { border:1px solid #E0E0E0; padding:9px 12px; }
  .wv-post-content th { background:#F6F6F6; font-weight:700; }
  .wv-post-content iframe { max-width:100%; }
  @media (max-width: 720px) {
    .wv-post-content { font-size:15px; }
    .wv-single-hero { padding: 34px 20px; }
  }

  /* ---------- 하단 내비 ---------- */
  .wv-single-nav { padding: 0 0 72px; }
  .wv-postnav { border-top: 1px solid #E5E5E5; margin: 0 0 28px; }
  .wv-postnav-row {
    display: flex; align-items: baseline; gap: 16px;
    padding: 18px 4px; border-bottom: 1px solid #E5E5E5;
    text-decoration: none; color: #111;
    transition: color .2s ease, background .2s ease;
  }
  .wv-postnav-row:hover { color: var(--color-accent, #1D9E75); background: #FAFAFA; }
  .wv-postnav-dir {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #999;
    min-width: 78px;
  }
  .wv-postnav-row:hover .wv-postnav-dir { color: var(--color-accent, #1D9E75); }
  .wv-postnav-arrow { transition: transform .2s ease; }
  .wv-postnav-row:hover .wv-postnav-arrow { transform: translateX(-2px); }
  .wv-postnav-title {
    font-size: 15px; line-height: 1.5; word-break: keep-all;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
    -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  }
  .wv-postnav-actions { text-align: left; }
  /* .btn-ghost 는 다크 히어로 전용(color:#fff)이라 흰 본문 위에서 글자가 사라진다.
     밝은 배경용으로 이 자리에서만 덮어쓴다 — 전역 .btn-ghost 는 건드리지 않는다. */
  /* 코스 modes 섹션(.wv-course-modes, 배경 #fff)도 같은 결함이 있었다. */
  .wv-course-modes .btn-ghost, .wv-postnav-actions .btn-ghost {
    background: #fff; color: var(--color-dark, #111); border-color: #DDD;
  }
  .wv-course-modes .btn-ghost:hover, .wv-postnav-actions .btn-ghost:hover {
    background: #FAFAFA; color: var(--color-accent, #1D9E75);
    border-color: var(--color-accent, #1D9E75);
  }
  @media (max-width: 560px) {
    .wv-postnav-row { flex-direction: column; gap: 6px; }
    .wv-postnav-dir { min-width: 0; }
  }

  /* ===== 아임웹 임포트 콘텐츠 보정 (2026-07-23) ===== */
  .wv-post-content .fr-dii, .wv-post-content .fr-dib { display:inline-block; vertical-align:middle; }
  .wv-post-content .fr-fic { display:block; margin:1.8em auto; }
  .wv-post-content .fr-fil { float:left; margin:0 1.5em 1em 0; max-width:50%; }
  .wv-post-content .fr-fir { float:right; margin:0 0 1em 1.5em; max-width:50%; }
  .wv-post-content .fr-video { display:block; margin:1.8em auto; text-align:center; max-width:100%; }
  .wv-post-content .fr-video iframe { max-width:100%; }
  .wv-post-content iframe { display:block; margin:1.8em auto; width:100%; max-width:100%; aspect-ratio:16/9; border:0; }
  .wv-post-content a.btn { display:inline-block; padding:10px 20px; border-radius:8px; text-decoration:none; font-size:14px; font-weight:500; margin:6px 2px; transition:background .15s; }
  .wv-post-content a.btn-primary { background:#1D9E75; color:#fff !important; }
  .wv-post-content a.btn-primary:hover { background:#178862; }
  .wv-post-content a.btn-default { background:#fff; color:#111 !important; border:1px solid #E0E0E0; }
  .wv-post-content a.btn-default:hover { background:#F8F8F8; border-color:#1D9E75; }
  .wv-post-content .comment_section,
  .wv-post-content .comment-block,
  .wv-post-content .btn-group-comment,
  .wv-post-content .btn-gruop-wrap,
  .wv-post-content .btn-gruop,
  .wv-post-content .action-area,
  .wv-post-content .file_area,
  .wv-post-content .tools,
  .wv-post-content .list_tap,
  .wv-post-content .table_bottom,
  .wv-post-content a.btn.btn-primary.btn-sm.float_l,
  .wv-post-content .secret_icon { display:none !important; }
  .wv-post-content .clearfix::after { content:""; display:table; clear:both; }
  .wv-post-content .over_h { overflow-x:auto; }


/* ============================================================
   직답 블록 (.wv-answer-box)  [2026-08-14]
   페이지 상단 섹션에서 "질문에 먼저 답하는" 문단.
   첫 문장이 곧 답이고, 나머지가 근거다.
   ============================================================ */
.wv-answer-box {
  max-width: 860px; margin: 0 auto clamp(28px, 3.4vw, 44px);
  padding: clamp(20px, 2.2vw, 28px) clamp(22px, 2.6vw, 32px);
  background: #FAFAF8; border: 1px solid #E8E5E0;
  border-left: 3px solid var(--color-accent, #1D9E75);
  border-radius: 4px;
}
.wv-answer-box h3 {
  margin: 0 0 10px; font-size: clamp(15px, 1.5vw, 17px); font-weight: 700;
  letter-spacing: -.01em; color: var(--color-dark, #111);
}
.wv-answer-box p {
  margin: 0; font-size: clamp(14px, 1.35vw, 15.5px); line-height: 1.85;
  color: #444; word-break: keep-all;
}
.wv-answer-box p + p { margin-top: .9em; }
.wv-answer-box strong { color: var(--color-dark, #111); font-weight: 700; }
.wv-course-included { padding-top: 0; }
@media (max-width: 640px) {
  .wv-answer-box { padding: 18px 18px; margin-bottom: 26px; }
}


/* ============================================================
   /about/ — 산문 섹션 · 지도 임베드   [2026-08-16]
   ============================================================ */
.wv-prose { max-width: 780px; margin: 0 auto; }
.wv-prose p {
  margin: 0 0 1.1em; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.9;
  color: #444; word-break: keep-all;
}
.wv-prose p:last-child { margin-bottom: 0; }
.wv-prose a { color: var(--color-accent, #1D9E75); }
/* 지도가 들어오면 가운데 정렬용 flex 를 풀어야 iframe 이 꽉 찬다 */
.wv-contact-map--links {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 0 20px 28px; text-align: center; overflow: hidden;
}
.wv-map-img { display: block; width: 100%; line-height: 0; }
.wv-map-img img {
  display: block; width: 100%; height: auto;
  transition: opacity .2s ease;
}
.wv-map-img:hover img { opacity: .92; }
.wv-map-addr { margin: 20px 0 0; font-size: 15px; line-height: 1.7; color: var(--color-dark, #111); }
.wv-map-addr span { font-size: 13.5px; color: #777; }
.wv-map-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wv-map-btns .btn { font-size: 14px; padding: 12px 20px; }


/* 홈 인증 섹션 다이어트 [2026-08-16]
   리드 문단을 걷어내 통계만 남으면 2열 그리드가 한쪽으로 쏠린다.
   좌측 보더·패딩을 풀고 가로 스트립으로 눕힌다. */
.wv-prog-stats--row {
  border-left: 0; padding-left: 0;
  flex-direction: row; flex-wrap: wrap; justify-content: center;
  gap: 20px clamp(28px, 4vw, 56px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 760px) {
  .wv-prog-stats--row { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============================================================
   홈 최종 — 인증 섹션 · 갈림길 4타일
   목업: ~/Downloads/홈-최종확정-목업.html (2026-08-16)
   수치는 목업 그대로. 섹션 상하 패딩만 테마 스케일(.wv-section)을 따른다.
   ============================================================ */

/* ── ① 국제 표준의 와인 교육 ── */
.wv-programs-v2 .section-header { text-align: center; }
.wv-prose--center { max-width: 760px; margin: 22px auto 0; text-align: center; }
.wv-prose--center p {
  margin: 0; font-size: 15.5px; line-height: 1.85; color: #333; word-break: keep-all;
}
.wv-prog-stats--row {
  border-left: 0; padding-left: 0;
  flex-direction: row; flex-wrap: wrap; justify-content: center;
  gap: 28px 64px;
  max-width: 820px; margin: 44px auto 0;
}
.wv-prog-stats--row .wv-ps-row { flex-direction: column; align-items: center; gap: 4px; }
.wv-prog-stats--row .wv-ps-num { font-size: 36px; min-width: 0; line-height: 1; }
.wv-prog-stats--row .wv-ps-num span {
  font-size: 22px; color: var(--color-accent, #1D9E75); margin-left: 2px; font-weight: 700; letter-spacing: 0;
}
.wv-prog-stats--row .wv-ps-label {
  font-size: 12.5px; color: #888; text-align: center; line-height: 1.5;
}
.wv-center-cta { text-align: center; margin: 44px 0 0; }

/* ── ② 갈림길 4타일 ── */
.wv-start-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 920px; margin: 34px auto 0;
}
.wv-start-tile {
  position: relative; overflow: hidden; display: block;
  background: #fff; border: 1px solid #E2E2E0; border-radius: 12px;
  padding: 26px; color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
/* 좌측 틸 바 — hover 시 위에서 아래로 자란다 */
.wv-start-tile::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--color-accent, #1D9E75);
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.wv-start-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.07); }
.wv-start-tile:hover::before { transform: scaleY(1); }
.wv-start-tile h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.wv-start-tile p {
  margin: 9px 0 0; font-size: 14px; line-height: 1.65; color: #555; word-break: keep-all;
}
.wv-start-link {
  display: inline-block; margin-top: 14px;
  font-size: 13.5px; font-weight: 500; color: var(--color-accent, #1D9E75);
  transition: transform .2s ease;
}
.wv-start-tile:hover .wv-start-link { transform: translateX(3px); }

@media (max-width: 700px) {
  .wv-start-grid { grid-template-columns: 1fr; }
  .wv-prog-stats--row { gap: 22px 36px; }
}


/* ============================================================
   /about/ 도입부 — OPTION B (중앙 정렬 산문 + 슬로건)   [2026-08-16]
   ============================================================ */
.wv-about-intro { text-align: center; }
.wv-about-intro .section-header { text-align: center; }
.wv-about-lead { max-width: 720px; margin: 22px auto 0; }
.wv-about-lead p {
  margin: 0 0 1.15em; font-size: 15.5px; line-height: 1.95;
  color: #333; word-break: keep-all;
}
.wv-about-lead p:last-child { margin-bottom: 0; }
.wv-about-lead a {
  color: var(--color-accent, #1D9E75);
  border-bottom: 1px solid rgba(29,158,117,.35);
  text-decoration: none; transition: border-color .2s ease;
}
.wv-about-lead a:hover { border-bottom-color: var(--color-accent, #1D9E75); }
.wv-about-mission { color: #555; margin-top: 1.5em !important; }
/* 슬로건 — 위에 36×3px 틸 라인 */
.wv-about-slogan {
  margin: 44px 0 0; font-size: 21px; font-weight: 700;
  color: var(--color-dark, #111); letter-spacing: -.01em;
}
.wv-about-slogan::before {
  content: ''; display: block; width: 36px; height: 3px;
  background: var(--color-accent, #1D9E75); margin: 0 auto 22px;
}
@media (max-width: 700px) {
  .wv-about-lead p { font-size: 15px; line-height: 1.85; }
  .wv-about-slogan { font-size: 18px; margin-top: 36px; }
}


/* 교육 현장 사진 밴드 — 오버레이·텍스트 없는 시각 브레이크 */
.wv-photo-band {
  height: clamp(280px, 36vw, 460px);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* /about/ 연혁 — 틸 세로선 + 도트 타임라인 */
.wv-hist { list-style: none; margin: 0 auto; padding: 0; max-width: 620px; }
.wv-hist li {
  position: relative; display: flex; gap: 24px;
  padding: 0 0 30px 0;
}
.wv-hist li::before {          /* 세로선 */
  content: ''; position: absolute; left: 5px; top: 16px; bottom: 0;
  width: 1px; background: var(--color-border, #E8E5E0);
}
.wv-hist li:last-child { padding-bottom: 0; }
.wv-hist li:last-child::before { display: none; }
.wv-hist li::after {           /* 도트 */
  content: ''; position: absolute; left: 0; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--color-accent, #1D9E75);
}
.wv-hist-year {
  flex: 0 0 auto; min-width: 58px; margin-left: 30px;
  font-family: var(--font-heading, Pretendard), sans-serif;
  font-weight: 800;
  font-size: 23px; line-height: 1.2; color: var(--color-accent, #1D9E75);
}
.wv-hist-body { flex: 1 1 auto; }
.wv-hist-body h4 {
  margin: 0 0 5px; font-size: 15.5px; font-weight: 700;
  line-height: 1.45; color: var(--color-dark, #111);
}
.wv-hist-body p {
  margin: 0; font-size: 14px; line-height: 1.65; color: #666; word-break: keep-all;
}
@media (max-width: 560px) {
  .wv-hist li { gap: 14px; padding-bottom: 24px; }
  .wv-hist-year { min-width: 48px; margin-left: 26px; font-size: 20px; }
  .wv-hist-body h4 { font-size: 15px; }
  .wv-hist-body p { font-size: 13.5px; }
}

/* /programs/ 스페셜 코스 — 4장 2×2 (auto-fit 3열 + 고아 1장 해소) */
.wv-other-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .wv-other-grid--2 { grid-template-columns: 1fr; } }

/* 기업·단체 교육 — 갈림길 타일 문법 재사용, 2열 고정 */
.wv-start-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; }
@media (max-width: 700px) { .wv-start-grid--2 { grid-template-columns: 1fr; } }

/* 표 안 단서 표기 — 「1,170,000원 (L2 기준)」의 괄호 부분 */
.wv-note { font-size: 12px; color: #888; font-weight: 400; white-space: nowrap; }

/* /faq/ 개편 — 많이 묻는 질문 블록 · 칩 미선택 기본 상태 [2026-08-16] */
.wv-faq-top { margin-bottom: 36px; }
.wv-faq-top-title {
  font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; margin: 0 0 16px;
  color: var(--color-dark, #111);
}
.wv-faq-cats { margin-bottom: 24px; }
.wv-faq-group { display: none; }        /* 초기 숨김 — JS 가 칩 선택 시 연다 */

/* /wsg/ 스탯 하단 단서 */
.wv-stat-note { margin: 14px 0 0; font-size: 12px; color: #888; line-height: 1.6; }

/* /special-courses/ 스탯 라벨 보조 설명 */
.stat span small { display: block; margin-top: 3px; font-size: 11px; color: #999; line-height: 1.5; }

/* /winepower/ 문의 보조 채널 한 줄 */
.wv-contact-alt { text-align: center; margin: 14px 0 0; font-size: 13.5px; color: #777; }
.wv-contact-alt a { color: var(--color-accent, #1D9E75); }

/* ── 코스 페이지 · 일정 빈 상태 (2026-08-18) ───────────────────────
   개강 회차가 아직 등록되지 않은 과정. 죽은 안내문 대신 알림 신청을 받는다. */
.wv-schedule-empty { padding: 44px 24px; text-align: center; background: #FAFAF8;
    border: 1px solid #E8E5E0; border-radius: 8px; }
.wv-schedule-empty-lead { margin: 0; font-size: 17px; font-weight: 600; color: #333; }
.wv-schedule-empty-sub { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: #777; word-break: keep-all; }
.wv-schedule-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* ── 코스 페이지 · 한글 제목 줄바꿈 안전 (2026-08-18, D17) ──────────
   Bebas → Noto 전환으로 한글 제목의 실제 글자폭이 늘었다.
   keep-all 없이는 모바일에서 "추천합/니다" 처럼 어절 중간이 끊긴다. */
.course-overview-title,
.wv-course-target h2,
.wv-course-curriculum h2,
.wv-course-schedule h2,
.wv-course-faq-section h2,
.wv-course-cta-band h2,
.wv-course-hero .page-title,
.target-title,
.curriculum-title,
.wv-course-target-card h4,
.wv-course-curriculum-body h4,
.wv-mode-card h3 { word-break: keep-all; overflow-wrap: break-word; }

@media (max-width: 640px) {
    .course-overview-title,
    .wv-course-target h2,
    .wv-course-curriculum h2,
    .wv-course-schedule h2,
    .wv-course-faq-section h2,
    .target-title,
    .curriculum-title { font-size: clamp(1.5rem, 6.4vw, 2rem); margin-bottom: 32px; }
    .wv-course-cta-band h2 { word-break: keep-all; }
    .wv-schedule-empty-actions { flex-direction: column; align-items: stretch; }
}

/* ── 코스 FAQ 섹션 하단 · 전체 FAQ 진입 (2026-08-19) ─────────────
   페이지 FAQ 는 6~8문항. 끝까지 읽었다는 건 답을 못 찾았다는 뜻이라
   결제 CTA 로 넘기기 전에 /faq/ (8분류 61문항) 로 한 번 받아준다. */
.wv-faq-more { margin-top: 32px; text-align: center; }
.wv-faq-more p { margin: 0 0 14px; font-size: 15px; color: #777; }

/* ── /enroll/ 수강 신청 목록 (2026-08-19) ──────────────────────────
   설명은 코스 페이지가 맡고, 여기는 "고르고 담는" 한 줄 목록만 담당한다. */
/* 배경 이미지가 없는 히어로 — 가운데 정렬과 여백을 직접 잡는다.
   max-width 만 주고 margin:auto 를 빼면 블록이 왼쪽으로 쏠린다 (2026-08-19) */
.wv-enroll-hero { padding: clamp(64px, 8vw, 96px) 0 clamp(56px, 7vw, 80px); }
.wv-enroll-hero .hero-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px; max-width: 760px; margin: 0 auto;
}
.wv-enroll-hero .page-title { margin: 0; }
.wv-enroll-hero .hero-mission {
  max-width: 620px; margin: 0 auto;
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1.75; word-break: keep-all;
}
.wv-enroll-group { padding: clamp(56px,7vw,88px) 0; }
.wv-enroll-list { max-width: 940px; margin: 36px auto 0; }
.wv-enroll-row {
  display: grid;
  /* 가격·버튼 칸을 고정 폭으로 잡는다 (2026-08-21).
     auto 로 두면 칸 너비가 행마다 내용에 맞춰 달라져, 금액의 오른쪽 끝과
     버튼의 왼쪽 끝이 줄마다 어긋난다 — "개강 회차 선택 →" 처럼 라벨이 긴
     행이 가격을 왼쪽으로 밀어낸다. */
  /* 2026-09-10 — 버튼 칸 176 → 236 (카드 안 버튼 폭 통일). 940px 행에서 1fr 이 60px 줄어든다. */
  grid-template-columns: 1fr 120px 236px;
  grid-template-areas: "info price action" "more more more";
  align-items: center;
  gap: 6px 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border, #E8E5E0);
}
.wv-enroll-row:first-child { border-top: 1px solid var(--color-border, #E8E5E0); }
.wv-enroll-info   { grid-area: info; }
.wv-enroll-info h3 { margin: 0; font-size: 16px; font-weight: 600; color: #111; word-break: keep-all; }
.wv-enroll-mode   { margin: 4px 0 0; font-size: 13px; color: #888; }
.wv-enroll-price  { grid-area: price; font-size: 15px; font-weight: 600; color: #111; white-space: nowrap; text-align: right; }
.wv-enroll-price del { font-weight: 400; color: #aaa; margin-right: 4px; }
.wv-enroll-action { grid-area: action; justify-self: stretch; }
/* 버튼·플레이스홀더·알림 버튼 모두 칸을 꽉 채워 좌우 끝을 맞춘다. */
.wv-enroll-action > * {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
}
.wv-enroll-action .wv-enroll-placeholder { padding: 10px 12px; }
.wv-enroll-more   { grid-area: more; }
.wv-enroll-more a { font-size: 13px; color: var(--color-accent, #1D9E75); }
@media (max-width: 720px) {
  .wv-enroll-row {
    grid-template-columns: 1fr 168px;
    grid-template-areas: "info info" "price action" "more more";
    gap: 10px 16px;
  }
  .wv-enroll-price { font-size: 16px; text-align: left; }
}

/* ── 접근성 전용 텍스트 숨김 (2026-08-19) ─────────────────────────
   WooCommerce 가변 상품 가격이 "가격 범위: ₩290,000~₩340,000" 를
   .screen-reader-text 로 덧붙이는데, 규칙이 없어 화면에 그대로 보였다. */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; padding: 0;
  overflow: hidden; position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto;
  display: block; top: 5px; left: 5px; padding: 15px 23px 14px;
  background: #fff; color: #111; z-index: 100000; font-size: 14px;
}

/* ── 코스 수강방식 하단 · 전체 과정 보조 링크 (2026-08-19) ─────── */
/* ── 부가 상품 (2026-09-10) ──────────────────────────────
   갈래(대면 정규 / 스마트러닝) 카드와 «층이 다르다».
   카드처럼 보이면 네 번째 갈래로 읽히므로, 카드가 아니라
   구분선 아래 목록으로 낮춘다. 테두리·그림자·번호 없음. */
.wv-addons { margin-top: 34px; padding-top: 28px; border-top: 1px solid #E8E8E8; }
/* 머리말 없음 (2026-09-10) — 항목 이름이 곧 제목이다. 「추가로 붙일 수 있는 것」 같은
   설명을 얹으면 부속처럼 읽히고, 이름을 두 번 말하게 된다. */
/* 항목이 1건이면 두 칸 중 하나가 비어 어색하다. 개수에 맞춰 채운다. */
.wv-addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.wv-addon {
  background: #FAFAFA; border: 1px solid #EFEFEF; border-radius: 8px; padding: 16px 18px;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "body price" "cta cta";
  column-gap: 14px; row-gap: 12px; align-items: end;
}
.wv-addon-body { grid-area: body; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wv-addon-price {
  grid-area: price; font-size: 20px; font-weight: 700; color: #111; line-height: 1.2; white-space: nowrap;
}
.wv-addon-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }
.wv-addon-price del { display: none; }
.wv-addon-label { font-size: 15px; font-weight: 600; color: #111; }
.wv-addon-sub { font-size: 12.5px; color: var(--color-accent, #1D9E75); font-weight: 600; }
.wv-addon-note { margin: 5px 0 0; font-size: 13px; line-height: 1.6; color: #666; }
/* ── 강조 카드 (2026-09-10) ─────────────────────────────────
   배지는 카드 «안» 상단에 둔다. 카드 밖으로 빼면 그리드 정렬이 흔들린다
   (.wv-level-card.is-featured 에서 이미 겪어 6049행에서 안으로 옮긴 전례). */
.wv-mode-card.is-featured {
  border-color: var(--color-accent, #1D9E75);
  box-shadow: 0 0 0 1px var(--color-accent, #1D9E75);
  padding-top: 44px;                 /* 배지 자리 */
}
.wv-mode-card.is-featured::after {
  content: '추천';
  position: absolute; top: 16px; right: 26px;
  background: var(--color-accent, #1D9E75); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  padding: 4px 11px; border-radius: 4px; line-height: 1.5;
}
/* 강조 카드는 hover 로 더 뜨지 않는다 — 이미 앞에 나와 있다 */
.wv-mode-card.is-featured:hover { transform: none; }
/* 같은 줄의 카드들이 배지 높이만큼 어긋나지 않게 위 여백을 맞춘다 */
.wv-modes-grid:has(.is-featured) .wv-mode-card { padding-top: 44px; }

/* ── 갈래 카드 내부 구조 (2026-09-10) ───────────────────────
   구성: 설명 → (스마트러닝만) 함께 신청 박스 → 가격 → 구분선 → 버튼
   가격을 버튼 라벨에서 떼어내 카드 바닥에 세운다. 두 카드가 같은 리듬을 갖는다. */
/* 한 갈래 안의 «동등한 상품» 목록. 상하 관계가 없으므로 두 행이 완전히 같은 모양이다.
   테두리·배경·버튼 크기를 나누지 않는다 — 나누는 순간 본품·부속으로 읽힌다. */
.wv-mode-items { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 0; }
.wv-mode-item {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info price" "cta cta";
  column-gap: 14px; row-gap: 12px; align-items: end;
  padding: 16px 0; border-top: 1px solid #EFEFEF;
}
.wv-mode-item:last-child { padding-bottom: 0; }
.wv-mode-item-info { grid-area: info; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wv-mode-item-info strong { font-size: 15px; font-weight: 600; color: #111; }
.wv-mode-item-sub { font-size: 12.5px; color: #666; line-height: 1.5; }
.wv-mode-item-price {
  grid-area: price; font-size: 20px; font-weight: 700; color: #111; line-height: 1.2; white-space: nowrap;
}
.wv-mode-item-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }
.wv-mode-item-price del { display: none; }
.wv-mode-item-cta { grid-area: cta; display: flex; justify-content: flex-end; }
.wv-mode-item-cta .btn-enroll { margin-top: 0; align-self: flex-end; }
.wv-mode-price {
  margin-top: auto; padding-top: 18px; text-align: right;
  font-size: 22px; font-weight: 700; color: #111; line-height: 1.2;
}
.wv-mode-price .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }
.wv-mode-price del { display: none; }
.wv-mode-cta { border-top: 1px solid #EFEFEF; margin-top: 12px; padding-top: 14px; }

/* ── 카드 안 신청 버튼 = 236 × 48 (2026-09-10 판정) ──────────
   구분 기준: «그리드 셀 안에 들어가는 버튼» 은 236×48,
              «섹션 전체를 차지하는 버튼»(히어로·밴드) 은 현행 크기 유지.
   히어로는 화면을 여는 자리라 크기가 달라야 위계가 산다.

   ⚠ /enroll/ 은 같은 자리에서 48(<a>)과 50(<div> placeholder)이 섞여 있었다.
     placeholder 가 div 라 line-height 계산이 달라 2px 커졌다.
     height 를 명시하고 box-sizing 을 맞춰 없앤다. */
.wv-enroll-action .btn-enroll,
.wv-enroll-action .wv-enroll-placeholder,
.modes-grid .mode-card .btn-enroll,
.modes-grid .mode-card .wv-enroll-placeholder,
.workshop-card .btn-enroll,
.workshop-card .wv-enroll-placeholder {
  width: 236px;
  max-width: 100%;
  height: 48px;
  box-sizing: border-box;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13.5px;
  line-height: 1;
  margin-top: auto;
}
@media (max-width: 720px) {
  .wv-enroll-action .btn-enroll,
  .wv-enroll-action .wv-enroll-placeholder,
  .modes-grid .mode-card .btn-enroll,
  .modes-grid .mode-card .wv-enroll-placeholder,
  .workshop-card .btn-enroll,
  .workshop-card .wv-enroll-placeholder { width: 100%; }
}
/* 히어로·밴드 CTA (/leveltest/ .wv-retake-cta 등) 는 위 규칙에 걸리지 않는다 — 현행 유지 */

/* ── 신청 버튼 폭 고정 (2026-09-10) ─────────────────────────
   .btn-enroll 은 width:100% 라 카드 폭만큼 늘어나고, 부가에서 auto 로 두면
   글자 수(«개강 회차 선택 → ₩2,190,000» vs «신청하기 → ₩210,000»)만큼
   폭이 제각각이 된다. 라벨 길이와 무관하게 같은 크기로 고정한다.
   좁은 화면에서는 폭 고정을 풀어 잘리지 않게 한다. */
.wv-mode-cta .btn-enroll,
.wv-mode-cta .wv-enroll-placeholder,
.wv-mode-item-cta .btn-enroll,
.wv-mode-item-cta .wv-enroll-placeholder,
.wv-addon-cta .btn-enroll,
.wv-addon-cta .wv-enroll-placeholder,
.wv-mode-product-cta .btn-enroll,
.wv-mode-product-cta .wv-enroll-placeholder {
  width: 236px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 11px 14px;
  font-size: 13.5px;
}
/* 갈래 카드 — 버튼을 카드 오른쪽 아래에 둔다.
   .btn-enroll 의 align-self:stretch 가 align-items 를 이기므로 여기서 덮는다. */
.wv-mode-cta { align-items: flex-end; }
.wv-mode-cta .btn-enroll,
.wv-mode-cta .wv-enroll-placeholder,
.wv-mode-cta .wv-mode-detail-link { align-self: flex-end; }
/* 부가 — 「자세히 보기」가 옆에 붙으므로 왼쪽 정렬 */
.wv-addon-cta { justify-content: flex-start; }
@media (max-width: 720px) {
  .wv-mode-cta .btn-enroll,
  .wv-mode-cta .wv-enroll-placeholder,
  .wv-mode-item-cta .btn-enroll,
  .wv-mode-item-cta .wv-enroll-placeholder,
  .wv-addon-cta .btn-enroll,
  .wv-addon-cta .wv-enroll-placeholder,
  .wv-mode-product-cta .btn-enroll,
  .wv-mode-product-cta .wv-enroll-placeholder { width: 100%; }
  .wv-mode-item-cta, .wv-addon-cta { justify-content: stretch; }
  .wv-mode-cta { align-items: stretch; }
  .wv-mode-cta .btn-enroll,
  .wv-mode-cta .wv-enroll-placeholder { align-self: stretch; }
}

/* .btn-enroll 은 width:100%·display:block 이라 그대로 두면 줄이 갈리고
   두 칸의 버튼 높이가 어긋난다. 부가 영역에서는 내용 크기로 되돌린다. */
.wv-addon-cta { grid-area: cta; display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.wv-addon-cta .btn-enroll,
.wv-addon-cta .wv-enroll-placeholder { margin-top: 0; align-self: center; }
@media (max-width: 720px) { .wv-addons-grid { grid-template-columns: 1fr; } }

.wv-modes-allcourses { margin: 26px 0 0; text-align: center; }
.wv-modes-allcourses a { font-size: 13.5px; color: var(--color-accent, #1D9E75); }

/* ── 굿즈 직접 구매 블록 · 외부 서점 병기 (2026-08-19) ────────── */
.wv-goods-buy {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  gap: 8px 24px; max-width: 820px; margin: 32px auto 0;
  padding: 22px 26px; background: #fff;
  border: 1px solid var(--color-border, #E8E5E0); border-radius: 10px;
}
.wv-goods-info h3 { margin: 0; font-size: 16px; font-weight: 600; color: #111; }
.wv-goods-info p  { margin: 5px 0 0; font-size: 13px; color: #888; word-break: keep-all; }
.wv-goods-price   { font-size: 16px; font-weight: 600; color: #111; white-space: nowrap; }
@media (max-width: 700px) {
  .wv-goods-buy { grid-template-columns: 1fr auto; }
  .wv-goods-info { grid-column: 1 / -1; }
}
.wv-book-retailers { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--color-border, #E8E5E0); }
.wv-book-retailers-label { display: block; font-size: 12.5px; color: #888; margin-bottom: 8px; }
.wv-book-retailers-list { display: flex; flex-wrap: wrap; gap: 8px; }
.wv-book-retailers-list a {
  padding: 7px 14px; border: 1px solid var(--color-border, #E8E5E0); border-radius: 999px;
  font-size: 13px; color: #333; text-decoration: none; transition: border-color .2s;
}
.wv-book-retailers-list a:hover { border-color: var(--color-accent, #1D9E75); color: var(--color-accent, #1D9E75); }

/* ============================================================
   회차 카드 stretched-link (2026-08-31)
   카드 전체를 탭 영역으로. <article> 을 <a> 로 감싸면 알림 버튼과
   a 중첩이 나므로, CTA 링크를 ::after 로 카드 전체에 펼친다.
   ⚠ .has-link 는 cta_url 이 있는 카드에만 붙는다 — 링크 없는 카드는
     커서·hover 가 바뀌지 않아야 "눌러도 안 되는 카드" 오해가 없다.
   ============================================================ */
.schedule-item.has-link { position: relative; }
.schedule-item.has-link .schedule-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.schedule-item.has-link:hover { background: var(--color-bg-soft, #f7f9f8); }
.schedule-item.has-link:hover .schedule-cta { text-decoration: underline; }
/* 카드 안의 실제 버튼(알림 신청 등)은 덮개 위로 올린다 */
.schedule-item.has-link .wv-notify-btn,
.schedule-item.has-link button,
.schedule-item.has-link a:not(.schedule-cta) { position: relative; z-index: 2; }
.schedule-item.has-link .schedule-cta:focus-visible::after { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* ============================================================
   재시험 안내 — 두 갈래 블록 (2026-08-31)
   ============================================================ */
.wv-section-tight { padding-top: 48px; padding-bottom: 0; }
.wv-exam-branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.wv-exam-branch-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 28px 32px;
  background: #fff;
}
.wv-exam-branch-card:first-child {
  border-color: var(--color-accent);
  background: var(--color-bg-soft, #f7fbf9);
}
.wv-exam-branch-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.wv-exam-branch-card h3 { margin: 0 0 10px; font-size: 20px; }
.wv-exam-branch-card p { margin: 0 0 18px; color: var(--color-text-muted, #555); font-size: 15px; line-height: 1.7; }
@media (max-width: 768px) {
  .wv-exam-branch { grid-template-columns: 1fr; gap: 16px; }
  .wv-exam-branch-card { padding: 22px 20px; }
}

/* ============================================================
   11/5 「글자 든 이미지」 홈 배너(wv_banner _wv_banner_text_baked) — 이 슬라이드에만 걸리는 선택자.
   다른 슬라이드(배경 사진 + 어두운 막 + 가운데 글자)는 그대로.
   · 어두운 막 끔 · 이미지 전체가 링크(켜진 장만 위로 올려 눌림) · 겹치는 글자 칸은 비우고 누르기도 막음
   ============================================================ */
.wv-hero-slide.is-baked::after { content: none; }
.wv-hero-slide.is-baked.is-active { z-index: 1; }
.wv-hero-slide.is-baked:not(.is-active) { pointer-events: none; }
.wv-hero-slide.is-baked .wv-hero-baked-link,
.wv-hero-slide.is-baked picture { display: block; width: 100%; height: 100%; }
.wv-hero-slide.is-baked img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.wv-hero-slider .wv-hero-copy.is-baked { pointer-events: none !important; }
/* 11/5: 그 장이 켜진 동안만 점 줄을 아래로 — 위쪽 점 줄이 이미지 안 CMS 로고(남의 상표)와 겹침. 다른 장의 점 줄 위치는 그대로 */
.wv-hero-slider.is-baked-on .wv-hero-dots { top: auto; bottom: 24px; }
@media (max-width: 768px) {
  .wv-hero-slider.is-baked-on .wv-hero-dots { top: auto; bottom: 10px; }
}

/* 2026-11-09 메인 슬라이드 점 — 보이는 모양(2px 선)은 그대로, 누르는 자리만 위아래 16px · 좌우 점 간격의 절반.
   1번 장은 그림 전체가 링크라, 2px 선을 조금만 빗나가도 그 링크(교육일정)로 넘어갔다. */
.wv-hero-dot { position: relative; }
.wv-hero-dot::before { content: ''; position: absolute; top: -16px; bottom: -16px; left: -12px; right: -12px; }
@media (max-width: 768px) { .wv-hero-dot::before { left: -6px; right: -6px; } }

/* 2026-11-09 페이지 머리 제목 크기 통일 — 상위 페이지(.wv-hero-l1 · PC 40px / 폰 26px) 크기 하나로. 크기만 바꾼다(굵기 · 글꼴 · 색 · 줄 간격 그대로). */
.hero.page-hero h1.page-title,
.hero.page-hero h1.hero-logo { font-size: clamp(26px, 3.6vw, 40px); }   /* 2026-11-09c 스토리 글(.wv-single-title)은 원래 크기 22~32px */

/* 2026-11-10 교육일정 카드 「마감」 = 달력 마감 막대와 같은 회색(--color-text-mute). 지난 시험 「접수 마감」도 같은 요소.
   /schedule/ 목록 · 홈 「다가오는 교육일정」 · 과정 페이지 「가까운 일정」 · 워크숍 회차 카드 공통.
   템플릿의 인라인 opacity:0.5(목록 · 과정 페이지)는 연하게 만들어 색이 달라지므로 덮는다. */
.schedule-cta.is-full,
.wv-timeline-item .schedule-cta.is-full { color: var(--color-text-mute); opacity: 1 !important; text-decoration: none; }

/* 2026-11-10 한글 줄바꿈 — 제목 · 히어로 문구 · 섹션 소제목만(본문 단락 제외).
   지금까지는 keep-all 이 개별 선택자 21곳에만 있어 /about/ 「오시는 길」 소제목(.section-sub)처럼 빠진 곳은 글자 단위로 끊겼다.
   keep-all = 어절 중간에서 끊지 않음 · balance = 줄 길이를 고르게(끝 글자 한두 개만 넘어가는 것 방지) · break-word = 긴 영문은 넘치지 않게 */
h1, h2, h3, h4,
.hero-mission, .wv-hero-mission, .wv-hero-title, .page-title, .hero-logo,
.section-sub, .section-header p {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* 2026-11-10 본문 줄바꿈 — 단락 · 목록 · 표 칸 · 설명 칸. balance 는 쓰지 않는다(긴 글이 들쭉날쭉해짐).
   keep-all = 어절 중간에서 끊지 않음 · anywhere = 긴 영문 · 주소는 화면 밖으로 넘치지 않게 끊음 · pretty = 끝 줄에 한 낱말만 남는 것 줄임.
   p · li · td · dd 밖에 본문이 다른 상자에 든 곳도 같이 — FAQ 답(.wv-faq-a) · 우커머스 안내 상자 · 메인 후기 인용(blockquote) · 교구 카드 상품명(.wv-gyogu-name). */
p, li, td, dd,
blockquote, .wv-gyogu-name,
.wv-faq-a,
.woocommerce-info, .woocommerce-message, .woocommerce-error {
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

/* 2026-11-11 합격노트 · 가이드 글 머리 — 어두운 띠(높이 = 내용) + 대표 사진은 본문 맨 위 16:9 그대로(자르지 않음 · 막 없음 · 모서리 = 사이트 카드 0) */
.wv-single-hero.wv-single-hero--band { min-height: 0; padding: clamp(40px, 4vw, 56px) 24px clamp(32px, 3.4vw, 48px); background: #111; }
@media (max-width: 720px) { .wv-single-hero.wv-single-hero--band { padding: 32px 20px 28px; } }
/* 2026-11-11(2차) 대표 사진 있는 합격노트 · 가이드 = 뉴스와 같은 배경 머리, 막만 왼쪽 → 오른쪽으로 옅어짐.
   그림 바탕이 밝아 「80% → 20%」로는 흰 글씨 대비 2.1~3.6:1 → 글자 자리(왼쪽~55%)를 진하게: PC 85·82 → 25 / 폰 85 → 72 (최저 대비 PC 5.2 · 폰 8.0:1) */
.wv-single-hero.has-bg.wv-single-hero--grad::before { background: linear-gradient(90deg, rgba(17,24,39,.85) 0%, rgba(17,24,39,.82) 55%, rgba(17,24,39,.25) 100%); }
@media (max-width: 768px) { .wv-single-hero.has-bg.wv-single-hero--grad::before { background: linear-gradient(90deg, rgba(17,24,39,.85) 0%, rgba(17,24,39,.72) 100%); } }

/* ============================================================
   로그인 입구 — 2026-11-12 (header.php)
   폰 머리 계정 아이콘(수강신청 옆) · 모바일 메뉴 「로그아웃」 작은 글자
   ============================================================ */
.wv-m-account{display:none}
@media (max-width:768px){
  .wv-m-account{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;
    margin-right:10px;color:var(--color-text,#1A1A1A);flex-shrink:0;border-radius:2px}
  .wv-m-account:hover{color:var(--color-accent,#1D9E75)}
}
.mobile-drawer-actions .wv-drawer-logout{align-self:center;margin:-2px 0 4px;padding:4px 10px;font-size:13px;
  color:rgba(255,255,255,.6);text-decoration:underline;text-underline-offset:3px}
.mobile-drawer-actions .wv-drawer-logout:hover{color:#fff}

/* ===== 11/18 상품 옵션 선택칸 · 총액 부가세 표기 (2.52.19) ===== */
/* 옵션 선택칸(교구 · 도서 상품의 기본 select — 과정 상품은 카드, 그 안 select 는 숨김) = 사이트 입력칸 규칙 */
.woocommerce div.product form.cart .variations select,
.wv-variations-list select {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; max-width: 100%; min-width: 0;
  height: 44px; margin: 0; padding: 0 40px 0 14px;
  border: 1px solid var(--color-border); border-radius: 2px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231A1A1A' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-family: var(--font-body); font-size: 14px; line-height: 42px; color: var(--color-text);
  cursor: pointer;
}
.woocommerce div.product form.cart .variations select:focus,
.wv-variations-list select:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent);
}
/* 옵션 라벨(「색상」 · 「개강 회차」) — 입력칸 라벨과 같은 굵기 · 간격 */
.wv-variation-label { font-size: 14px; font-weight: 600; color: var(--color-text); margin-bottom: 8px; }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; font-size: 13px; }

/* 총액 아래 「부가세 포함」 — 금액 없이 한 줄(괄호 줄바꿈 깨짐 방지) */
.woocommerce small.includes_tax {
  display: block; margin-top: 2px; white-space: nowrap;
  font-size: 12px; font-weight: 400; color: var(--color-text-sub);
}

/* ===== 11/18 비밀번호 찾기 · 새 비밀번호 화면 = 로그인 카드와 같은 틀 (2.52.20) ===== */
.woocommerce-account form.lost_reset_password {
  max-width: 480px; margin: 0 auto; padding: 40px;
  border: 1px solid var(--color-border); background: #fff;
}
.woocommerce-account form.lost_reset_password > p:first-child {
  margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: var(--color-text-sub);
}
.woocommerce-account form.lost_reset_password .form-row-first,
.woocommerce-account form.lost_reset_password .form-row-last {
  width: 100%; margin-right: 0; display: flex;
}
.woocommerce-account form.lost_reset_password .form-row:last-of-type { padding-bottom: 0; }
.woocommerce-account form.lost_reset_password button.button { width: 100%; float: none; margin: 0; }
.woocommerce-account form.login .woocommerce-form-login__submit { width: 100%; float: none; margin-right: 0; }

/* ===== 11/18 마무리 — 환불 총계 밑줄 · 상품 상세 수량 칸 (2.52.21) ===== */
/* 환불된 주문 총계: <ins> 밑줄이 「부가세 포함」까지 그어지던 것 */
.woocommerce .woocommerce-table--order-details ins,
.woocommerce table.shop_table tfoot ins,
.woocommerce-order-overview ins { text-decoration: none; }

/* 상품 상세 수량 칸 = 옵션 선택칸 규칙 · 담기 버튼과 한 줄(수량 칸이 보이는 상품만 — 과정 상품은 수량 숨김) */
.woocommerce div.product form.cart:has(> .quantity input.qty[type=number]),
.woocommerce div.product form.cart .variations_button:has(input.qty[type=number]) {
  display: flex; align-items: stretch; gap: 10px; flex-wrap: nowrap;
}
.woocommerce div.product form.cart:has(> .quantity input.qty[type=number])::before,
.woocommerce div.product form.cart:has(> .quantity input.qty[type=number])::after,
.woocommerce div.product form.cart .variations_button:has(input.qty[type=number])::before,
.woocommerce div.product form.cart .variations_button:has(input.qty[type=number])::after { display: none; }
.woocommerce div.product form.cart:has(> .quantity input.qty[type=number]) > .quantity,
.woocommerce div.product form.cart .variations_button:has(input.qty[type=number]) > .quantity {
  float: none; margin: 0; flex: 0 0 72px; display: flex;
}
.woocommerce div.product form.cart .quantity input.qty[type=number] {
  width: 72px; height: auto; min-height: 44px; margin: 0; padding: 0 6px;
  border: 1px solid var(--color-border); border-radius: 2px; background: #fff;
  font-family: var(--font-body); font-size: 15px; color: var(--color-text); text-align: center;
}
.woocommerce div.product form.cart .quantity input.qty[type=number]:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent);
}
.woocommerce div.product form.cart:has(> .quantity input.qty[type=number]) > .single_add_to_cart_button,
.woocommerce div.product form.cart .variations_button:has(input.qty[type=number]) > .single_add_to_cart_button {
  float: none; margin: 0;
}
@media (max-width: 782px) {
  .woocommerce div.product form.cart:has(> .quantity input.qty[type=number]) > .single_add_to_cart_button,
  .woocommerce div.product form.cart .variations_button:has(input.qty[type=number]) > .single_add_to_cart_button {
    width: auto; flex: 1 1 auto;
  }
}
