/* 비전펄스 아카데미 — 인프런 메인 실측(2026-11-09, 1440·390 폭) 치수를 뼈대로, 색 · 글 · 사진은 비전펄스 것 */
@font-face { font-family: "Pretendard"; src: url("Pretendard.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --pri: #0062df;          /* 비전펄스 메인 */
  --pri-d: #0050b8;
  --pri-t: #eef4ff;        /* 옅은 바탕 */
  --pri-l: #b9d2fb;
  --ink: #212529;
  --sub: #495057;
  --mute: #868e96;
  --mute2: #adb5bd;
  --line: #dee2e6;
  --line2: #e9ecef;
  --soft: #f8f9fa;
  --red: #fa5252;
  --star: #fcc419;
  --blue: #228be6;
  --gut: 32px;
  --max: 1536px;
  --hdc: 69px;             /* 줄어든 머리글 높이(common.js가 다시 잼) */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.55; word-break: keep-all; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; border-radius: 6px; }

/* ── 머리글 (2단계: 윗줄 로고 · 검색 · 버튼 / 아랫줄 분야 · 글자 메뉴) ─── */
.hd { position: fixed; left: 0; right: 0; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line2); }
.sec, #all { scroll-margin-top: calc(var(--hdc) + 12px); }
.hd-main { position: relative; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; height: 48px; flex: none; }
.logo img { width: 34px; height: auto; }
.logo-t { font-size: 19px; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); white-space: nowrap; }
.logo-t b { color: var(--pri); font-weight: 800; margin-left: 4px; }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-ghost { height: 38px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--sub); white-space: nowrap; }
.btn-ghost:hover { background: var(--soft); }
.btn-round { width: 38px; height: 38px; border-radius: 8px; display: inline-grid; place-items: center; }
.btn-round:hover { background: var(--soft); }
.btn-login { height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.btn-login:hover { border-color: var(--mute2); }
.btn-login.wide { width: 100%; height: 48px; margin-bottom: 12px; border: 0; background: var(--pri); color: #fff; }
.only-m { display: none; }
.hd-sub { border-top: 1px solid var(--line2); transition: margin-top .2s; }
.hd-sub-in { position: relative; height: 46px; display: flex; align-items: center; gap: 22px; padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; }
.hd-cat { display: inline-flex; align-items: center; gap: 8px; height: 46px; font-size: 15px; font-weight: 700; padding-right: 22px; border-right: 1px solid var(--line2); }
.hd-cat .ic-menu { width: 18px; height: 18px; background: var(--ink); }
.gnb { display: flex; gap: 22px; }
.gnb a { position: relative; height: 46px; display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--sub); white-space: nowrap; border-bottom: 2px solid transparent; }
.gnb a:hover { color: var(--ink); }
.gnb a.on { color: var(--ink); border-bottom-color: var(--ink); }
.dot { position: absolute; top: 9px; right: -8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.hd-util { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--sub); }
.hd-util a + a::before { content: ""; display: inline-block; width: 1px; height: 10px; background: var(--line); margin-right: 12px; }
.hd-util .em { color: var(--pri); font-weight: 700; }
.hd.compact .hd-sub { margin-top: -47px; }
.hd.compact { box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.hd-main { z-index: 2; background: #fff; }
.hd-sub { position: relative; z-index: 1; }
.hd.compact .hd-sub { visibility: hidden; }

/* 메뉴 아이콘: 둥근 사각 판 위에 기호 하나 */
.ic { width: 32px; height: 32px; border-radius: 10px; display: inline-block; position: relative; flex: none; }
.ic.sm { width: 22px; height: 22px; border-radius: 7px; }
.ic::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--m) center / 58% no-repeat; mask: var(--m) center / 58% no-repeat; }
.ic-lec { background: linear-gradient(140deg, #3f7bff, #0062df); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); }
.ic-free { background: linear-gradient(140deg, #37d39a, #12a873); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 7h-2.2A3 3 0 0 0 12 4.2 3 3 0 0 0 6.2 7H4v5h1v8h14v-8h1zM11 18H7v-6h4zm0-8H6V9h5zm2 8v-6h4v6zm5-8h-5V9h5zM9 6a1 1 0 0 1 2 1H9a1 1 0 0 1 0-1m4 1a1 1 0 1 1 2 0z'/%3E%3C/svg%3E"); }
.ic-coach { background: linear-gradient(140deg, #ffb340, #ff8a00); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v11H8l-4 4z'/%3E%3C/svg%3E"); }
.ic-road { background: linear-gradient(140deg, #8a6bff, #6a46f5); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 20l8-4 8 4z'/%3E%3C/svg%3E"); }
.ic-yt { background: linear-gradient(140deg, #ff5a5f, #e5262c); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='5' width='20' height='14' rx='4'/%3E%3C/svg%3E"); }
.ic-yt::before { content: ""; position: absolute; z-index: 1; left: 13px; top: 11px; border-left: 8px solid #e5262c; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.ic-grid, .ic-globe, .ic-menu { width: 20px; height: 20px; display: block; background: var(--sub); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic-grid { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h4v4H4zm6 0h4v4h-4zm6 0h4v4h-4zM4 10h4v4H4zm6 0h4v4h-4zm6 0h4v4h-4zM4 16h4v4H4zm6 0h4v4h-4zm6 0h4v4h-4z'/%3E%3C/svg%3E"); }
.ic-globe { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.5 3 14.5 0 18M12 3c-3 3.5-3 14.5 0 18'/%3E%3C/svg%3E"); }
.ic-menu { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3C/svg%3E"); }

/* 서비스 · 분야 팝업 */
.pop { position: absolute; top: 58px; right: 70px; z-index: 60; background: #fff; border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); padding: 18px; display: none; }
.pop.on { display: block; }
.pop-h { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 92px); gap: 6px; }
.svc-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 10px; font-size: 13px; color: var(--sub); text-align: center; }
.svc-grid a:hover { background: var(--soft); }
.svc-grid img, .sv { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.sv { display: block; }
.sv-class { background: var(--pri); }
.sv-yt { background: #e5262c; }
.sv-blog { background: #03c75a; }
.sv-ig { background: linear-gradient(135deg, #f9a03f, #d62976 50%, #7c3aed); }
.sv-kakao { background: #fee500; }
.pop-cat { top: 46px; left: var(--gut); right: auto; width: 300px; padding: 8px; }
.pop-cat a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 15px; font-weight: 600; }
.pop-cat a:hover { background: var(--pri-t); color: var(--pri); }
.pop-cat b { width: 22px; text-align: center; font-size: 17px; }
.pop-cat em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 400; color: var(--mute); }

/* 검색: 윗줄 안 회색 칸 */
.hd-search { position: relative; flex: 0 1 460px; min-width: 0; }
.sch-box { width: 100%; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 16px; border: 1px solid transparent; border-radius: 8px; background: #f1f3f5; transition: border-color .15s, background .15s; }
.sch-box:focus-within { border-color: var(--pri); background: #fff; }
.sch-box input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; font: inherit; font-size: 15px; color: var(--ink); background: transparent; }
.sch-box input::placeholder { color: var(--mute); }
.sch-box input::-webkit-search-cancel-button { display: none; }
.sch-go { width: 34px; height: 34px; border-radius: 8px; flex: none; position: relative; }
.sch-go::after { content: ""; position: absolute; inset: 0; background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") center / 20px no-repeat; }
.sch-drop { position: absolute; top: 52px; left: 0; width: 100%; min-width: 340px; z-index: 55; background: #fff; border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); padding: 16px; display: none; }
.sch-drop.on { display: block; }
.sch-drop-h { font-size: 14px; font-weight: 700; color: var(--sub); margin-bottom: 10px; }
.sch-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sch-cats button, .sch-cats a { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 10px; font-size: 13px; text-align: left; }
.sch-cats a:hover, .sch-cats button:hover { border-color: var(--pri-l); background: var(--pri-t); }
.sch-cats b { font-size: 16px; line-height: 1; }
.sch-result { margin-top: 12px; border-top: 1px solid var(--line2); padding-top: 10px; max-height: 320px; overflow: auto; }
.sch-result a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; font-size: 14px; }
.sch-result a:hover { background: var(--soft); }
.sch-result img { width: 64px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; flex: none; }
.sch-result .none { font-size: 14px; color: var(--mute); padding: 8px; }
.sch-result .none a { display: inline; padding: 0; color: var(--pri); font-weight: 700; }
.sch-result a.all { justify-content: center; color: var(--pri); font-weight: 700; border-top: 1px solid var(--line2); border-radius: 0; margin-top: 4px; }

/* ── 첫 화면 배너 ─────────────────────── */
main { max-width: 1280px; margin: 0 auto; padding: 24px var(--gut) 0; }
.top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; height: 340px; }
.hero-main { position: relative; border-radius: 16px; overflow: hidden; min-width: 0; }
.hero-track { display: flex; height: 100%; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.slide { position: relative; flex: 0 0 100%; height: 100%; display: flex; align-items: center; padding: 0 40px; overflow: hidden; color: #fff; }
.slide-tx { position: relative; z-index: 2; max-width: 55%; }
.slide-k { display: inline-block; font-size: 15px; font-weight: 700; padding: 5px 12px; border-radius: 30px; background: rgba(255, 255, 255, .18); margin-bottom: 14px; }
.slide h2 { font-size: 30px; line-height: 1.3; font-weight: 800; letter-spacing: -0.8px; }
.slide p { margin-top: 10px; font-size: 15px; opacity: .88; }
.slide-btn { display: inline-flex; margin-top: 22px; height: 44px; align-items: center; padding: 0 20px; border-radius: 30px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; }
.slide-ph { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 38%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.slide-ph.tall { aspect-ratio: 4 / 5; width: 30%; right: 64px; }
.slide.light { color: var(--ink); }
.slide.light .slide-k { background: rgba(0, 98, 223, .1); color: var(--pri); }
.slide.light .slide-btn { background: var(--pri); color: #fff; }
.hero-arw { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: rgba(255, 255, 255, .85); opacity: 0; transition: opacity .2s; }
.hero-arw::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translate(-65%, -50%) rotate(-45deg); }
.hero-arw.prev { left: 14px; }
.hero-arw.prev::after { transform: translate(-35%, -50%) rotate(135deg); }
.hero-arw.next { right: 14px; }
.hero-main:hover .hero-arw { opacity: 1; }
.hero-ctl { position: absolute; z-index: 3; left: 40px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 4px 10px; border-radius: 20px; background: rgba(0, 0, 0, .18); }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 6px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .55); transition: width .25s, background .25s; }
.hero-dots button.on { width: 18px; background: #fff; }
.hero-pause { width: 14px; height: 14px; position: relative; }
.hero-pause::before, .hero-pause::after { content: ""; position: absolute; top: 2px; width: 3px; height: 10px; background: #fff; border-radius: 1px; }
.hero-pause::before { left: 3px; }
.hero-pause::after { left: 8px; }
.hero-pause.paused::before { left: 4px; width: 0; height: 0; background: none; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hero-pause.paused::after { display: none; }
.top-r { display: grid; grid-template-rows: 1fr auto; gap: 14px; min-width: 0; }
.catgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.catgrid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 12px; background: var(--soft); padding: 10px 4px; transition: background .15s; }
.catgrid a:hover { background: var(--pri-t); }
.cg-ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); }
.catgrid b { font-size: 14px; font-weight: 700; }
.catgrid em { font-style: normal; font-size: 12px; color: var(--mute); }
.top-side { position: relative; height: 92px; }
.side { position: relative; height: 100%; border-radius: 12px; overflow: hidden; padding: 0 22px; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.side b { font-size: 17px; line-height: 1.35; font-weight: 800; letter-spacing: -0.3px; position: relative; z-index: 2; max-width: 70%; }
.side span { margin-top: 2px; font-size: 13px; opacity: .85; position: relative; z-index: 2; }
.side img { position: absolute; right: 16px; top: 50%; width: 112px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; transform: translateY(-50%) rotate(-4deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.side-n { position: absolute; right: 140px; bottom: 10px; z-index: 3; font-size: 11px; color: rgba(255, 255, 255, .8); }
.side.anim { animation: sideIn .45s ease; }
@keyframes sideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── 구역 공통 ─────────────────────── */
.sec { margin-top: 64px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sec-h h2 { font-size: 22px; line-height: 33px; font-weight: 700; letter-spacing: -0.3px; display: flex; align-items: center; gap: 6px; }
.sec-sub { font-size: 14px; color: var(--mute); margin-top: 2px; }
.more { font-size: 15px; font-weight: 600; color: var(--sub); display: inline-flex; align-items: center; gap: 4px; }
.more::after { content: ""; width: 7px; height: 7px; border: solid var(--sub); border-width: 0 1.6px 1.6px 0; transform: rotate(-45deg); }
.hl { color: var(--pri); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(250, 82, 82, .18); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(250, 82, 82, 0); } }

.pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pills::-webkit-scrollbar { display: none; }
.pills button { height: 34px; padding: 0 14px; border-radius: 8px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--sub); white-space: nowrap; }
.pills button:hover { color: var(--ink); }
.pills button.on { background: var(--pri); color: #fff; }
.sec-more { margin-top: 28px; text-align: center; }
.btn-more { display: inline-flex; align-items: center; height: 46px; padding: 0 28px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 700; }
.btn-more:hover { border-color: var(--ink); }
.btn-more::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(-45deg); }
.g-top { margin-top: 20px; }
.tabs { display: flex; gap: 0; margin-top: 16px; border-bottom: 1px solid var(--line2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 10px 12px; font-size: 16px; color: var(--sub); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--pri); }
.chips { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { height: 36px; padding: 0 14px; border-radius: 30px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }

.rail { position: relative; margin-top: 20px; }
.rail-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.rail-arw { position: absolute; top: 52px; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .16); z-index: 3; }
.rail-arw::after, .rb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translate(-65%, -50%) rotate(-45deg); }
.rail-arw.prev { left: -14px; }
.rail-arw.prev::after, .rb.prev::after { transform: translate(-35%, -50%) rotate(135deg); }
.rail-arw.next { right: -14px; }
.rail-arw[disabled], .rb[disabled] { opacity: .35; cursor: default; }
.rail-arw[disabled] { opacity: 0; pointer-events: none; }
.rail-btns { display: flex; gap: 8px; }
.rb { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); }
.rb::after { width: 7px; height: 7px; }

/* 강의 카드 */
.card { position: relative; width: 194px; display: block; }
.rail-big .card { width: 262px; }
.th { position: relative; aspect-ratio: 192 / 125; border-radius: 6px; overflow: hidden; background: var(--soft); }
.th img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.th-gen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; color: #fff; }
.th-gen small { font-size: 11px; font-weight: 700; opacity: .85; letter-spacing: .3px; }
.th-gen b { font-size: 17px; line-height: 1.25; font-weight: 800; letter-spacing: -0.4px; }
.rail-big .th-gen b, .grid .th-gen b { font-size: 21px; }
.th-hover { position: absolute; inset: 0; background: rgba(17, 20, 24, .86); color: #fff; padding: 12px; font-size: 13px; line-height: 1.5; opacity: 0; transition: opacity .2s; display: flex; flex-direction: column; gap: 6px; }
.th-hover b { font-size: 14px; }
.th-hover p { color: #ced4da; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.th-hover em { margin-top: auto; font-style: normal; font-size: 12px; color: #9cc3ff; }
.card:hover .th-hover { opacity: 1; }
.like { position: absolute; z-index: 2; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, .28); }
.like::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.1 8.6 3 5 6.6 5c2 0 3.4 1.1 4.4 2.5C12 6.1 13.4 5 15.4 5 19 5 20.9 8.6 19.5 11.8 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.1 8.6 3 5 6.6 5c2 0 3.4 1.1 4.4 2.5C12 6.1 13.4 5 15.4 5 19 5 20.9 8.6 19.5 11.8 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / 16px no-repeat; }
.like.on { background: var(--red); }
.card:hover .like { opacity: 1; }
.c-t { margin-top: 8px; font-size: 16px; font-weight: 700; line-height: 22.4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-by { margin-top: 2px; font-size: 15px; color: var(--sub); display: flex; align-items: center; gap: 4px; }
.c-by i { width: 15px; height: 15px; border-radius: 50%; background: var(--pri); display: inline-block; position: relative; }
.c-by i::after { content: ""; position: absolute; left: 4.5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.c-pr { margin-top: 2px; font-size: 16px; font-weight: 700; }
.c-pr.free { color: var(--pri); }
.c-pr s { font-size: 13px; color: var(--mute2); font-weight: 400; margin-left: 4px; }
.c-meta { margin-top: 2px; font-size: 14px; color: var(--sub); display: flex; align-items: center; gap: 6px; }
.c-meta::before { content: ""; width: 12px; height: 12px; background: var(--mute); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.6V6h-2v7.4l5 3 1-1.7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.6V6h-2v7.4l5 3 1-1.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.c-bd { margin-top: 6px; display: flex; gap: 4px; flex-wrap: wrap; }
.bd { font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 5px; border-radius: 4px; }
.bd-new { background: var(--pri); color: #fff; }
.bd-free { background: #e6f7ef; color: #0c8a55; }
.bd-yt { background: #fff0f0; color: #d6262c; }
.bd-hot { background: #fff4e6; color: #e8590c; }
.bd-vod { background: #e7f5ff; color: var(--blue); }

/* 무료로 먼저 | 새 소식 (좌우) */
.duo { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; }
.duo-r { border-left: 1px solid var(--line2); padding-left: 40px; }
.flist { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.fl { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 12px; align-items: center; }
.fl .th { border-radius: 8px; }
.fl .th-gen b { font-size: 13px; }
.fl .th-gen small { font-size: 9px; }
.fl-t { font-size: 14.5px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-m { margin-top: 2px; font-size: 12.5px; color: var(--mute); }
.fl-pr { font-size: 13px; font-weight: 700; color: var(--pri); }
.fl:hover .fl-t { text-decoration: underline; text-underline-offset: 3px; }
.feed2 { list-style: none; margin-top: 14px; }
.feed2 li + li { border-top: 1px solid var(--line2); }
.fd2 { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 13px 0; }
.fd2-d { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.fd2-d small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 500; color: var(--mute); }
.fd-lb { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: var(--pri-t); color: var(--pri); }
.fd-lb.up { background: #fff4e6; color: #e8590c; }
.fd-t { margin-top: 4px; font-size: 14.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.fd-s { font-size: 12.5px; color: var(--mute); }
.fd2:hover .fd-t { color: var(--pri); }

/* 무료 1강 신청 띠 */
.apply2 { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px 32px; border-radius: 16px; background: linear-gradient(120deg, #f2f7ff, #e6f0ff); }
.apply2-h h2 { font-size: 24px; line-height: 1.35; font-weight: 800; letter-spacing: -0.4px; }
.apply2-h p { margin-top: 6px; font-size: 14px; color: var(--sub); }
.apply2-list { display: grid; gap: 10px; }
.ap2 { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 18px 10px 10px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(0, 60, 150, .06); }
.ap2 img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.ap-tag { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--red); padding: 2px 7px; border-radius: 20px; margin-right: 8px; }
.ap-tag.blue { background: var(--pri); }
.ap-when { font-size: 13px; color: var(--red); font-weight: 700; display: flex; align-items: center; }
.ap-when.blue { color: var(--pri); }
.ap-t { margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.ap-btn { height: 38px; padding: 0 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; white-space: nowrap; }
.ap2:hover .ap-btn { background: var(--pri); }

/* 학습 순서: 가로 5단계 */
.road2-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.road-k { font-size: 14px; color: var(--pri); font-weight: 700; }
.road2-h h2 { margin-top: 2px; font-size: 22px; line-height: 33px; font-weight: 700; letter-spacing: -0.3px; }
.road2-steps { list-style: none; margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.road2-steps li { position: relative; }
.road2-steps li + li::before { content: ""; position: absolute; left: -12px; top: 38px; width: 12px; height: 2px; background: var(--pri-l); }
.st2 { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px; border: 1px solid var(--line2); border-radius: 14px; background: #fff; transition: border-color .15s, transform .15s; }
.st2:hover { border-color: var(--pri); transform: translateY(-2px); }
.st-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--pri); }
.road2-steps li:nth-child(2) .st-n { background: #2f7dff; }
.road2-steps li:nth-child(3) .st-n { background: #5b6bff; }
.road2-steps li:nth-child(4) .st-n { background: #7a5cff; }
.road2-steps li:nth-child(5) .st-n { background: #9a4dff; }
.st2 b { margin-top: 6px; font-size: 16px; }
.st2 p { font-size: 13px; color: var(--sub); line-height: 1.55; }
.st2 em { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 12px; color: var(--mute); }
.btn-pri { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 22px; margin-top: 22px; border-radius: 8px; background: var(--pri); color: #fff; font-weight: 700; font-size: 15px; transition: background .15s; }
.btn-pri:hover { background: var(--pri-d); }
.btn-pri.wide { width: 100%; }

/* 1:1 코칭 */
.coach-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.mc { border: 1px solid var(--line2); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; transition: border-color .15s, box-shadow .15s; }
.mc:hover { border-color: var(--pri-l); box-shadow: 0 8px 20px rgba(0, 0, 0, .05); }
.mc-top { display: flex; justify-content: space-between; gap: 10px; }
.mc-cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--pri); background: var(--pri-t); padding: 3px 8px; border-radius: 4px; }
.mc-name { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.mc-who { font-size: 13px; color: var(--sub); margin-top: 2px; }
.mc-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.mc-info { display: grid; gap: 4px; font-size: 13px; color: var(--sub); }
.mc-info span::before { content: "·"; margin-right: 6px; color: var(--pri); font-weight: 900; }
.mc-pr { font-size: 16px; font-weight: 800; }
.mc-pr small { font-size: 12px; font-weight: 400; color: var(--mute); margin-left: 4px; }
.mc-d { font-size: 13.5px; color: var(--sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mc-go { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--pri); }
.mc.join { border-style: dashed; justify-content: center; align-items: center; text-align: center; background: var(--soft); }
.mc.join b { font-size: 18px; }
.mc.join p { font-size: 14px; color: var(--sub); }
.mc.join .plus { width: 56px; height: 56px; border-radius: 50%; border: 2px dashed var(--pri-l); display: grid; place-items: center; color: var(--pri); font-size: 28px; font-weight: 300; }

/* 전체 강의 */
.all-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.all-h h2 { font-size: 22px; font-weight: 700; line-height: 33px; }
.all-h small { font-size: 15px; font-weight: 600; color: var(--mute); margin-left: 4px; }
.sort { display: flex; gap: 4px; }
.sort button { font-size: 14px; color: var(--mute); padding: 4px 8px; }
.sort button.on { color: var(--ink); font-weight: 700; }
.grid { margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 16px; }
#grid-b { margin-top: 28px; }
#grid-b:empty { display: none; }
.grid .card { width: auto; }
.teach2 { margin: 8px 0 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border-radius: 16px; background: #fff7ec; }
.teach-h { font-size: 14px; font-weight: 700; color: #c2620a; }
.teach2 h2 { margin-top: 4px; font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -0.4px; }
.teach-sub { margin-top: 6px; font-size: 14px; color: var(--sub); }
.teach2 .btn-pri { margin-top: 18px; background: var(--ink); }
.teach2 .btn-pri:hover { background: var(--pri); }
.teach-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.tr { width: 72px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); }
.tr img, .tr i { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.tr i { display: grid; place-items: center; background: #fff; border: 2px dashed #f0c48e; box-shadow: none; font-style: normal; font-size: 22px; color: #e0a25a; }
.tr.me b { color: var(--ink); }
.pager { margin: 40px 0 56px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.pager button { min-width: 34px; height: 34px; border-radius: 6px; font-size: 15px; color: var(--sub); }
.pager button.on { background: var(--pri); color: #fff; font-weight: 700; }
.pager button:hover:not(.on):not(:disabled) { background: var(--soft); }
.pager button:disabled { opacity: .3; cursor: default; }

/* ── 바닥글 (2단계: 흰 바탕 · 왼쪽 고객센터 + 오른쪽 링크) ─── */
.ft { background: #fff; color: var(--sub); border-top: 1px solid var(--line2); }
.ft-in { max-width: var(--max); margin: 0 auto; padding: 44px var(--gut) 40px; }
.ft-top { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line2); }
.ft-cs-h { font-size: 15px; font-weight: 700; color: var(--ink); }
.ft-cs-t { margin-top: 4px; font-size: 13px; color: var(--mute); }
.ft-cs-btns { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.btn-ft { display: inline-flex; margin-top: 18px; height: 40px; align-items: center; padding: 0 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.btn-ft:hover { background: var(--pri); }
.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ft-cols p { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ft-cols a { display: block; font-size: 14px; line-height: 2; color: var(--sub); }
.ft-cols a:hover { color: var(--pri); }
.ft-biz { position: relative; padding-top: 22px; font-size: 12px; color: var(--mute); line-height: 1.8; }
.ft-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; }
.ft-logo b { color: var(--ink); font-size: 14px; margin-right: 10px; }
.ft-logo a { color: var(--mute); }
.ft-logo strong { color: var(--ink); }
.ft-copy { margin-top: 4px; }
.ft-sns { display: flex; gap: 6px; margin-bottom: 14px; }
.ft-sns a { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--sub); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ft-sns a:hover { background: var(--pri); color: #fff; }

/* 떠 있는 문의 버튼 */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 8px; }
.fab span { background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 20px; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.fab i { width: 52px; height: 52px; border-radius: 50%; background: var(--pri); box-shadow: 0 6px 18px rgba(0, 98, 223, .4); position: relative; }
.fab i::after { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.5 1.4 4.7 3.7 6.2L5 21l4.2-2.4c.9.2 1.8.4 2.8.4 5.5 0 10-3.6 10-8s-4.5-8-10-8z'/%3E%3C/svg%3E") center / 24px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3C6.5 3 2 6.6 2 11c0 2.5 1.4 4.7 3.7 6.2L5 21l4.2-2.4c.9.2 1.8.4 2.8.4 5.5 0 10-3.6 10-8s-4.5-8-10-8z'/%3E%3C/svg%3E") center / 24px no-repeat; }

/* 휴대폰 아래 메뉴 · 전체 메뉴 · 로그인 창 */
.tabbar { display: none; }
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer.on { opacity: 1; pointer-events: auto; }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff; padding: 56px 20px 24px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; }
.drawer.on .drawer-in { transform: none; }
.drawer-in a { padding: 14px 4px; border-bottom: 1px solid var(--line2); font-weight: 600; }
.drawer-x, .modal-x { position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; }
.drawer-x::before, .drawer-x::after, .modal-x::before, .modal-x::after { content: ""; position: absolute; left: 7px; top: 15px; width: 18px; height: 2px; background: var(--ink); transform: rotate(45deg); }
.drawer-x::after, .modal-x::after { transform: rotate(-45deg); }
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); display: grid; place-items: center; padding: 16px; }
.modal-box { position: relative; width: 400px; max-width: 100%; background: #fff; border-radius: 16px; padding: 36px 28px 28px; text-align: center; }
.modal-box img { margin: 0 auto; }
.modal-box h3 { margin-top: 12px; font-size: 22px; }
.modal-box > p { margin-top: 8px; font-size: 14px; color: var(--sub); }
.modal-box .btn-pri { margin-top: 20px; }
.modal-s { margin-top: 14px; font-size: 13px; color: var(--mute); }
.modal-s a { color: var(--pri); font-weight: 700; }

/* ── 알림 · 공용 버튼 ─────────────────────── */
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 95; transform: translate(-50%, 20px); background: rgba(33, 37, 41, .94); color: #fff; font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 30px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.btn-line { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 700; background: #fff; }
.btn-line:hover { border-color: var(--pri); color: var(--pri); }
.btn-line.sm { height: 34px; padding: 0 12px; font-size: 13px; }

/* ── 강의 목록 (인프런 /courses 실측: 칩 36 · 분야 칸 48×81 · 5칸 262) ─── */
.list { padding-top: 8px; }
.fbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fchip { height: 36px; padding: 0 18px; border: 1px solid #ced4da; border-radius: 32px; background: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.fchip:hover { border-color: var(--mute2); }
.fchip.on { border-color: var(--pri); background: var(--pri-t); color: var(--pri); }
.fchip.dd::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); margin-left: 4px; }
.fdd { position: relative; }
.fdd-menu { position: absolute; top: 44px; left: 0; z-index: 30; min-width: 190px; background: #fff; border: 1px solid var(--line2); border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); padding: 6px; display: none; }
.fdd-menu.on { display: block; }
.fdd-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.fdd-menu button:hover { background: var(--soft); }
.freset { font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
/* 2단계: 왼쪽 필터 기둥 + 오른쪽 결과 */
.list2 { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 32px; }
.lside { position: sticky; top: calc(var(--hdc) + 24px); max-height: calc(100vh - var(--hdc) - 40px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
.ls-g + .ls-g { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line2); }
.ls-h { font-size: 13px; font-weight: 700; color: var(--mute); margin-bottom: 8px; }
.ls-cats, .ls-opts { display: grid; gap: 2px; }
.ls-cats button, .ls-opts button { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 8px; font-size: 14.5px; color: var(--sub); text-align: left; }
.ls-cats button:hover, .ls-opts button:hover { background: var(--soft); color: var(--ink); }
.ls-cats button.on, .ls-opts button.on { background: var(--pri-t); color: var(--pri); font-weight: 700; }
.ls-cats span { width: 20px; text-align: center; }
.ls-cats em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--mute2); }
.ls-opts button::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; }
.ls-opts button.on::before { border: 4px solid var(--pri); }
.lside .cm-tags button { height: 28px; font-size: 12.5px; padding: 0 10px; }
.lmain { min-width: 0; }
.list2 .fbar { display: none; }
.list-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.list-h h1 { font-size: 24px; font-weight: 800; line-height: 32px; letter-spacing: -0.4px; }
.list-q { margin-top: 6px; font-size: 14px; color: var(--sub); }
.list-q b { color: var(--pri); }
.list-q button { margin-left: 8px; font-size: 13px; color: var(--mute); text-decoration: underline; }
.list-h .sort { background: var(--soft); border-radius: 8px; padding: 3px; }
.list-h .sort button { font-weight: 600; border-radius: 6px; padding: 6px 12px; }
.list-h .sort button.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.actv { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.actv button { height: 30px; padding: 0 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.actv button i { font-style: normal; opacity: .7; }
.actv .freset { background: none; color: var(--mute); padding: 0 4px; }
.freset { font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.promo { margin-top: 18px; position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; border-radius: 12px; padding: 14px 22px 14px 14px; overflow: hidden; color: #fff; }
.promo img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.promo small { display: block; font-size: 12px; font-weight: 700; opacity: .85; }
.promo b { font-size: 18px; line-height: 1.35; font-weight: 800; letter-spacing: -0.3px; }
.promo span { font-size: 14px; font-weight: 700; white-space: nowrap; }
.promo .dk { color: #5b3200; }
.list-grid { margin-top: 22px; grid-template-columns: repeat(4, 1fr); }
.empty { margin: 48px auto 24px; max-width: 460px; text-align: center; color: var(--sub); font-size: 14px; }
.empty-ic { font-size: 36px; }
.empty b { display: block; margin: 8px 0 6px; font-size: 18px; color: var(--ink); }
.empty-btns { margin-top: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.empty-btns .btn-pri { margin-top: 0; height: 42px; }
.list .pager { margin-top: 48px; }
.pager button { min-width: 38px; height: 38px; border: 1px solid #ced4da; border-radius: 8px; background: #fff; }
.pager button.on { border-color: var(--pri); }
.cm { width: 620px; text-align: left; padding: 28px; max-height: 86vh; overflow: auto; }
.cm h3 { margin: 0 0 14px; font-size: 20px; }
.cm-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.cm-cats button { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 10px; font-size: 15px; font-weight: 600; text-align: left; }
.cm-cats button span { font-size: 18px; }
.cm-cats button em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--mute); font-weight: 400; }
.cm-cats button:hover, .cm-cats button.on { border-color: var(--pri); background: var(--pri-t); color: var(--pri); }
.cm-sub { margin: 22px 0 10px; font-size: 14px; font-weight: 700; color: var(--sub); }
.cm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-tags button { height: 32px; padding: 0 12px; border-radius: 20px; background: var(--soft); font-size: 13px; color: var(--sub); }
.cm-tags button:hover { background: var(--pri-t); color: var(--pri); }

/* ── 강의 상세 (2단계: 왼쪽 큰 미리보기 · 본문 / 오른쪽 제목 + 결제 카드) ─── */
.cd2 { max-width: 1200px; margin: 0 auto; padding: 24px var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "top side" "main side"; column-gap: 40px; align-items: start; box-sizing: content-box; }
.cd-top { grid-area: top; min-width: 0; }
.cd-main { grid-area: main; min-width: 0; }
.cd-side { grid-area: side; align-self: stretch; }
.cd-side-in { position: sticky; top: calc(var(--hdc) + 16px); }
.cd-crumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); margin-bottom: 12px; }
.cd-crumb a:hover { color: var(--ink); text-decoration: underline; }
.cd-crumb i { font-style: normal; color: var(--mute2); }
.cd-under { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cd-by { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sub); }
.cd-by b { color: var(--ink); }
.cd-by img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: top; }
.cd-by .ok { width: 15px; height: 15px; border-radius: 50%; background: var(--pri); position: relative; }
.cd-by .ok::after { content: ""; position: absolute; left: 4.5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.cd-by a { font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.cd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-tags a { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 20px; background: var(--soft); color: var(--sub); }
.cd-tags a::before { content: "#"; margin-right: 2px; color: var(--mute2); }
.cd-tags a:hover { background: var(--pri-t); color: var(--pri); }
.cd-head { padding: 0 2px 14px; }
.cd-bd { display: flex; gap: 4px; min-height: 19px; }
.cd-head h1 { margin-top: 10px; font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -0.5px; }
.cd-sum { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--sub); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cd-sum.open { -webkit-line-clamp: unset; display: block; }
.cd-more { margin-top: 2px; font-size: 13px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.cd-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--sub); }
.cd-meta span { padding: 3px 8px; border-radius: 4px; background: var(--soft); }
.cd-nf { max-width: 520px; margin: 80px auto 120px; padding: 0 var(--gut); text-align: center; color: var(--sub); }
.cd-nf h1 { margin: 8px 0 6px; font-size: 24px; color: var(--ink); }
.pv { display: block; width: 100%; text-align: left; color: inherit; position: relative; }
.pv .th { border-radius: 14px; aspect-ratio: 16 / 9; }
.pv-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .55); transition: transform .2s, background .2s; }
.pv-play::after { content: ""; position: absolute; left: 25px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.pv:hover .pv-play, .ce-btn:hover .pv-play { transform: scale(1.08); background: var(--pri); }
.pv-btn { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 8px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 14px; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }

.cd-tabs { position: sticky; top: var(--hdc); z-index: 20; margin-top: 36px; background: #fff; border-bottom: 1px solid var(--line2); display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.cd-tabs::-webkit-scrollbar { display: none; }
.cd-tabs a { flex: none; height: 52px; display: flex; align-items: center; font-size: 16px; font-weight: 600; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.cd-tabs a.on { color: var(--pri); border-bottom-color: var(--pri); }
.cd-sec { padding-top: 40px; scroll-margin-top: calc(var(--hdc) + 52px); }
.cd-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.cd-h h2, .cd-learn h2 { font-size: 22px; font-weight: 700; line-height: 33px; }
.cd-total { font-size: 14px; color: var(--sub); }
.cd-learn { border: 1px solid var(--line2); border-radius: 10px; padding: 22px 24px; }
.cd-learn ul { margin-top: 12px; list-style: none; display: grid; gap: 10px; }
.cd-learn li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.55; }
.cd-learn li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 4px; background: var(--pri); }
.cd-learn li::after { content: ""; position: absolute; left: 6.5px; top: 5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cd-block { margin-top: 40px; }
.cd-block h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; letter-spacing: -0.3px; }
.cd-p { font-size: 15px; line-height: 1.75; color: var(--sub); margin-top: 12px; }
.cd-p.sm { font-size: 13px; color: var(--mute); }
.inc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.inc div { border-radius: 10px; background: var(--soft); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.inc b { font-size: 16px; }
.inc span { font-size: 13.5px; color: var(--sub); }
.shots { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots figure { margin: 0; }
.shots img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 10px; background: #0a0b18; }
.shots figcaption { margin-top: 6px; font-size: 13px; color: var(--sub); text-align: center; }
.proof { background: var(--pri-t); border-radius: 14px; padding: 26px; }
.pf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.pf div { background: #fff; border-radius: 10px; padding: 16px 8px; }
.pf b { display: block; font-size: 26px; font-weight: 800; color: var(--pri); letter-spacing: -0.5px; }
.pf span { font-size: 13px; color: var(--sub); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.who > div { border: 1px solid var(--line2); border-radius: 10px; padding: 20px; }
.who h3 { font-size: 17px; margin-bottom: 10px; }
.who ul { list-style: none; display: grid; gap: 8px; }
.who li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.55; color: var(--sub); }
.who .ok li::before { content: "✓"; position: absolute; left: 0; color: var(--pri); font-weight: 900; }
.who .no li::before { content: "✕"; position: absolute; left: 0; color: var(--mute2); font-weight: 900; }
.cd-embed { border-radius: 10px; overflow: hidden; }
.ce-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; }
.ce-btn img { width: 100%; height: 100%; object-fit: cover; }
.cd-up { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-radius: 12px; background: linear-gradient(120deg, #071a44, #0062df); color: #fff; }
.cd-up small { font-size: 12px; opacity: .8; font-weight: 700; }
.cd-up b { display: block; font-size: 18px; margin: 2px 0; }
.cd-up span { font-size: 13px; opacity: .85; }
.cd-up em { font-style: normal; font-weight: 700; white-space: nowrap; }
.cu-ctl { display: flex; justify-content: flex-end; margin: -6px 0 12px; }
.cu { border: 1px solid var(--line2); border-radius: 8px; overflow: hidden; }
.cu-s + .cu-s { border-top: 1px solid var(--line2); }
.cu-h { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--soft); text-align: left; }
.cu-h b { flex: 1; font-size: 15px; }
.cu-h span { font-size: 13px; color: var(--sub); white-space: nowrap; }
.cu-h i { width: 8px; height: 8px; border: solid var(--sub); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); transition: transform .2s; }
.cu-s.open .cu-h i { transform: rotate(-135deg); }
.cu ul { list-style: none; display: none; }
.cu-s.open ul { display: block; }
.cu li { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 14px; border-top: 1px solid var(--line2); }
.cu-ic { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 8px; color: var(--sub); flex: none; }
.cu-t { flex: 1; min-width: 0; }
.cu-pv { font-size: 12px; font-weight: 700; color: var(--pri); border: 1px solid var(--pri-l); border-radius: 4px; padding: 2px 7px; }
.cu-d { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.rv-empty { border: 1px dashed var(--line); border-radius: 12px; padding: 36px 20px; text-align: center; font-size: 14px; color: var(--sub); }
.rv-ic { font-size: 30px; }
.rv-empty b { display: block; margin: 6px 0; font-size: 17px; color: var(--ink); }
.tc { border: 1px solid var(--line2); border-radius: 12px; padding: 22px 24px; }
.tc-top { display: flex; align-items: center; gap: 14px; }
.tc-top img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; }
.tc-top b { display: block; font-size: 18px; }
.tc-top span { font-size: 14px; color: var(--sub); }
.tc-top em { display: block; font-style: normal; font-size: 13px; color: var(--pri); font-weight: 700; margin-top: 2px; }
.tc ul { margin-top: 16px; list-style: none; display: grid; gap: 6px; font-size: 14.5px; color: var(--sub); }
.tc li::before { content: "·"; color: var(--pri); font-weight: 900; margin-right: 8px; }
.tc-links { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.tc-links a { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 20px; background: var(--soft); color: var(--sub); }
.tc-links a:hover { background: var(--pri-t); color: var(--pri); }
.faq { border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 4px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mute); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 4px 18px; font-size: 14.5px; line-height: 1.7; color: var(--sub); }

.buy { border: 1px solid var(--line2); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); overflow: hidden; }
.buy-lb { padding: 16px 21px 0; color: var(--pri); font-size: 13px; font-weight: 700; }
.buy-in { padding: 4px 21px 16px; }
.buy-pr { font-size: 26px; font-weight: 800; line-height: 36px; letter-spacing: -0.5px; }
.buy-pr.free { color: var(--pri); }
.buy-note { font-size: 13px; color: var(--sub); margin-top: 2px; }
.buy-cta { display: flex; align-items: center; justify-content: center; height: 50px; margin-top: 16px; border-radius: 8px; background: var(--pri); color: #fff; font-size: 18px; font-weight: 600; transition: background .15s; }
.buy-cta:hover { background: var(--pri-d); }
.buy-2 { margin-top: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.buy-2 button { height: 40px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }
.buy-2 button i { width: 14px; height: 14px; background: var(--sub); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.1 8.6 3 5 6.6 5c2 0 3.4 1.1 4.4 2.5C12 6.1 13.4 5 15.4 5 19 5 20.9 8.6 19.5 11.8 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.1 8.6 3 5 6.6 5c2 0 3.4 1.1 4.4 2.5C12 6.1 13.4 5 15.4 5 19 5 20.9 8.6 19.5 11.8 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; }
.buy-2 [data-share] i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 3v12M7 8l5-5 5 5M5 14v6h14v-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 3v12M7 8l5-5 5 5M5 14v6h14v-6'/%3E%3C/svg%3E"); }
.buy-like.on { border-color: var(--red); color: var(--red); }
.buy-like.on i { background: var(--red); }
.buy-free { display: block; margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--pri); }
.buy-info { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line2); display: grid; gap: 5px; }
.buy-info div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; font-size: 13px; }
.buy-info dt { color: var(--mute); }
.buy-info dd { color: var(--ink); }
.buy-biz { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 21px 14px; padding: 12px 14px; border-radius: 8px; background: var(--soft); font-size: 13px; color: var(--sub); }
.buy-biz em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pri); background: #fff; border: 1px solid var(--pri-l); border-radius: 4px; padding: 3px 7px; white-space: nowrap; }
.buy-ic { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line2); }
.buy-ic a, .buy-ic button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; font-size: 12px; color: var(--sub); }
.buy-ic a:hover, .buy-ic button:hover { background: var(--soft); }
.buy-ic i { font-style: normal; font-size: 16px; }
.cd-rel { max-width: 1200px; margin: 72px auto 80px; padding: 0 var(--gut); box-sizing: content-box; }
.mbuy { display: none; }
.vmodal { background: rgba(0, 0, 0, .8); }
.vbox { position: relative; width: min(960px, 100%); }
.vframe { aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.vframe iframe { width: 100%; height: 100%; border: 0; }
.modal-x.lt { top: -42px; right: 0; }
.modal-x.lt::before, .modal-x.lt::after { background: #fff; }

/* ── 반응형 ─────────────────────── */
@media (max-width: 1280px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .road2-steps { grid-template-columns: repeat(3, 1fr); }
  .road2-steps li:nth-child(4)::before { display: none; }
}
@media (max-width: 1080px) {
  .hd-main { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
  .hd-search { order: 3; flex: 1 0 100%; }
  .only-m { display: inline-grid; }
  .hd-right [data-pop="svc"], .hd-right [data-modal="login"] { display: none; }
  .hd-util { display: none; }
  .hd-sub-in { overflow-x: auto; scrollbar-width: none; }
  .hd-sub-in::-webkit-scrollbar { display: none; }
  .hd.compact .hd-sub { margin-top: -47px; }
  .top { grid-template-columns: minmax(0, 1fr); height: auto; }
  .hero-main { height: 300px; }
  .top-r { grid-template-rows: auto; }
  .catgrid { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .duo-r { border-left: 0; padding-left: 0; }
  .apply2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .teach2 { flex-direction: column; align-items: flex-start; }
  .teach-row { justify-content: flex-start; }
  .ft-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 767px) {
  :root { --gut: 16px; }
  body { padding-bottom: 64px; }
  .hd-main { gap: 8px; }
  .logo img { width: 28px; }
  .logo-t { font-size: 16px; }
  .btn-ghost { padding: 0 8px; font-size: 14px; }
  .sch-box { height: 42px; }
  .sch-drop { min-width: 0; }
  .sch-cats { grid-template-columns: repeat(2, 1fr); }
  .hd-sub-in { gap: 16px; height: 44px; }
  .hd-cat { height: 44px; padding-right: 16px; font-size: 14px; }
  .gnb { gap: 16px; }
  .gnb a { height: 44px; font-size: 14px; }
  .pop { right: 16px; left: 16px; }
  .pop-cat { width: auto; top: 44px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  main { padding-top: 12px; }
  .top { gap: 12px; }
  .hero-main { height: auto; aspect-ratio: 430 / 200; border-radius: 12px; }
  .slide { padding: 0 20px; }
  .slide-tx { max-width: 62%; }
  .slide-k { font-size: 11px; padding: 3px 8px; margin-bottom: 6px; }
  .slide h2 { font-size: 19px; letter-spacing: -0.4px; }
  .slide p, .slide-btn { display: none; }
  .slide-ph { right: 14px; width: 34%; border-radius: 10px; }
  .slide-ph.tall { width: 26%; right: 18px; }
  .hero-ctl { left: 20px; bottom: 10px; padding: 3px 8px; }
  .hero-arw { display: none; }
  .catgrid { gap: 6px; }
  .catgrid a { padding: 8px 2px; border-radius: 10px; }
  .cg-ic { width: 34px; height: 34px; font-size: 17px; }
  .catgrid b { font-size: 12px; }
  .catgrid em { display: none; }
  .top-side { height: 76px; }
  .side { padding: 0 16px; }
  .side b { font-size: 14px; max-width: 64%; }
  .side span { font-size: 12px; }
  .side img { width: 84px; right: 12px; }
  .side-n { right: 104px; }
  .sec { margin-top: 44px; }
  .sec-h { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-h h2 { font-size: 20px; }
  .sec-h .pills { max-width: 100%; }
  .road2-h { flex-direction: column; align-items: flex-start; }
  .road2-h h2 { font-size: 19px; line-height: 1.4; }
  .road2-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .road2-steps li::before { display: none; }
  .st2 { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 12px; padding: 14px; }
  .st2 .st-n { grid-row: span 2; }
  .st2 b { margin-top: 0; font-size: 15px; }
  .st2 p { font-size: 12.5px; }
  .st2 em { display: none; }
  .flist { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .fl { grid-template-columns: 120px minmax(0, 1fr); }
  .apply2 { padding: 20px 16px; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); border-radius: 0; }
  .apply2-h h2 { font-size: 20px; }
  .ap2 { grid-template-columns: 76px minmax(0, 1fr); padding: 10px; }
  .ap2 img { width: 76px; }
  .ap2 .ap-btn { grid-column: 1 / -1; }
  .ap-t { font-size: 14px; }
  .coach-grid { grid-template-columns: minmax(0, 1fr); }
  .all-h { align-items: flex-end; }
  .all-h h2 { font-size: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; }
  #grid-b { margin-top: 22px; }
  .c-t { font-size: 15px; line-height: 21px; }
  .c-by { font-size: 13px; }
  .c-meta { font-size: 12px; }
  .teach2 { padding: 26px 20px; margin-bottom: 40px; }
  .teach2 h2 { font-size: 20px; }
  .teach-row { gap: 8px; }
  .tr { width: 54px; font-size: 12px; }
  .tr img, .tr i { width: 48px; height: 48px; }
  .ft-cols { grid-template-columns: repeat(2, 1fr); }
  .fab { right: 16px; bottom: 80px; }
  .fab span { display: none; }
  .fab i { width: 48px; height: 48px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: 64px; background: #fff; border-top: 1px solid var(--line2); border-radius: 16px 16px 0 0; box-shadow: 0 -4px 14px rgba(0, 0, 0, .05); }
  .tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--sub); }
  .tabbar .ic { width: 26px; height: 26px; border-radius: 8px; }
  .tabbar .ic-yt::before { left: 10px; top: 9px; border-left-width: 7px; border-top-width: 4px; border-bottom-width: 4px; }
  .tabbar .dot { top: 8px; right: calc(50% - 18px); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* 목록 · 상세 반응형 */
@media (max-width: 1280px) {
  .list-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .list2 { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .lside { display: none; }
  .list2 .fbar { display: flex; margin-bottom: 20px; }
  .cd2 { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "side" "main"; }
  .cd-side-in { position: static; }
  .cd-head { padding: 20px 0 0; }
  .buy { display: none; }
  .mbuy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; align-items: center; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line2); box-shadow: 0 -6px 18px rgba(0, 0, 0, .06); }
  .mbuy > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .mbuy b { font-size: 18px; }
  .mbuy b.free { color: var(--pri); }
  .mbuy span { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbuy .buy-cta { margin: 0; height: 48px; padding: 0 22px; font-size: 16px; }
  .mb-like { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; position: relative; flex: none; }
  .mb-like::after { content: ""; position: absolute; inset: 0; background: var(--sub); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.1 8.6 3 5 6.6 5c2 0 3.4 1.1 4.4 2.5C12 6.1 13.4 5 15.4 5 19 5 20.9 8.6 19.5 11.8 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / 20px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9.2C1.1 8.6 3 5 6.6 5c2 0 3.4 1.1 4.4 2.5C12 6.1 13.4 5 15.4 5 19 5 20.9 8.6 19.5 11.8 17.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / 20px no-repeat; }
  .mb-like.on { border-color: var(--red); }
  .mb-like.on::after { background: var(--red); }
  body[data-page="detail"] { padding-bottom: 76px; }
  body[data-page="detail"] .fab { bottom: 90px; }
}
@media (max-width: 767px) {
  .fbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut); }
  .fbar::-webkit-scrollbar { display: none; }
  .fdd-menu { position: fixed; top: auto; left: 16px; right: 16px; bottom: 80px; min-width: 0; }
  .list-h h1 { font-size: 20px; }
  .list-h { flex-direction: column; align-items: flex-start; }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .promo { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .promo img { width: 76px; }
  .promo b { font-size: 15px; }
  .promo span { display: none; }
  .cm { padding: 22px 18px; }
  .cm-cats { grid-template-columns: 1fr; }
  .cd2 { padding-top: 14px; }
  .pv .th { border-radius: 10px; }
  .pv-btn { left: 10px; bottom: 10px; height: 32px; font-size: 13px; }
  .cd-head h1 { font-size: 21px; }
  .cd-tabs { gap: 16px; margin-top: 24px; }
  .cd-sec { scroll-margin-top: calc(var(--hdc) + 46px); }
  .cd-tabs a { font-size: 15px; height: 46px; }
  .cd-sec { padding-top: 32px; }
  .cd-h h2, .cd-learn h2 { font-size: 19px; }
  .cd-learn { padding: 18px; }
  .inc, .who { grid-template-columns: 1fr; }
  .shots { gap: 8px; }
  .shots figcaption { font-size: 11.5px; }
  .proof { padding: 18px; }
  .pf b { font-size: 19px; }
  .cd-up { flex-direction: column; align-items: flex-start; }
  .cu-h { padding: 12px 14px; }
  .cu li { padding: 11px 14px; font-size: 13.5px; }
  body[data-page="detail"] .tabbar { display: none; }
  body[data-page="detail"] { padding-bottom: 76px; }
  .cd-rel { margin: 48px auto 40px; }
}

/* ── 강사 지원 (teach.html) — 나눈 첫 화면 · 역할 표 · 형태 표 · 순서 옆 지원서 ─── */
.tp { max-width: 1200px; }
.tp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 28px 0 8px; }
.tp-k { display: inline-block; font-size: 14px; font-weight: 700; color: #c2620a; background: #fff4e6; padding: 5px 12px; border-radius: 20px; }
.tp-hero h1 { margin-top: 16px; font-size: 40px; line-height: 1.32; font-weight: 800; letter-spacing: -1px; }
.tp-lead { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--sub); max-width: 520px; }
.tp-btns { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.tp-btns .btn-pri { margin-top: 0; height: 50px; padding: 0 26px; font-size: 16px; }
.tp-btns .btn-line { height: 50px; padding: 0 20px; font-size: 15px; }
.tp-note { margin-top: 12px; font-size: 13px; color: var(--mute); }
.tp-hero-r { position: relative; margin: 0; }
.tp-hero-r img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }
.tp-hero-r figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .5); padding: 6px 10px; border-radius: 8px; }
.tp-sk { font-size: 14px; font-weight: 700; color: var(--pri); }
.tp-proof { margin-top: 64px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px 40px; border-radius: 20px; background: var(--ink); color: #fff; }
.tp-proof .tp-sk { color: #9cc3ff; }
.tp-proof h2 { margin-top: 6px; font-size: 26px; line-height: 1.38; font-weight: 800; letter-spacing: -0.5px; }
.tp-proof-l p:last-child { margin-top: 12px; font-size: 13px; line-height: 1.65; color: #adb5bd; }
.tp-proof-r { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tp-proof-r div { border-radius: 12px; background: rgba(255, 255, 255, .07); padding: 18px 20px; }
.tp-proof-r b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.6px; color: #fff; }
.tp-proof-r span { font-size: 13px; color: #ced4da; }
.tp-sec { margin-top: 72px; }
.tp-h h2 { margin-top: 4px; font-size: 26px; line-height: 1.4; font-weight: 800; letter-spacing: -0.5px; }
.tp-roles { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; }
.tp-role { padding: 26px 28px; }
.tp-role.us { background: var(--pri-t); border-left: 1px solid var(--line2); }
.tp-role-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.tp-role-h span { width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.tp-role-h img { width: 22px; }
.tp-role-h small { font-size: 12.5px; font-weight: 500; color: var(--mute); }
.tp-role ul { margin-top: 16px; list-style: none; display: grid; gap: 10px; }
.tp-role li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.55; color: var(--sub); }
.tp-role li::before { content: "✓"; position: absolute; left: 0; color: var(--pri); font-weight: 900; }
.tp-role.us ul { grid-template-columns: repeat(2, 1fr); column-gap: 20px; }
.tp-share { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sh { border: 1px solid var(--line2); border-radius: 16px; padding: 22px 20px; display: flex; flex-direction: column; }
.sh-n { font-size: 16px; font-weight: 800; }
.sh-pct { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--mute); }
.sh-pct b { font-size: 38px; font-weight: 800; letter-spacing: -1px; color: var(--pri); line-height: 1; }
.sh-who { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.sh ul { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); list-style: none; display: grid; gap: 6px; }
.sh li { font-size: 13.5px; color: var(--sub); padding-left: 16px; position: relative; }
.sh li::before { content: "·"; position: absolute; left: 4px; color: var(--pri); font-weight: 900; }
.sh-1on1 { background: var(--soft); border-style: dashed; }
.sh-1on1 .sh-pct b { color: var(--ink); }
.tp-share-note { margin-top: 12px; font-size: 13px; color: var(--mute); line-height: 1.6; }
.tp-kinds { margin-top: 22px; border-top: 2px solid var(--ink); }
.tk { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line2); font-size: 15px; }
.tk b { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.tk b i { font-style: normal; font-size: 20px; }
.tk span { color: var(--sub); }
.tk em { font-style: normal; color: var(--mute); font-size: 14px; }
.tk-hd { padding: 10px 8px; font-size: 13px; font-weight: 700; }
.tk-hd span { color: var(--mute); }
.tp-apply { margin: 72px 0 88px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; scroll-margin-top: calc(var(--hdc) + 16px); }
.tp-steps { list-style: none; margin-top: 22px; position: relative; }
.tp-steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--pri-l); }
.tp-steps li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 10px 0 18px; }
.ts-n { width: 36px; height: 36px; border-radius: 50%; background: var(--pri); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 5px #fff; }
.tp-steps b { font-size: 17px; line-height: 36px; }
.tp-steps p { font-size: 14.5px; color: var(--sub); line-height: 1.6; }
.tp-faq { margin-top: 36px; }
.tp-faq h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.tp-form-wrap { min-width: 0; }
.tp-form, .tp-done { border: 1px solid var(--line2); border-radius: 16px; padding: 24px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.tf-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.tf-h b { font-size: 19px; }
.tf-demo { font-size: 11.5px; font-weight: 700; color: #c2620a; background: #fff4e6; padding: 3px 8px; border-radius: 4px; }
.tf { display: block; border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.tf > span, .tf legend { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.tf i { font-style: normal; color: var(--red); }
.tf small { font-weight: 400; color: var(--mute); margin-left: 4px; }
.tf input, .tf select, .tf textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: 0; }
.tf textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.tf input:focus, .tf select:focus, .tf textarea:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(0, 98, 223, .1); }
.tf .bad { border-color: var(--red); }
.tf-chk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.tf-chk label { display: flex; cursor: pointer; }
.tf-chk input { position: absolute; opacity: 0; width: 0; height: 0; }
.tf-chk span { flex: 1; height: 40px; display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; }
.tf-chk input:checked + span { border-color: var(--pri); background: var(--pri-t); color: var(--pri); font-weight: 700; }
.tf-chk input:focus-visible + span { outline: 2px solid var(--pri); outline-offset: 2px; }
.tf-agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--sub); line-height: 1.5; margin: 4px 0 12px; cursor: pointer; }
.tf-agree input { margin-top: 3px; accent-color: var(--pri); }
.tf-agree a { color: var(--pri); text-decoration: underline; }
.tf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tf-err a { text-decoration: underline; }
.tf-err { font-size: 13.5px; font-weight: 600; color: var(--red); margin-bottom: 10px; }
.tp-form .btn-pri { margin-top: 0; height: 50px; font-size: 16px; }
.tp-done { text-align: center; padding: 40px 24px; }
.tp-done-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--pri); color: #fff; font-size: 28px; font-weight: 800; display: grid; place-items: center; }
.tp-done b { display: block; margin-top: 14px; font-size: 20px; }
.tp-done p { margin-top: 6px; font-size: 14px; color: var(--sub); }
.tp-done .tf-demo { display: inline-block; margin-top: 12px; }
.tp-done .btn-line { margin-top: 18px; }
@media (max-width: 1080px) {
  .tp-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tp-hero-r { order: -1; }
  .tp-hero-r img { aspect-ratio: 16 / 9; }
  .tp-proof { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tp-apply { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tp-share { grid-template-columns: repeat(2, 1fr); }
  .tp-form-wrap { position: static; order: -1; }
}
@media (max-width: 767px) {
  .tp-hero { padding-top: 4px; }
  .tp-hero h1 { font-size: 27px; letter-spacing: -0.6px; }
  .tp-lead { font-size: 15px; }
  .tp-btns a { flex: 1 0 100%; }
  .tp-proof { margin-top: 44px; padding: 24px 20px; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); border-radius: 0; }
  .tp-proof h2 { font-size: 21px; }
  .tp-proof-r b { font-size: 22px; }
  .tp-proof-r div { padding: 14px; }
  .tp-sec { margin-top: 52px; }
  .tp-h h2 { font-size: 21px; }
  .tp-roles { grid-template-columns: minmax(0, 1fr); }
  .tp-role { padding: 20px; }
  .tp-role.us { border-left: 0; border-top: 1px solid var(--line2); }
  .tp-role.us ul { grid-template-columns: minmax(0, 1fr); }
  .tk { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 4px; }
  .tp-share { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sh { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .sh-pct { grid-column: 2; grid-row: 1 / 3; margin-top: 0; flex-direction: column; align-items: flex-end; gap: 2px; }
  .sh-pct b { font-size: 30px; }
  .sh-who { margin-top: 2px; font-size: 13px; }
  .sh ul { grid-column: 1 / -1; margin-top: 8px; padding-top: 8px; }
  .tk-hd { display: none; }
  .tk em { font-size: 13px; }
  .tp-apply { margin: 52px 0 56px; }
  .tp-form { padding: 18px; margin-left: calc(-1 * var(--gut) + 4px); margin-right: calc(-1 * var(--gut) + 4px); }
}
