/* 20차 미리보기(2026-10-30 · ko-ver2) — 원장 소개 5,001 사진 크게 · 재식술 띠(가운데 자연치아 + 둘레 문구 + 원장 실사진) · 재식술 과정(단계 탭). 생성 batch-1030l/r20.py */

/* ───── 원장 소개 약력 2026(5,001 게시판): 사진 칸만 크게 ───── */
.sb-r.r20-big { grid-template-columns: minmax(0, 28%) minmax(0, 1fr) clamp(300px, 27vw, 480px); }
.sb-r.r20-big .sb-r__ph img { filter: none; }
.sb-r.r20-big .sb-r__ph:hover .sb-r__phi { transform: scale(1.3); }
.sb-r.r20-big .sb-r__ph.is-zoom .sb-r__phi { transform: scale(1.3); }
@media (max-width: 1023px) {
  .sb-r.r20-big { grid-template-columns: minmax(0, 1fr); grid-template-areas: "y" "tx" "ph"; }
  .sb-r.r20-big .sb-r__ph { margin-top: 8px; }
  .sb-r.r20-big .sb-r__ph:hover .sb-r__phi, .sb-r.r20-big .sb-r__ph.is-zoom .sb-r__phi { transform: none; box-shadow: none; }
}

/* ───── 재식술 띠: 흐린 수술 사진 바탕 · 가운데 자연치아(둥근 테) · 둘레 문구 3개 · 오른쪽 원장 실사진 ───── */
.r20-band { position: relative; overflow: hidden; padding: clamp(80px, 5vw + 40px, 120px) 0 0; background: #15130f; color: #fff; isolation: isolate; }
.r20-band__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.r20-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: blur(14px) saturate(.6) brightness(.42); transform: scale(1.08); }
.r20-band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(48% 70% at 40% 58%, rgba(214,176,104,.16), transparent 70%), linear-gradient(180deg, rgba(21,19,15,.55) 0%, rgba(21,19,15,.2) 40%, rgba(21,19,15,.85) 100%); }
.r20-band__in { position: relative; z-index: 1; }
.r20-band__t { margin: 0; text-align: center; font-size: clamp(30px, 20px + 2vw, 56px); line-height: 1.3; font-weight: 300; letter-spacing: -0.045em; }
.r20-band__t strong { font-weight: 800; color: #e2c27f; }
.r20-band__fig { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 22vw, 360px) minmax(0, 1fr); align-items: center; column-gap: clamp(28px, 3vw, 56px);
  width: min(100%, 980px); margin: clamp(40px, 3vw + 16px, 64px) 0 0; padding-bottom: clamp(70px, 5vw, 110px); }
.r20-band__orb { position: relative; aspect-ratio: 1; border-radius: 50%; }
.r20-band__orb::before, .r20-band__orb::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.r20-band__orb::before { inset: 0; border: 1px solid rgba(214,176,104,.55); }
.r20-band__orb::after { inset: -18px; border: 1px dashed rgba(214,176,104,.25); animation: r20Spin 60s linear infinite; }
@keyframes r20Spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .r20-band__orb::after { animation: none; } }
.r20-band__orb img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 71%); mask-image: radial-gradient(circle, #000 58%, transparent 71%); }
.r20-band__col { display: grid; gap: clamp(36px, 3vw, 64px); margin: 0; padding: 0; list-style: none; }
.r20-band__col--l { text-align: right; }
.r20-band__pt { position: relative; font-size: clamp(17px, 14px + .5vw, 22px); line-height: 1.45; font-weight: 600; letter-spacing: -0.03em; }
.r20-band__pt b { color: #e2c27f; font-weight: 800; }
.r20-band__pt::before { content: ""; position: absolute; top: .72em; width: clamp(24px, 3vw, 52px); height: 1px; background: linear-gradient(90deg, rgba(214,176,104,0), #d6b068); }
.r20-band__pt::after { content: ""; position: absolute; top: calc(.72em - 3px); width: 7px; height: 7px; border-radius: 50%; background: #d6b068; box-shadow: 0 0 0 4px rgba(214,176,104,.18); }
.r20-band__col--l .r20-band__pt { padding-right: calc(clamp(24px, 3vw, 52px) + 18px); }
.r20-band__col--l .r20-band__pt::before { right: 10px; background: linear-gradient(90deg, rgba(214,176,104,0), #d6b068); }
.r20-band__col--l .r20-band__pt::after { right: 0; }
.r20-band__col--r .r20-band__pt { padding-left: calc(clamp(24px, 3vw, 52px) + 18px); }
.r20-band__col--r .r20-band__pt::before { left: 10px; background: linear-gradient(90deg, #d6b068, rgba(214,176,104,0)); }
.r20-band__col--r .r20-band__pt::after { left: 0; }
.r20-band__doc { position: absolute; z-index: 0; right: max(0px, calc((100% - var(--maxw, 1280px)) / 2 - 40px)); bottom: 0; width: clamp(300px, 30vw, 520px); margin: 0; pointer-events: none; }
.r20-band__doc img { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.r20-band__pt { word-break: keep-all; text-wrap: balance; }
.r20-band .bp-band__cap { position: absolute; z-index: 2; left: max(var(--gut, 24px), calc((100% - var(--maxw, 1280px)) / 2)); right: auto; bottom: 18px; max-width: min(560px, 45%); margin: 0; padding: 0; text-align: left; font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 1279px) { .r20-band__fig { width: min(100%, 760px); } }
@media (max-width: 1023px) {
  .r20-band { padding-top: 64px; }
  .r20-band__fig { grid-template-columns: none; justify-items: center; width: 100%; row-gap: 26px; padding-bottom: 0; }
  .r20-band__orb { width: min(64vw, 260px); order: -1; }
  .r20-band__col, .r20-band__col--l { justify-items: start; gap: 14px; width: 100%; text-align: left; }
  .r20-band__col--l .r20-band__pt, .r20-band__col--r .r20-band__pt { padding: 0 0 0 26px; }
  .r20-band__col--l .r20-band__pt::before, .r20-band__col--r .r20-band__pt::before { display: none; }
  .r20-band__col--l .r20-band__pt::after, .r20-band__col--r .r20-band__pt::after { left: 2px; right: auto; }
  .r20-band__doc { position: relative; right: auto; width: min(78%, 360px); margin: 28px 0 0 auto; }
  .r20-band .bp-band__cap { position: relative; left: auto; bottom: auto; max-width: none; padding: 14px var(--gut) 28px; background: #15130f; }
}

/* ───── 재식술 과정: 머리(제목 · 3단계 일정 · 원리) + 단계 탭(왼쪽 목록 · 오른쪽 사진과 설명) ───── */
.r20-proc { padding: clamp(90px, 6vw + 50px, 150px) 0; background: #f6f3ee; color: var(--ink, #1b1916); }
.r20-proc__hd { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 80px); align-items: end; padding-bottom: clamp(36px, 3vw, 56px); border-bottom: 1px solid #1b1916; }
.r20-proc__lead { margin: 22px 0 0; font-size: clamp(16px, 15px + .3vw, 18px); line-height: 1.8; color: #4a4540; }
.r20-proc__phase { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.r20-proc__phase::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: linear-gradient(90deg, #a9843e, #d8c39a); }
.r20-proc__phase li { position: relative; display: grid; gap: 6px; padding-top: 34px; }
.r20-proc__phase li::before { content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #a9843e; background: #f6f3ee; }
.r20-proc__phase li:nth-child(2)::before { background: #a9843e; }
.r20-proc__phase b { font-size: clamp(20px, 15px + .9vw, 28px); line-height: 1.3; font-weight: 800; letter-spacing: -0.035em; }
.r20-proc__phase small { font-size: 15px; font-weight: 600; color: #a9843e; letter-spacing: 0; }
.r20-proc__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 3vw, 56px); margin-top: clamp(36px, 3vw, 56px); align-items: start; }
.r20-proc__tabs { position: sticky; top: 110px; display: grid; gap: 6px; }
.r20-proc__tab { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; row-gap: 2px; width: 100%; padding: 16px 18px; border: 0; border-radius: 12px; background: transparent;
  font: inherit; text-align: left; color: #55504a; cursor: pointer; transition: background-color .25s, color .25s; }
.r20-proc__tab:hover { background: #ece6dc; color: #1b1916; }
.r20-proc__tab[aria-selected="true"] { background: #1b1916; color: #fff; }
.r20-proc__tab:focus-visible { outline: 2px solid #a9843e; outline-offset: 2px; }
.r20-proc__tn { grid-row: span 2; font-size: 26px; line-height: 1; font-weight: 300; letter-spacing: -0.02em; color: #b9a479; font-variant-numeric: tabular-nums; }
.r20-proc__tab[aria-selected="true"] .r20-proc__tn { color: #e2c27f; }
.r20-proc__tph { font-size: 12px; letter-spacing: .08em; color: #a9843e; }
.r20-proc__tab[aria-selected="true"] .r20-proc__tph { color: rgba(226,194,127,.8); }
.r20-proc__tt { font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: -0.03em; }
.r20-proc__p { display: grid; gap: 0; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -40px rgba(60,40,20,.45); }
.r20-proc__p[hidden] { display: none; }
.r20-proc__img { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #151514; }
.r20-proc__img img { width: 100%; height: 100%; object-fit: cover; }
.r20-proc__img--contain img { object-fit: contain; }
.r20-proc__img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.62); font-size: 13px; line-height: 1.5; color: #fff; }
.r20-proc__tx { padding: clamp(24px, 2vw + 12px, 40px); }
.r20-proc__no { margin: 0; font-size: 13px; letter-spacing: .2em; color: #a9843e; }
.r20-proc__tx h3 { margin: 8px 0 14px; font-size: clamp(22px, 16px + .9vw, 30px); line-height: 1.35; font-weight: 800; letter-spacing: -0.04em; }
.r20-proc__tx p:not(.r20-proc__no) { margin: 0 0 10px; font-size: clamp(16px, 15px + .25vw, 18px); line-height: 1.8; color: #4a4540; }
.r20-proc__tx .rt-meta { margin-top: 6px; font-size: 13px; color: #8a8378; }
.r20-proc__nav { display: flex; gap: 8px; margin-top: 16px; }
.r20-proc__nav button { height: 42px; padding: 0 16px; border: 1px solid #cfc6b8; border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: #1b1916; cursor: pointer; }
.r20-proc__nav button:disabled { opacity: .35; cursor: default; }
/* 스크립트가 없으면 여섯 단계를 차례로 모두 보여 준다 */
.r20-proc:not(.is-js) .r20-proc__tabs, .r20-proc:not(.is-js) .r20-proc__nav { display: none; }
.r20-proc:not(.is-js) .r20-proc__body { grid-template-columns: none; }
.r20-proc:not(.is-js) .r20-proc__panels { display: grid; gap: 24px; }
@media (max-width: 1023px) {
  .r20-proc__hd { grid-template-columns: none; align-items: start; }
  .r20-proc__phase b { font-size: 18px; }
  .r20-proc__phase small { font-size: 13px; }
  .r20-proc__body { grid-template-columns: none; }
  .r20-proc__tabs { position: static; display: flex; gap: 8px; margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 4px; overflow-x: auto; scrollbar-width: none; }
  .r20-proc__tabs::-webkit-scrollbar { display: none; }
  .r20-proc__tab { flex: 0 0 auto; width: auto; grid-template-columns: auto auto; column-gap: 8px; padding: 10px 16px; border: 1px solid #d8cfc0; border-radius: 999px; background: #fff; }
  .r20-proc__tn { grid-row: auto; font-size: 14px; font-weight: 700; }
  .r20-proc__tph { display: none; }
  .r20-proc__tt { font-size: 14px; white-space: nowrap; }
  .r20-proc__img { aspect-ratio: 4 / 3; }
}
