/* 데일리 드럼 — 미니멀 (8px 그리드) */
:root {
  --text: #191f28;
  --sub: #4e5968;
  --muted: #646f7c;
  --line: #e5e8eb;
  --bg: #ffffff;
  --card: #f2f4f6;
  --band: #f2f4f6;
  --blue: #3182f6;
  --blue-dark: #1b64da;
  --blue-text: #1b64da; /* 작은 파란 글씨: 흰·연파랑 배경에서 대비 4.5 이상 */
  --blue-soft: #e8f3ff;
  --r-lg: 20px;
  --r-md: 14px;
  --gutter: 24px;
  --max: 640px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 0;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

/* ---------- header */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.hd-in { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: 56px; display: flex; align-items: center; gap: 24px; }
.brand { font-weight: 800; font-size: 17px; letter-spacing: 0.02em; text-decoration: none; line-height: 1; }
.hd-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.hd-nav a { text-decoration: none; color: var(--sub); font-size: 15px; font-weight: 500; line-height: 1; }
.hd-nav a:hover { color: var(--text); }
.dd { position: relative; display: flex; align-items: center; }
.dd > a { padding: 20px 0; }
.dd-menu { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 4px); display: flex; flex-direction: column; min-width: 168px; padding: 8px; border-radius: var(--r-md); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hd-nav .dd-menu a { padding: 12px; border-radius: 10px; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.hd-nav .dd-menu a:hover { background: var(--card); }
.hd-call { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-text); font-weight: 600; font-size: 14px; line-height: 1; text-decoration: none; }

/* ---------- type */
.eyebrow { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--blue-text); }
h1 { font-size: 32px; line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 22px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; }
.sub { font-size: 17px; line-height: 1.65; color: var(--sub); }

/* ---------- buttons */
.btns { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 24px; border-radius: var(--r-md); background: var(--blue); color: #fff; font-size: 17px; font-weight: 600; line-height: 1; text-decoration: none; transition: background .15s, transform .1s; }
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: scale(.98); }
.btn-sub { background: var(--card); color: var(--text); }
.btn-sub:hover { background: var(--line); }

/* ---------- hero */
.hero { padding: 40px 0 32px; }
.hero .eyebrow { margin-bottom: 8px; }
.hero .sub { margin-top: 16px; }
.hero .btns { margin-top: 32px; }
.hero .btns .btn { flex: 1; }
.hero-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--r-lg); margin-top: 32px; }
.hero-gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; margin-top: 32px; }
.hero-gal img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.hero-gal img:first-child { grid-row: 1 / 3; aspect-ratio: 4/3; border-radius: var(--r-lg); }
.hero-sm { padding-top: 24px; }
.crumbs ol { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 13px; line-height: 1; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; }

/* ---------- sections: 토스식 굵은 구분 띠 */
.sec { padding: 40px 0; border-top: 12px solid var(--band); }
.sec h2 { margin-bottom: 24px; }

/* 핵심 정보 카드 */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts li { display: flex; flex-direction: column; padding: 20px; border-radius: var(--r-lg); background: var(--card); min-height: 132px; }
.facts small { font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--muted); }
.facts b { margin-top: 8px; font-size: 20px; line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; }
.facts span { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--sub); }

/* 번호 이유 */
.reasons { display: grid; gap: 24px; counter-reset: r; }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
.reasons li::before { content: counter(r); grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-text); font-size: 15px; font-weight: 700; line-height: 32px; text-align: center; }
.reasons b { font-size: 18px; line-height: 32px; font-weight: 700; }
.reasons p { font-size: 16px; line-height: 1.6; color: var(--sub); }

/* 목록 */
.list li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list b { font-size: 17px; line-height: 1.5; font-weight: 600; }
.list span { font-size: 15px; line-height: 1.6; color: var(--sub); }

/* 표: 왼쪽 항목 / 오른쪽 값 */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.6; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { width: 96px; padding-right: 16px; text-align: left; font-weight: 500; color: var(--muted); white-space: nowrap; }
.table td { text-align: right; font-weight: 600; color: var(--text); }
.table tr:first-child td { font-size: 18px; font-weight: 700; }
.note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* 오는 길 */
.route { display: grid; gap: 12px; counter-reset: s; margin-bottom: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--card); }
.route li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: start; font-size: 15px; line-height: 24px; font-weight: 500; }
.route li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 24px; text-align: center; }
.sec .btns { margin-top: 24px; }
.sec .btns .btn { flex: 1; }

/* 공간 */
.space + .space { margin-top: 32px; }
.space h3 { font-size: 18px; line-height: 1.4; font-weight: 700; margin-bottom: 12px; }
.photos.n4 figure, .photos.n6 figure { }
.photos.n7 figure:first-child { grid-column: 1 / -1; }
.photos.n7 figure:first-child img { aspect-ratio: 16/9; }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); background: var(--card); }
.photos.n1 { grid-template-columns: 1fr; }
.photos.n1 img { aspect-ratio: 16/10; }
.photos.n3 figure:first-child { grid-column: 1 / -1; }
.photos.n3 figure:first-child img { aspect-ratio: 16/9; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 16px; line-height: 1.5; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq p { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--sub); }

/* 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--card); color: var(--sub); font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; }
.chip:hover { background: var(--line); color: var(--text); }

/* CTA */
.cta-wrap { border-top: 12px solid var(--band); padding: 40px 0 56px; }
.cta { padding: 32px 24px; border-radius: var(--r-lg); background: var(--card); text-align: center; }
.cta h2 { font-size: 20px; line-height: 1.45; }
.cta p { margin: 8px 0 24px; font-size: 15px; line-height: 1.6; color: var(--sub); }
.cta .btn { width: 100%; }

/* ---------- footer */
.ft { border-top: 1px solid var(--line); padding: 32px 0 120px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.ft-brand { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--sub); }
.ft a { color: var(--sub); }
.ft-regions { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 16px 0; }
.ft-regions a { text-decoration: none; }
.ft-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; font-weight: 600; }
.ft-links a { text-decoration: none; }
.tabs { display: flex; gap: 8px; margin-bottom: 32px; }
.tabs a { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 12px; background: var(--card); color: var(--sub); font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--text); color: #fff; }
.ft-copy { margin-top: 8px; }

.dock { display: none; }

/* ---------- 넓은 화면 */
@media (min-width: 721px) {
  body { font-size: 17px; }
  h1 { font-size: 44px; line-height: 1.3; }
  h2 { font-size: 26px; }
  .hero { padding: 72px 0 40px; }
  .hero .btns .btn { flex: 0 0 auto; min-width: 180px; }
  .sec { padding: 56px 0; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { min-height: 148px; }
  :root { --max: 760px; }
}

/* ---------- 휴대폰 */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .hd-nav { display: none; }
  .hd-call { margin-left: auto; }
  .hero .btns { flex-direction: column; }
  .hero .btns .btn { flex: none; width: 100%; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255,255,255,0), #fff 28%); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border-radius: var(--r-md); background: var(--blue); color: #fff; font-size: 17px; font-weight: 600; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

.kw-h { margin: 24px 0 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.kw-h:first-of-type { margin-top: 0; }
.note a { color: var(--blue-text); }
.prose { margin-bottom: 8px; font-size: 16px; line-height: 1.7; color: var(--sub); }

/* ---------- 드럼 가이드(블로그형 글) */
.post { padding: 24px 0 8px; }
.post h1 { font-size: 28px; line-height: 1.4; }
.post .eyebrow { margin-bottom: 8px; }
.post-meta { margin-top: 12px; font-size: 13px; color: var(--muted); }
.post-fig { margin: 24px 0; }
.post-fig img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-lg); background: var(--card); }
.post-sum { padding: 20px; border-radius: var(--r-lg); background: var(--blue-soft); }
.post-sum-h { margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--blue-text); }
.post-sum li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.7; }
.post-sum li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.post-body { margin-top: 32px; }
.post-body h2 { margin: 40px 0 12px; font-size: 21px; line-height: 1.45; }
.post-body p { margin-top: 12px; font-size: 16px; line-height: 1.85; color: #333d4b; }
.post-body ul, .post-body ol { margin-top: 12px; display: grid; gap: 8px; }
.post-body li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.7; color: #333d4b; }
.post-body ul li::before { content: ""; position: absolute; left: 10px; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.post-body ol { counter-reset: o; }
.post-body ol li { counter-increment: o; }
.post-body ol li::before { content: counter(o); position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--card); color: var(--sub); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.post-tip { padding: 16px; border-left: 3px solid var(--blue); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--card); font-size: 15px !important; }
.post-core { margin-top: 40px; padding: 20px; border-radius: var(--r-lg); background: var(--blue-soft); }
.post-core .post-info-h { padding-top: 0; color: var(--blue-text); }
.post-core li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(49,130,246,.15); }
.post-core li:last-child { border-bottom: 0; padding-bottom: 0; }
.post-core b { font-size: 16px; font-weight: 700; }
.post-core span { font-size: 14px; line-height: 1.6; color: var(--sub); }
.post-info { margin-top: 16px; padding: 8px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.post-info-h { padding-top: 12px; font-size: 15px; font-weight: 700; }
.post-info .table tr:first-child td { font-size: 15px; font-weight: 600; }
.post-cta { margin-top: 16px; padding: 24px 20px; border-radius: var(--r-lg); background: var(--card); }
.post-cta-h { font-size: 18px; font-weight: 700; line-height: 1.45; }
.post-cta p + p { margin-top: 6px; font-size: 14px; color: var(--sub); }
.post-cta .btns { margin-top: 16px; }
.post-cta .btn { flex: 1; height: 52px; padding: 0 14px; font-size: 16px; white-space: nowrap; }
.post-cta .btn:first-child { flex: 1.6; }
.post-more { margin-top: 40px; }
.post-more h2 { margin-bottom: 12px; font-size: 18px; }
.post-rel li a, .post-list li a { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.5; }
.post-rel li a span { font-size: 12px; font-weight: 600; color: var(--blue-text); }
.post-list li a b { font-size: 16px; font-weight: 600; }
.post-list li a span { font-size: 14px; font-weight: 400; color: var(--muted); }
.post-rel li a:hover, .post-list li a:hover b { color: var(--blue-text); }
.post .note { margin-top: 12px; }
@media (min-width: 721px) { .post { padding-top: 40px; } .post h1 { font-size: 36px; } }

/* ---------- 메인 강사진 띠 (라인업 스타일은 card.css) */
.team-band { --ink: #fff; --fg: #191f28; --accent: #3182f6; --ease: cubic-bezier(.2,.8,.2,1); text-align: center; }
.team-band-h { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.team-band h2 { margin: 10px 0 0 !important; }
.team-band .lu { margin-top: 24px; padding: 0; }
.team-band-btn { margin-top: 8px; }
