/* 3차(2026-10-20) 이식술 ‘치아 이식술 두 가지’ 다시 디자인 — 지그재그 두 줄(사진 7 : 글 5), 금색 윤곽 큰 번호 · 웜 아이보리 바탕
   생성 batch-1019/round3.py ways() · 사진 · 글은 원래 그대로 */
.bp-ways { padding: 150px 0 140px; background: #f6f2ea; }
.bp-ways .eyebrow, .bp-ways .s-h2 { text-align: center; }
.bp-ways__list { display: grid; gap: clamp(72px, 7vw, 120px); max-width: 1180px; margin: 76px auto 0; }
.bp-way { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(36px, 5vw, 96px); }
.bp-way--r { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.bp-way--r .bp-way__fig { order: 2; }
.bp-way__fig { position: relative; }
.bp-way__fig::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(169,132,62,.45); pointer-events: none; }
.bp-way--r .bp-way__fig::before { inset: 22px 22px -22px -22px; }
.bp-way__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.bp-way__img > img { width: 100%; height: 100%; object-fit: cover; }
.bp-way__no { margin: 0; font-size: clamp(64px, 3vw + 48px, 112px); line-height: .9; font-weight: 200; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(169,132,62,.8); font-variant-numeric: tabular-nums; }
.bp-way__en { margin: 22px 0 0; font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: .3em; color: var(--gold); }
.bp-way__t { margin: 14px 0 0; padding-bottom: 20px; border-bottom: 1px solid #1a1a1a; font-size: clamp(24px, 16px + .8vw, 32px); line-height: 1.4; font-weight: 600; letter-spacing: -0.035em; color: #1a1a1a; word-break: keep-all; }
.bp-way__txt > p:not(.bp-way__no):not(.bp-way__en) { margin-top: 20px; font-size: 16.5px; line-height: 1.85; color: #3c3935; word-break: keep-all; }
.bp-way__txt > .rt-meta { margin-top: 16px; font-size: 13.5px; color: #8b8378; }
.bp-ways .rt-more { justify-content: center; margin-top: 88px; }
@media (max-width: 1023px) {
  .bp-ways { padding: 76px 0 80px; }
  .bp-ways__list { gap: 64px; margin-top: 40px; }
  .bp-way, .bp-way--r { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .bp-way--r .bp-way__fig { order: 0; }
  .bp-way__fig::before, .bp-way--r .bp-way__fig::before { inset: 12px -10px -12px 10px; }
  .bp-way__no { font-size: 60px; }
  .bp-way__en { margin-top: 14px; font-size: 12.5px; }
  .bp-way__t { font-size: 22px; padding-bottom: 16px; }
  .bp-way__txt > p:not(.bp-way__no):not(.bp-way__en) { font-size: 15px; }
  .bp-ways .rt-more { margin-top: 56px; }
}
/* 3차 추가(10-20 저녁): 제목은 한 줄(‘기능하지 않는 치아를 이용한 치아 이식술’이 두 줄로 꺾이던 것) — 글 칸 폭에 맞춰 글자 크기(cqi) */
.bp-way__txt { container-type: inline-size; }
.bp-way__t { white-space: nowrap; }
@supports (container-type: inline-size) { .bp-way__t { font-size: min(32px, 5.4cqi); } }
