/* ============================================================
   일산퍼스트정형외과 — 메인 페이지
   ============================================================ */

/* ---------- 히어로 (인셋 라운드 카드 · 영상 비율 그대로, 오버레이 없음) ---------- */
.hero {
  margin: calc(var(--header-h) + 4px) var(--frame) 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(10, 41, 97, 0.16);
  /* 20:9보다 덜 자르고 16:9보다 낮게 — 18:9 (2:1) */
  aspect-ratio: 18 / 9;
  background: var(--navy-deep);
}
.hero__media,
.hero__media video {
  width: 100%;
  height: 100%;
}
.hero__media video {
  object-fit: cover; /* 카드 비율 = 콘텐츠 비율이라 레터박스만 정확히 크롭됨 */
  display: block;
}

/* ---------- 히어로 인트로 (영상 아래 텍스트 블록) ---------- */

.hero__eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.hero__pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero__title em {
  font-style: normal;
  color: var(--accent-strong);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* 히어로 아래 라이트 티커 스트립 — unit 2개 × -50% 이동으로 이음새 없는 무한 루프 */
.ticker {
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.ticker:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-unit {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px; /* 루프 경계의 간격 = gap과 동일해야 이음새가 없음 */
  flex: 0 0 auto;
}
.marquee-unit span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--navy);
  /* opacity: 0.75; */
}
.marquee-unit i {
  color: var(--accent);
  font-style: normal;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 핵심 수치 (풀블리드 다크 섹션: 좌 타이틀 + 우 4수치) ---------- */

/* ---------- 부위별 통증클리닉 (센터 활성 캐러셀 — 레퍼런스 clinic_sect) ---------- */

/* Swiper 트랙도 같은 곡선으로 — 카드 확장과 이동이 한 몸처럼 움직이게 */
.pain-nav__slider .swiper-wrapper {
  transition-timing-function: var(--pain-ease) !important;
}
.pain-nav .sec-head {
  margin-bottom: min(10vw, 72px);
}

/* slidesPerView(JS)와 동일한 브레이크포인트로 --pv 동기화 */

.pain-nav__slider .swiper-wrapper {
  align-items: flex-start;
}
.pain-nav__slider .swiper-slide.pain-card {
  /* 폭은 Swiper가 slidesPerView로 인라인 지정 (JS 미로드 시 폴백으로 var 사용) */
  width: var(--pain-card-w);
  height: auto;
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: none;
}

/* 하단 텍스트 오버레이 */

/* 센터(활성) 카드: 세로 확장 + 스크림 상승 + 태그 등장 */
.pain-card.swiper-slide-active .pain-card__img,
.pain-card.swiper-slide-duplicate-active .pain-card__img {
  padding-top: 140%;
}
.pain-card.swiper-slide-active .pain-card__img::before,
.pain-card.swiper-slide-duplicate-active .pain-card__img::before {
  background: rgba(10, 41, 97, 0);
}
.pain-card.swiper-slide-active .pain-card__txt,
.pain-card.swiper-slide-duplicate-active .pain-card__txt {
  padding-bottom: 40px;
}
.pain-card.swiper-slide-active .pain-card__txt::before,
.pain-card.swiper-slide-duplicate-active .pain-card__txt::before {
  transform: none;
}
.pain-card.swiper-slide-active .pain-card__txt .tit,
.pain-card.swiper-slide-duplicate-active .pain-card__txt .tit {
  transform: scale(1);
}
.pain-card.swiper-slide-active .pain-card__txt .tags,
.pain-card.swiper-slide-duplicate-active .pain-card__txt .tags {
  opacity: 1;
  transition: opacity 0.45s ease-in 0.5s;
}
/* 프로그레스바 페이지네이션 */

.pain-nav__paging .swiper-pagination-progressbar {
  position: absolute;
  inset: 0;
  background: transparent;
}
.pain-nav__paging .swiper-pagination-progressbar-fill {
  background: linear-gradient(90deg, var(--accent), var(--navy));
  border-radius: 999px;
}
.pain-nav.section {
  padding-bottom: min(22vw, 96px);
}

/* ---------- 일상회복 4단계 (에디토리얼 리스트 · 웨이브 텍스처) ---------- */

.process .inner {
  position: relative;
  z-index: 1;
}

.process__head .btn {
  margin-top: 28px;
}

/* ---------- 진단 시스템 (탭 + 슬라이더) ---------- */

.diag .sec-head h2 .point {
  color: var(--blue);
}
/* 탭 */

.diag__tabs button.is-active {
  color: var(--ink);
}
.diag__tabs button.is-active em {
  color: var(--accent-strong);
}
.diag__tabs button.is-active::after {
  transform: scaleX(1);
}
/* 슬라이드 아이템 (Swiper 번들 CSS display:block보다 특이도 높게) */
.diag__slider .swiper-slide.diag__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 60px);
  align-items: center;
  height: auto;
}

/* ---------- 비수술치료 (딥네이비 벤토 그리드) ---------- */

/* ---------- 진료 철학 (센터 스테이트먼트 · 라이트 그라데이션) ---------- */

.philosophy .inner {
  position: relative;
  z-index: 1;
}

/* 가치 키워드 칩 (스테이트먼트 보조 한 줄) */
/* 링크 없는 꾸밈 요소 — 알약(버튼) 대신 배경 없는 키워드 라인 + 액센트 다이아몬드 구분자 */

/* ---------- 의료진 (아바타 탭 + 센터 피크 슬라이더 · 인원수 무관) ---------- */

/* 아바타 탭 */

.doctors__tabs button.is-active {
  border-color: var(--navy);
  background: var(--navy);
}
.doctors__tabs button.is-active .nm {
  color: #fff;
}
.doctors__tabs button.is-active .avatar {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}
/* 슬라이드 패널 (센터 활성 + 양옆 피크) */

.doctors__slider .swiper-slide.doc-slide {
  position: relative;
  width: min(1160px, 78vw);
  height: clamp(460px, 40vw, 560px);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #eef5fc;
  border: 1px solid #e4edf8;
  transform: scale(0.94);
  opacity: 0.5;
  filter: saturate(0.7);
  transition:
    transform 0.7s cubic-bezier(0.45, 0, 0.15, 1),
    opacity 0.7s,
    filter 0.7s;
}
.doctors__slider .swiper-slide-active.doc-slide,
.doctors__slider .swiper-slide-duplicate-active.doc-slide {
  transform: scale(1);
  opacity: 1;
  filter: none;
}
/* 사이드 카드에선 정보 숨김 (사진·아치만 피크) */

.doctors__slider .swiper-slide-active .doc-slide__info,
.doctors__slider .swiper-slide-duplicate-active .doc-slide__info {
  opacity: 1;
  transform: none;
}

.doc-slide__info .slogan {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 41, 97, 0.14);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--text-sub);
}
.doc-slide__info .slogan em {
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- 자주 묻는 질문 (좌 상담카드 + 열린 항목만 카드) ---------- */

/* 좌측 네이비 상담 카드 */

.faq-contact .label {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}
.faq-contact .tel {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(27px, 2.2vw, 33px);
  color: #8dcbd4;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.faq-contact .tel:hover {
  color: #fff;
}

/* 우측: 헤어라인 리스트, 열린 항목만 카드로 */
.faq--bare {
  max-width: none;
}
.faq--bare .faq__item {
  border-top: 1px solid rgba(16, 27, 51, 0.14);
  border-bottom: 0;
}
.faq--bare .faq__item:last-child {
  border-bottom: 1px solid rgba(16, 27, 51, 0.14);
}
.faq--bare .faq__q {
  padding: 24px 14px;
  font-size: 22px;
  font-family: var(--font-display);
  gap: 18px;
  border-radius: 12px;
  transition:
    color 0.3s,
    background 0.3s;
}
.faq--bare .faq__q:hover {
  background: linear-gradient(90deg, rgba(71, 175, 223, 0.08), transparent 70%);
}
.faq--bare .faq__item.is-open .faq__q {
  color: var(--navy);
}
.faq--bare .faq__q::before {
  display: none;
}
.faq--bare .faq__q em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  color: var(--accent-strong);
  flex: 0 0 48px;
}
/* 부드러운 펼침 (grid rows 트릭) */
.faq--bare .faq__a {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  margin: 0;
  border: 0;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq--bare .faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq--bare .faq__a .in {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0 14px 0 76px;
  font-size: 20px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(
      140deg,
      rgba(16, 52, 122, 0.97) 0%,
      rgba(10, 41, 97, 0.96) 60%,
      rgba(13, 55, 92, 0.95) 100%
    ),
    url("/assets/img/ext/wave-cool.svg") center / cover no-repeat;
  border-radius: 18px;
  padding: 0 28px 0 76px;
  transition:
    padding 0.45s var(--ease-out),
    margin 0.45s var(--ease-out),
    box-shadow 0.45s;
}
.faq--bare .faq__a .in::before {
  content: "A.";
  position: absolute;
  left: 26px;
  top: 25px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  line-height: 1;
  color: #8dcbd4;
  opacity: 0;
  transition: opacity 0.3s 0.2s;
}
.faq--bare .faq__item.is-open .faq__a .in {
  padding: 24px 28px 24px 76px;
  margin-bottom: 26px;
  box-shadow: 0 16px 36px rgba(10, 41, 97, 0.22);
}
.faq--bare .faq__item.is-open .faq__a .in::before {
  opacity: 1;
}
/* 셰브런 원형 */
.faq--bare .faq__q .chev {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  rotate: 0deg;
  position: relative;
  transition:
    background 0.3s,
    border-color 0.3s,
    rotate 0.3s;
}
.faq--bare .faq__q .chev::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  translate: -50% -70%;
  rotate: 45deg;
  transition: border-color 0.3s;
}
.faq--bare .faq__item.is-open .faq__q .chev {
  rotate: 180deg;
  background: linear-gradient(135deg, var(--accent), #1d97a9);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(71, 175, 223, 0.4);
}
.faq--bare .faq__item.is-open .faq__q .chev::before {
  border-color: #fff;
}

/* ---------- 진료시간 · 오시는 길 ---------- */

/* ============================================================
   메인 리디자인 (2026-08) — 대표원장·약력·블로그·라디얼·장비·둘러보기·진료안내
   ============================================================ */

/* 공통 헬퍼 */
.eyebrow-light {
  font-weight: 700;
  font-size: clamp(13px, 3.4vw, 16px);
  color: var(--first-gray-mid);
  margin-bottom: 10px;
  opacity: 0.8;
}
.sec-head--light h2 {
  color: #fff;
}

/* 히어로 — 타이포 오버레이 (position:relative로 오버레이를 히어로 카드에 고정) */
.hero {
  position: relative;
}
/* 타이포 히어로는 목업처럼 풀블리드 밴드 (sticky 헤더가 흐름을 차지하므로 상단 여백 불필요) */
.hero--typo {
  --hero-lift-extra: 40px;
  margin: calc((var(--topbar-h) + var(--hero-lift-extra)) * -1) 0 0;
  border-radius: 0;
  box-shadow: none;
}
.hero--typo .hero__media {
  position: relative;
}
.hero--typo .hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 35, 68, 0.34),
    rgba(14, 35, 68, 0.5)
  );
}
.hero--typo .hero__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--frame);
}
.hero__typo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 56px);
  color: #fff;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

/* 대표원장 소개 (ABOUT) */
section.about-doc {
  background: url("/assets/img/about-doc-bg.png") center 20% / cover no-repeat;
  overflow: hidden;
}
.about-doc__grid {
  display: flex;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.about-doc__photo {
  position: relative;
  width: 100%;
  max-width: 600px;
}
.about-doc__photo .deco-rotate {
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(-50%, -50%);
  line-height: 0;
  z-index: 0;
  max-width: 100px;
  animation: deco-rotate 10s linear infinite;
}
@keyframes deco-rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.about-doc__frame {
  position: relative;
}
.about-doc__frame img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.about-doc__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(calc(100% + 10px));
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.about-doc__caption b {
  font-family: "Noto Serif KR", var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--first-blue);
}
.about-doc__caption em {
  font-style: normal;
  font-size: 18px;
  color: var(--first-gray);
  font-weight: 400;
}
.about-doc__body {
  width: 100%;
  padding-top: 6px;
}
.about-doc__body .eyebrow {
  display: block;
  color: var(--first-gray-mid); /* #B8C0C9 */
  font-size: clamp(13px, 3.4vw, 16px);
  font-weight: 700;
  margin-bottom: 20px;
}
.about-doc__tagline {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 900;
  line-height: 1.5;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.about-doc__tagline .point i {
  font-weight: 500;
}
.about-doc__tagline .point {
  color: var(--accent);
}

/* ============================================================
  타이틀 텍스트 리빌 (copy_e) — 좌→우 와이프, 재사용 유틸리티
  사용법: 대상 요소에 class="copy_e"만 추가. .copy 오버레이는
  main.js가 innerHTML을 복제해 자동 생성(마크업 중복 불필요).
  고스트(원본)는 흐리게, 오버레이(.copy)는 원래 색으로 좌→우 채워짐.
   ============================================================ */
.copy_e.is-ready {
  position: relative;
  display: inline-block;
  /* 고스트(원본): 원래 색을 흐리게. --wipe-color는 main.js가 요소의
     계산된 색으로 자동 지정(미지정 시 상속색 사용). */
  color: color-mix(in srgb, var(--wipe-color, currentColor) 16%, transparent);
}
.copy_e.is-ready > .copy {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%; /* 원본과 동일 폭 → 동일하게 줄바꿈됨 (반응형 안전) */
  height: 100%;
  color: var(--wipe-color, currentColor); /* 오버레이: 원래 색(진하게) */
  /* width 대신 clip-path로 좌→우 리빌: 여러 줄이어도 줄바꿈 유지된 채 드러남 */
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s var(--ease-out);
  pointer-events: none;
}
.copy_e.is-ready.active > .copy {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .copy_e.is-ready > .copy {
    transition: none;
  }
}
/* 색이 자식(.point)에 있는 경우(tagline) — 고스트 .point만 흐리게,
   copy 내부 .point는 기존 색 규칙으로 solid 유지 */
.about-doc__tagline.copy_e.is-ready > .point {
  color: color-mix(in srgb, var(--accent) 16%, transparent);
}
.about-doc__lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--first-gray-deep);
  line-height: 1.5;
  font-weight: 350;
}
.about-doc__stats {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  padding: 30px;
  position: relative;
}
.about-doc__stats::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60vw;
  height: 100%;
  background: linear-gradient(90deg, #eef7f9 0%, #daecf0 90%);
}
.about-doc__stats li {
}
.about-doc__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 30px);
  color: var(--accent);
  line-height: 1;
}
.about-doc__stats li > span {
  font-size: clamp(14px, 3.4vw, 18px);
  color: var(--first-gray-deep);
  margin-top: 8px;
  display: block;
  word-break: keep-all;
}
/* 숫자 카운트업 span은 strong 스타일 그대로 상속 (라벨 span 규칙 영향 배제) */
.about-doc__stats strong .count {
  font: inherit;
  color: inherit;
  margin: 0;
  display: inline;
}
.about-doc__more {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 350;
  opacity: 0.9;
  color: var(--first-gray-deep);
  line-height: 1.5;
}

/* 환자 공감 문구 */
.doc-quote {
  padding: clamp(60px, 7vw, 80px) 0;
  background: linear-gradient(91deg, #f9fbff 1.22%, #e6e7ea 95.06%);
  position: relative;
}
.doc-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 35vw;
  height: 100%;
  background: url("/assets/img/doc-quote-bg.png") left center / cover no-repeat;
  mix-blend-mode: luminosity;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1280px) {
  .doc-quote::before {
    width: 100%;
  }
}
.doc-quote__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
  position: relative;
  z-index: 2;
}
.doc-quote__grid > * {
  width: 100%;
}
.doc-quote__q {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent);
  margin-bottom: 20px;
}
.doc-quote__text p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--first-gray-deep);
  line-height: 1.5;
  font-weight: 350;
  opacity: 0.9;
}
.doc-quote__sign {
  margin-top: 22px;
  font-size: clamp(14px, 3.4vw, 18px);
  color: var(--first-blue);
}
.doc-quote__sign b {
  font-size: clamp(15px, 3.8vw, 20px);
  font-family: var(--font-serif);
  font-weight: 700;
}
.doc-quote__sign em {
  color: var(--first-gray-deep);
}
.doc-quote__img {
  box-shadow: 2px 3px 10px 0 rgba(0, 0, 0, 0.2);
}
.doc-quote__img img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* 약력 (다크 밴드) */
.biography {
  position: relative;
  overflow: hidden;
  background: url("/assets/img/biography-bg.png") center / cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: clamp(64px, 8vw, 120px) 0;
}
.biography .inner {
  position: relative;
  z-index: 1;
}
.biography__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 30px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(184, 192, 201, 0.6);
  flex-wrap: wrap;
}
.biography__head h2 {
  color: #fff;
}
.biography__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.biography__media {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.biography__media img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.biography__cols {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.biography__col h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.biography__col ul {
  display: flex;
  flex-direction: column;
}
.biography__col li {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.88;
  color: var(--first-blue-light);
  padding-left: 14px;
  position: relative;
}
.biography__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--first-blue-light);
}

/* 블로그 (건강 이야기) */
.home-blog {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0;
}
.home-blog::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(90deg, rgba(120, 130, 142, 0.6) 0%, #78828e 60%);
  opacity: 0.12;
  z-index: 0;
}

.home-blog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #b8c0c9;
  flex-wrap: wrap;
}
.home-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* 섹션 바닥에 떠서 흘러가는 워터마크 티커 */
.home-blog .inner {
  position: relative;
  z-index: 2;
}
.home-blog__ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  font-size: clamp(48px, 8vw, 140px);
  line-height: 1;
}
.home-blog__ticker .marquee-track {
  animation-duration: 120s;
}
.home-blog__ticker .marquee-unit {
  gap: clamp(36px, 5vw, 80px);
  padding-right: clamp(36px, 5vw, 80px);
}
.home-blog__ticker .marquee-unit span {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: inherit;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: #777;
  opacity: 0.06;
}
.blog-card {
  position: relative; /* __body(absolute 오버레이) 기준 — reveal transform에 의존하지 않도록 명시 */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}
.blog-card__img {
  position: relative;
  aspect-ratio: 5/6;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}
.blog-card--ph .blog-card__img {
  background: linear-gradient(150deg, var(--navy), var(--first-blue-deep));
}
/* 썸네일 없음: 카드 전체 cover 배경 + 기존 오버레이 유지 + body 위 남는 칸 정중앙에 로고 */
.blog-card--no-thumb {
  aspect-ratio: 5 / 6;
  background-color: var(--navy-deep);
  background-image: url("/assets/img/blog-thumb_01.png");
  background-size: cover;
  background-position: center;
}
.blog-card--no-thumb .blog-card__img {
  flex: 1;
  aspect-ratio: unset;
  min-height: 0;
  background: transparent;
  box-sizing: border-box;
  padding-bottom: 8.5rem; /* .blog-card__body 오버레이 높이만큼 로고 영역을 올림 */
}
.blog-card--no-thumb .blog-card__img img {
  width: auto;
  height: auto;
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
}
.blog-card--no-thumb:hover .blog-card__img img {
  transform: none;
}
.blog-card__phtxt {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
}
.blog-card__body {
  padding: 24px 26px 28px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 0.75px solid #fff;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(0, 0, 0, 0.08) 70%
  );
}
.blog-card__category {
  font-size: 14px;
  color: #00cfcf;
  margin-bottom: 15px;
  display: block;
  font-weight: 700;
}
.blog-card__body b {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  min-height: 1.8em;
  max-width: 100%;
  word-break: break-all;
}
.blog-card__body i {
  margin-top: 5px;
  font-size: 14px;
  color: #fff;
  opacity: 0.7;
}
.blog-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  /* backdrop-filter: blur(12.5px);
  -webkit-backdrop-filter: blur(12.5px); */
  opacity: 1;
  transition: opacity 0.4s;
}
.blog-card:hover .blog-card__img::after {
  opacity: 0.5;
}

/* 부위별 통증 라디얼 */
.pain-radial {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, rgba(228, 244, 246, 0.5) 100%);
  padding-bottom: 0;
}
/* 배경 대형 워터마크 */
.pain-radial__wm {
  position: absolute;
  left: 50%;
  top: 93%;
  width: min(1100px, 96vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  animation: painWmSpin 80s linear infinite;
}
.pain-radial__wm text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 7px;
  letter-spacing: 0.06em;
  fill: var(--first-teal);
}
.pain-radial__wm text * {
  letter-spacing: inherit !important;
}
@keyframes painWmSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.pain-radial__stage {
  position: relative;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 상단 콘텐츠 이미지 카드 */
.pain-radial__figure {
  position: relative;
  z-index: 4;
  width: min(400px, 78%);
  aspect-ratio: 2/1;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 8px 7px rgba(0, 0, 0, 0.05);
}
.pain-radial__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s var(--ease-out);
}
/* 원형 다이얼 */
.pain-radial__dial {
  position: relative;
  --dial: clamp(360px, 48vw, 680px);
  --R: calc(var(--dial) * 0.4);
  width: var(--dial);
  height: var(--dial);
  margin-top: clamp(28px, 4vw, 56px);
  margin-bottom: -230px; /* 섹션 하단 200px 클리핑(원 아래쪽 잘림) */
}
/* 곡선 텍스트 링 */
.pain-radial__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.pain-radial__ring text {
  font-family: var(--font-display);
  font-size: 5.3px;
  font-weight: 400;
  letter-spacing: 0.04em;
  fill: rgba(29, 151, 169, 0.3);
}
/* 중앙 틴트 디스크 */
.pain-radial__disc {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    55.29% 55.29% at 50% 44.71%,
    #eee 10%,
    rgba(141, 203, 212, 0.5) 100%
  );
  pointer-events: none;
}
/* 중앙 캡션 */
.pain-radial__caption {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -85%);
  text-align: center;
  font-size: clamp(15px, 2.4vw, 32px);
  line-height: 1.3;
  font-weight: 300;
  color: #78828e;
  z-index: 2;
}
.pain-radial__caption b {
  color: #1d97a9;
  font-weight: 700;
}
/* 부위 노드 링 */
.pain-radial__nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
}
/* 노드를 잇는 오빗 원 (노드 뒤) */
.pain-radial__nodes::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--R) * 2);
  height: calc(var(--R) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--first-teal-mid);
  opacity: 0.7;
  pointer-events: none;
}
.pain-radial__nodes .pr-node {
  --node: 52px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--node);
  height: var(--node);
  margin: calc(var(--node) / -2);
  transform: rotate(var(--a)) translateY(calc(-1 * var(--R)))
    rotate(calc(-1 * var(--a)));
}
.pain-radial__nodes a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.pr-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(14, 35, 68, 0.12);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
  transition:
    transform 0.35s var(--ease-out),
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.pr-label {
  position: absolute;
  font-size: 18px;
  font-weight: 400;
  color: var(--first-gray);
  white-space: nowrap;
  transition: color 0.35s;
}
.pr-node--left .pr-label {
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 13px;
}
.pr-node--right .pr-label {
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 13px;
}
.pr-node--top .pr-label {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}
/* hover */
.pain-radial__nodes a:hover .pr-dot {
  background: linear-gradient(160deg, #1d97a9, #1d97a9);
  border-color: transparent;
  color: #fff;
  transform: scale(1.12);
  box-shadow: 0 12px 26px rgba(29, 151, 169, 0.42);
}
.pain-radial__nodes a:hover .pr-label {
  color: #1d97a9;
  font-weight: 700;
}
/* 기본 활성 노드 (시안: 목) */
.pr-node--active .pr-dot {
  border: 6px solid rgba(141, 203, 212, 0.3);
  color: #1d97a9;
  box-shadow: 0 8px 22px rgba(29, 151, 169, 0.3);
}
.pr-node--active .pr-label {
  color: #1d97a9;
  font-weight: 800;
}
.pr-node--active a:hover .pr-dot {
  color: #fff;
}

/* 원내 보유장비 */
.equip {
}
.equip__wrap {
  position: relative;
  max-width: var(--inner);
  margin: 0 auto 0;
  padding: 0 clamp(24px, 6vw, 80px);
}
.equip-card__img {
  display: block;
  aspect-ratio: 350/360;
  background: linear-gradient(180deg, #fafafa 0%, #fbfbfb 100%);
  overflow: hidden;
}
.equip-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equip-card__body {
  margin-top: 20px;
  border-top: 1px solid #b8c0c9;
  padding-top: 20px;
}
.equip-card__body b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--first-blue);
}
.equip-card__body i {
  display: block;
  font-size: 18px;
  color: #5d6874; /* 대비 5.9:1 — 기존 --first-gray(4.0:1)는 소형 텍스트 기준 미달 */
}
.equip__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 65px;
  height: 65px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid #78828e;
  color: #78828e;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.equip__nav svg {
  width: 100%;
  height: 100%;
  display: block;
}
.equip__nav:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.equip__nav--prev {
  left: 0;
}
.equip__nav--next {
  right: 0;
}
/* 모바일: nav 버튼 축소 */
@media (max-width: 768px) {
  .equip__nav {
    width: 42px;
    height: 42px;
  }
}
/* 모바일(1장씩·centeredSlides): 가운데 활성 카드 강조 (Swiper가 transform으로
   슬라이드를 배치하므로 scale은 피하고 opacity로만 처리) */
@media (max-width: 639px) {
  .equip__slider .equip-card {
    opacity: 0.4;
    transition: opacity 0.45s var(--ease-out);
  }
  .equip__slider .equip-card.swiper-slide-active {
    opacity: 1;
  }
}

/* 원내 둘러보기 */
.tour {
  background: url(/assets/img/bg-tour.png) no-repeat center center / cover;
}
.tour__grid {
  display: flex;
  gap: clamp(20px, 3vw, 20px);
  align-items: stretch;
}
.tour__aside {
  width: 100%;
  max-width: 500px;
}
/* 좌측 aside: 제목 상단 / 컨트롤 하단 */
.tour__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
}
.tour__controls {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 20px);
}
.tour__nav-group {
  display: flex;
  gap: 12px;
}
.tour__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}
.tour__nav svg {
  display: block;
}
.tour__nav:hover {
  background: rgba(29, 151, 169, 0.1);
}
.tour__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
.tour__nav.swiper-button-disabled:hover {
  background: none;
}
/* 썸네일 슬라이더 (2개 노출) */
.tour__thumbs {
  width: 100%;
  overflow: hidden;
}
.tour__thumbs .tour__thumb {
  aspect-ratio: 3 / 2;
  background: #3a4150;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.3s;
}
.tour__thumb.swiper-slide-thumb-active,
.tour__thumb:hover {
  opacity: 1;
}
/* 우측 대형 슬라이더 */
.tour__stage {
  min-width: 0;
  aspect-ratio: 16 / 9.5;
  align-self: flex-end;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
}
.tour__main {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.tour__main .swiper-wrapper {
  height: 100%;
}
.tour__main .tour__slide {
  height: 100%;
  background: #3a4150;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour__thumb img,
.tour__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tour__phtxt {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 30px);
}
.tour__phtxt--sm {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 860px) {
  .tour__grid {
    grid-template-columns: 1fr;
  }
  .tour__aside {
    gap: 24px;
  }
  .tour__controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .tour__thumbs {
    max-width: 320px;
  }
}

/* 진료안내 */
/* ============================================================
   [컴포넌트] 진료안내 clinic-info — inc/clinic-info.php 전용 스타일
   main.css는 전 페이지에서 로드되므로 컴포넌트를 어느 페이지에 include해도 동작.
   반응형은 아래 @media(≤960/≤720/≤480) 블록의 .clinic-info / .ci-* 규칙 참조.
   (풀블리드 2단: 좌 teal 진료시간·번호 / 우 화이트 지도·위치)
   ============================================================ */
.clinic-info__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.clinic-info__left {
  padding-top: clamp(60px, 7vw, 110px);
  padding-bottom: clamp(60px, 7vw, 110px);
}
.clinic-info__left {
  background: linear-gradient(160deg, #e8f5f6 0%, #f3fafb 100%);
  padding-left: max(24px, calc((100vw - var(--inner)) / 2));
  padding-right: clamp(36px, 4vw, 72px);
  display: flex;
  justify-content: flex-end;
}
.clinic-info__right {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #fff;
  /* 지도가 분할선~우측 뷰포트 가까이 꽉 차도록: 좌 패딩 0, 우측 소폭 여백 */
  padding-top: 0;
  padding-left: 0;
}
.clinic-info__left .ci-inner {
  width: 100%;
  max-width: 560px;
}
/* 진료시간 표 */
.ci-hours li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10px;
  border-bottom: 1px solid rgba(184, 192, 201, 0.7);
}
.ci-hours li span {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--first-gray);
}
.ci-hours li em {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--accent);
  letter-spacing: 0.01em;
}
.ci-hours__note {
  margin-top: 16px;
  text-align: right;
  font-size: 16px;
  color: var(--first-teal-deep);
  opacity: 0.5;
}
.ci-tel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(36px, 5vw, 72px);
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(184, 192, 201, 0.7);
}
.ci-tel span {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--first-gray);
}
.ci-tel a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 30px);
  color: var(--first-teal);
  letter-spacing: 0.01em;
}
/* 우측 지도 — 카카오맵(다음 로드맵) 임베드 영역 */
.ci-map {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
}
.ci-map .root_daum_roughmap .wrap_map {
  min-height: 360px;
}
.ci-map .root_daum_roughmap .wrap_controllers,
.ci-map .root_daum_roughmap .cont .section.lst {
  display: none;
}
/* 로드맵이 영역을 꽉 채우도록 */
.ci-map .root_daum_roughmap,
.ci-map .root_daum_roughmap .wrap_map {
  width: 100% !important;
  height: 100% !important;
}
.ci-map .root_daum_roughmap {
  border: 0;
}
/* 우측 위치 정보 (지도보다 좌측 인셋) */
.ci-loc {
  padding: 65px;
  padding-left: 60px;
  padding-right: calc((100vw - var(--inner)) / 2);
}
.ci-loc__eyebrow {
  display: block;
  font-weight: 700;
  font-size: clamp(13px, 3.4vw, 16px);
  letter-spacing: 0.04em;
  color: var(--first-gray-mid);
  margin-bottom: 16px;
}
.ci-loc__addr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 1.9vw, 24px);
  color: var(--first-blue);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184, 192, 201, 0.7);
}
.ci-loc__list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 10px;
  border-bottom: 1px solid rgba(184, 192, 201, 0.7);
}
.ci-loc__list > div:last-child {
  border-bottom: none;
}
.ci-loc__list dt {
  flex: 0 0 96px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--first-gray);
}
.ci-loc__list dd {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--first-gray-deep);
}
/* 1F 워터마크 */
.ci-wm {
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: clamp(220px, 24vw, 360px);
  color: var(--first-blue);
  opacity: 0.05;
  pointer-events: none;
}
.ci-wm svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 반응형 */
@media (max-width: 960px) {
  /* grid 컨테이너는 1열로 */
  .biography__grid {
    grid-template-columns: 1fr;
  }
  /* flex 컨테이너들은 세로 스택으로 전환 (grid-template 무효) */
  .about-doc__grid,
  .doc-quote__grid,
  .tour__grid {
    flex-direction: column;
    align-items: stretch;
  }
  .doc-quote__grid {
    direction: ltr;
  }
  .about-doc__grid > *,
  .doc-quote__grid > *,
  .tour__grid > * {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
  }
  .home-blog__grid {
    grid-template-columns: 1fr 1fr;
  }
  /* 960 이하: 3번째 카드 숨겨 2개만 깔끔하게 노출 */
  .home-blog__grid > *:nth-child(n + 3) {
    display: none;
  }
  /* 그리드/플렉스 자식 오버플로우 방지 */
  .about-doc__body,
  .biography__cols,
  .tour__stage,
  .tour__aside {
    min-width: 0;
  }
  .about-doc__photo {
    align-self: center;
  }
  .about-doc__caption {
    bottom: 0px;
    left: auto;
    right: 0;
    transform: none;
    padding: 10px 20px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
  }
  .about-doc__stats::before {
    width: 100vw;
  }
  .biography__cols {
    gap: 28px;
  }
  /* 진료안내: 1단 스택 */
  .clinic-info__split {
    grid-template-columns: 1fr;
  }
  .clinic-info__left,
  .clinic-info__right {
    padding-left: max(24px, calc((100vw - var(--inner)) / 2));
    padding-right: max(24px, calc((100vw - var(--inner)) / 2));
    justify-content: stretch;
  }
  .clinic-info__left .ci-inner {
    max-width: none;
  }
  .ci-loc {
    padding-left: 0;
  }
}
@media (max-width: 720px) {
  /* 수치: flex라 2행으로 wrap (grid-template 무효) */
  .about-doc__stats {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 22px 0;
    padding: 26px 22px;
  }
  .about-doc__stats li {
    flex: 0 0 50%;
  }
  /* biography__cols는 flex라 grid-template 무효 → 세로 스택 */
  .biography__cols {
    flex-direction: column;
    gap: 28px;
  }
  .biography__col {
    width: 100%;
    min-width: 0;
  }
  /* 라디얼 → 상단 이미지 + 캡션 + 3열 칩 그리드로 폴백 */
  .pain-radial__figure {
    width: min(400px, 100%);
    margin: 0 auto;
  }
  .pain-radial__dial {
    width: 100%;
    height: auto;
    margin-top: 28px;
    margin-bottom: 0; /* 데스크톱 클립(-200px) 해제: 칩이 다음 섹션에 가리지 않게 */
  }
  .pain-radial {
    padding-bottom: clamp(56px, 8vw, 72px);
  }
  .pain-radial__ring,
  .pain-radial__disc,
  .pain-radial__nodes::before {
    display: none;
  }
  .pain-radial__caption {
    position: static;
    transform: none;
    margin: 0 auto 22px;
  }
  .pain-radial__caption {
    font-size: clamp(16px, 4.4vw, 24px);
  }
  .pain-radial__nodes {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .pain-radial__nodes .pr-node {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    transform: none;
  }
  .pain-radial__nodes a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    border-radius: min(4.2vw, 18px);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(14, 35, 68, 0.08);
  }
  .pr-dot {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: none;
    box-shadow: none;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
  }
  .pr-label {
    position: static;
    transform: none !important;
    margin: 0 !important;
    font-size: 14px;
    color: var(--ink);
  }
}

/* ── 좁은 화면 하드닝 (≤600) ── */
@media (max-width: 600px) {
  /* 제목+버튼 헤더는 세로 스택 */
  .home-blog__head,
  .biography__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .home-blog__head .sec-head,
  .biography__head .sec-head {
    width: 100%;
  }
  .blog-card__body {
    padding: 14px 12px;
  }
  .blog-card--no-thumb .blog-card__img {
    padding-bottom: 7rem;
  }
  /* tour: 스와이퍼 컨테이너 오버플로우 방지 */
  .tour__main,
  .tour__thumbs {
    min-width: 0;
    max-width: 100%;
  }
  .tour__thumbs {
    width: 100%;
  }
  /* about-doc 캡션 줄바꿈 허용 */
  .about-doc__caption {
    flex-wrap: wrap;
  }
}

/* ── 모바일 타이포·간격 (≤480) ── */
@media (max-width: 480px) {
  /* 제목/본문 크기는 base clamp가 연속 처리 → 여기선 점프용 override 제거.
     라인하이트만 소형에서 살짝 타이트하게. */
  .sec-head h2 {
    line-height: 1.35;
  }
  .home-blog__grid {
    grid-template-columns: 1fr;
  }
  .ci-hours li,
  .ci-loc__list > div {
    padding: 12px 2px;
  }
  .ci-loc__list dt {
    flex: 0 0 52px;
  }
  .blog-card__body {
    padding: 14px 12px;
  }
  .blog-card--no-thumb .blog-card__img {
    padding-bottom: 7rem;
  }
  .blog-card__category,
  .blog-card__body i {
    font-size: clamp(13px, 3.6vw, 16px);
  }
  .blog-card__body b {
    font-size: clamp(15px, 4.4vw, 18px);
  }
  .pain-radial__nodes a {
    padding: 6px;
  }
  .equip-card__body b {
    font-size: clamp(18px, 6vw, 24px);
  }
  .equip-card__body i,
  .ci-hours__note {
    font-size: clamp(13px, 3.6vw, 16px);
  }
  .about-doc__caption b,
  .about-doc__caption em {
    font-size: clamp(14px, 4.4vw, 18px);
  }
}

/* ── 초소형 (≤380) ── */
@media (max-width: 380px) {
  .inner {
    width: calc(100% - 32px);
  }
  /* 부위 칩 3열 → 2열 (라벨 잘림 방지) */
  .pain-radial__nodes {
    grid-template-columns: repeat(2, 1fr);
  }
  /* about-doc 수치: 2열 유지, 폰트 축소 */
  .about-doc__stats strong {
    font-size: clamp(26px, 9vw, 34px);
  }
}

/* ── 960 이하: about-doc 배치 재구성 — 태그라인 → 사진 → 리드 순 ──
   body를 display:contents로 풀어 자식들을 그리드 정렬에 직접 참여시킨다 (DOM 변경 없음) */
@media (max-width: 960px) {
  .about-doc__body {
    display: contents;
  }
  .about-doc__grid {
    gap: 0; /* contents 해제로 전 항목에 gap이 걸리므로 마진으로 대체 */
  }
  .about-doc__body .eyebrow {
    order: 1;
  }
  .about-doc__tagline {
    order: 2;
    padding-bottom: 0px;
    border-bottom: none;
  }
  .about-doc__photo {
    order: 3;
    margin: 26px auto 30px;
  }
  .about-doc__lead {
    order: 4;
  }
  .about-doc__stats {
    order: 5;
  }
  .about-doc__more {
    order: 6;
  }
}

/* ── 우측 고정 퀵 위젯과 콘텐츠 겹침 방지 (뷰포트 1001~1560px에서만 겹침 발생) ── */
@media (min-width: 1001px) and (max-width: 1560px) {
  /* 블로그 목록 검색 버튼이 위젯에 가려지는 문제 */
  .col-toolbar {
    padding-right: 92px;
  }
  /* 진료안내 카카오맵 줌 컨트롤이 위젯과 겹치는 문제 */
  .clinic-info .root_daum_roughmap {
    margin-right: 92px;
  }
}
