/* 상세 페이지 — 시안(A안) 토큰 위에 얹는다. 섹션 제목 · 뱃지는 아끼고 여백 · 헤어라인 · 번호로 정리한다. */
body.sub {
  padding-top: 78px;
}

/* 첫 화면 */
.d-crumbs {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
}

.d-crumbs a:hover {
  color: var(--brand);
}

.d-crumbs b {
  font-weight: 700;
}

.d-crumbs + h1 {
  margin-top: clamp(1.6rem,3vw,2.4rem);
}

.d-hero-lead {
  margin-top: 1.2rem;
  max-width: 46ch;
  font-size: clamp(1.12rem,1rem + .5vw,1.35rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* 같은 묶음 메뉴 */
.d-chips-in {
  overflow-x: auto;
}

.d-chips-in::-webkit-scrollbar {
  display: none;
}

/* 섹션 공통 */
.d-sec.navy {
  background: var(--brand-ink);
  color: #fff;
}

.d-head.center {
  text-align: center;
}

.d-head h2 b {
  color: var(--brand);
  font-weight: 800;
}

.d-sub {
  margin: .9rem auto 0;
}

.d-sec.navy .d-kicker,
.d-sec.navy .d-sub {
  color: rgba(255,255,255,.78);
}

.d-ph {
  aspect-ratio: 4/3;
  width: 100%;
}

/* 소개(가운데 정렬 큰 제목 + 본문) */
.d-intro-fig {
  margin: 0 auto clamp(1.6rem,3vw,2.4rem);
  max-width: 920px;
}

.d-intro-fig img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.d-intro-body {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.d-intro-body p + p {
  margin-top: .9rem;
}

/* 번호가 붙은 설명 줄 — 그림이 있으면 좌우 교차 */
.d-sec:not(.tint) .d-card {
  border-inline: 0;
  padding-inline: 0;
}

.d-row:first-child {
  border-top: 0;
}

.d-row.has-media {
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
}

.d-row.flip .d-row-media {
  order: 2;
}

.is-rows.uniform .d-row-media img {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.d-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.2rem;
}

.d-tags li {
  padding: .34rem .75rem;
  border: 1px solid var(--line-strong);
  font-size: .92rem;
  font-weight: 600;
  color: var(--brand-ink);
  background: #fff;
}

.d-row:not(.has-media) {
  grid-template-columns: minmax(0,1fr);
}

.d-row:not(.has-media) .d-row-text {
  display: grid;
  grid-template-columns: minmax(0,19rem) minmax(0,1fr);
  gap: clamp(1rem,3vw,3.4rem);
  align-items: start;
}

.d-row:not(.has-media) .d-row-body > :first-child {
  margin-top: .2rem;
}

.d-row-body > p:first-child {
  margin-top: .8rem;
}

.d-row h3 {
  margin-top: .9rem;
  font-weight: 800;
}

.d-row p {
  margin-top: .8rem;
  color: var(--ink-soft);
}

.d-points {
  margin-top: 1rem;
  display: grid;
  gap: .5rem;
}

.d-points svg {
  flex: none;
  margin-top: .32rem;
  color: var(--brand);
}

/* 그림 없는 번호 묶음 — 카드 격자 */
.d-grid {
  display: grid;
  gap: clamp(.8rem,1.4vw,1.2rem);
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.d-grid.c1 {
  grid-template-columns: minmax(0,1fr);
  max-width: 860px;
  margin-inline: auto;
}

.d-grid.c3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.d-item h3 {
  font-weight: 800;
}

.d-item p {
  margin-top: .6rem;
  color: var(--ink-soft);
}

.d-item p + p {
  margin-top: .4rem;
}

.d-item .d-points,
.d-item .d-tags {
  margin-top: .9rem;
}

/* 단계 */
.d-steps.has-img {
  gap: clamp(.9rem,1.6vw,1.4rem);
  border-top: 0;
}

.d-steps.has-img li {
  padding-right: 0;
}

.d-steps h3 {
  font-weight: 800;
}

.d-steps p {
  margin-top: .5rem;
  color: var(--ink-soft);
}

/* 카드 묶음 */
.d-tiles {
  display: grid;
  gap: clamp(.9rem,1.6vw,1.4rem);
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.d-tiles.c2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.d-tiles.c4 {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.d-tile figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-tile figure.eq {
  padding: 5% 8%;
  border-bottom: 1px solid var(--line);
}

.d-tile figure.eq img {
  object-fit: contain;
}

.d-tile .d-ph {
  border: 0;
  border-bottom: 1px solid var(--line);
}

.d-card-meta {
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: .35rem;
}

.d-tile h3 {
  font-weight: 800;
}

.d-tile p {
  margin-top: .6rem;
  color: var(--ink-soft);
}

.d-dots {
  margin-top: .8rem;
  display: grid;
  gap: .3rem;
  color: var(--ink-soft);
}

.d-dots li {
  padding-left: .9rem;
  position: relative;
}

.d-dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 4px;
  height: 4px;
  background: var(--brand);
}

/* 체크 목록 */
/* 표 */
/* 주의 · 안내 */
.d-notice {
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--brand-ink);
  padding: clamp(1.4rem,2.6vw,2rem) clamp(1.4rem,2.8vw,2.4rem);
  background: #fff;
}

.d-notice h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .8rem;
}

.d-notice ul {
  display: grid;
  gap: .5rem;
  color: var(--ink-soft);
}

.d-notice li {
  padding-left: 1rem;
  position: relative;
}

.d-notice li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .74em;
  width: 5px;
  height: 5px;
  background: var(--brand-ink);
}

/* 묻고 답하기 */
.d-qa summary::-webkit-details-marker {
  display: none;
}

/* 그림 · 갤러리 */
.d-figure {
  max-width: 980px;
  margin-inline: auto;
}

.d-figure img {
  width: 100%;
  height: auto;
}

.d-figure figcaption,
.d-gallery figcaption {
  margin-top: .6rem;
  font-size: .95rem;
  color: var(--ink-faint);
}

.d-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.d-gallery.c2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.d-gallery.c4 {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.d-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--mist);
}

.d-gallery figcaption {
  font-weight: 700;
  color: var(--brand-ink);
}

/* 의료진 */
.d-doctor-photo .d-ph {
  aspect-ratio: 3/4;
}

.d-doctor h3 {
  font-weight: 800;
}

.d-doctor-body > p {
  margin-top: 1rem;
}

.d-cvs {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

/* 탭 */
.d-tabs {
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.d-tabs::-webkit-scrollbar {
  display: none;
}

.d-tabs button {
  flex: none;
  white-space: nowrap;
  cursor: pointer;
}

.d-tabpanel {
  display: none;
}

.d-tabpanel.on {
  display: block;
}

/* 글(약관 등) */
.d-prose {
  max-width: 860px;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 1rem;
}

.d-prose h2,
.d-prose h3 {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 2rem 0 .6rem;
}

.d-prose p + p {
  margin-top: .7rem;
}

.d-prose ul,
.d-prose ol {
  margin: .6rem 0 .6rem 1.1rem;
  list-style: disc;
}

.d-prose ol {
  list-style: decimal;
}

/* 폼 */
.d-form {
  margin-inline: auto;
}

.f-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.1rem 1.4rem;
}

.f-row {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-weight: 700;
  font-size: .98rem;
}

.f-row.wide {
  grid-column: 1 / -1;
}

.f-row i {
  color: var(--warn);
  margin-left: .2rem;
}

.f-row input,
.f-row select,
.f-row textarea {
  width: 100%;
  font-weight: 400;
  font-size: 1rem;
}

.f-row textarea {
  resize: vertical;
}

.f-row input:focus,
.f-row select:focus,
.f-row textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

/* 고르기 상자 — 브라우저 기본 화살표가 오른쪽 테두리에 붙어 보여, 화살표를 그려 넣고 안쪽으로 띄운다 */
.f-row select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3.2rem;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23617690' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1.1rem center/16px 16px;
}

.f-row select::-ms-expand {
  display: none;
}

.f-agree {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin-top: 1.4rem;
  font-size: .98rem;
  color: var(--ink-soft);
}

.f-agree input {
  margin-top: .4rem;
  width: 18px;
  height: 18px;
  flex: none;
}

.f-agree a {
  color: var(--brand);
  text-decoration: underline;
}

.f-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.f-msg {
  font-weight: 700;
  color: var(--brand-ink);
}

.f-msg.err {
  color: var(--warn);
}

/* 게시판 */
.b-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.b-top .d-note {
  margin-top: 0;
}

.b-list a:hover .b-title {
  color: var(--brand);
}

/* 마무리 */
.d-cta {
  padding: clamp(3rem,6vw,5rem) 0;
}

.d-cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  background: var(--brand-ink);
  color: #fff;
  padding: clamp(1.8rem,3.6vw,3rem);
}

.d-cta-in h2 {
  font-size: clamp(1.4rem,1.1rem + 1.2vw,2rem);
  font-weight: 800;
}

.d-cta-in p {
  margin-top: .4rem;
  color: rgba(255,255,255,.78);
}

.d-cta-btns {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.d-cta .btn-line {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

.d-cta .btn-line:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.12);
}

.d-cta .btn-fill {
  background: #fff;
  color: var(--brand-ink);
}

.d-cta .btn-fill:hover {
  background: var(--mist);
}

.sub .btn-fill:hover,
.sub .btn-line:hover {
  transform: none;
}
@media (max-width:1023px) {
  .d-grid.c3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .d-tiles,
  .d-tiles.c4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .d-gallery,
  .d-gallery.c4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:767px) {
  body.sub {
    padding-top: 68px;
  }

  .d-row.has-media,
  .d-row:not(.has-media) .d-row-text {
    grid-template-columns: minmax(0,1fr);
  }

  .d-row.flip .d-row-media {
    order: 0;
  }

  .d-tiles,
  .d-tiles.c2,
  .d-tiles.c4,
  .d-checks,
  .d-cvs,
  .f-grid,
  .d-doctor,
  .d-grid,
  .d-grid.c3 {
    grid-template-columns: minmax(0,1fr);
  }

  .d-intro-body {
    text-align: left;
  }

  .d-head.center {
    text-align: left;
  }

  .d-sub {
    margin-inline: 0;
  }

  .d-cta-in {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 제목 아래 그림(블록 단위) */
.d-head-fig {
  max-width: 860px;
  margin: 0 auto clamp(1.6rem,3vw,2.4rem);
}

.d-head-fig img {
  width: 100%;
  height: auto;
}

.d-intro-fig {
  max-width: 980px;
}

.d-steps figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 페이지 이동 — 본문만 바꾸고 부드럽게 나타나게 */

@view-transition{navigation:auto}

main.is-leaving {
  opacity: 0;
  transition: opacity .16s ease;
}

main.is-entering {
  animation: d-enter .42s var(--ease) both;
}

@keyframes d-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion:reduce) {
  main.is-leaving {
    transition: none;
  }

  main.is-entering {
    animation: none;
  }
}

/* 첫 화면 핵심 수치 */
/* 그림 + 글 2단(원리 · 소개) */
.d-split {
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
}

.d-split.flip .d-split-media {
  order: 2;
}

.d-split-text h2 b {
  color: var(--brand);
}

.d-split-text p + p {
  margin-top: .8rem;
}

.d-split-text .d-points {
  margin-top: 1.2rem;
}

/* 장비 카드(가로) */
.d-devices.one {
  grid-template-columns: minmax(0,1fr);
  max-width: 980px;
  margin-inline: auto;
}

.d-device {
  grid-template-columns: minmax(0,15rem) minmax(0,1fr);
}

.d-device figure {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.d-device figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.d-device h3 {
  font-weight: 800;
}

.d-device p {
  margin-top: .5rem;
  color: var(--ink-soft);
}

.d-device .d-dots {
  margin-top: .7rem;
}

/* 장점 · 함께 확인할 점 */
@media (max-width:767px) {
  .d-split,
  .d-proscons,
  .d-device {
    grid-template-columns: minmax(0,1fr);
  }

  .d-split.flip .d-split-media {
    order: 0;
  }
}

/* 본문만 바꾸는 이동 뒤에는 상단 메뉴 패널을 접어 둔다(마우스가 벗어나면 다시 열림) */
.gnb.mega-off .mega-all {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}

.gnb.mega-off .gnb-list>li>.gnb-link::after {
  transform: scaleX(0);
}

/* 게시판 목록 보강 — NEW · 작성자 · 고정 · 더 보기 · 빈 목록 */
.b-list .b-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.b-list .b-title > em {
  flex: none;
  font-style: normal;
  font-size: .8rem;
  font-weight: 700;
}

.b-new {
  color: #fff;
  background: var(--brand);
  padding: .1rem .4rem;
  letter-spacing: .06em;
}

.b-who {
  color: var(--ink-faint);
}

.b-more {
  display: flex;
  justify-content: center;
  padding-top: 1.4rem;
}

.b-empty {
  padding: 2.4rem 0;
  text-align: center;
  color: var(--ink-faint);
}

.b-empty a {
  color: var(--brand);
  text-decoration: underline;
}

.b-top > span {
  flex: 1;
}

/* 이벤트 — 배너 카드 */
.ev-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.ev-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: border-color .3s var(--ease);
}

.ev-card figure {
  aspect-ratio: 376/268;
  background: var(--mist);
  overflow: hidden;
}

.ev-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-card.ended figure img {
  filter: grayscale(1);
  opacity: .6;
}

.ev-card.ended .ev-st {
  color: var(--ink-faint);
}

/* 글 보기 */
.d-post-head {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1.3rem;
  margin-bottom: clamp(1.6rem,3vw,2.4rem);
}

.d-post-tag {
  font-weight: 800;
  color: var(--brand);
}

.d-post-head h2 {
  margin-top: .4rem;
  font-size: clamp(1.5rem,1.2rem + 1.2vw,2.2rem);
  font-weight: 800;
  line-height: 1.35;
}

.d-post-meta,
.d-post-per {
  color: var(--ink-faint);
}

.d-post-per {
  color: var(--brand-ink);
  font-weight: 700;
}

.d-post-body {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.d-post-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.d-post-body p + p {
  margin-top: .8rem;
}

.d-post-body [style*="text-align: center"],
.d-post-body [align="center"] {
  text-align: center;
}

.d-post-link {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.d-post-reply {
  margin-top: 2rem;
  padding: clamp(1.2rem,2.4vw,1.8rem);
  background: var(--paper-2);
  border-left: 3px solid var(--brand-ink);
  color: var(--ink-soft);
  line-height: 1.75;
}

.d-post-reply b {
  display: block;
  margin-bottom: .6rem;
  color: var(--brand-ink);
}

.d-post-nav {
  margin-top: clamp(2rem,4vw,3rem);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  display: grid;
}

.d-post-nav a {
  display: grid;
  grid-template-columns: 5.5rem minmax(0,1fr);
  gap: 1rem;
  padding: 1rem .2rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.d-post-nav a:last-child {
  border-bottom: 0;
}

.d-post-nav a span {
  color: var(--ink-faint);
  font-size: .9rem;
  font-weight: 700;
}

.d-post-nav a:hover {
  color: var(--brand);
}

.d-post-back {
  margin-top: 1.6rem;
  text-align: center;
}

/* 회원 화면 */
.d-member {
  margin-inline: auto;
}

.d-member .f-grid {
  grid-template-columns: minmax(0,1fr);
}

.f-otp {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .6rem;
  align-items: end;
}

.f-otp .btn {
  min-height: 52px;
}

.f-links {
  margin-top: 1.4rem;
  text-align: center;
  font-size: .95rem;
  color: var(--ink-faint);
}

.f-links a {
  color: var(--brand);
  text-decoration: underline;
}

.f-links i {
  margin: 0 .5rem;
  font-style: normal;
  opacity: .5;
}

.d-reset-box {
  margin-top: 2.4rem;
  padding: clamp(1.4rem,2.6vw,2rem);
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
}

.d-reset-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.d-reset-box > p {
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  font-size: .98rem;
}

.d-me {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-bottom: 2rem;
}

.d-me div {
  display: grid;
  grid-template-columns: 7rem minmax(0,1fr);
  gap: 1rem;
  padding: .9rem .2rem;
  border-bottom: 1px solid var(--line);
}

.d-me dt {
  font-weight: 700;
  color: var(--ink-faint);
}

.d-me-sec {
  margin-top: 2.6rem;
}

.d-me-sec h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.d-find-result {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: var(--paper-2);
  color: var(--ink-soft);
  line-height: 1.7;
}

.d-find-result:empty {
  display: none;
}
@media (max-width:1023px) {
  .ev-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:767px) {
  .ev-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .d-post-nav a {
    grid-template-columns: 4.5rem minmax(0,1fr);
  }

  .d-me div {
    grid-template-columns: 5.5rem minmax(0,1fr);
  }
}

/* 나란히 비교(움직이는 그림) — 왼쪽 · 오른쪽 같은 크기, 아래 이름표 */
.d-compare {
  display: grid;
  gap: clamp(1.6rem,3.4vw,2.8rem);
  max-width: 980px;
  margin-inline: auto;
}

.d-cmp {
  border-top: 1px solid var(--ink);
  padding-top: 1.2rem;
}

.d-cmp h3 {
  font-size: clamp(1.2rem,1rem + .6vw,1.5rem);
  font-weight: 800;
}

.d-cmp > p {
  margin-top: .4rem;
  color: var(--ink-soft);
}

.d-cmp-pair {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.d-cmp-pair video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000/696;
  object-fit: cover;
}
@media (max-width:767px) {
  .d-cmp-pair {
    grid-template-columns: minmax(0,1fr);
  }
}

/* 자주 묻는 질문 — 넓은 목록 · 큰 글씨(담당자 9/28, 밝은세상안과 Q&A 참고) */
.faq-wide > .wrap {
  padding-top: clamp(1.4rem,3vw,2.4rem);
}

.faq-wide .d-qa summary::after {
  margin: 0 0 0 auto;
}

.faq-wide .d-qa[open] summary::after {
  margin: 0 0 0 auto;
}

.faq-wide .d-qa summary:hover > span:last-of-type {
  color: var(--brand);
}

.faq-wide .d-qa .a {
  font-size: clamp(1.02rem,.96rem + .25vw,1.15rem);
}

/* 병원 전달 장비 사진(흰 바탕 4:3, 자체 여백 포함) — 칸 안 여백을 더 두지 않는다(9/28) */
.d-device figure.eq:has(img[src*="/eq-"]),
.d-tile figure.eq:has(img[src*="/eq-"]) {
  padding: 0;
}

.d-device figure:has(img[src*="/eq-"]) {
  aspect-ratio: 4/3;
  background: #fff;
}

/* ═══ 2026-09-30 병원 "서브 페이지도 이미지가 아예 없다 · 웹블로그 느낌" — 레퍼런스(퍼스트 · 아이시티 · 드림성모)처럼 첫 화면 사진 배너 ═══ */
.d-hero {
  color: #fff;
}

.d-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.d-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.d-hero .d-crumbs b {
  color: #fff;
}

.d-hero .d-crumbs i {
  color: rgba(255,255,255,.4);
}

.d-hero .d-crumbs a:hover {
  color: #fff;
}
@media (max-width:767px) {
  .d-hero-bg img {
    object-position: 75% 50%;
  }
}

/* 페이지 끝 상담 띠 — 사진 위(퍼스트 · 드림성모 공통) */
.d-cta-in {
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #071a3d;
  padding: clamp(2.4rem,5vw,4.2rem) clamp(1.8rem,4vw,3.4rem);
}

.d-cta-in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(5,18,45,.9),rgba(5,18,45,.55)),url(/assets/a/tour-consult.jpg) center/cover no-repeat;
}

.d-cta-in h2 {
  font-size: clamp(1.6rem,1.2rem + 1.4vw,2.4rem);
}

/* ═══ 진료시간 · 오시는 길(병원 9/30 — 드림성모안과 map.php 형태) ═══ */
.vt-ic {
  flex: none;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
}

.vt-ic svg,
.vt-tabs.big svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vt-h-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.vt-h-head h2 {
  font-size: clamp(1.8rem,1.3rem + 1.6vw,2.6rem);
  font-weight: 800;
  line-height: 1.2;
}

.vt-h-note {
  margin-left: auto;
  font-size: 1.05rem !important;
  color: rgba(255,255,255,.86) !important;
}

.vt-tiles {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px;
  margin-top: clamp(1.6rem,3vw,2.4rem);
}

.vt-tiles li {
  flex-direction: column;
}

.vt-a {
  letter-spacing: -.02em;
  flex: 1 1 360px;
}

.vt-map {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}

.vt-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.vt-tabs button {
  padding: 0 .8rem;
}

.rt-route path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: rt-draw 3.6s linear infinite;
}

.rt-route:not(.car) path {
  stroke-dasharray: .02 .015;
  animation: rt-walk 3.6s linear infinite;
}

.rt-dot {
  stroke: #fff;
  stroke-width: 3;
}

@keyframes rt-draw {
  0% {
    stroke-dashoffset: 1;
  }
  67%, 100% {
    stroke-dashoffset: 0;
  }
}

@keyframes rt-walk {
  0% {
    opacity: .25;
  }
  67%, 100% {
    opacity: 1;
  }
}

.vt-trans {
  margin-top: clamp(2.4rem,5vw,4rem);
}

.vt-tabs.big button {
  gap: .6rem;
}

.vt-tabs.big svg {
  width: 30px;
  height: 30px;
}

.vt-tp ol li {
  position: relative;
  padding-left: 2.2rem;
  color: var(--ink-soft);
}

.vt-bus {
  display: grid;
  gap: .5rem;
}

.vt-chips {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .8rem;
}
@media (max-width:899px) {
  .vt-tiles {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .vt-map {
    grid-template-columns: minmax(0,1fr);
  }

  .vt-h-note {
    margin-left: 0;
  }
}

@media (max-width:479px) {
  .vt-tabs button {
    padding: 0 .4rem;
  }

  .vt-tabs.big button {
    flex-direction: column;
    gap: .2rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .rt-route path {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.rt-route[hidden],
.vt-rt-cap[hidden],
.vt-tp[hidden] {
  display: none;
}

/* ═══ 정밀검사 카드 + 더보기 팝업(병원 9/02, 밝은눈안과 참고) ═══ */
.xp-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.9rem,1.8vw,1.4rem);
}

.xp-no {
  font-size: .9rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .08em;
}

.xp-card h3 {
  font-size: clamp(1.35rem,1.1rem + .8vw,1.75rem);
  font-weight: 800;
}

.xp-card p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.xp-list,
.xp-full {
  display: grid;
  gap: .45rem;
  margin-top: .3rem;
}

.xp-list li,
.xp-full li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: 1rem;
  color: var(--ink);
}

.xp-list i,
.xp-full i {
  flex: none;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #c9a978;
  color: #fff;
  font-style: normal;
  font-size: .82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: .1rem;
}

.xp-list li.more {
  color: var(--ink-faint);
  font-size: .92rem;
  padding-left: 2.15rem;
}

.xp-more {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background-color .25s var(--ease),border-color .25s var(--ease);
}

.xp-more span::before,
.xp-more span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--brand-ink);
  transform: translate(-50%,-50%);
}

.xp-more span::after {
  transform: translate(-50%,-50%) rotate(90deg);
}

.xp-more:hover {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}

.xp-more:hover span::before,
.xp-more:hover span::after {
  background: #fff;
}

.xp-dlg {
  width: min(980px,92vw);
  max-height: 88vh;
  border-radius: 16px;
}

.xp-dlg::backdrop {
  background: rgba(6,20,45,.62);
}

.xp-dlg[open] {
  animation: xp-in .22s ease;
}

@keyframes xp-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.xp-dlg-h {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.xp-dlg-h h3 {
  font-size: 1.5rem;
  font-weight: 800;
  flex: 1;
}

.xp-x {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}

.xp-dlg-b {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 1.6rem;
  padding: 1.6rem 1.4rem 2rem;
}

.xp-dlg-b figure {
  margin: 0;
}

.xp-dlg-b img {
  width: 100%;
  height: auto;
}

.xp-dlg-b p {
  color: var(--ink-soft);
  margin-bottom: .8rem;
}

.xp-full {
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1.2rem;
}
@media (max-width:1023px) {
  .xp-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px) {
  .xp-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .xp-dlg {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  .xp-dlg-b {
    grid-template-columns: minmax(0,1fr);
  }

  .xp-full {
    grid-template-columns: 1fr;
  }
}

.xp-dlg {
  border: 0;
  padding: 0;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  margin: auto;
}

.xp-det {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.6rem;
  padding: 0 1.4rem 1.8rem;
}

.xp-det li {
  display: grid;
  grid-template-columns: 1.55rem minmax(0,1fr) 96px;
  gap: .8rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.xp-det i {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #c9a978;
  color: #fff;
  font-style: normal;
  font-size: .82rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.xp-det b {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: .2rem;
}

.xp-det p {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.xp-det figure {
  margin: 0;
}

.xp-det img {
  width: 96px;
  height: 72px;
  object-fit: cover;
}
@media (max-width:640px) {
  .xp-det {
    grid-template-columns: 1fr;
  }

  .xp-det li {
    grid-template-columns: 1.55rem minmax(0,1fr);
  }

  .xp-det figure {
    grid-column: 2;
  }
}

/* ═══ 시야 비교 슬라이더(병원 9/02, 밝은눈안과 참고) ═══ */
.vc {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  aspect-ratio: 3/2;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  background: #dde6f1;
}

.vc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.vc-a {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.vc-l,
.vc-r {
  position: absolute;
  top: 18px;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  color: #fff;
  z-index: 2;
}

.vc-l {
  left: 18px;
  background: rgba(26,107,194,.9);
}

.vc-r {
  right: 18px;
  background: rgba(120,88,40,.85);
}

.vc-h {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}

.vc-h i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-ink);
  transform: translate(-50%,-50%);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.vc-h i::before,
.vc-h i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.vc-h i::before {
  left: 14px;
  transform: translateY(-50%) rotate(-45deg);
}

.vc-h i::after {
  right: 14px;
  transform: translateY(-50%) rotate(135deg);
}

.vc:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.vc-cap {
  text-align: center;
  margin-top: .9rem;
  color: var(--ink-faint);
  font-size: .95rem;
}
@media (max-width:640px) {
  .vc {
    aspect-ratio: 4/3;
  }

  .vc-l,
  .vc-r {
    top: 10px;
    font-size: .88rem;
    padding: .3rem .8rem;
  }

  .vc-l {
    left: 10px;
  }

  .vc-r {
    right: 10px;
  }

  .vc-h i {
    width: 44px;
    height: 44px;
  }
}

/* ═══ 눈 건강 자가체크(병원 9/02 '안질환 자가테스트') ═══ */
.st {
  max-width: 1080px;
  margin-inline: auto;
  scroll-margin-top: 140px;
}

.st-intro {
  text-align: center;
  margin-bottom: clamp(1.6rem,3vw,2.4rem);
}

.st-intro h2 {
  font-size: clamp(1.7rem,1.3rem + 1.4vw,2.5rem);
  font-weight: 800;
}

.st-intro p {
  margin-top: .6rem;
  color: var(--ink-soft);
}

.st-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

.st-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s var(--ease),box-shadow .25s var(--ease),transform .25s var(--ease);
}

.st-card:hover {
  border-color: var(--brand);
  box-shadow: 0 14px 30px rgba(11,47,92,.1);
  transform: translateY(-3px);
}

.st-no {
  font-size: .85rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .08em;
}

.st-card b {
  font-size: 1.45rem;
  font-weight: 800;
}

.st-card em {
  font-style: normal;
  color: var(--ink-faint);
}

.st-go {
  margin-top: .8rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.st-go::after {
  content: " →";
}

.st-run {
  padding: clamp(1.6rem,4vw,3rem);
  background: linear-gradient(135deg,#0a2352,#1a4c9a);
  color: #fff;
}

.st-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.st-back {
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  padding: .4rem .8rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  font-size: .9rem;
}

.st-prog {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.2);
  border-radius: 9px;
  overflow: hidden;
}

.st-prog i {
  display: block;
  height: 100%;
  background: #8fd0ff;
  transition: width .3s ease;
}

.st-cnt {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.st-area {
  margin-top: clamp(1.6rem,4vw,2.8rem);
  color: #8fd0ff;
  font-weight: 700;
}

.st-q {
  margin-top: .6rem;
  font-size: clamp(1.5rem,1.1rem + 1.6vw,2.4rem);
  font-weight: 800;
  line-height: 1.35;
  min-height: 3.2em;
}

.st-ans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1.6rem;
}

.st-ans button {
  min-height: 64px;
  border: 0;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease;
}

.st-ans button[data-a="1"] {
  background: #fff;
  color: var(--brand-ink);
}

.st-ans button[data-a="0"] {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

.st-ans button:active {
  transform: scale(.98);
}

.st-r {
  padding: clamp(1.6rem,4vw,3rem);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line-strong);
  text-align: center;
}

.st-r-k {
  font-weight: 800;
  color: var(--brand);
}

.st-meter {
  height: 10px;
  max-width: 420px;
  margin: 1rem auto .5rem;
  background: var(--mist);
  border-radius: 9px;
  overflow: hidden;
}

.st-meter i {
  display: block;
  height: 100%;
  background: var(--brand);
}

.st-r-n {
  color: var(--ink-soft);
}

.st-r-n b {
  color: var(--ink);
}

.st-r h3 {
  margin-top: 1rem;
  font-size: clamp(1.5rem,1.1rem + 1.4vw,2.2rem);
  font-weight: 800;
}

.st-r>p {
  max-width: 46ch;
  margin: .7rem auto 0;
  color: var(--ink-soft);
}

.st-r-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.6rem;
}

.st-r-d {
  margin-top: 1.2rem !important;
  font-size: .9rem;
  color: var(--ink-faint) !important;
}

.st-note {
  max-width: 1080px;
  margin: 1.6rem auto 0;
  font-size: .92rem;
  color: var(--ink-faint);
}
@media (max-width:767px) {
  .st-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .st-card {
    padding: 1.2rem 1.1rem;
  }

  .st-card b {
    font-size: 1.2rem;
  }
}

/* ═══ 글만 있던 섹션 → 왼쪽 사진 + 오른쪽 내용(2026-09-30) ═══ */
.d-side {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(1.6rem,4vw,3.6rem);
  align-items: center;
}

.d-side-fig {
  margin: 0;
  position: sticky;
  top: 140px;
}

.d-side-fig img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 0 0 60px 0;
  box-shadow: 0 24px 50px rgba(11,47,92,.14);
}

.d-side-body .d-head,
.d-side-body .d-head.center {
  text-align: left;
}

.d-side-body .d-sub {
  margin-left: 0;
}

.d-side-body .d-checks,
.d-side-body .d-grid,
.d-side-body .d-steps,
.d-side-body .d-pc {
  grid-template-columns: minmax(0,1fr) !important;
  max-width: none;
}
@media (max-width:899px) {
  .d-side {
    grid-template-columns: minmax(0,1fr);
  }

  .d-side-fig {
    position: static;
  }

  .d-side-fig img {
    aspect-ratio: 16/10;
    border-radius: 0 0 36px 0;
  }
}

/* ════════════════════════════════════════════════════════════════════
   상세 페이지 디자인 전면 개편 v2 (2026-09-30) — 병원 "낡은 느낌 말고 레퍼런스 사이트들처럼"
   퍼스트: 흰/어두운 사진 띠 교차 · 한 모서리 큰 둥근 사진 · 강조 키워드 / 밝은세상: 배너에 겹친 탭 · 가운데 큰 제목 · 원형 아이콘 배지
   아이시티: 증상 둥근 칩 · 번호 원이 겹친 단계 사진 · Q 원형 배지
   ════════════════════════════════════════════════════════════════════ */
:root {
  --d-r: 22px;
  --d-r-big: 0 0 64px 0;
  --d-shadow: 0 18px 44px rgba(11,40,90,.09);
  --d-shadow-h: 0 26px 60px rgba(11,40,90,.16);
  --d-accent: #1a6bc2;
  --d-soft: #f2f6fc;
}

body.sub {
  background: #fff;
}

/* 배너 + 겹친 탭(밝은세상) */
.d-hero .wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.d-hero .d-hero-lead {
  color: rgba(255,255,255,.86);
  margin-inline: auto;
  text-align: center;
}

.d-chips.stuck .d-chips-in {
  border-radius: 0;
}

/* 섹션 리듬 */
.d-sec {
  padding: clamp(4.4rem,8vw,7.5rem) 0;
}

.d-head {
  margin-bottom: clamp(2.2rem,4vw,3.4rem);
}

.d-head h2 b {
  color: var(--d-accent);
}

.d-head.center .d-kicker {
  justify-content: center;
}

/* 좌우 사진 + 글(split) — 한 모서리 크게 둥근 사진(퍼스트) */
.d-split {
  display: grid;
  gap: clamp(2rem,6vw,6rem);
  align-items: center;
}

.d-split-media {
  position: relative;
}

.d-split-media img {
  height: auto;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.d-split.flip .d-split-media::before {
  left: auto;
  right: -18px;
}

/* 번호 줄(rows) — 지그재그 큰 사진 + 큰 옅은 번호 */
.d-card {
  background: transparent;
  border: 0;
  padding: 0;
}

.d-row {
  display: grid;
  align-items: center;
  padding: clamp(1.6rem,3vw,2.6rem) 0;
}

.d-row.has-media {
  gap: clamp(2rem,6vw,5.5rem);
}

.d-row-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.d-row.flip .d-row-media img {
  border-radius: 0 0 0 64px;
}

.d-row-text {
  position: relative;
}

.d-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  font-weight: 600;
  background: none;
  color: var(--d-accent);
  padding: 0;
  font-size: 1rem;
  letter-spacing: .06em;
}

.d-row:not(.has-media) {
  background: #fff;
  border-radius: var(--d-r);
  box-shadow: var(--d-shadow);
  padding: clamp(1.6rem,3vw,2.4rem) clamp(1.4rem,3vw,2.6rem);
  margin-bottom: 1rem;
}

/* 번호 격자(d-item) — 흰 카드 + 원형 번호 배지(밝은세상) */
.d-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-ink);
  display: none;
}

.d-item h3 {
  margin-top: 1.1rem;
}

/* 단계 — 사진 위 번호 원(아이시티) · 사진 없으면 선으로 이은 원 */
.d-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr));
  border-top: 0;
  gap: clamp(1rem,2vw,1.6rem);
  counter-reset: none;
}

.d-steps li {
  position: relative;
  padding: 0 0 .4rem;
  border-bottom: 0;
}

.d-steps:not(.has-img) {
  grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr));
  position: relative;
}

.d-steps:not(.has-img)::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg,#1a6bc2,#bcd7f5);
}

.d-steps.has-img figure {
  margin: 0 0 -28px;
}

.d-steps.has-img figure img {
  aspect-ratio: 4/3;
}

.d-steps.has-img .d-step-no {
  margin-left: 1.2rem;
}

/* 카드(tile) — 둥근 모서리(사진 확대 효과 없음 — 10/14 병원 미팅) */
/* 체크 — 둥근 칩 2열(아이시티 증상 칩) */
/* 장단점 */
/* 표 — 둥근 틀 · 진한 머리 */
/* 안내 상자 */
.d-notice {
  border: 0;
  border-radius: var(--d-r);
  background: linear-gradient(135deg,#f3f7fd,#e9f1fb);
  padding: clamp(1.8rem,3.4vw,2.6rem) clamp(1.6rem,3.4vw,3rem) clamp(1.8rem,3.4vw,2.6rem) clamp(4.4rem,7vw,5.6rem);
  position: relative;
}

.d-notice::before {
  content: "!";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-ink);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.d-notice li::before {
  border-radius: 50%;
  background: var(--d-accent);
}

/* 자주 묻는 질문 — 원형 Q 배지 */
.d-faq {
  margin-inline: auto;
}

.d-qa summary {
  cursor: pointer;
  list-style: none;
}

.d-qa summary .q {
  place-items: center;
}

/* 장비 — 흰 카드 + 은은한 배경 */
/* 갤러리 */
.d-gallery img {
  border-radius: 18px;
}

.d-gallery figure {
  overflow: hidden;
  border-radius: 18px;
}

/* 중간 사진 띠(퍼스트 · 아이시티) */
/* 스크롤 등장 — 조금 더 길게(퍼스트 AOS 1s) */
body.sub .reveal {
  transform: translateY(34px);
  transition: opacity 1s var(--ease),transform 1s var(--ease);
}

body.sub .reveal.in {
  transform: none;
}
@media (max-width:767px) {
  .d-steps:not(.has-img)::before {
    display: none;
  }

  .d-notice {
    padding-left: 1.6rem;
    padding-top: 4.2rem;
  }

  .d-notice::before {
    top: 1.4rem;
    left: 1.6rem;
  }
}

/* 의료진 — 그라데이션 판 위 큰 사진 · 이름(아이시티 · 퍼스트 원장 섹션) */
.d-doctor::after {
  color: rgba(26,107,194,.07);
}

.d-cv h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--d-accent);
}
@media (max-width:767px) {
  .d-steps.has-img .d-step-no {
    width: 42px;
    height: 42px;
    font-size: .9rem;
    margin-left: .6rem;
  }

  .d-steps.has-img figure {
    margin-bottom: -21px;
  }
}

/* 실제 장비 배너(2400x1000, 장비는 오른쪽 끝) — 잘리지 않게 오른쪽 정렬 · 모바일은 장비가 글 아래로 */
.d-hero-bg img[src*="sub-vision-smart-nova"],
.d-hero-bg img[src*="sub-vision-lasik"],
.d-hero-bg img[src*="sub-cataract-after"],
.d-hero-bg img[src*="sub-safety-equipment"],
.d-hero-bg img[src*="sub-safety-prevention"],
.d-hero-bg img[src*="sub-safety-surgeon"] {
  object-position: right center;
}

/* 서브메뉴 탭 모서리 반듯하게(대표 9/30) */
.d-chips-in,
.d-chips a[aria-current],
.d-chips.stuck .d-chips-in {
  border-radius: 0 !important;
}

img.fit {
  object-fit: contain !important;
  background: linear-gradient(135deg,#f4f8fd,#e6eef9);
  padding: 4%;
}

/* ═══ 상담 · 예약 · 협력사 폼 리디자인(9/30) — 왼쪽 안내 패널 + 오른쪽 폼 카드 ═══ */
.fx {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.5fr);
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11,40,90,.14);
  background: #fff;
}

.fx-side {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(2.2rem,4vw,3.4rem) clamp(1.8rem,3.4vw,2.8rem);
  background: linear-gradient(160deg,#0a2a66 0%,#123f8f 55%,#1a6bc2 100%);
}

.fx-side::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 40px rgba(255,255,255,.04),0 0 0 90px rgba(255,255,255,.03);
  z-index: -1;
}

.fx-k {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: #8fd0ff;
}

.fx-side h2 {
  margin-top: .9rem;
  font-size: clamp(1.7rem,1.2rem + 1.4vw,2.35rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.03em;
}

.fx-d {
  margin-top: 1rem;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  line-height: 1.7;
}

.fx-steps {
  margin-top: 1.8rem;
  display: grid;
  gap: .6rem;
  counter-reset: none;
}

.fx-steps li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-weight: 700;
  font-size: 1rem;
}

.fx-steps b {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  font-size: .8rem;
}

.fx-call {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.2);
}

.fx-call span {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}

.fx-call a {
  display: block;
  margin-top: .2rem;
  font-size: clamp(1.7rem,1.3rem + 1vw,2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.fx-hours {
  margin-top: 1.1rem;
  display: grid;
  gap: .35rem;
  font-size: .92rem;
}

.fx-hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255,255,255,.85);
}

.fx-hours dt {
  color: rgba(255,255,255,.65);
}

.fx-hours .off dd {
  color: #ffd48a;
}

.fx-form {
  max-width: none;
  border: 0;
  padding: clamp(2rem,4vw,3.2rem) !important;
  margin: 0 !important;
}

.fx-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.3rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid #e6edf6;
}

.fx-head h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.fx-head p {
  font-size: .9rem;
  color: var(--ink-faint);
}

.fx-head i,
.fx-agree i {
  color: #e0533a;
  font-style: normal;
}

.fx .f-grid {
  gap: 1.3rem 1.2rem;
}

.fx .f-row {
  gap: .55rem;
}

.fx .f-lab {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}

.fx .f-lab i {
  color: #e0533a;
  font-style: normal;
}

.fx .f-lab em {
  font-style: normal;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-faint);
  background: #eef3f9;
  border-radius: 999px;
  padding: .08rem .5rem;
}

.fx .f-row input,
.fx .f-row select,
.fx .f-row textarea {
  min-height: 56px;
  border-radius: 14px;
  border: 1.5px solid #e1e9f4;
  background: #f6f9fd;
  padding: .8rem 1.05rem;
  font-size: 1.02rem;
  transition: border-color .2s ease,background-color .2s ease,box-shadow .2s ease;
}

.fx .f-row input::placeholder,
.fx .f-row textarea::placeholder {
  color: #a3afc0;
}

.fx .f-row input:hover,
.fx .f-row select:hover,
.fx .f-row textarea:hover {
  border-color: #c9d8ec;
}

.fx .f-row input:focus,
.fx .f-row select:focus,
.fx .f-row textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26,107,194,.14);
}

.fx .f-row textarea {
  min-height: 150px;
  line-height: 1.6;
}

.fx .f-row select {
  background-color: #f6f9fd;
  background-position: right 1.1rem center;
}

.fx-chips {
  display: flex;
  flex-wrap: wrap;
}

.fx-chips label {
  position: relative;
  cursor: pointer;
}

.fx-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fx-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1.5px solid #dce6f3;
  background: #fff;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.fx-chips label:hover span {
  border-color: #a9c3e6;
  color: var(--ink);
}

.fx-chips input:checked+span {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
  box-shadow: 0 8px 18px rgba(27,63,120,.22);
}

.fx-chips input:focus-visible+span {
  box-shadow: 0 0 0 4px rgba(26,107,194,.25);
}

.fx-agree {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #f6f9fd;
  cursor: pointer;
  font-size: .98rem;
  color: var(--ink-soft);
}

.fx-agree input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.fx-box {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  border: 1.5px solid #b9c9de;
  background: #fff;
  display: grid;
  place-items: center;
  transition: all .2s ease;
}

.fx-agree input:checked+.fx-box {
  background: var(--brand);
  border-color: var(--brand);
}

.fx-agree input:checked+.fx-box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}

.fx-agree input:focus-visible+.fx-box {
  box-shadow: 0 0 0 4px rgba(26,107,194,.25);
}

.fx-agree a {
  margin-left: .3rem;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fx .f-actions {
  margin-top: 1.4rem;
  display: block;
}

.fx-submit {
  width: 100%;
  min-height: 64px;
  border: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: linear-gradient(90deg,#0f3b86,#1a6bc2 60%,#2f8ee0);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(26,107,194,.3);
  transition: transform .2s ease,box-shadow .2s ease;
}

.fx-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(26,107,194,.36);
}

.fx-submit svg {
  transition: transform .25s ease;
}

.fx-submit:hover svg {
  transform: translateX(4px);
}

.fx-submit:disabled {
  opacity: .6;
  cursor: wait;
  transform: none;
}

.fx .f-msg {
  margin-top: .9rem;
  text-align: center;
  font-weight: 700;
}

.fx .f-msg.err {
  color: #d2432b;
}

.fx-note {
  margin-top: .9rem;
  text-align: center;
  font-size: .9rem;
  color: var(--ink-faint);
}
@media (max-width:899px) {
  .fx {
    grid-template-columns: minmax(0,1fr);
    border-radius: 22px;
  }

  .fx-hours {
    display: none;
  }

  .fx-side h2 br {
    display: none;
  }
}

@media (max-width:640px) {
  .fx .f-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-side {
    padding: 1.8rem 1.4rem;
  }

  .fx-form {
    padding: 1.6rem 1.2rem !important;
  }

  .fx-steps {
    grid-template-columns: repeat(3,1fr);
    gap: .4rem;
  }

  .fx-steps li {
    flex-direction: column;
    text-align: center;
    font-size: .82rem;
    gap: .35rem;
  }
}

/* 회원 폼(로그인 · 가입 · 찾기)도 같은 입력 스타일 */
.d-member .f-row input,
.d-member .f-row select {
  min-height: 56px;
  border-radius: 14px;
  border: 1.5px solid #e1e9f4;
  background: #f6f9fd;
  padding: .8rem 1.05rem;
}

.d-member .f-row input:focus {
  outline: 0;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26,107,194,.14);
}

.d-form.d-member {
  max-width: 560px;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(11,40,90,.12);
  padding: clamp(1.8rem,4vw,2.8rem);
}

.d-member .btn {
  border-radius: 14px;
}

img.tall {
  object-position: 50% 12%;
}

.is-split .d-split-media img.tall {
  aspect-ratio: 4/5;
  max-height: 640px;
}

/* ═══ 수술장비 안전체크 결과(병원 8-3, 기존 홈페이지 형태 유지) ═══ */
.eqc {
  max-width: 1180px;
  margin-inline: auto;
}

.eqc-top {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.eqc-days {
  display: flex;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eqc-days button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 76px;
  border: 1.5px solid #dbe5f2;
  background: #fff;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: inherit;
  transition: all .2s ease;
}

.eqc-days button span {
  font-size: .78rem;
}

.eqc-days button b {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.eqc-days button[aria-selected="true"] {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
}

.eqc-nav {
  width: 44px;
  height: 76px;
  border: 1.5px solid #dbe5f2;
  background: #fff;
  font-size: 1.6rem;
  color: var(--brand-ink);
  cursor: pointer;
}

.eqc-nav:disabled {
  opacity: .35;
  cursor: default;
}

.eqc-pick {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: .6rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.eqc-pick input {
  height: 46px;
  padding: 0 .8rem;
  border: 1.5px solid #dbe5f2;
  background: #fff;
  font-family: inherit;
  font-size: .95rem;
}

.eqc-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.eqc-card {
  background: #fff;
  box-shadow: var(--d-shadow,0 18px 44px rgba(11,40,90,.09));
  overflow: hidden;
}

.eqc-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  background: var(--brand-ink);
  color: #fff;
}

.eqc-slot {
  font-size: 1.2rem;
  font-weight: 800;
}

.eqc-ok {
  font-size: .82rem;
  font-weight: 700;
  color: #9be7c0;
}

.eqc-na {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

.eqc-card.off header {
  background: #8a97aa;
}

.eqc-who {
  padding: 1.2rem 1.3rem;
  border-bottom: 1px solid #edf1f7;
}

.eqc-who p {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: .7rem;
}

.eqc-who ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eqc-who li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}

.eqc-who img,
.eqc-av {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: #e9eff7;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(11,40,90,.15);
}

.eqc-who li.none {
  color: var(--ink-faint);
  padding: 1.4rem 0;
}

.eqc-items {
  list-style: none;
  margin: 0;
  padding: .6rem 1.3rem 1.2rem;
}

.eqc-items li {
  display: grid;
  grid-template-columns: minmax(0,1fr) 64px auto;
  align-items: center;
  gap: .7rem;
  padding: .7rem 0;
  border-bottom: 1px dashed #e6ecf4;
}

.eqc-items li:last-child {
  border-bottom: 0;
}

.eqc-items b {
  display: block;
  font-size: .98rem;
}

.eqc-items small {
  display: block;
  font-size: .8rem;
  color: var(--ink-faint);
  line-height: 1.4;
}

.eqc-bar {
  height: 8px;
  background: #e9eff7;
  border-radius: 9px;
  overflow: hidden;
}

.eqc-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,#2fa4d9,#1a6bc2);
  border-radius: 9px;
  transition: width .8s ease;
}

.eqc-bar.ok i {
  width: 100%;
}

.eqc-items em {
  font-style: normal;
  font-size: .85rem;
  font-weight: 800;
  color: #1a8f5a;
}

.eqc-card.off .eqc-items em {
  color: var(--ink-faint);
}

.eqc-empty {
  text-align: center;
  color: var(--ink-faint);
  padding: 2rem 0;
}
@media (max-width:1023px) {
  .eqc-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width:640px) {
  .eqc-days button {
    width: 58px;
    height: 64px;
  }

  .eqc-days button b {
    font-size: 1.2rem;
  }

  .eqc-days li:nth-child(-n/**/+2) {
    display: none;
  }

  .eqc-nav {
    height: 64px;
    width: 36px;
  }

  .eqc-pick {
    margin: 0;
    width: 100%;
    justify-content: center;
  }
}

/* 관리자 사이트 > 홈페이지 내용(cms.js) — 공지 · 임시 휴진 띠 */
.cms-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem 1.4rem;
  padding: .55rem 16px;
  background: var(--brand-ink,#0a2548);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 60;
}

.cms-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════════════
   2026-10-07 병원 미팅 반영 v3 — 밝은세상안과 · 퍼스트안과 결
   쨍한 두 색(홈 '숫자로 증명하는' 라식 · 라섹 카드): --v1 #001397 · --v2 #3797ff
   ════════════════════════════════════════════════════════════════════ */
:root {
  --v1: #001397;
  --v2: #3797ff;
  --v-soft: #f2f7ff;
}

/* 시술 상세 첫 섹션 — 가운데 큰 제목 + 두세 줄 요약 */
.d-lead {
  padding: clamp(4.4rem,8vw,7.5rem) 0 clamp(1.4rem,3vw,2.4rem);
  text-align: center;
}

.d-lead-en {
  font-size: clamp(.95rem,.9rem + .25vw,1.1rem);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.d-lead h2 {
  margin-top: .9rem;
  font-weight: 800;
}

/* 장점 — 아이콘 + 한 줄(4개) */
.d-adv {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(1.6rem,3vw,3rem);
}

.d-adv.c3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.d-adv.c2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.d-adv.c1 {
  grid-template-columns: minmax(0,1fr);
}

.d-adv li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.d-adv-ic {
  width: clamp(88px,8vw,112px);
  height: clamp(88px,8vw,112px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--v-soft);
  color: var(--v1);
  transition: background-color .35s var(--ease),color .35s var(--ease),transform .35s var(--ease);
}

.d-adv-ic svg {
  width: 46%;
  height: 46%;
}

.d-adv li:hover .d-adv-ic {
  background: var(--v1);
  color: #fff;
  transform: translateY(-4px);
}

.d-adv b {
  display: block;
  margin-top: 1.3rem;
  font-size: clamp(1.25rem,1.05rem + .6vw,1.55rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.4;
  text-wrap: balance;
}

.d-adv p {
  margin-top: .6rem;
  font-size: clamp(1.05rem,1rem + .2vw,1.18rem);
  color: var(--ink-soft);
  line-height: 1.65;
}
@media (max-width:899px) {
  .d-adv,
  .d-adv.c3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 2.4rem 1.2rem;
  }
}

/* 안과 둘러보기 — 탭 + 4장 슬라이드 */
.tv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.2rem,2.4vw,1.8rem);
}

.tv-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
}

.tv-tabs button {
  position: relative;
  padding: .9rem clamp(1rem,2vw,1.8rem);
  background: none;
  border: 0;
  font-family: inherit;
  font-size: clamp(1.1rem,1rem + .4vw,1.35rem);
  font-weight: 700;
  color: var(--ink-faint);
  cursor: pointer;
  transition: color .3s var(--ease);
}

.tv-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--v1);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.tv-tabs button[aria-selected="true"] {
  color: var(--v1);
}

.tv-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.tv-nav {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.tv-arw {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s ease,color .25s ease,border-color .25s ease;
}

.tv-arw:hover {
  background: var(--v1);
  border-color: var(--v1);
  color: #fff;
}

.tv-cnt {
  font-size: 1rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  min-width: 4.5em;
  text-align: center;
}

.tv-cnt b {
  color: var(--v1);
  font-weight: 800;
}

.tv-sub {
  margin-bottom: 1.2rem;
  font-size: clamp(1.08rem,1rem + .3vw,1.25rem);
  color: var(--ink-soft);
}

.tv-view {
  overflow: hidden;
}

.tv-track {
  display: flex;
  gap: 16px;
  transition: transform .8s cubic-bezier(.65,0,.35,1);
  will-change: transform;
}

.tv-track li {
  flex: 0 0 calc((100% - 48px) / 4);
}

.tv-track figure {
  margin: 0;
  overflow: hidden;
}

.tv-track img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.tv-track figcaption {
  margin-top: .7rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.tv-pane[hidden] {
  display: none;
}
@media (max-width:1023px) {
  .tv-track li {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width:639px) {
  .tv-track li {
    flex-basis: 100%;
  }

  .tv-tabs {
    width: 100%;
  }

  .tv-tabs button {
    flex: 1;
    padding: .8rem .4rem;
    font-size: 1rem;
  }
}

/* 의료진 — 카드 · 테두리 없이 사진 옆에 글(병원 10/07, 퍼스트안과) */
.is-doctors .d-kicker::before {
  display: none;
}

.d-doctor::after {
  content: "Dr. Park";
  position: absolute;
  right: -.05em;
  bottom: -.22em;
  z-index: -1;
  font-size: clamp(5rem,12vw,11rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.04em;
  line-height: 1;
  display: none !important;
}

.d-doctor-photo img {
  width: 100%;
  height: auto;
  box-shadow: none !important;
  background: linear-gradient(180deg,#eef4fd,#fff);
}

.d-doctor-role {
  font-weight: 700;
  display: inline-block;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--v2) !important;
  font-size: clamp(1.1rem,1rem + .4vw,1.35rem) !important;
}

.d-doctor h3 {
  font-size: clamp(2.6rem,1.6rem + 3vw,4.2rem) !important;
  margin-top: .3rem;
}

.d-doctor h3::after {
  content: " 원장";
  font-size: .5em;
  font-weight: 700;
  color: var(--ink-soft);
}

.d-cv h4 {
  font-weight: 800;
  color: var(--brand-ink);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: clamp(1.15rem,1rem + .4vw,1.35rem) !important;
}

.d-cv ul {
  display: grid;
  gap: .35rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem,1rem + .25vw,1.2rem);
}

.d-cv ul li {
  border-bottom: 0 !important;
  padding: .35rem 0;
}

/* 진료시간 · 오시는 길(병원 10/07, 드림성모안과) — 진료시간은 화면 너비 가득 찬 쨍한 띠 */
.d-visit-sec {
  padding: 0 0 clamp(4rem,8vw,7rem) !important;
}

.vt-hours::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg,rgba(6,22,55,.94),rgba(10,42,98,.82)),url(/assets/a/tour-info.jpg) center/cover;
  display: none;
}

.vt-h-head p {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
}

.vt-h-head .vt-ic {
  color: #fff;
}

.vt-h-note b {
  color: #ffe36e;
}

.vt-d {
  display: block;
  font-weight: 700;
  background: rgba(255,255,255,.16);
  font-size: 1.15rem;
  padding: .85rem 1.1rem;
}

.vt-tiles em {
  padding: 0 1rem 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,.82);
}

.vt-lunch {
  margin-top: 14px;
  padding: .8rem 1rem;
  background: rgba(255,255,255,.12);
  font-size: 1.15rem;
}

.vt-lunch b {
  margin-right: .8rem;
  color: #ffe36e;
}

.vt-body {
  padding-top: clamp(3.4rem,6vw,5.5rem);
}

.vt-sec-h {
  text-align: center;
  margin-bottom: clamp(1.8rem,3.4vw,2.8rem);
}

.vt-sec-h h2 {
  font-size: clamp(2.2rem,1.5rem + 2.6vw,3.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.vt-sec-h .vt-a {
  margin-top: .9rem;
  font-size: clamp(1.25rem,1.05rem + .8vw,1.75rem);
  font-weight: 700;
  color: var(--ink);
}

.vt-sec-h .vt-a small {
  display: block;
  margin-top: .3rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-faint);
}

.vt-map {
  display: grid;
  gap: clamp(1.2rem,3vw,2.4rem);
  align-items: stretch;
  margin-top: 0;
}

.vt-map-l {
  display: flex;
}

.vt-route {
  display: flex;
  flex-direction: column;
}

.rt-svg {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.vt-tabs button {
  flex: 1 1 0;
  border: 0;
  color: var(--ink-soft);
  font-weight: 700;
  cursor: pointer;
  min-height: 54px;
  font-size: 1.08rem;
  background: #eef3fb;
}

.vt-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--v1);
}

.vt-rt-cap {
  margin-top: .8rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* 교통편 — 상자 없이 큰 글씨 · 소제목 밑줄(드림성모) */
.vt-tabs.big {
  gap: 0;
  border-bottom: 2px solid var(--ink);
}

.vt-tabs.big button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  color: var(--ink-faint);
  min-height: 72px;
  font-size: clamp(1.15rem,1rem + .5vw,1.4rem);
}

.vt-tabs.big button[aria-selected="true"] {
  background: none;
  color: var(--v1);
  box-shadow: inset 0 -4px 0 var(--v1);
}

.vt-tp h4:not(:first-child) {
  margin-top: 2.4rem !important;
}

.vt-tp ol {
  display: grid;
  counter-reset: vt;
  gap: .8rem;
}

.vt-tp ol li,
.vt-tp p {
  font-size: clamp(1.1rem,1rem + .3vw,1.25rem);
}

.vt-tp ol li::before {
  counter-increment: vt;
  content: counter(vt);
  position: absolute;
  left: 0;
  top: .15rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  background: var(--v1) !important;
  width: 1.75rem;
  height: 1.75rem;
  font-size: .9rem;
}

.vt-bus li {
  color: var(--ink-soft);
  background: none !important;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}

.vt-park {
  margin-top: clamp(1.6rem,3vw,2.4rem);
  text-align: center;
  background: var(--v-soft) !important;
  color: var(--ink) !important;
  padding: clamp(2rem,4vw,3rem) !important;
}

.vt-k {
  font-weight: 800;
  color: var(--v1) !important;
  font-size: 1.35rem;
}

.vt-chips span {
  font-weight: 700;
  border-radius: 4px;
  background: var(--v1) !important;
  color: #fff;
  font-size: 1.1rem;
  padding: .5rem 1.1rem;
}

.vt-park ul {
  margin-top: 1rem;
  display: grid;
  gap: .3rem;
  color: var(--ink-soft) !important;
  font-size: 1.12rem;
}

/* 온라인 예약 — 왼쪽 달력 + 오른쪽 입력(퍼스트안과) */
.rsv {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}

.rsv-cal-h {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.rsv-m {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.rsv-m:disabled {
  opacity: .3;
  cursor: default;
}

.rsv-wk,
.rsv-days {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  text-align: center;
}

.rsv-wk .sun {
  color: #e0533a;
}

.rsv-d em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: #e0533a;
  margin-top: .2rem;
}

.rsv-d:not(:disabled):hover {
  background: var(--v-soft);
}

.rsv-d.today b {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.rsv-d.sel {
  background: var(--v1) !important;
}

.rsv-d.sel b {
  color: #fff !important;
}

.rsv-d.past {
  opacity: .3;
  cursor: default;
}

.rsv-legend {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 1.2rem;
  font-size: .95rem;
  color: var(--ink-faint);
}

.rsv-legend li {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.rsv-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.rsv-legend .sel {
  background: var(--v1);
}

.rsv-legend .today {
  border: 2px solid var(--ink);
}

.rsv-row.top {
  align-items: start;
}

.rsv-row.top .rsv-lab {
  padding-top: .8rem;
}

.rsv-lab {
  font-size: clamp(1.05rem,1rem + .25vw,1.2rem);
  font-weight: 700;
  color: var(--ink);
}

.rsv-lab i {
  color: #e0533a;
  font-style: normal;
  margin-left: .15rem;
}

.rsv-row input,
.rsv-row select,
.rsv-row textarea {
  background: #f6f9fd;
}

.rsv-row select {
  -webkit-appearance: none;
  cursor: pointer;
  background: #f6f9fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23617690' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center/16px;
}

.rsv-row input:focus,
.rsv-row select:focus,
.rsv-row textarea:focus {
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,19,151,.12);
}

.rsv-date {
  font-weight: 700;
  color: var(--v1) !important;
  cursor: default;
}

.rsv .fx-submit:hover {
  background: #0a25c4;
}
@media (max-width:899px) {
  .rsv-row.top .rsv-lab {
    padding-top: 0;
  }
}

/* 스크롤 시 헤더 숨김 + 탭이 헤더 자리에 화면 너비로(병원 10/07) */
.hd {
  transition: transform .45s cubic-bezier(.65,0,.35,1),box-shadow var(--dur) var(--ease);
}

body.tab-fixed .hd {
  transform: translateY(-100%);
}

body.tab-stuck .d-chips {
  background: #fff;
  box-shadow: 0 1px 0 var(--line),0 10px 24px -16px rgba(0,19,151,.35);
}

body.tab-stuck .d-chips .wrap {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

body.tab-stuck .d-chips-in {
  max-width: none;
}

body.tab-stuck .d-chips a[aria-current] {
  background: none;
  box-shadow: inset 0 -3px 0 var(--v1);
}

body.tab-stuck .d-chips a[aria-current]::after {
  display: none;
}

.vt-tiles b {
  padding: 1.1rem 1rem .3rem;
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: clamp(1.35rem,.85rem + 1.15vw,1.95rem) !important;
}

.vt-map .locx-map {
  flex: 1;
  min-height: 0;
  height: 100%;
  border: 0;
  background: #eef3fb;
}

/* 자주 묻는 질문 — 밝은세상안과처럼 상자 없이 줄로만, Q · A 는 같은 큰 글씨, 답 내용만 작게(병원 10/07) */
.d-qa summary,
.faq-wide .d-qa summary {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1.5rem,2.6vw,2rem) .4rem;
  font-size: clamp(1.25rem,1.05rem + .7vw,1.6rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.d-qa summary .q,
.faq-wide .d-qa summary .q {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: inline;
  font-size: 1em;
  font-weight: 800;
  color: var(--v1);
  flex: none;
}

.d-qa[open] summary {
  color: var(--v1);
}

.d-qa .a,
.faq-wide .d-qa .a {
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0 .4rem clamp(1.6rem,2.8vw,2.2rem);
  background: none;
  line-height: 1.75;
}

.d-qa .a-t {
  font-size: clamp(1.08rem,1rem + .3vw,1.22rem);
  color: var(--ink-soft);
  padding-top: .25rem;
}

.d-qa .a-t p + p {
  margin-top: .6rem;
}

/* 자주 묻는 질문 분류 탭 — 진한 상자 대신 글자 + 밑줄 */
.faq-wide .d-tabs {
  grid-template-columns: repeat(5,minmax(0,1fr));
  display: flex;
  justify-content: center;
  gap: 0;
  background: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(1.4rem,3vw,2.4rem);
}

.faq-wide .d-tabs button {
  margin: 0;
  font-weight: 700;
  transition: background-color .25s var(--ease),color .25s var(--ease);
  flex: 0 0 auto;
  min-height: 64px;
  padding: 0 clamp(1rem,2.2vw,2rem);
  border: 0 !important;
  background: none !important;
  color: var(--ink-faint) !important;
  font-size: clamp(1.15rem,1rem + .5vw,1.45rem);
  box-shadow: none;
  position: relative;
}

.faq-wide .d-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--v1);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.faq-wide .d-tabs button[aria-selected=true] {
  color: var(--v1) !important;
}

.faq-wide .d-tabs button[aria-selected=true]::after {
  transform: scaleX(1);
}

/* 나란히 비교(스마트노바 움직이는 그림) — 다른 섹션과 같은 너비, 제목은 크게 · 설명은 작게, 이름표 상자 없이(병원 10/07) */
.d-compare {
  max-width: none !important;
  gap: clamp(3rem,6vw,5rem) !important;
}

.d-cmp {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.d-cmp h3 {
  font-size: clamp(1.7rem,1.3rem + 1.4vw,2.5rem) !important;
  letter-spacing: -.04em;
  text-align: center;
}

.d-cmp > p {
  margin-top: .6rem !important;
  text-align: center;
  font-size: clamp(1.05rem,1rem + .25vw,1.2rem);
  color: var(--ink-faint) !important;
}

.d-cmp-pair {
  display: grid;
  margin-top: clamp(1.4rem,2.6vw,2rem);
  gap: clamp(1rem,2vw,1.8rem);
}

.d-cmp-pair figure {
  overflow: hidden;
  background: #0b0b0b;
  border-radius: 0;
}

.d-cmp-pair figcaption {
  font-weight: 800;
  background: none !important;
  border: 0 !important;
  padding: .9rem 0 0 !important;
  font-size: clamp(1.1rem,1rem + .4vw,1.35rem);
  color: var(--ink) !important;
  background-color: #fff !important;
}

/* ── 글씨 크게(병원 10/07 "전체적으로 1.5배") · 제목과 본문 크기 차이 또렷하게 ── */
body.sub main {
  display: block;
  overflow-x: clip;
  font-size: clamp(1.12rem,1.02rem + .35vw,1.3rem);
}

body.sub main p,
body.sub main li {
  text-wrap: pretty;
}

.d-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  margin-bottom: .8rem;
  font-size: clamp(1.05rem,1rem + .3vw,1.25rem);
}

.d-sub {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: clamp(1.15rem,1.05rem + .4vw,1.4rem);
  max-width: 44ch;
}

.d-split-text h2 {
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
  font-size: clamp(2rem,1.35rem + 2vw,3.1rem) !important;
}

.d-split-text p {
  line-height: 1.8;
  color: var(--ink-soft);
  font-size: clamp(1.12rem,1.02rem + .35vw,1.3rem) !important;
}

.d-row h3 {
  letter-spacing: -.03em;
  font-size: clamp(1.6rem,1.25rem + 1.1vw,2.3rem) !important;
}

.d-row p,
.d-points li {
  font-size: clamp(1.1rem,1rem + .3vw,1.25rem);
}

.d-item h3,
.d-tile h3,
.d-device h3 {
  font-size: clamp(1.35rem,1.15rem + .6vw,1.7rem) !important;
}

.d-item p,
.d-tile p,
.d-device p,
.d-dots {
  font-size: clamp(1.05rem,1rem + .25vw,1.2rem) !important;
}

.d-steps h3 {
  margin-top: 1rem;
  font-size: clamp(1.3rem,1.1rem + .6vw,1.6rem) !important;
}

.d-steps p {
  font-size: clamp(1.05rem,1rem + .25vw,1.18rem) !important;
}

.d-note {
  margin-top: 1.4rem;
  color: var(--ink-faint);
  text-align: center;
  font-size: clamp(1rem,.96rem + .15vw,1.08rem) !important;
}

.d-hero h1::after {
  content: "";
  width: 44px;
  height: 3px;
  margin-top: 1.3rem;
  background: #8fd0ff;
  margin-inline: auto;
  display: none;
}

/* ── 상자 · 테두리 · 그림자 정리 — 배경색만 남긴다(병원 10/07) ── */
.d-split-media::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 38%;
  height: 48%;
  border: 1px solid rgba(26,107,194,.28);
  border-radius: 0;
  z-index: -1;
  display: none;
}

.d-split-media img,
.d-row-media img {
  box-shadow: none !important;
}

.d-row:not(.has-media) {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: clamp(1.6rem,3vw,2.4rem) 0 !important;
  margin: 0 !important;
  border-top: 1px solid var(--line);
}

.d-row:not(.has-media):first-child {
  border-top: 0;
}

.d-item {
  position: relative;
  padding: clamp(1.8rem,3vw,2.4rem);
  background: var(--v-soft) !important;
  box-shadow: none;
  border: 0;
}

.d-item:hover {
  transform: none !important;
}

.d-item-no {
  font-weight: 800;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  background: var(--v1) !important;
}

.d-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  background: none !important;
}

.d-tile:hover {
  transform: none !important;
}

.d-tile figure {
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  border-radius: 0;
}

.d-tile-body {
  padding: 1.2rem 0 0 !important;
}

.d-sec.tint .d-device {
  background: #fff !important;
}

.d-notice {
  font-size: clamp(1.02rem,.98rem + .2vw,1.12rem);
  background: var(--v-soft) !important;
  border-radius: 0 !important;
  padding: clamp(1.6rem,3vw,2.2rem) clamp(1.4rem,3vw,2.4rem) !important;
}

.d-notice::before {
  left: clamp(1.4rem,2.6vw,2rem);
  top: clamp(1.7rem,3.2vw,2.4rem);
  display: none !important;
}

.d-notice h2 {
  font-size: clamp(1.2rem,1.05rem + .5vw,1.45rem) !important;
}

.xp-card {
  position: relative;
  padding: clamp(1.5rem,2.6vw,2.2rem);
  display: flex;
  flex-direction: column;
  gap: .7rem;
  box-shadow: none;
}

.d-step-no {
  font-weight: 800;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--d-accent);
  font-size: 1.05rem;
  letter-spacing: 0;
  box-shadow: none;
}

.d-steps:not(.has-img) .d-step-no {
  position: relative;
  z-index: 1;
  background: var(--v1);
  color: #fff;
  border-color: var(--v1);
}

.d-steps.has-img .d-step-no {
  position: relative;
  color: #fff;
  border-color: #fff;
  background: var(--v1);
}

.d-steps.has-img figure {
  overflow: hidden;
  border-radius: 0;
}

.d-gallery img,
.d-gallery figure {
  border-radius: 0 !important;
}

/* 페이지 끝 상담 띠(유지) — 쨍한 색 */
.d-cta-in::before {
  background: linear-gradient(100deg,rgba(0,19,151,.94),rgba(0,19,151,.78) 55%,rgba(55,151,255,.6)),url(/assets/a/tour-consult.jpg) center/cover no-repeat !important;
}

/* 게시판 목록 — 큰 글씨, 번호 칸 · '공지' 표시(병원 10/07) */
.b-list {
  border-top: 2px solid var(--ink) !important;
}

.b-list a {
  display: grid;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color .24s var(--ease);
  grid-template-columns: 5rem minmax(0,1fr) auto;
  padding: clamp(1.15rem,2vw,1.5rem) .4rem;
}

.b-tag {
  min-width: 0;
  text-align: center;
  font-size: clamp(1rem,.95rem + .2vw,1.1rem) !important;
  font-weight: 600 !important;
  color: var(--ink-faint) !important;
  font-variant-numeric: tabular-nums;
}

.b-list li.pin .b-title {
  font-weight: 800;
}

.b-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1.12rem,1.02rem + .35vw,1.3rem) !important;
}

.b-list time {
  color: var(--ink-faint);
  font-size: clamp(.98rem,.95rem + .15vw,1.08rem);
}
@media (max-width:767px) {
  .b-list a {
    grid-template-columns: 3.4rem minmax(0,1fr);
  }

  .b-tag {
    display: block !important;
  }

  .b-list time {
    grid-column: 2;
  }
}

/* ═══ 레퍼런스 측정값 반영(밝은세상안과 · 퍼스트안과 · 드림성모안과, 10/07) ═══ */
/* 서브 상단 — 사진 위 제목 하나(브레드크럼 · 부제 없음), 아래 탭 바가 같은 폭으로 나뉘어 걸침 */
.d-hero {
  padding: 0 0 76px !important;
}

.d-hero .d-crumbs {
  color: rgba(255,255,255,.72);
  justify-content: center;
  display: none;
}

.d-chips .wrap {
  padding-inline: var(--gut);
  transition: width .45s var(--ease);
  width: min(1440px,100%);
}

.d-chips-in {
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
  max-width: 100%;
  margin-inline: auto;
  display: flex;
  width: 100%;
  backdrop-filter: blur(20px);
  justify-content: stretch;
}

.d-chips a {
  white-space: nowrap;
  transition: color .24s var(--ease);
  border-bottom: 0;
  position: relative;
  flex: 1 1 0;
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 0 1rem;
  color: #fff !important;
  font-size: clamp(1rem,.85rem + .45vw,1.3rem);
  font-weight: 500;
  border-left: 1px solid rgba(186,191,206,.55);
}

.d-chips a:first-child {
  border-left: 0;
}

.d-chips a[aria-current] {
  border-bottom-color: var(--brand);
  border-radius: 14px 14px 0 0;
  background: #fff !important;
  color: var(--v1) !important;
  font-weight: 700;
  border-left-color: transparent;
}

.d-chips a[aria-current] + a {
  border-left-color: transparent;
}

/* 붙었을 때 — 화면 전체 폭 남색 반투명 띠, 선택한 탭만 흰색 */
/* 섹션 — 연이은 흰 섹션 사이는 전체 폭 1px 선(박스 대신 선과 여백) */
.d-sec:not(.tint):not(.navy) + .d-sec:not(.tint):not(.navy) {
  border-top: 1px solid #e3e6ee;
}

.d-lead + .d-sec:not(.tint) {
  border-top: 0;
}

.d-head h2 {
  font-size: clamp(2.2rem,1.4rem + 2.6vw,3.6rem) !important;
  line-height: 1.25;
  font-weight: 700 !important;
  letter-spacing: -.035em;
}

/* 의료진 — 퍼스트안과: 왼쪽 정렬 작은 머리글(굵게, 색) + 큰 문장 제목, 이름 아래 회색 2px 선 */
.is-doctors .d-head h2 {
  font-size: clamp(2.4rem,1.5rem + 2.6vw,3.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.4;
}

.d-doctor {
  display: grid;
  position: relative;
  isolation: isolate;
  gap: clamp(2rem,6vw,5.5rem);
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  overflow: visible;
  grid-template-columns: minmax(0,30rem) minmax(0,1fr) !important;
  align-items: start !important;
  margin-top: clamp(1rem,3vw,2.4rem);
}

.d-doctor-body h3 {
  padding-bottom: clamp(1.4rem,3vw,2.6rem);
  border-bottom: 2px solid #cecece;
}

.d-cvs {
  display: grid;
  gap: 1.6rem;
  margin-top: 2rem;
  border-top: 0 !important;
  padding-top: 1.6rem;
}

/* FAQ — 위쪽 선, 열리면 선 · 질문이 파랑, 40px 원형 화살표(밝은세상) */
.d-faq,
.faq-wide .d-faq {
  display: block;
  gap: 0;
  max-width: none;
  border-top: 0;
}

.d-qa,
.faq-wide .d-qa {
  background: none !important;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none;
  overflow: visible;
  border-bottom: 0;
  border-top: 1px solid #d6d6d6;
}

.d-qa:last-child {
  border-bottom: 1px solid #d6d6d6;
}

.d-qa[open] {
  border-top-color: var(--v1);
}

.d-qa summary::after,
.faq-wide .d-qa summary::after {
  content: "";
  flex: none;
  margin-left: auto !important;
  width: 40px;
  height: 40px;
  border: 1px solid #78819f !important;
  border-radius: 50%;
  transform: none;
  margin-top: 0 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378819f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center/16px !important;
  transition: transform .2s linear !important;
}

.d-qa[open] summary::after,
.faq-wide .d-qa[open] summary::after {
  transform: rotate(180deg);
  border-color: var(--v1) !important;
  margin-top: 0 !important;
}

.d-qa .a {
  color: var(--ink-soft);
  padding-left: .4rem;
}

.d-qa .a-k {
  flex: none;
  font-size: clamp(1.25rem,1.05rem + .7vw,1.6rem);
  font-weight: 800;
  line-height: 1.45;
  color: #0d2162;
}

/* 온라인 예약 — 퍼스트안과: 큰 바깥 카드, 네모 칸 달력(숫자 아래 상태 글자), 테두리 없는 회색 입력, 둥근 큰 버튼 */
.rsv {
  display: grid;
  gap: clamp(1.6rem,4vw,4rem);
  margin-inline: auto;
  align-items: start;
  padding: clamp(1.4rem,3vw,2.6rem) clamp(1.2rem,2.4vw,2rem);
  border-radius: 30px;
  box-shadow: 0 0 10px 4px rgba(0,0,0,.08);
  background: #fff;
}

.rsv-cal {
  border-top: 0;
  padding-top: .4rem !important;
}

.rsv-ym {
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  min-width: 6.5em;
  text-align: center;
  font-size: clamp(2rem,1.5rem + 1.4vw,2.8rem);
}

.rsv-wk {
  margin-top: 1.4rem;
  padding: .7rem 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink) !important;
  border-bottom: 0;
}

.rsv-days {
  margin-top: .6rem;
  gap: 0;
}

.rsv-d {
  border: 0;
  background: none;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  transition: background-color .2s ease,color .2s ease;
  aspect-ratio: auto !important;
  height: clamp(64px,6vw,90px);
  border-radius: 0 !important;
  justify-content: flex-start;
  padding-top: .9rem !important;
}

.rsv-d b {
  line-height: 1;
  font-size: clamp(1.1rem,1rem + .3vw,1.25rem) !important;
  font-weight: 500 !important;
  color: #5c5c5c;
}

.rsv-d.sun b {
  color: #da0000 !important;
}

.rsv-d.sat b {
  color: #1537b4 !important;
}

.rsv-d .st {
  margin-top: .35rem;
  font-size: .78rem;
  color: #919191;
  font-style: normal;
}

.rsv-d.off {
  cursor: not-allowed;
  background: none !important;
}

.rsv-d.off b {
  color: #da0000 !important;
}

.rsv-d.sel {
  background: var(--v1) !important;
}

.rsv-d.sel .st {
  color: #fff;
}

.rsv-legend .off {
  background: #da0000 !important;
}

.rsv-form {
  max-width: none;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 1.2rem clamp(1rem,2vw,1.6rem) 1.4rem !important;
}

.rsv-row {
  display: grid;
  align-items: center;
  gap: 1rem;
  border-bottom: 0;
  padding: .55rem 0 !important;
  grid-template-columns: 9rem minmax(0,1fr);
}

.rsv-row input,
.rsv-row select,
.rsv-row textarea {
  width: 100%;
  padding: .7rem 1rem;
  font-family: inherit;
  color: var(--ink);
  background-color: #f3f3f3 !important;
  border: 0 !important;
  border-radius: 14px !important;
  font-size: 1.12rem !important;
  min-height: 52px;
}

.rsv .fx-submit {
  background: var(--v1);
  box-shadow: none;
  border-radius: 20px;
  min-height: 64px;
  font-size: 1.2rem;
}

.d-chips a[aria-current]::after {
  content: "";
  border-radius: 50%;
  left: auto;
  right: auto;
  top: 1.2rem;
  transform: translateX(-.9rem);
  width: 7px;
  height: 7px;
  background: var(--v2) !important;
  position: relative;
  order: -1;
  margin-right: -7px;
  display: none !important;
}

.rsv-d.sel b,
.rsv-d.sel.sat b,
.rsv-d.sel.sun b {
  color: #fff !important;
}

body.tab-stuck .d-chips,
.d-chips-in {
  background: rgba(0,19,151,.72) !important;
}
@media (max-width:899px) {
  .rsv-row {
    grid-template-columns: minmax(0,1fr);
    gap: .45rem;
  }

  .rsv {
    grid-template-columns: minmax(0,1fr);
    padding: 1.2rem .9rem;
    border-radius: 20px;
  }
}

@media (max-width:639px) {
  .rsv-d .st {
    display: none;
  }

  .rsv-d {
    height: 56px !important;
    padding-top: .6rem !important;
  }

  .rsv-d em {
    font-size: .66rem;
  }
}

/* 탭 바 폭 — 본문 폭에 맞춰(오른쪽 퀵메뉴와 겹치지 않게) */
/* ═══ 디자인 통일(2026-10-13) — 모양 · 배경 · 대비를 한 기준으로 ═══ */
/* 1) 사진은 전부 각진 사각(탭 · 버튼 · 카드와 같은 모양). 한쪽만 둥근 모서리 · 그림자 제거 */
:root {
  --d-r: 0px;
  --d-r-big: 0;
}

.d-split-media img,
.d-row-media img,
.d-row.flip .d-row-media img,
.d-side-fig img,
.d-doctor-photo img,
.vc,
.xp-dlg-b img,
.xp-det img,
.st-card,
.st-run,
.st-r,
.d-qa,
.d-item,
.xp-card {
  border-radius: 0 !important;
}

.d-side-fig img {
  box-shadow: none !important;
}

/* 2) 배경 줄무늬 정리 — 섹션은 흰 바탕 + 전체 폭 선으로 나누고, 색 배경은 안쪽 카드와 강조 섹션(둘러보기 · 장비 점검)에만 */
.d-sec.tint {
  background: #fff;
  border-top: 1px solid #e3e6ee;
}

.d-sec + .d-sec {
  border-top: 1px solid #e3e6ee;
}

.d-sec.is-tour,
.d-sec.is-eqcheck {
  background: var(--v-soft);
}

.d-sec.is-tour + .d-sec,
.d-sec.is-eqcheck + .d-sec,
.d-visit-sec + .d-sec {
  border-top: 0;
}

.d-sec.tint .d-item,
.d-sec.tint .d-device,
.d-sec.tint .d-checks li,
.d-sec.tint .xp-card {
  background: var(--v-soft) !important;
}

.d-sec:not(.tint):not(.navy) + .d-sec:not(.tint):not(.navy),
.d-sec {
  padding-top: clamp(4rem,7vw,6.5rem) !important;
}

.d-lead + .d-sec {
  border-top: 0;
  padding-top: clamp(3rem,6vw,5rem) !important;
}

.d-visit-sec {
  padding-top: 0 !important;
}

/* 3) 대비 — 흰 바탕 위 작은 파란 글씨는 진한 글자용 파랑으로(밝은 파랑은 큰 제목 강조에만) */
:root {
  --v-text: #0b3fd6;
}

.d-kicker,
.d-lead-en,
.d-card-meta,
.tv-cnt b,
.rsv-wk .sat {
  color: var(--v-text) !important;
}

.d-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--v-text);
}

.d-head h2 b,
.d-split-text h2 b {
  color: var(--v-text);
}

.d-cmp-pair figure + figure figcaption {
  color: var(--v1) !important;
}

.d-pill b {
  font-size: clamp(2.4rem,1.6rem + 2.4vw,3.6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(0,19,151,.2) !important;
}

/* 4) 사용 장비 카드 — 내용 양이 달라도 위에서부터 맞춰 휑하지 않게 */
.d-device {
  display: grid;
  gap: clamp(1rem,2vw,1.8rem);
  padding: clamp(1.2rem,2vw,1.6rem);
  overflow: hidden;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  background: var(--v-soft) !important;
  align-items: start;
}

.d-devices {
  display: grid;
  gap: clamp(.9rem,1.6vw,1.4rem);
  align-items: stretch;
}

/* 5) 페이지 안 목차(긴 진료 페이지) — 첫 섹션 아래 한 줄, 누르면 그 섹션으로 */
.d-toc {
  border-top: 1px solid #e3e6ee;
  border-bottom: 1px solid #e3e6ee;
  background: #fff;
}

.d-toc-in {
  display: flex;
  align-items: center;
  gap: .4rem 1.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1.05rem 0;
}

.d-toc-in::-webkit-scrollbar {
  display: none;
}

.d-toc b {
  flex: none;
  font-size: 1rem;
  font-weight: 800;
  color: var(--v1);
  padding-right: 1.2rem;
  border-right: 1px solid #d6dbe6;
}

.d-toc a {
  flex: none;
  font-size: clamp(1rem,.95rem + .2vw,1.1rem);
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: .2rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease,border-color .2s ease;
}

.d-toc a:hover,
.d-toc a.on {
  color: var(--v1);
  border-bottom-color: var(--v1);
}

.d-toc + .d-sec {
  border-top: 0 !important;
}

.d-sec[id] {
  scroll-margin-top: 160px;
}

/* 6) 모바일 — 세로로 길던 단계 · 카드 목록을 옆으로 넘기는 한 줄로(페이지 길이 줄이기) */
@media (max-width:767px) {
  .d-steps,
  .d-steps.has-img,
  .d-steps:not(.has-img),
  .d-tiles,
  .d-tiles.c2,
  .d-tiles.c3,
  .d-tiles.c4,
  .d-adv,
  .d-adv.c3 {
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .d-steps::-webkit-scrollbar,
  .d-tiles::-webkit-scrollbar,
  .d-adv::-webkit-scrollbar {
    display: none;
  }

  .d-steps > li,
  .d-tiles > *,
  .d-adv > li {
    scroll-snap-align: start;
  }

  .d-side-body .d-steps {
    display: grid !important;
    margin-inline: 0;
    padding-inline: 0;
  }

  .d-sec,
  .d-sec:not(.tint):not(.navy) + .d-sec:not(.tint):not(.navy) {
    padding-top: 3.2rem !important;
    padding-bottom: 3.2rem !important;
  }

  .d-head h2 {
    font-size: 1.7rem !important;
  }

  .d-toc b {
    display: none;
  }

  .d-steps,
  .d-tiles,
  .d-adv {
    scroll-padding-inline: var(--gut);
  }
}

/* 탭 붙는 방식(10/13) — 탭은 항상 화면 맨 위 기준으로 붙고, 헤더는 탭이 원래 자리로 돌아갈 때만 다시 나온다 */
.d-chips {
  position: sticky;
  z-index: 60;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  margin-top: -76px;
  top: 0;
}

/* ═══ 2026-10-14 병원 미팅 반영 ═══ */
/* 내용별 아이콘 목록 — 2열(이런 분들께 추천드립니다 · 준비사항 · 주의사항) */
.d-iclist {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(.8rem,1.6vw,1.2rem) clamp(1.2rem,3vw,2.4rem);
  max-width: 1080px;
  margin-inline: auto;
}

.d-iclist li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(1rem,1.8vw,1.35rem) clamp(1rem,1.8vw,1.4rem);
  background: var(--v-soft);
  font-size: clamp(1.08rem,1rem + .3vw,1.25rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.d-ic {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--v1);
}

.d-ic svg {
  width: 30px;
  height: 30px;
}

.d-ic.s {
  width: 34px;
  height: 34px;
  background: var(--v-soft);
}

.d-ic.s svg {
  width: 20px;
  height: 20px;
}

.d-points li {
  display: flex;
  gap: .55rem;
  color: var(--ink-soft);
  border-bottom: 0 !important;
  padding: .35rem 0;
  align-items: center;
}

.d-points li .d-ic.s {
  margin-top: 0;
}
@media (max-width:767px) {
  .d-ic {
    width: 46px;
    height: 46px;
  }

  .d-ic svg {
    width: 24px;
    height: 24px;
  }
}

/* 표 — 병원 예시(10/14): 굵은 위 선, 첫 칸 회청 배경 · 굵게, 칸 가운데 정렬, 얇은 칸 선, 표 폭은 내용만큼 */
.d-table-wrap {
  overflow-x: auto;
  border-radius: 0;
  border-top: 2px solid #b9c0d4;
  max-width: 1080px;
  margin-inline: auto;
  box-shadow: none;
  background: #fff;
}

.d-table {
  width: 100%;
  font-size: clamp(1.05rem,1rem + .25vw,1.2rem);
  border-collapse: collapse;
  min-width: 0;
}

.d-table th,
.d-table td {
  text-align: center !important;
  vertical-align: middle;
  padding: 1.15rem 1.2rem;
  border: 1px solid #c9cfdd !important;
  border-top: 0 !important;
  font-size: clamp(1.02rem,.98rem + .2vw,1.15rem);
  line-height: 1.55;
}

.d-table th:first-child,
.d-table td:first-child {
  border-left: 0 !important;
}

.d-table th:last-child,
.d-table td:last-child {
  border-right: 0 !important;
}

.d-table thead th {
  white-space: nowrap;
  background: #fff !important;
  color: var(--ink) !important;
  font-weight: 700;
}

.d-table thead th:first-child {
  background: #e6e9f1 !important;
}

.d-table tbody th {
  background: #e6e9f1 !important;
  color: var(--ink) !important;
  font-weight: 700;
  width: 22%;
  white-space: normal;
}

.d-table tbody tr:nth-child(even) td {
  background: #fff !important;
}

.d-table td {
  color: var(--ink-soft) !important;
}

/* 게시판 — '공지'는 파란 글자만(박스 없음) */
.b-list li.pin .b-tag {
  max-width: 3.6rem;
  margin-inline: auto;
  width: 100%;
  background: none;
  color: var(--v1) !important;
  padding: 0;
  font-weight: 800 !important;
}

/* 이벤트 목록 — 테두리 없이, 제목 줄 오른쪽 끝에 상태 · 그 아래 기간(병원 10/14) */
.ev-card,
.ev-card:hover {
  border: 0 !important;
}

.ev-st {
  font-style: normal;
  font-weight: 800;
  color: var(--brand);
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.ev-per {
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: .98rem !important;
}

/* 이벤트 목록 글씨 조금 더 크게(병원 10/15) */
.ev-body b {
  font-weight: 800;
  line-height: 1.45;
  grid-column: 1;
  grid-row: 1;
  font-size: 1.22rem !important;
}

/* 온라인 예약 · 협력사 등록 — 카드 폭 넓게(좌우 여백 줄임) */
.rsv,
.fx {
  max-width: 1360px;
}

/* 의료진 페이지 끝 — 화면 폭 가득 '대표원장이 직접 집도합니다' 띠 */
.d-docband {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: clamp(320px,34vw,460px);
  display: flex;
  align-items: center;
}

.d-docband-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,12,82,.92) 0%,rgba(0,12,82,.7) 45%,rgba(0,12,82,.1) 80%);
}

.d-docband h2 {
  font-size: clamp(2.2rem,1.4rem + 3vw,4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.d-docband h2 em {
  font-style: normal;
  color: #8fd0ff;
}

.d-docband p {
  margin-top: 1rem;
  font-size: clamp(1.1rem,1rem + .4vw,1.35rem);
  color: rgba(255,255,255,.86);
}

/* 진료시간 띠 — 더 어두운 파랑 */
.vt-hours {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(3rem,6vw,5rem) 0;
  background: linear-gradient(120deg,#000b4f 0%,#00106a 60%,#0a2a9e 100%) !important;
}

/* 오시는 길 페이지는 푸터 지도 없이 진료안내만 */
.ft2 .locx-body.nomap {
  grid-template-columns: minmax(0,1fr);
}

.d-iclist b {
  color: var(--v1);
  font-weight: 800;
  font-size: 1.12em;
}

/* 자주 묻는 질문 — 스크롤하면 질문 분류 탭이 화면 폭 띠로 위에 붙는다(커뮤니티 메뉴 띠 대신) */
body:has(.faq-wide) .d-chips {
  position: relative;
}

body.faq-stuck .faq-wide .d-tabs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  justify-content: center;
  background: rgba(0,12,92,.96);
  backdrop-filter: blur(20px);
  border-bottom: 0;
  margin: 0;
}

body.faq-stuck .faq-wide .d-tabs button {
  color: rgba(255,255,255,.8) !important;
  min-height: 64px;
}

body.faq-stuck .faq-wide .d-tabs button[aria-selected=true] {
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
}

body.faq-stuck .faq-wide .d-tabs button::after {
  background: #fff !important;
}

/* 온라인 상담 게시판(병원 10/14) */
[data-board-list=consult] .b-list a {
  grid-template-columns: 5rem minmax(0,1fr) auto auto !important;
}

.b-lock {
  flex: none;
  color: var(--ink-faint);
}

.b-st {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-faint);
  white-space: nowrap;
}

.b-st.done {
  color: var(--v1);
}

.cw-done {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  background: var(--v-soft);
  color: var(--v1);
  font-weight: 700;
}

.d-board .b-top .btn-fill {
  background: var(--v1);
  border-color: var(--v1);
  color: #fff;
}

.cw {
  max-width: 980px;
  margin-inline: auto;
  border-top: 2px solid var(--ink);
  padding-top: .6rem;
}

.cw .fx-chips {
  gap: .4rem;
}

.cw-files {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.cw-hint {
  font-size: .92rem;
  color: var(--ink-faint);
}

.cw-thumbs {
  display: flex;
  gap: .5rem;
  width: 100%;
}

.cw-thumbs li {
  position: relative;
  width: 96px;
  height: 96px;
}

.cw-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cw-thumbs button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.cw .fx-submit {
  background: var(--v1);
  box-shadow: none;
  border-radius: 10px;
}

.cv-pin {
  max-width: 560px;
  margin: 2rem auto;
  text-align: center;
}

.cv-k {
  font-weight: 800;
  color: var(--v1);
}

.cv-pin h2 {
  margin-top: .6rem;
  font-size: clamp(1.3rem,1.1rem + .7vw,1.7rem);
  font-weight: 800;
}

.cv-row {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.cv-row input {
  width: 180px;
  min-height: 54px;
  text-align: center;
  font-size: 1.4rem;
  letter-spacing: .5em;
  border: 1.5px solid #e1e9f4;
  background: #f6f9fd;
  border-radius: 10px;
}

.cv-row .btn {
  min-height: 54px;
  background: var(--v1);
  border-color: var(--v1);
}
@media (max-width:767px) {
  [data-board-list=consult] .b-list a {
    grid-template-columns: 3rem minmax(0,1fr) auto !important;
  }

  [data-board-list=consult] .b-list time {
    display: none;
  }
}

/* 시술 탭(라식 · 라섹 — 병원 10/14, 기존 홈페이지처럼 탭으로 내용 전환) */
.d-tabs-wrap.proc > .wrap {
  padding-top: 0;
}

.d-tabs-wrap.proc .d-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0,1fr);
  border-bottom: 2px solid var(--ink);
  max-width: 1080px;
  margin-inline: auto;
}

.d-tabs-wrap.proc .d-tabs button {
  position: relative;
  min-height: 70px;
  padding: 0 .8rem;
  font-size: clamp(1.05rem,.95rem + .45vw,1.35rem);
  font-weight: 700;
  color: var(--ink-faint);
  border: 0;
  border-bottom: 0;
  margin: 0;
  background: none;
}

.d-tabs-wrap.proc .d-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 4px;
  background: var(--v1);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.d-tabs-wrap.proc .d-tabs button[aria-selected=true] {
  color: var(--v1);
}

.d-tabs-wrap.proc .d-tabs button[aria-selected=true]::after {
  transform: scaleX(1);
}

.d-tabs-wrap.proc .d-tabpanel > .d-sec:first-child {
  border-top: 0;
  padding-top: clamp(3rem,5vw,4.5rem) !important;
}
@media (max-width:767px) {
  .d-tabs-wrap.proc .d-tabs {
    grid-auto-flow: row;
    grid-template-columns: repeat(2,minmax(0,1fr));
    border-bottom: 0;
  }

  .d-tabs-wrap.proc .d-tabs button {
    min-height: 54px;
    border: 1px solid var(--line) !important;
  }
}

/* 수술 영상 */
.d-videos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1rem,2vw,1.6rem);
  max-width: 1180px;
  margin-inline: auto;
}

.d-video {
  aspect-ratio: 16/9;
  background: #000;
}

.d-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width:767px) {
  .d-videos {
    grid-template-columns: minmax(0,1fr);
  }
}

/* 아이콘 목록 — 한 줄에 하나씩 세로로(정밀검사 '검사 전 준비해 주세요', 병원 10/14) */
.d-iclist.stack {
  grid-template-columns: minmax(0,1fr);
  max-width: 860px;
}

.d-ic-body {
  flex: 1;
  min-width: 0;
}

.d-ic-rows {
  margin: .7rem 0 0;
  padding: 0;
}

.d-ic-rows>div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid #c9d3ea;
}

.d-ic-rows>div:first-child {
  border-top: 1px solid #c9d3ea;
}

.d-ic-rows dt {
  font-weight: 600;
  color: var(--ink);
}

.d-ic-rows dd {
  margin: 0;
  white-space: nowrap;
}

.d-ic-rows b {
  font-size: 1.18em;
}

/* 번호 카드 한 줄 — 제목 없이 01 · 02 …(안구건조증 주요 원인, 스마트노바 특징처럼). 위 큰 제목과 겹치지 않게 짧은 라벨 + 굵은 위 선 */
.d-numrow-lab {
  max-width: 1180px;
  margin: 0 auto .9rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--v1);
}

.d-numrow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  border-top: 2px solid var(--v1);
}

.d-numrow.c3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.d-numrow.c2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.d-numrow li {
  padding: clamp(1.4rem,2.6vw,2rem) clamp(1rem,2vw,1.6rem) clamp(1.6rem,2.8vw,2.2rem);
  border-right: 1px solid var(--line);
}

.d-numrow li:first-child {
  padding-left: 0;
}

.d-numrow li:last-child {
  border-right: 0;
}

.d-numrow-no {
  display: block;
  font-size: clamp(2.4rem,1.6rem + 2.4vw,3.4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.02em;
  color: rgba(0,19,151,.2);
}

.d-numrow h3 {
  margin-top: .9rem;
  font-size: clamp(1.2rem,1.05rem + .5vw,1.45rem);
  font-weight: 800;
  color: var(--ink);
}

.d-numrow p {
  margin-top: .55rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft,#4a5568);
}
@media (max-width:767px) {
  .d-numrow,
  .d-numrow.c3,
  .d-numrow.c2 {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .d-numrow::-webkit-scrollbar {
    display: none;
  }

  .d-numrow li {
    scroll-snap-align: start;
  }
}

/* 움직이는 그림(mp4) — 사진 자리와 같은 폭, 원래 비율 그대로(자르지 않음), 모서리 각지게(병원 10/16 GIF) */
.d-split-media video,
.d-row-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  background: #04123f;
}

/* ═══ 2026-10-16 병원 미팅 반영 ═══ */
/* 이벤트 목록 — 줄 사이(위아래) 넓게, 상태는 기간 앞에 */
.ev-grid {
  display: grid;
  gap: clamp(.9rem,1.6vw,1.4rem);
  row-gap: clamp(2.4rem,4.4vw,3.6rem) !important;
}

.ev-body {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  padding: 1rem 0 0 !important;
  display: flex !important;
  flex-direction: column;
  gap: .45rem;
}

.ev-per .ev-st {
  display: inline;
  margin: 0 .6rem 0 0 !important;
  font-size: .98rem !important;
  line-height: inherit;
  white-space: nowrap;
}

/* 글 보기 — 폭은 다른 페이지와 같게, 제목 줄 오른쪽에 날짜 · 조회수, 기간 · 상태 글씨 크게 */
.d-post {
  margin-inline: auto;
  max-width: none;
}

.d-post-tl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1.6rem;
  flex-wrap: wrap;
}

.d-post-tl h2 {
  flex: 1 1 auto;
  min-width: 0;
}

.d-post-tl .d-post-meta {
  margin-top: 0;
  white-space: nowrap;
  font-size: 1rem;
}

.d-post-tag {
  letter-spacing: .06em;
  font-size: 1.02rem !important;
}

.d-post-per {
  font-size: 1.12rem !important;
  margin-top: .55rem !important;
}

/* 이벤트 신청 폼(이름 · 전화번호 · 개인정보 동의) */
.ev-apply {
  margin: clamp(2.4rem,4vw,3.4rem) auto 0;
  max-width: 760px;
  box-sizing: border-box;
  padding: clamp(1.8rem,3.4vw,2.6rem) clamp(1rem,3vw,2.2rem);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px -16px rgba(0,19,151,.22);
  text-align: center;
}

/* 그림자 약하게 · 폭은 sub.js 가 이벤트 이미지 폭에 맞춤(병원 10/19) */
.ev-apply-ic {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--v-soft,#f2f7ff);
  color: var(--v1);
}

.ev-apply-ic svg {
  width: 36px;
  height: 36px;
}

.ev-apply-t {
  margin-top: .9rem;
  font-size: clamp(1.15rem,1rem + .5vw,1.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
}

.ev-apply-t span {
  display: inline-block;
  margin-top: .2rem;
  font-size: .82em;
  font-weight: 600;
  color: var(--ink-soft);
}

.ev-apply-f {
  margin: 1.3rem auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
  gap: .6rem;
}

.ev-apply-f input[name=name],
.ev-apply-f input[name=phone] {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 1rem;
  border-radius: 0;
}

.ev-apply-f .btn {
  height: 52px;
  padding: 0 1.9rem;
  justify-content: center;
}

.ev-apply-agree {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: .3rem;
  font-size: .95rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.ev-apply-agree input {
  width: 18px;
  height: 18px;
  accent-color: var(--v1);
}

.ev-apply-agree a {
  margin-left: .3rem;
  color: var(--ink-faint);
  text-decoration: underline;
}

.ev-apply-f .f-msg {
  grid-column: 1/-1;
  min-height: 1.4em;
  margin: 0;
}

.ev-apply-f .f-msg.ok {
  color: var(--v1);
}

.ev-apply .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
@media (max-width:640px) {
  .ev-apply-f {
    grid-template-columns: minmax(0,1fr);
  }

  .ev-apply-f .btn {
    width: 100%;
  }

  .ev-apply-agree {
    justify-content: flex-start;
    text-align: left;
  }
}

/* 인공수정체 탭 — 탭 안의 설명과 렌즈 목록은 한 내용(구분선 없이 붙여서, PC · 모바일) */
.d-tabs-wrap.joined .d-tabpanel > .d-sec + .d-sec {
  border-top: 0 !important;
}

.d-tabs-wrap.joined .d-tabpanel > .d-sec:not(:last-child) {
  padding-bottom: clamp(1.4rem,2.6vw,2.2rem) !important;
}

/* 모바일(병원 10/16 — 모바일 화면 전반 정리) */
.d-drop,
.d-drop-list {
  display: none;
}
@media (max-width:767px) {
  /* 하위 메뉴 — 옆으로 넘기는 탭 대신 한 줄 드롭 메뉴(밝은세상안과). 스크롤하면 맨 위에 붙는다 */
  body:has(.faq-wide) .d-chips {
    position: sticky;
  }

  .d-chips {
    margin-top: -56px;
  }

  .d-hero {
    padding-bottom: 56px !important;
  }

  .d-chips .wrap {
    padding-inline: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  .d-drop {
    display: flex;
    height: 56px;
    background: rgba(0,19,151,.86);
    backdrop-filter: blur(16px);
  }

  body.tab-stuck .d-drop {
    background: var(--v1,#001397);
  }

  .d-drop-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: 0 1.1rem;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .d-drop-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .d-drop-btn + .d-drop-btn {
    border-left: 1px solid rgba(255,255,255,.3);
  }

  .d-drop-btn svg {
    flex: none;
    transition: transform .25s;
  }

  .d-chips.open .d-drop-btn.main svg,
  .d-chips.open-sub .d-drop-btn.sub svg {
    transform: rotate(180deg);
  }

  .d-chips-in {
    overflow-x: auto;
    display: none;
  }

  .d-chips.open .d-chips-in,
  .d-chips.open-sub .d-drop-list {
    display: block !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff !important;
    backdrop-filter: none;
    box-shadow: 0 18px 30px -18px rgba(0,19,151,.45);
    max-height: 70vh;
    overflow: auto;
    border-radius: 0 !important;
    width: auto;
    margin: 0 !important;
  }

  .d-chips.open .d-chips-in a,
  .d-drop-list button {
    display: block;
    width: 100%;
    height: auto !important;
    padding: 1rem 1.2rem;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    background: #fff !important;
    color: var(--ink) !important;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
  }

  .d-chips.open .d-chips-in a[aria-current],
  .d-drop-list button[aria-current] {
    color: var(--v1) !important;
    font-weight: 800;
  }

  .faq-wide .d-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    display: none;
  }

  /* 옆으로 넘기던 단계 · 카드 — 위아래로 */
  .d-steps,
  .d-steps.has-img,
  .d-steps:not(.has-img),
  .d-tiles,
  .d-tiles.c2,
  .d-tiles.c3,
  .d-tiles.c4 {
    display: grid;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 1.8rem !important;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    scroll-snap-type: none !important;
  }

  .d-steps > li,
  .d-tiles > * {
    flex: none !important;
  }

  .d-tabs-wrap:not(.proc):not(.faq-wide) .d-tabs {
    flex-wrap: wrap;
    overflow: visible;
    gap: .4rem;
  }

  .d-tabs-wrap:not(.proc):not(.faq-wide) .d-tabs button {
    border: 1px solid var(--line) !important;
    margin: 0 !important;
  }

  /* 아이콘 + 글 목록(이런 분들께 추천드립니다 · 장점 · 주요 원인 등) — 2열, 아이콘 크게 위 · 글 아래(밝은세상안과) */
  .d-adv,
  .d-adv.c3,
  .d-adv.c2,
  .d-iclist:not(.stack),
  .d-numrow,
  .d-numrow.c3,
  .d-numrow.c2 {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 0 !important;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    border-top: 1px solid var(--line);
    max-width: none;
  }

  .d-adv > li,
  .d-iclist:not(.stack) > li,
  .d-numrow > li {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: .75rem;
    padding: 1.6rem .8rem 1.5rem !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 600;
  }

  .d-adv > li:nth-child(odd),
  .d-iclist:not(.stack) > li:nth-child(odd),
  .d-numrow > li:nth-child(odd) {
    border-right: 1px solid var(--line) !important;
  }

  .d-iclist:not(.stack) .d-ic,
  .d-adv .d-adv-ic {
    position: relative;
    isolation: isolate;
    width: 60px;
    height: 60px;
    background: none !important;
    border-radius: 0;
    color: var(--ink) !important;
    transform: none !important;
  }

  .d-iclist:not(.stack) .d-ic::before,
  .d-adv .d-adv-ic::before {
    content: "";
    position: absolute;
    left: -6px;
    top: -4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(55,151,255,.24);
    z-index: -1;
  }

  .d-iclist:not(.stack) .d-ic svg,
  .d-adv .d-adv-ic svg {
    width: 46px !important;
    height: 46px !important;
  }

  .d-adv b {
    margin-top: 0 !important;
    font-size: 1.08rem !important;
  }

  .d-adv p {
    margin-top: .15rem !important;
    font-size: .95rem !important;
    line-height: 1.55;
  }

  .d-numrow li:first-child {
    padding-left: .8rem !important;
  }

  .d-numrow-no {
    font-size: 2.2rem;
  }

  .d-numrow h3 {
    margin-top: .2rem !important;
    font-size: 1.08rem !important;
  }

  .d-numrow p {
    margin-top: .1rem !important;
    font-size: .95rem !important;
  }

  /* 표 — 옆으로 넘기지 않게 화면 폭에 맞춘다 */
  .d-table-wrap {
    overflow-x: visible;
  }

  .d-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .d-table th,
  .d-table td {
    padding: .65rem .4rem;
    font-size: .9rem;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  /* 의료진 — 사진 아래로 글(겹침 방지), 제목은 두 줄로 */
  .d-doctor-photo {
    max-width: 340px;
  }

  /* 너무 크게 보이던 사진 — 화면 높이를 넘지 않게 */
  .d-split-media img,
  .d-row-media img,
  .d-intro-fig img,
  .is-split .d-split-media img.tall {
    max-height: 68vw;
    object-fit: cover;
  }

  .d-split-media img.fit,
  .d-row-media img.fit,
  .d-intro-fig img.fit {
    object-fit: contain;
    background: #fff;
  }

  .d-tile figure {
    aspect-ratio: 16/10 !important;
  }

  .d-tabs-wrap.joined .d-tile figure img {
    object-fit: contain;
  }

  /* 탭이 3개 이하면 한 줄에 같은 폭으로(하나만 아래로 떨어지지 않게) */
  .d-tabs-wrap:not(.proc):not(.faq-wide) .d-tabs:not(:has(> :nth-child(4))) {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0,1fr);
  }

  .d-tabs-wrap.proc .d-tabs button:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
}

/* ═══ 병원 10/19 진료안내 — 동선 탭을 약도 위로 · 설명 칸 높이 고정(탭을 바꿔도 지도와 높이 같게) · 휴대폰 진료시간 1열 ═══ */
.vt-route .vt-tabs {
  margin-top: 0;
}

.vt-route .rt-svg {
  margin-top: 12px;
}

.vt-rt-caps {
  display: grid;
}

.vt-rt-caps .vt-rt-cap {
  grid-area: 1/1;
}

.vt-rt-caps .vt-rt-cap[hidden] {
  display: block;
  visibility: hidden;
}
@media (max-width:767px) {
  .vt-tiles {
    grid-template-columns: minmax(0,1fr);
    gap: 8px;
  }

  .vt-tiles li {
    flex-direction: row;
    min-height: 0 !important;
  }

  .vt-tiles b {
    padding: .85rem 1rem;
  }

  .vt-tiles em {
    margin-left: auto;
    padding: 0 1rem 0 .4rem;
    font-size: .88rem;
    text-align: right;
  }
}

@media (min-width:768px) and (max-width:899px) {
  .vt-map {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}

/* 태블릿 세로도 지도 · 동선 나란히(높이 맞춤) */
/* ═══ 병원 10/20 — 스마트노바 장점별 섹션(Select 01~04, 강남센트럴안과 참고) ═══ */
.is-feature .d-feat {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.d-feat-top {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(3rem,6vw,4.6rem);
}

.d-feat-eyebrow {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--v2,#3797ff);
}

.d-feat-top h2 {
  margin-top: .6rem;
  font-size: clamp(2.1rem,1.4rem + 2.4vw,3.3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.25;
}

.d-feat-top p:not(.d-feat-eyebrow) {
  margin-top: 1rem;
  font-size: clamp(1.1rem,1rem + .35vw,1.3rem);
  color: var(--ink-soft);
}

.d-feat-media {
  margin: clamp(1.8rem,3.4vw,2.6rem) auto 0;
  max-width: 900px;
}

.d-feat-media.d-cmp-pair {
  max-width: 1000px;
}

.d-feat-text {
  max-width: 780px;
  margin: clamp(1.5rem,3vw,2.2rem) auto 0;
}

.d-feat-text p {
  font-size: clamp(1.1rem,1rem + .35vw,1.28rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.d-feat-text p + p {
  margin-top: .5rem;
}

.d-feat-text .d-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.6rem;
  margin-top: 1.3rem;
  text-align: left;
}

.d-feat-sub {
  margin-top: clamp(2.4rem,5vw,3.4rem);
  padding-top: clamp(1.8rem,3.4vw,2.6rem);
  border-top: 1px solid var(--line);
}

.d-feat-sub h3 {
  font-size: clamp(1.3rem,1.1rem + .6vw,1.6rem);
  font-weight: 800;
}

.d-feat-sub > p {
  margin-top: .4rem;
  color: var(--ink-soft);
}

.d-feat .d-cmp-pair figcaption {
  text-align: center;
}

/* ═══ 병원 10/20 — 뉴스마일 '수술 방식에 따라 달라지는 점' 비교 배치(그림 크게 + 아래 왼쪽/오른쪽 설명) ═══ */
.d-vsrows {
  display: grid;
  gap: clamp(2rem,4vw,3.2rem);
  max-width: 1040px;
  margin: 0 auto;
}

.d-vs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.3rem,3vw,2.4rem);
}

.d-vs-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .7rem;
  text-align: center;
}

.d-vs-no {
  font-weight: 800;
  color: var(--v2,#3797ff);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.d-vs-head h3 {
  font-size: clamp(1.45rem,1.15rem + 1vw,2rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.d-vs-media {
  margin-top: clamp(1rem,2.4vw,1.6rem);
}

.d-vs-media video,
.d-vs-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.d-vs-cols {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: clamp(.8rem,2vw,1.6rem);
  margin-top: clamp(1rem,2.4vw,1.6rem);
  align-items: stretch;
}

.d-vs-col {
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: #f2f5fb;
}

.d-vs-col.b {
  background: #eaf1ff;
  box-shadow: inset 0 0 0 2px rgba(0,19,151,.16);
}

.d-vs-lab {
  font-weight: 800;
  font-size: clamp(1.05rem,1rem + .25vw,1.2rem);
  color: var(--ink);
}

.d-vs-col.b .d-vs-lab {
  color: var(--v1,#001397);
}

.d-vs-col p:not(.d-vs-lab) {
  margin-top: .45rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.d-vs-x {
  align-self: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--v2,#3797ff);
  letter-spacing: .04em;
}

.d-vs-cols.novs .d-vs-x {
  visibility: hidden;
}
@media (max-width:767px) {
  .d-vs-cols {
    grid-template-columns: minmax(0,1fr);
  }

  .d-vs-x {
    justify-self: center;
    margin: -.2rem 0;
  }

  .d-vs-cols.novs .d-vs-x {
    display: none;
  }

  .d-feat-text .d-points {
    justify-content: flex-start;
  }
}

/* ═══ 2026-10-26 병원 변경 요청(10/24 PPT · 장비 docx) ═══ */
/* ── 소개: SINCE 2011 띠(밝은세상안과 병원소개 'SINCE 1997'처럼) — 좌우에서 글자가 들어오고 가운데 글이 서서히, 열리자마자(스크롤과 무관) ── */
.is-since {
  padding-top: clamp(2.6rem,5vw,4.4rem) !important;
  padding-bottom: clamp(1.4rem,3vw,2.4rem) !important;
}

.d-since {
  align-items: center;
  padding: clamp(2.4rem,5vw,4rem) clamp(1.2rem,4vw,3rem);
}

.d-since::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--since-bg) center/cover no-repeat;
  filter: grayscale(1) brightness(.62) contrast(1.05);
}

.d-since-w {
  position: absolute;
  z-index: 0;
  font-size: clamp(4.6rem,2rem + 10vw,11.5rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.16);
  pointer-events: none;
  white-space: nowrap;
}

.d-since-w.l {
  left: 3.5%;
  top: 7%;
  animation: d-since-l 1.6s cubic-bezier(.2,.7,.2,1) .15s both;
}

.d-since-w.r {
  right: 3.5%;
  bottom: 5%;
  z-index: 2;
  color: rgba(255,255,255,.34);
  text-shadow: 0 4px 30px rgba(0,10,40,.35);
  animation: d-since-r 1.6s cubic-bezier(.2,.7,.2,1) .15s both;
}

.d-since-bld {
  position: absolute;
  z-index: 0;
  right: clamp(0px,3%,48px);
  bottom: 0;
  height: 96%;
  max-width: 46%;
  object-fit: contain;
  object-position: right bottom;
  width: auto;
  filter: grayscale(1) brightness(1.08) contrast(1.05);
  opacity: .92;
  animation: d-since-fade 1.4s ease .3s both;
}

.d-since-txt {
  animation: d-since-fade 1.2s ease .95s both;
}

.d-since-l {
  display: block;
}

@keyframes d-since-l {
  from {
    opacity: 0;
    transform: translateX(-26%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes d-since-r {
  from {
    opacity: 0;
    transform: translateX(26%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes d-since-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width:767px) {
  .d-since-bld {
    height: 62%;
    right: -6%;
    opacity: .38;
  }

  .d-since-w.r {
    bottom: 3%;
  }
}

@media (prefers-reduced-motion:reduce) {
  .d-since-w,
  .d-since-bld,
  .d-since-txt {
    animation: none;
  }
}

/* ── 소개: 고객과의 약속(아이시티안과와 같은 배치, 색은 사이트 색) ── */
.d-pm-title {
  font-size: clamp(1.85rem,1.3rem + 1.7vw,2.7rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.3;
  color: var(--ink);
}

.d-pm-title b {
  color: var(--v1,#001397);
  font-weight: 800;
}

.d-pms {
  list-style: none;
  margin: clamp(2.2rem,4.5vw,3.6rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(3rem,6vw,5.4rem);
}

.d-pm {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.04fr);
  gap: clamp(1.6rem,3.4vw,3.4rem);
  align-items: center;
}

.d-pm-fig {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(18px,2.6vw,36px);
}

.d-pm-fig img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 0 !important;
}

.d-pm-fig .ph {
  aspect-ratio: 16/10;
  min-height: 0;
}

.d-pm-head h3 {
  flex: none;
}

.d-pm-txt p {
  font-size: clamp(1.05rem,1rem + .25vw,1.18rem);
  line-height: 1.8;
  color: var(--ink-soft);
}

.d-pm-txt p+p {
  margin-top: .6rem;
}
@media (max-width:767px) {
  .d-pm {
    grid-template-columns: minmax(0,1fr);
    gap: 1.2rem;
  }

  .d-pm-txt br {
    display: none;
  }
}

/* ── 소개: 마무리 문구 ── */
.is-closing {
  padding: clamp(3.4rem,7vw,6rem) 0 !important;
}

.d-closing {
  text-align: center;
}

.d-closing h2 {
  font-size: clamp(1.7rem,1.25rem + 1.5vw,2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}

.d-closing p {
  margin-top: clamp(1rem,1.8vw,1.4rem);
  font-size: clamp(1.08rem,1rem + .35vw,1.28rem);
  line-height: 1.8;
  color: var(--ink-soft);
}
@media (max-width:767px) {
  .d-closing br {
    display: none;
  }
}

/* ── 소개: 둘러보기 — 아이시티안과처럼 큰 사진(서서히 바뀜) + 아래 작은 사진 3장 ── */
.tg-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/1;
  background: #0b1730;
}

.tg-slides {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.tg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  overflow: hidden;
}

.tg-slide.on {
  opacity: 1;
  z-index: 1;
}

.tg-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-img.tall {
  object-fit: contain;
}

.tg-blur {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  filter: blur(26px) brightness(.62);
  z-index: 0;
}

.tg-arw {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: clamp(44px,4.6vw,60px);
  height: clamp(44px,4.6vw,60px);
  margin-top: calc(clamp(44px,4.6vw,60px) / -2);
  border: 0;
  background: rgba(0,0,0,.38);
  color: #fff;
  cursor: pointer;
  transition: background-color .25s ease;
}

.tg-arw::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transform: translate(-65%,-50%) rotate(45deg);
}

.tg-arw.prev {
  left: 0;
}

.tg-arw.prev::before {
  transform: translate(-35%,-50%) rotate(-135deg);
}

.tg-arw.next {
  right: 0;
}

.tg-arw:hover {
  background: rgba(0,19,151,.75);
}

.tg-cnt {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 3;
  margin: 0;
  padding: .3rem .75rem;
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
}

.tg-cnt b {
  color: #fff;
}

.tg-nav {
  margin-top: 12px;
  overflow: hidden;
}

.tg-thumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}

.tg-thumbs li {
  flex: 0 0 calc((100% - 24px) / 3);
  min-width: 0;
}

.tg-th {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0b1730;
  cursor: pointer;
  aspect-ratio: 16/9;
  overflow: hidden;
  opacity: .5;
  transition: opacity .3s ease;
}

.tg-th img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tg-th.on {
  opacity: 1;
  box-shadow: inset 0 0 0 3px var(--v1,#001397);
}

.tg-th.on img {
  outline: 3px solid var(--v1,#001397);
  outline-offset: -3px;
}

.tg-th:hover {
  opacity: .85;
}
@media (max-width:767px) {
  .tg-main {
    aspect-ratio: 4/3;
  }

  .tg-thumbs {
    gap: 8px;
  }

  .tg-thumbs li {
    flex-basis: calc((100% - 16px) / 3);
  }

  .tg-cnt {
    font-size: .82rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .tg-slide,
  .tg-thumbs {
    transition: none;
  }
}

/* ── 오시는 길(병원 10/24 PPT 17·18번, 드림성모안과처럼): 제목 크게 · 약도 글씨 크게 · 교통 안내는 아이콘 / 제목 / 소제목 / 내용 상자로 구분 ── */
.vt-route h3 {
  font-size: clamp(1.6rem,1.2rem + 1.2vw,2.2rem) !important;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--v1,#001397);
  margin-bottom: 1rem !important;
}

.vt-tp {
  border: 0;
  padding: clamp(1.6rem,3vw,2.4rem) 0 0;
}

.vt-tp-h {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0 clamp(.9rem,1.8vw,1.4rem);
  margin-bottom: clamp(1.2rem,2.4vw,1.8rem);
}

.vt-tp-ic {
  width: clamp(48px,4.6vw,62px);
  height: clamp(48px,4.6vw,62px);
  color: var(--v1,#001397);
}

.vt-tp-ic svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vt-tp-h p {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(1.25rem,1.05rem + .7vw,1.65rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  padding-right: clamp(.9rem,1.8vw,1.4rem);
  border-right: 1px solid var(--line-strong,#c9d3e3);
}

.vt-tp-h p b {
  font-weight: 800;
  color: var(--v1,#001397);
}

.vt-tp-s {
  font-size: clamp(.95rem,.9rem + .2vw,1.05rem);
  color: var(--ink-faint);
}

.vt-tp h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}

.vt-tp-box {
  margin-top: .7rem;
  padding: clamp(1rem,2vw,1.4rem) clamp(1.1rem,2.2vw,1.6rem);
  background: #f4f6fa;
}

.vt-tp-box ol,
.vt-tp-box ul {
  margin: 0 !important;
}

.vt-tp-box li {
  font-size: clamp(1rem,.95rem + .2vw,1.1rem);
  line-height: 1.7;
}
@media (max-width:640px) {
  .vt-tp-h {
    grid-template-columns: auto 1fr;
  }

  .vt-tp-h p {
    border-right: 0;
    padding-right: 0;
  }

  .vt-tp-s {
    grid-column: 1/-1;
    margin-top: .6rem;
  }
}

/* ── 장비 소개(병원 10/24 docx): 아이콘 줄이 두 줄이 되면 아이콘은 첫 줄에 맞추고, 둘째 줄은 글자 시작점에 맞춰 정렬(예시 그림처럼) ── */
.is-split .d-points li {
  align-items: flex-start;
}

.is-split .d-points li .d-ic.s {
  margin-top: -.15em;
}

.is-split .d-points li > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.is-split .d-points li b {
  color: var(--ink);
  font-weight: 800;
}

/* ── 스마트 노바 라식(병원 10/24 PPT 20~28번) ── */
/* Select 배지: 자간 줄이고 좌우 여백 넓게 */
/* 도킹이란? — 글 + 그림 상자(드림성모안과처럼) */
.d-dock {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: clamp(1.4rem,3vw,2.6rem);
  align-items: center;
  margin: clamp(2.4rem,5vw,3.6rem) 0 clamp(2rem,4vw,3rem);
  text-align: left;
}

.d-dock-txt h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: clamp(1.45rem,1.15rem + 1vw,2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--v1,#001397);
}

.d-dock-dot {
  width: 26px;
  height: 14px;
  flex: none;
  background: radial-gradient(circle at 30% 50%,#9dc8ff 0 6px,transparent 6.5px),radial-gradient(circle at 72% 50%,#3797ff 0 6px,transparent 6.5px);
}

.d-dock-txt p {
  margin-top: .9rem;
  font-size: clamp(1.05rem,1rem + .3vw,1.2rem);
  line-height: 1.85;
  color: var(--ink-soft);
}

.d-dock-txt b {
  color: var(--ink);
  font-weight: 800;
}

.d-dock-fig {
  margin: 0;
}

.d-dock-fig svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  margin-inline: auto;
}

.d-dock-fig .dk-cone {
  animation: dk-down 3.2s cubic-bezier(.45,0,.2,1) infinite;
}

.d-dock-fig .dk-glow {
  opacity: 0;
  animation: dk-glow 3.2s ease infinite;
}

@keyframes dk-down {
  0% {
    transform: translateY(-26px);
  }
  38%, 82% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-26px);
  }
}

@keyframes dk-glow {
  0%, 34% {
    opacity: 0;
  }
  46%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width:767px) {
  .d-dock {
    grid-template-columns: minmax(0,1fr);
  }
}

/* Select 02 — 대칭 / 비대칭 스팟 배열 비교(강남센트럴안과처럼 카드 두 장, 비대칭 쪽을 강조) */
.d-spots {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1rem,2.4vw,1.8rem);
  max-width: 820px;
  margin-inline: auto;
}

.d-spot {
  margin: 0;
  background: #fff;
  border: 1px solid #dfe6f1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.d-spot-h {
  padding: .85rem 1rem;
  text-align: center;
  font-size: clamp(1.02rem,.95rem + .3vw,1.18rem);
  font-weight: 800;
  color: #fff;
  background: #9aa6b6;
}

.d-spot.asym {
  border: 2px solid #2f6dff;
  box-shadow: 0 18px 40px rgba(47,109,255,.18);
  transform: translateY(-6px);
}

.d-spot.asym .d-spot-h {
  background: linear-gradient(90deg,#2f6dff,#3797ff);
}

.d-spot svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 1rem 1.2rem 0;
}

.d-spot .arcs path {
  fill: none;
  stroke: #b8c3d3;
  stroke-width: 1.4;
}

.d-spot.sym .dots circle {
  fill: #ff9db0;
  filter: drop-shadow(0 0 4px rgba(255,120,150,.7));
  opacity: 0;
  animation: spot-on 4.2s ease infinite;
  animation-delay: var(--d);
}

.d-spot.asym .dots circle {
  fill: #2f7dff;
  filter: drop-shadow(0 0 6px rgba(47,125,255,.85));
  opacity: 0;
  animation: spot-on 4.2s ease infinite;
  animation-delay: var(--d);
}

@keyframes spot-on {
  0% {
    opacity: 0;
    transform: scale(.4);
  }
  10%, 78% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

.d-spot circle {
  transform-box: fill-box;
  transform-origin: center;
}

.d-spot p {
  padding: .9rem 1.2rem 1.3rem;
  font-size: clamp(.98rem,.92rem + .25vw,1.1rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: center;
}

.d-spot p b {
  color: var(--ink);
}

.d-spot.asym p strong {
  color: #2f6dff;
  font-weight: 800;
}

.d-feat-text b {
  color: var(--v1,#001397);
  font-weight: 800;
}
@media (max-width:640px) {
  .d-spots {
    grid-template-columns: minmax(0,1fr);
  }

  .d-spot.asym {
    transform: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  .d-dock-fig .dk-cone,
  .d-dock-fig .dk-glow {
    animation: none;
    opacity: 1;
  }
}

/* Select 04 — 시리우스 연동(강남센트럴안과처럼 어두운 띠) */
.is-nova-sync {
  padding: 0 !important;
  border-top: 0 !important;
  background: radial-gradient(70% 60% at 50% 0%,rgba(40,90,255,.28),transparent 70%),linear-gradient(180deg,#071433 0%,#0a1d4a 100%) !important;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.d-sync {
  position: relative;
  padding: clamp(4rem,8vw,6.6rem) 0 clamp(3.6rem,7vw,6rem);
  text-align: center;
}

.d-sync-t {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.d-sync-lead {
  margin-top: .9rem;
  font-size: clamp(1.05rem,1rem + .45vw,1.35rem);
  font-weight: 600;
  color: rgba(255,255,255,.88);
}

.d-sync-vis {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(60px,.25fr) minmax(0,1.15fr);
  align-items: center;
  gap: clamp(.6rem,1.6vw,1.4rem);
  max-width: 1060px;
  margin: clamp(2.4rem,5vw,3.6rem) auto 0;
}

.d-sync-dev,
.d-sync-map {
  margin: 0;
}

.d-sync-dev img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(180deg,#000 78%,transparent 100%);
  mask-image: linear-gradient(180deg,#000 78%,transparent 100%);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
}

.d-sync-map svg {
  border: 1px solid rgba(160,200,255,.35);
  box-shadow: 0 0 0 6px rgba(80,140,255,.08),0 24px 60px rgba(0,0,0,.45);
}

.d-sync figcaption {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.d-sync figcaption b {
  font-size: clamp(.95rem,.9rem + .3vw,1.15rem);
  font-weight: 800;
  letter-spacing: .06em;
  color: #6ee7ff;
}

.d-sync figcaption span {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
}

.d-sync-link {
  position: relative;
  height: 4px;
  background: linear-gradient(90deg,rgba(110,231,255,.15),rgba(110,231,255,.45),rgba(110,231,255,.15));
  overflow: hidden;
}

.d-sync-link i {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: #6ee7ff;
  box-shadow: 0 0 12px #6ee7ff;
  animation: sync-flow 2.4s linear infinite;
}

.d-sync-link i:nth-child(2) {
  animation-delay: .48s;
}

.d-sync-link i:nth-child(3) {
  animation-delay: .96s;
}

.d-sync-link i:nth-child(4) {
  animation-delay: 1.44s;
}

.d-sync-link i:nth-child(5) {
  animation-delay: 1.92s;
}

@keyframes sync-flow {
  from {
    left: -10%;
  }
  to {
    left: 105%;
  }
}

.d-sync-map .tp-sweep {
  transform-origin: 230px 150px;
  animation: tp-sweep 6s linear infinite;
}

.d-sync-map .tp-pupil {
  animation: tp-pulse 2.4s ease-in-out infinite;
  transform-origin: 229px 149px;
}

@keyframes tp-sweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tp-pulse {
  0%, 100% {
    opacity: .6;
  }
  50% {
    opacity: 1;
  }
}

.d-sync-txt {
  max-width: 900px;
  margin: clamp(2.4rem,5vw,3.4rem) auto 0;
}

.d-sync-txt p {
  font-size: clamp(1.08rem,1rem + .45vw,1.32rem);
  line-height: 1.85;
  color: rgba(255,255,255,.9);
}

.d-sync-txt p+p {
  margin-top: .5rem;
}

.d-sync-txt b {
  color: #6ee7ff;
  font-weight: 800;
}
@media (max-width:767px) {
  .d-sync-vis {
    grid-template-columns: minmax(0,1fr);
  }

  .d-sync-link {
    width: 4px;
    height: 44px;
    margin: 0 auto;
    background: linear-gradient(180deg,rgba(110,231,255,.15),rgba(110,231,255,.45),rgba(110,231,255,.15));
  }

  .d-sync-link i {
    left: 50%;
    margin-left: -5px;
    top: -10%;
    animation-name: sync-flow-v;
  }

  .d-sync-txt br {
    display: none;
  }
}

@keyframes sync-flow-v {
  from {
    top: -10%;
  }
  to {
    top: 105%;
  }
}
@media (prefers-reduced-motion:reduce) {
  .d-sync-link i,
  .d-sync-map .tp-sweep,
  .d-sync-map .tp-pupil {
    animation: none;
  }
}

/* '이런 분들께 추천드립니다'(병원 PPT 28번, 밝은세상안과처럼) — PC 도 큰 선 아이콘 + 옅은 원, 큰 글씨, 상자 없이 아래 구분선 */
@media (min-width:768px) {
  .is-checks .d-iclist:not(.stack) {
    gap: 0 clamp(2rem,4vw,3.4rem);
    border-top: 0;
  }

  .is-checks .d-iclist:not(.stack) > li {
    background: none !important;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: clamp(1.3rem,2.2vw,1.8rem) .4rem;
    gap: clamp(1rem,1.6vw,1.4rem);
    font-size: clamp(1.15rem,1.05rem + .35vw,1.35rem);
    font-weight: 600;
  }

  .is-checks .d-iclist:not(.stack) .d-ic {
    position: relative;
    isolation: isolate;
    width: 64px;
    height: 64px;
    flex: none;
    background: none;
    border-radius: 0;
    color: var(--ink);
  }

  .is-checks .d-iclist:not(.stack) .d-ic::before {
    content: "";
    position: absolute;
    left: -6px;
    top: -4px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(55,151,255,.24);
    z-index: -1;
  }

  .is-checks .d-iclist:not(.stack) .d-ic svg {
    width: 50px;
    height: 50px;
    stroke-width: 1.5;
  }
}

/* ── 상단 배너(서브비주얼, 병원 10/24 PPT 20 · 29번): 병원이 만든 밝은 그림이 보이도록 남색 덮개를 걷고 제목 뒤만 살짝 어둡게(10/22 보관본 방식), 제목 자간 넓게 ── */
.d-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 0;
  display: flex;
  min-height: clamp(320px,33vw,508px);
  align-items: center;
  background: #2a3a55;
}

.d-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 46% 60% at 50% 46%,rgba(6,20,48,.38) 0%,rgba(6,20,48,.18) 62%,rgba(6,20,48,.04) 100%),linear-gradient(180deg,rgba(6,20,48,.06) 0%,rgba(6,20,48,.1) 70%,rgba(6,20,48,.26) 100%);
}

.d-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem,1.4rem + 3vw,4rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 2px 26px rgba(0,12,40,.45),0 1px 3px rgba(0,12,40,.35);
}

.d-hero .d-hero-lead,
.d-hero .d-crumbs {
  text-shadow: 0 1px 10px rgba(0,12,40,.5);
}

.d-hero-bg img[style*="--hp"] {
  object-position: 50% 50% !important;
}
@media (max-width:767px) {
  .d-hero-bg::after {
    background: radial-gradient(ellipse 72% 58% at 50% 45%,rgba(6,20,48,.42) 0%,rgba(6,20,48,.2) 65%,rgba(6,20,48,.08) 100%),linear-gradient(180deg,rgba(6,20,48,.06),rgba(6,20,48,.28));
  }

  .d-hero-bg img[style*="--hp"] {
    object-position: var(--hp) 50% !important;
  }
}

/* ── 둥근 모서리 · 선 장식 빼기(병원 10/23 회의 "라운드랑 선 있는 게 싫다 — 뉴스마일에 다시 생김") — 수술 방식 비교 ── */
.d-vs {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.d-vs + .d-vs {
  padding-top: clamp(2.2rem,4.4vw,3.4rem) !important;
}

.d-vs-media video,
.d-vs-media img {
  border-radius: 0 !important;
}

.d-vs-col {
  border-radius: 0 !important;
}

.d-vs-col.b {
  box-shadow: none !important;
  background: #e6efff !important;
}

/* ── 스마트 노바: 재도킹 발생 최소화(병원 PPT 26번) — 시리우스 연동과 같은 어두운 띠 · 꺾은선이 그려지고 점이 켜짐 ── */
.is-redock {
  border-top: 1px solid rgba(160,200,255,.14) !important;
}

.is-redock .d-sync {
  padding-top: clamp(3.4rem,7vw,5.6rem);
}

.rd-box {
  max-width: 820px;
  margin: clamp(2rem,4vw,3rem) auto 0;
}

.rd-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@keyframes rd-draw {
  0% {
    stroke-dashoffset: 1;
  }
  55%, 92% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: .9;
  }
}

@keyframes rd-pop {
  0% {
    opacity: 0;
  }
  8%, 92% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

.rd-note {
  margin-top: 1rem;
  font-size: .95rem;
  color: rgba(255,255,255,.62);
}

/* ── 의료진 소개: 인증서 · 상패 자동 슬라이드(병원 PPT 15번, 퍼스트안과처럼 어두운 띠 위로 계속 흐름 · 마우스를 올리면 멈춤) ── */
.is-certs {
  padding: clamp(3.6rem,7vw,5.6rem) 0 !important;
  background: radial-gradient(60% 80% at 20% 0%,rgba(55,110,255,.25),transparent 70%),linear-gradient(180deg,#071433,#0b1d4c) !important;
  color: #fff;
  overflow: hidden;
  border-top: 0 !important;
}

.cr-head p {
  font-size: clamp(.95rem,.9rem + .25vw,1.1rem);
  font-weight: 800;
  letter-spacing: .14em;
  color: #8fd0ff;
}

.cr-head h2 {
  margin-top: .4rem;
  font-size: clamp(1.9rem,1.4rem + 1.6vw,2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

.cr-rail {
  margin-top: clamp(2rem,4vw,3rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}

.cr-track {
  animation: cr-flow 48s linear infinite;
}

.cr-rail:hover .cr-track {
  animation-play-state: paused;
}

.cr-track figure {
  margin: 0;
  height: clamp(190px,19vw,270px);
}

@keyframes cr-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion:reduce) {
  .cr-track {
    animation: none;
  }
}

/* ══ 페이지 보강(2026-10-26, 병원 "스마트 노바 라식처럼 전문적 · 구체적으로") — 숫자 띠 · 비교 카드 · 장비→결과 띠 · 시간 흐름 · 연결 카드 · 원리 그림.
   모서리 없음(병원 10/23 "라운드 싫다"), 모바일은 세로로 쌓기(가로 넘김 없음) ══ */
/* 숫자 띠 — 리드 바로 아래 */
.is-numband {
  padding: 0 0 clamp(2.6rem,5vw,4rem) !important;
}

.d-lead + .is-numband {
  padding-top: clamp(1rem,2.4vw,1.8rem) !important;
}

.d-num {
  display: grid;
  grid-template-columns: repeat(var(--n),minmax(0,1fr));
  max-width: 1100px;
  margin: 0 auto;
  border-top: 2px solid var(--v1);
  border-bottom: 1px solid #d9e2ef;
}

.d-num li {
  position: relative;
  padding: clamp(1.4rem,3vw,2.3rem) .8rem;
  text-align: center;
}

.d-num li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26%;
  bottom: 26%;
  width: 1px;
  background: #d9e2ef;
}

.d-num b {
  display: block;
  font-size: clamp(2rem,1.3rem + 2.2vw,3.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.1;
  color: var(--v1);
  white-space: nowrap;
}

.d-num b small {
  margin-left: .08em;
  font-size: .5em;
  font-weight: 800;
  color: var(--v2);
  letter-spacing: 0;
}

.d-num b i {
  margin-right: .18em;
  font-style: normal;
  font-size: .4em;
  font-weight: 700;
  color: var(--ink-soft);
  vertical-align: .4em;
  letter-spacing: 0;
}

.d-num b.txt {
  font-size: clamp(1.4rem,1.1rem + 1.1vw,2.1rem);
  white-space: normal;
  word-break: keep-all;
}

.d-num span {
  display: block;
  margin-top: .6rem;
  font-size: clamp(.95rem,.9rem + .25vw,1.1rem);
  line-height: 1.5;
  color: var(--ink-soft);
  word-break: keep-all;
}
@media (max-width:767px) {
  .d-num {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .d-num li:nth-child(odd)::before {
    display: none;
  }

  .d-num li:nth-child(n/**/+3) {
    border-top: 1px solid #e3e9f2;
  }

  .d-num li {
    padding: 1.3rem .5rem;
  }
}

/* 같은 틀 비교 카드 */
.d-vsc {
  display: grid;
  grid-template-columns: repeat(var(--n),minmax(0,1fr));
  gap: clamp(1rem,2.2vw,1.8rem);
  max-width: 1080px;
  margin: clamp(1.8rem,3.4vw,2.6rem) auto 0;
  align-items: stretch;
}

.d-vsc-i {
  margin: 0;
  background: #fff;
  border: 1px solid #dfe6f1;
  display: flex;
  flex-direction: column;
}

.d-vsc-h {
  padding: .85rem 1rem;
  text-align: center;
  font-size: clamp(1.02rem,.95rem + .3vw,1.18rem);
  font-weight: 800;
  color: #fff;
  background: #9aa6b6;
}

.d-vsc-i.on {
  border: 2px solid #2f6dff;
  box-shadow: 0 18px 40px rgba(47,109,255,.16);
}

.d-vsc-i.on .d-vsc-h {
  background: linear-gradient(90deg,#2f6dff,#3797ff);
}

.d-vsc-m {
  padding: 1rem 1.1rem 0;
}

.d-vsc-m > img,
.d-vsc-m > video {
  display: block;
  width: 100%;
  height: auto;
}

.d-vsc-i p {
  padding: .9rem 1.2rem 1.3rem;
  font-size: clamp(.98rem,.92rem + .25vw,1.1rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: center;
  word-break: keep-all;
}

.d-vsc-i p b {
  color: var(--ink);
  font-weight: 800;
}

.d-vsc-i.on p b {
  color: #2f6dff;
}

.d-vsc-note {
  max-width: 820px;
  margin: 1.2rem auto 0;
  text-align: center;
  font-size: .95rem;
  color: var(--ink-faint,#7a8699);
}

.d-feat-media.wide {
  max-width: 1080px;
}

.d-feat-media.wide .d-vsc {
  margin-top: 0;
}
@media (max-width:767px) {
  .d-vsc {
    grid-template-columns: minmax(0,1fr);
  }
}

/* 원리 그림 */
.d-svg svg {
  display: block;
  width: 100%;
  height: auto;
}

.d-svg.ic {
  display: grid;
  place-items: center;
  padding: 1.4rem 0;
  color: var(--v1);
}

.d-svg.ic svg {
  width: clamp(80px,9vw,110px);
  height: auto;
  stroke-width: 1.4;
}

.sv .sv-lab text {
  font-size: 12px;
  font-weight: 700;
  fill: #5a6c86;
}

.sv .sv-lab.dark text {
  fill: #22324a;
}

.sv .sv-tag text {
  font-size: 12px;
  font-weight: 800;
  fill: #0a2a66;
}

.sv-flap {
  transform-box: view-box;
  transform-origin: 50px 77px;
  animation: sv-flap 6s cubic-bezier(.45,0,.2,1) infinite;
}

@keyframes sv-flap {
  0%, 12% {
    transform: rotate(0);
  }
  26%, 70% {
    transform: rotate(-24deg);
  }
  84%, 100% {
    transform: rotate(0);
  }
}

.sv-beams {
  opacity: 0;
}

.b-lasik {
  animation: sv-beam-lasik 6s ease infinite;
}

@keyframes sv-beam-lasik {
  0%, 30% {
    opacity: 0;
  }
  36%, 58% {
    opacity: 1;
  }
  64%, 100% {
    opacity: 0;
  }
}

.sv-abl {
  opacity: 1;
}

.a-lasik {
  animation: sv-abl-lasik 6s ease infinite;
}

@keyframes sv-abl-lasik {
  0%, 34% {
    opacity: 0;
  }
  48%, 100% {
    opacity: 1;
  }
}

.sv-epioff {
  animation: sv-epioff 6s ease infinite;
}

@keyframes sv-epioff {
  0%, 12% {
    opacity: 1;
    transform: none;
  }
  26%, 72% {
    opacity: 0;
    transform: translateY(-10px);
  }
  88%, 100% {
    opacity: 1;
    transform: none;
  }
}

.b-lasek {
  animation: sv-beam-lasek 6s ease infinite;
}

@keyframes sv-beam-lasek {
  0%, 30% {
    opacity: 0;
  }
  36%, 58% {
    opacity: 1;
  }
  64%, 100% {
    opacity: 0;
  }
}

.a-lasek {
  animation: sv-abl-lasek 6s ease infinite;
}

@keyframes sv-abl-lasek {
  0%, 34% {
    opacity: 0;
  }
  48%, 100% {
    opacity: 1;
  }
}

.sv-lenti {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes sv-lenti {
  0%, 8% {
    opacity: 0;
  }
  22%, 48% {
    opacity: 1;
    transform: none;
  }
  70% {
    opacity: 0;
    transform: translate(34px,-6px) scale(.55);
  }
  100% {
    opacity: 0;
  }
}

.sv-lenti.big {
  animation: sv-glow 3.4s ease-in-out infinite;
}

@keyframes sv-glow {
  0%, 100% {
    opacity: .75;
  }
  50% {
    opacity: 1;
  }
}

.sv-cut {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: sv-cut 6s ease infinite;
}

@keyframes sv-cut {
  0%, 24% {
    stroke-dashoffset: 40;
  }
  36%, 100% {
    stroke-dashoffset: 0;
  }
}

.sv-rays path {
  stroke-dasharray: 8 6;
  animation: sv-ray 1.4s linear infinite;
}

@keyframes sv-ray {
  to {
    stroke-dashoffset: -28;
  }
}

.sv-foc {
  transform-box: fill-box;
  transform-origin: center;
  animation: sv-foc 2.4s ease-in-out infinite;
}

.sv-foc.f2 {
  animation-delay: .4s;
}

.sv-foc.f3 {
  animation-delay: .8s;
}

@keyframes sv-foc {
  0%, 100% {
    transform: scale(.8);
    opacity: .75;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.sv-uv {
  animation: sv-uv 1.6s linear infinite;
}

@keyframes sv-uv {
  to {
    stroke-dashoffset: -20;
  }
}

.sv-xl path {
  opacity: 0;
  animation: sv-xl 4.8s ease infinite;
  animation-delay: var(--d);
}

@keyframes sv-xl {
  0% {
    opacity: 0;
  }
  12%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.sv-fib path {
  animation: sv-fib 5s ease-in-out infinite alternate;
}

@keyframes sv-fib {
  to {
    transform: translateY(3px);
  }
}

.sv-haze {
  animation: sv-glow 3.4s ease-in-out infinite;
}

.sv-evap circle {
  opacity: 0;
  animation: sv-evap 3.3s ease-in infinite;
  animation-delay: var(--d);
}

@keyframes sv-evap {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  30% {
    opacity: .9;
  }
  100% {
    opacity: 0;
    transform: translateY(-26px);
  }
}
@media (prefers-reduced-motion:reduce) {
  .sv * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0;
  }
}

/* 장비 → 결과 띠(시리우스 연동 일반화) */
.d-sync-map.photo img,
.d-sync-map.photo video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(160,200,255,.35);
  box-shadow: 0 0 0 6px rgba(80,140,255,.08),0 24px 60px rgba(0,0,0,.45);
  background: #fff;
}

.is-syncband .d-sync-dev img {
  background: #fff;
  padding: 8px;
  max-width: 280px;
  -webkit-mask-image: none;
  mask-image: none;
}

/* 원리 섹션 안 장비 사진 줄 */
.d-feat-dev {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.8rem,2vw,1.4rem);
  margin-top: clamp(2rem,4vw,3rem);
}

.d-feat-dev li {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: min(100%,300px);
  max-width: 420px;
  flex: 1 1 300px;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid #dfe6f1;
  text-align: left;
}

.d-feat-dev figure {
  flex: none;
  width: 96px;
  margin: 0;
  background: #fff;
}

.d-feat-dev img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.d-feat-dev b {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.d-feat-dev span {
  display: block;
  margin-top: .25rem;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.d-feat-foot {
  margin-top: 1.4rem;
  font-size: .95rem;
  color: var(--ink-faint,#7a8699);
}

.d-feat-media > img,
.d-feat-media > video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}

/* 시간 흐름 */
.d-tls {
  display: grid;
  gap: clamp(1.6rem,3vw,2.4rem);
  max-width: 1100px;
  margin: clamp(1.8rem,3.4vw,2.6rem) auto 0;
}

.d-tl-lab {
  margin-bottom: 1rem;
  font-size: clamp(1.1rem,1rem + .4vw,1.3rem);
  font-weight: 800;
  color: var(--v1);
}

.d-tl ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n),minmax(0,1fr));
  gap: 1rem;
}

.d-tl ol::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 9px;
  height: 2px;
  background: linear-gradient(90deg,var(--v1),var(--v2));
}

.d-tl li {
  position: relative;
  padding-top: 2.1rem;
}

.d-tl li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--v1);
  box-sizing: border-box;
}

.d-tl li:first-child::before {
  background: var(--v1);
}

.d-tl b {
  display: block;
  font-size: clamp(1.05rem,.98rem + .3vw,1.22rem);
  font-weight: 800;
  color: var(--ink);
}

.d-tl li > span {
  display: block;
  margin-top: .4rem;
  font-size: clamp(.95rem,.9rem + .25vw,1.08rem);
  line-height: 1.65;
  color: var(--ink-soft);
  word-break: keep-all;
}
@media (max-width:767px) {
  .d-tl ol {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
    padding-left: 2rem;
  }

  .d-tl ol::before {
    left: 9px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg,var(--v1),var(--v2));
  }

  .d-tl li {
    padding: 0 0 1.3rem;
  }

  .d-tl li::before {
    left: -2rem;
    top: .15rem;
  }
}

/* 함께 보면 좋은 페이지 */
.d-rel {
  display: grid;
  grid-template-columns: repeat(var(--n),minmax(0,1fr));
  gap: clamp(.8rem,2vw,1.4rem);
  max-width: 1100px;
  margin: clamp(1.6rem,3vw,2.4rem) auto 0;
}

.d-rel-i {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.4rem,2.6vw,2rem);
  background: #fff;
  border: 1px solid #dfe6f1;
  border-top: 3px solid var(--v1);
  color: inherit;
  text-decoration: none;
}

.d-rel-i:hover {
  border-color: var(--v2);
  box-shadow: 0 16px 36px rgba(11,40,90,.1);
}

.d-rel-i b {
  font-size: clamp(1.15rem,1.05rem + .4vw,1.35rem);
  font-weight: 800;
  color: var(--ink);
}

.d-rel-i p {
  flex: 1;
  font-size: clamp(.98rem,.92rem + .25vw,1.08rem);
  line-height: 1.7;
  color: var(--ink-soft);
  word-break: keep-all;
}

.d-rel-go {
  font-size: .95rem;
  font-weight: 800;
  color: var(--v1);
}

.d-rel-go::after {
  content: " →";
}
@media (max-width:767px) {
  .d-rel {
    grid-template-columns: minmax(0,1fr);
  }
}

/* 재도킹 그래프 글자 — 모바일에서 읽히게(390 폭에서 약 6px 이던 것) */
/* 그림 없는 정의 블록(10/26 — AI 그림을 걷어 낸 자리) — 가운데 한 단 */
.d-split.solo {
  grid-template-columns: minmax(0,1fr);
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.d-split.solo .d-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.6rem;
  text-align: left;
}

.d-split.solo .d-split-text p {
  line-height: 1.8;
}

.d-split-media.svg .d-svg {
  background: #fff;
  border: 1px solid #dfe6f1;
  padding: clamp(.8rem,2vw,1.4rem);
}

.is-syncband .d-sync-map .d-svg {
  background: #f4f8fd;
}

/* 약도 주변 건물(병원 10/26 — 예전 홈페이지 약도의 은행 · 약국 · 위워크) */
/* 인증서 띠 — 병원 10/26 "인증서만 누끼": 배경을 지운 사진(투명)은 네모 그림자 대신 모양을 따라 그림자 */
.cr-track img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  box-shadow: none !important;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.45));
}

/* SINCE 띠 — 디자이너 10/27 "큰 SINCE 글자와 겹쳐도 괜찮으니 본문은 가운데", 강조 글자는 밝은세상 '620만 건'처럼 파란 띠 + 흰 글씨 */
.d-since {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: clamp(18px,3vw,40px);
  min-height: clamp(380px,38vw,560px);
  display: flex;
  color: #fff;
  justify-content: center;
}

.d-since::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(42% 60% at 50% 50%,rgba(4,14,40,.62),rgba(4,14,40,.3) 75%,rgba(4,14,40,.12));
}

.d-since-txt::before {
  content: "";
  position: absolute;
  inset: -12% -10%;
  z-index: -1;
  background: radial-gradient(closest-side,rgba(4,14,40,.58),rgba(4,14,40,.32) 60%,rgba(4,14,40,0));
  pointer-events: none;
}

/* 오른쪽 흰 건물 위로 글이 지나가도 읽히게 */
.d-since-p b {
  -webkit-box-decoration-break: clone;
}

/* 재도킹 — 막대 + 점선(대표 10/26, 병원 PPT 26번 하이안과식 참고 그림). 모서리 없음 */
.rd-chart.bars .rd-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}

.rd-chart.bars .rd-bar.b0 {
  fill: url(#rdB0);
}

.rd-chart.bars .rd-bar.b1 {
  fill: url(#rdB1);
  transition-delay: .25s;
}

.rd-chart.bars .rd-base {
  fill: none;
  stroke: rgba(200,220,255,.45);
  stroke-width: 1.5;
}

.rd-chart.bars .rd-dash {
  fill: none;
  stroke: rgba(225,236,255,.85);
  stroke-width: 1.6;
  stroke-dasharray: 3 5;
  opacity: 0;
  transition: opacity .8s ease 1.2s;
}

.rd-chart.bars .rd-pt circle {
  fill: #5d93ff;
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  animation: none;
  transition: opacity .5s ease;
}

.rd-chart.bars .rd-pt text {
  fill: #fff;
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
  opacity: 0;
  animation: none;
  transition: opacity .5s ease;
}

.rd-chart.bars .rd-pt.p0 circle,
.rd-chart.bars .rd-pt.p0 text {
  transition-delay: 1.1s;
}

.rd-chart.bars .rd-pt.p1 circle,
.rd-chart.bars .rd-pt.p1 text {
  transition-delay: 1.4s;
}

.rd-chart.bars .rd-pt.p2 circle,
.rd-chart.bars .rd-pt.p2 text {
  transition-delay: 1.8s;
}

.rd-chart.bars .rd-pt.p2 circle {
  fill: #4fe3ff;
  filter: drop-shadow(0 0 8px rgba(79,227,255,.9));
}

.rd-chart.bars .rd-pt.p2 text {
  fill: #6ee7ff;
  font-size: 16px;
  font-weight: 800;
}

.rd-chart.bars .rd-x {
  font-size: 16px;
  fill: rgba(225,236,255,.85);
  font-weight: 600;
  text-anchor: middle;
}

.rd-chart.bars .rd-x.on {
  font-size: 19px;
  fill: #fff;
  font-weight: 800;
}

.rd-box.in .rd-chart.bars .rd-bar {
  transform: scaleY(1);
}

.rd-box.in .rd-chart.bars .rd-dash,
.rd-box.in .rd-chart.bars .rd-pt circle,
.rd-box.in .rd-chart.bars .rd-pt text {
  opacity: 1;
}

.rd-box:has(.bars) {
  border: 0;
  background: none;
  padding: 0;
}
@media (max-width:767px) {
  .rd-chart.bars .rd-x {
    font-size: 22px;
  }

  .rd-chart.bars .rd-x.on {
    font-size: 24px;
  }

  .rd-chart.bars .rd-pt text {
    font-size: 22px;
  }

  .rd-chart.bars .rd-pt.p2 text {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .rd-chart.bars .rd-bar {
    transform: none;
    transition: none;
  }

  .rd-chart.bars .rd-dash,
  .rd-chart.bars .rd-pt circle,
  .rd-chart.bars .rd-pt text {
    opacity: 1;
    transition: none;
  }
}

/* 시리우스 연동 오른쪽 — 움직이는 지형도 화면(10/26) */
.d-sync-map video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(160,200,255,.35);
  box-shadow: 0 0 0 6px rgba(80,140,255,.08),0 24px 60px rgba(0,0,0,.45);
  background: #eef2f6;
}

/* 10/26 눈물층 단면 · 노안라식 장면 그림(대표 "너무 없어 보임 · 성의 없음") */
.sv .sv-tf-lab .n {
  font-size: 15px;
  font-weight: 800;
  fill: #1f2f48;
}

.sv .sv-tf-lab .r {
  font-size: 12.5px;
  font-weight: 600;
  fill: #5d6f8a;
}

.sv .sv-tf-air {
  font-size: 11px;
  font-weight: 700;
  fill: #7f93b0;
}

.sv-tf-oil {
  animation: sv-tf-wave 4s linear infinite;
}

@keyframes sv-tf-wave {
  to {
    transform: translateX(40px);
  }
}

.sv-tf-dots circle {
  animation: sv-tf-dot 5.5s ease-in-out infinite;
  animation-delay: calc(var(--d) * -1);
}

@keyframes sv-tf-dot {
  0%, 100% {
    transform: translate(0,0);
  }
  50% {
    transform: translate(7px,-5px);
  }
}

.sv-tf-muc {
  animation: sv-tf-muc 3.6s ease-in-out infinite alternate;
}

@keyframes sv-tf-muc {
  from {
    transform: translateX(-1.2px);
  }
  to {
    transform: translateX(1.2px);
  }
}

.sv .sv-range text {
  font-size: 12px;
  font-weight: 700;
  fill: #8a97ab;
}

.sv .sv-range text.on {
  fill: #2f6dff;
  font-weight: 800;
}

.sv-focus {
  transform-box: fill-box;
  transform-origin: center;
  animation: sv-focus 2.8s ease-in-out infinite;
}

@keyframes sv-focus {
  0%, 100% {
    transform: scale(1);
    opacity: .75;
  }
  50% {
    transform: scale(1.025);
    opacity: 1;
  }
}

.sv-cloud {
  animation: sv-cloud 10s ease-in-out infinite alternate;
}

@keyframes sv-cloud {
  to {
    transform: translateX(-18px);
  }
}

.sv-sun {
  animation: sv-glow 3.4s ease-in-out infinite;
}

.sv-readbar {
  animation: sv-read 5s ease-in-out infinite;
}

@keyframes sv-read {
  0%, 8% {
    transform: translateY(0);
  }
  92%, 100% {
    transform: translateY(50px);
  }
}

.d-vsc-m .d-svg {
  border: 1px solid #e6ecf4;
}

.d-sync-map figcaption .d-sync-credit {
  display: block;
  flex-basis: 100%;
  margin-top: .3rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(214,226,245,.62);
}

/* ── 병원 10/29 수정 요청(부산하늘안과 소개) ── */
/* SINCE 띠 — 병원이 준 코드 그대로(강조는 '경험과 노하우,' · '눈 건강을' · '진료를' 세 곳만, 파란 바탕 rgba(44,93,252)) */
.d-since-p {
  font-size: clamp(1.2rem,.9rem + 1.15vw,2.05rem);
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0,8,30,.7),0 0 3px rgba(0,8,30,.55);
  letter-spacing: .01em;
  font-weight: 500;
}

.d-since-p b {
  display: inline;
  color: #fff;
  font-weight: 800;
  background: var(--d-accent);
  border-radius: .32em;
  text-shadow: none;
  box-decoration-break: clone;
  padding: .14em .22em;
  background-color: rgba(44,93,252,.996);
}

.d-since-txt {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(760px,100%);
  margin: 35px auto;
}
@media (max-width:767px) {
  .d-since {
    align-items: flex-start;
    padding-top: 3.4rem;
    min-height: 304px;
  }
}

/* 고객과의 약속 — 아이시티안과처럼: 제목 아래로 긴 선, 번호 동그라미는 그 선 위 오른쪽(모바일도 같게) */
.d-pm-head {
  gap: clamp(.8rem,1.4vw,1.2rem);
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  column-gap: 0;
}

.d-pm-head h3 {
  font-size: clamp(1.3rem,1.05rem + .75vw,1.75rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.35;
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 clamp(.7rem,1.2vw,1rem);
  white-space: normal;
}

.d-pm-line {
  flex: 1 1 auto;
  display: block;
  grid-column: 1;
  grid-row: 2;
  height: 1px;
  min-width: 0;
  margin-left: calc(-1 * clamp(1.6rem,3.4vw,3.4rem));
  background: linear-gradient(90deg,rgba(0,19,151,.22),rgba(0,19,151,.55));
}

.d-pm-no {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(46px,4vw,56px);
  height: clamp(46px,4vw,56px);
  border-radius: 50%;
  background: var(--v1,#001397);
  color: #fff;
  font-size: clamp(1rem,.9rem + .3vw,1.2rem);
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(0,19,151,.08),0 0 0 16px rgba(0,19,151,.04);
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: calc(clamp(46px,4vw,56px) / -2);
}

.d-pm-txt>p:first-of-type {
  margin-top: calc(clamp(46px,4vw,56px) / 2 + .9rem);
}
@media (max-width:1023px) {
  .d-pm-line {
    margin-left: 0;
  }
}

/* ── 병원 10/29 수정 요청(의료진 소개) ── */
.is-doctors .d-kicker {
  display: block;
  font-size: clamp(1.5rem,1.1rem + 1.2vw,2.25rem);
  color: var(--v2) !important;
  font-weight: 700;
  margin-bottom: clamp(.3rem,.6vw,.55rem);
}

.is-doctors .d-head {
  text-align: left;
  margin-bottom: clamp(3.2rem,5.6vw,4.8rem);
}

.cr-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: max-content;
  gap: clamp(2.4rem,4.8vw,4.2rem);
}

/* 아래 띠 — 원장님 사진을 작게(사진 전체가 띠 높이에 들어오게, 왼쪽은 같은 남색으로 이어짐) */
.d-docband-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#000c52 0%,#06176e 60%,#0a1f8a 100%);
}

.d-docband-bg picture {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.d-docband-bg img {
  object-position: 70% 30%;
  width: auto !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain !important;
  -webkit-mask-image: linear-gradient(90deg,transparent 0,#000 30%);
  mask-image: linear-gradient(90deg,transparent 0,#000 30%);
}
@media (max-width:767px) {
  .is-doctors .d-kicker {
    white-space: nowrap;
    font-size: min(1.3rem,4.05vw);
  }

  .is-doctors .d-head h2 {
    font-size: 1.75rem !important;
  }
}

/* ── 병원 10/29 수정 요청(장비 소개) — 첫 안내 글 크게 · 두 줄, 아래 선 없음, 모바일 장비 사이 간격 넓게 ── */
.eq-intro .d-intro-body {
  max-width: none;
  font-size: clamp(1.2rem,1rem + .7vw,1.55rem);
  line-height: 1.7;
}

.eq-intro + .d-sec {
  border-top: 0;
}
@media (max-width:767px) {
  .eq-cards .d-tiles {
    gap: 3.4rem !important;
  }
}

/* ── 병원 10/29 수정 요청(정밀검사) ── */
/* 맨 위 소요 시간 아래 안내 한 줄(아이콘) */
.d-split-note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-top: 1.1rem;
}

.d-split-note .d-ic {
  flex: none;
  width: 28px;
  height: 28px;
}

/* 검사 전 꼭 확인해 주세요 — 아이콘 · 제목 · 내용 가운데, PC 2×2 칸 나눔(밝은세상 · 병원 시안), 모바일은 한 줄씩(아오스안과) */
.d-prep {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.d-prep>li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.2rem,4vw,3.2rem) clamp(1.4rem,3vw,2.6rem);
}

.d-prep>li:nth-child(2n) {
  border-left: 1px solid var(--line);
}

.d-prep>li:nth-child(n/**/+3) {
  border-top: 1px solid var(--line);
}

.d-prep-ic svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.d-prep h3 {
  margin: 1.1rem 0 0;
  font-size: clamp(1.25rem,1.1rem + .5vw,1.5rem);
  font-weight: 800;
  color: var(--v1,#001397);
  letter-spacing: -.02em;
}

.d-prep li>p {
  margin: .7rem 0 0;
  font-size: clamp(.98rem,.95rem + .2vw,1.08rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.d-prep-rows {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: .4rem 1.1rem;
  width: min(100%,380px);
  background: #f3f6fd;
}

.d-prep-rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  font-size: .98rem;
  color: var(--ink-soft);
}

.d-prep-rows li+li {
  border-top: 1px solid #dfe6f3;
}

.d-prep-rows b {
  color: var(--v1,#001397);
  font-weight: 800;
  white-space: nowrap;
}

.d-prep-note {
  margin: 1.2rem auto 0;
  text-align: center;
  font-size: .93rem;
  color: var(--ink-faint,#6b7686);
}
@media (max-width:767px) {
  .d-prep {
    grid-template-columns: minmax(0,1fr);
    gap: 2.6rem;
  }

  .d-prep>li {
    padding: 0;
    border: 0 !important;
  }

  .d-prep li>p br {
    display: none;
  }

  .d-prep h3 {
    display: inline-block;
    padding-bottom: .35rem;
    border-bottom: 2px solid var(--v1,#001397);
  }
}

/* 진행 순서 — 왼쪽 단계 상자(아래로 화살표) · 오른쪽 체크 한 줄(병원 10/29 시안) */
.d-flow-k {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(92px,10vw,118px);
  padding: .6rem;
  border-radius: 16px;
  color: #fff;
  text-align: center;
  font-size: clamp(1.12rem,1rem + .6vw,1.45rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
  background: linear-gradient(160deg,#3d74ff,#1f4fe0);
}

.d-flow>li:nth-child(2) .d-flow-k {
  background: linear-gradient(160deg,#2457e8,#173fc4);
}

.d-flow>li:nth-child(3) .d-flow-k {
  background: linear-gradient(160deg,#1739b8,#0e2a96);
}

.d-flow>li:nth-child(4) .d-flow-k {
  background: linear-gradient(160deg,#0f2a8f,#071a63);
}

.d-flow>li:not(:last-child) .d-flow-k::after {
  border: 14px solid transparent;
  border-top: 16px solid currentColor;
}

.d-flow>li:nth-child(1) .d-flow-k::after {
  border-top-color: #1f4fe0;
}

.d-flow>li:nth-child(2) .d-flow-k::after {
  border-top-color: #173fc4;
}

.d-flow>li:nth-child(3) .d-flow-k::after {
  border-top-color: #0e2a96;
}

.d-flow p {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
  font-size: clamp(1.08rem,1rem + .5vw,1.4rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -.02em;
}

.d-flow-ck {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef3ff;
  color: var(--v1,#001397);
}

.d-flow-ck svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.d-flow-note {
  margin: 1.6rem auto 0;
  max-width: 880px;
  text-align: center;
  font-size: .93rem;
  color: var(--ink-faint,#6b7686);
}
@media (max-width:767px) {
  .d-flow p {
    font-size: 1.02rem;
    gap: .6rem;
    align-items: flex-start;
  }

  .d-flow-ck {
    width: 28px;
    height: 28px;
    margin-top: .05rem;
  }
}

/* ── 병원 10/29 수정 요청(진료시간 및 오시는 길) ── */
/* 진료시간 칸 — 글 가운데 정렬, 휴진 칸은 눈에 띄게(밝은 하늘색 바탕 + 남색 글씨) */
.vt-tiles li {
  display: flex;
  background: rgba(255,255,255,.12);
  border: 0;
  min-height: 170px;
  align-items: center;
  text-align: center;
}

.vt-tiles .vt-d {
  align-self: stretch;
  text-align: center;
}

.vt-tiles li.off {
  background: #dbe8ff !important;
}

.vt-tiles li.off .vt-d {
  background: #b9d1ff;
  color: #001a6e;
}

.vt-tiles li.off b {
  color: #0a2bb0 !important;
}

.vt-tiles li.off em {
  color: #3a4f86 !important;
}
@media (max-width:767px) {
  .vt-tiles .vt-d {
    flex: none;
    width: 7.4em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 약도 골목길 — 큰길보다 가늘고 옅게 */
/* 교통편 제목 아래 선 없음 */
.vt-tp h4 {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: clamp(1.05rem,1rem + .25vw,1.2rem) !important;
  color: var(--v1,#001397) !important;
  border-bottom: 0 !important;
  padding-bottom: 0;
}

/* 고객과의 약속 — 모바일 항목 제목 크기(병원 10/29 코드 그대로: clamp 최솟값이 최댓값보다 커서 1.8rem 으로 고정됨) */
@media (max-width:767px) {
  .d-pm-head h3 {
    flex: 1 1 auto;
    font-size: clamp(1.8rem,1.05rem + .75vw,1.75rem) !important;
  }
}

/* 특징 '굵은 제목 / 아래 설명' 두 줄(병원 10/29 PPT 12번 — 아마리스레드) */
.d-pt-t {
  display: block;
  font-weight: 800;
  color: var(--ink);
}

.d-pt-d {
  display: block;
  margin-top: .15rem;
  font-size: .94em;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ── 병원 10/29 수정 요청(시력교정1 — 뉴스마일 라식 · 라식 · 라섹) ── */
/* 시술 탭을 큰 제목 위로 — 자주 묻는 질문 탭과 같은 모양(가운데 글자 탭 · 밑줄), 스크롤하면 화면 폭 띠로 위에 붙고, 모바일은 위 드롭 메뉴 옆 두 번째 드롭 */
.tabs-top .d-tabs {
  display: flex;
}

.tabs-top .d-tabs button {
  position: relative;
  flex: 0 0 auto;
  min-height: 64px;
  margin: 0 !important;
  padding: 0 clamp(1rem,2.2vw,2rem);
  border: 0 !important;
  background: none !important;
  box-shadow: none;
  color: var(--ink-faint) !important;
  font-size: clamp(1.15rem,1rem + .5vw,1.45rem);
  font-weight: 700;
}

.tabs-top .d-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--v1);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}

.tabs-top .d-tabs button[aria-selected=true] {
  color: var(--v1) !important;
}

.tabs-top .d-tabs button[aria-selected=true]::after {
  transform: scaleX(1);
}

.tabs-top .d-tabpanel > .d-sec:first-child {
  border-top: 0 !important;
  padding-top: clamp(3rem,6vw,5rem) !important;
}
@media (max-width:767px) {
  .tabs-top .d-tabs {
    display: none;
  }
}

/* 시력교정술 세대 그림(뉴스마일 첫 화면) — 1~4세대 옅은 칸, 5세대 남색 칸 */
.d-gens {
  list-style: none;
  margin: clamp(2.4rem,4.6vw,3.6rem) auto 0;
  padding: 0;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: clamp(.7rem,1.6vw,1.3rem);
}

.d-gens li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: clamp(1.3rem,2.2vw,1.8rem) .5rem clamp(1.2rem,2vw,1.6rem);
  background: #f3f6fc;
  border: 1px solid #e1e8f3;
  text-align: center;
}

.d-gens li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: clamp(48px,5.4vw,62px);
  right: calc(-1 * clamp(.7rem,1.6vw,1.3rem) / 2 - 12px);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  z-index: 2;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233797ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/13px no-repeat;
  box-shadow: 0 0 0 1px #d6e1f2;
}

.d-gen-ic {
  display: grid;
  place-items: center;
  width: clamp(76px,8vw,96px);
  height: clamp(76px,8vw,96px);
  margin-bottom: .7rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(0,19,151,.45);
}

.d-gen-ic svg {
  width: 72%;
  height: auto;
  overflow: visible;
}

.d-gen-ic .gc {
  fill: #d5e4ff;
  stroke: #2a5bd7;
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.d-gen-ic .gb {
  fill: none;
  stroke: #3797ff;
  stroke-width: 2;
  stroke-linecap: round;
}

.d-gen-ic .gz {
  fill: #3797ff;
  opacity: .6;
}

.d-gen-ic .gf {
  fill: none;
  stroke: #2a5bd7;
  stroke-width: 3.4;
  stroke-linecap: round;
}

.d-gen-ic .ge {
  fill: none;
  stroke: #3797ff;
  stroke-width: 2;
  stroke-linecap: round;
}

.d-gen-ic .gl {
  fill: #ffd75e;
  stroke: #d99a00;
  stroke-width: 1;
}

.d-gen-ic .gi {
  fill: none;
  stroke: #001397;
  stroke-width: 2.6;
  stroke-linecap: round;
}

.d-gen-ic .gs {
  fill: #ffc531;
}

.d-gen-no {
  font-size: clamp(.88rem,.84rem + .2vw,1rem);
  font-weight: 600;
  color: var(--ink-soft);
}

.d-gens b {
  font-size: clamp(1.15rem,.98rem + .7vw,1.55rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.25;
}

.d-gen-ko {
  font-size: clamp(.88rem,.84rem + .2vw,1rem);
  font-weight: 700;
  color: var(--v1);
}

.d-gen-yr {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px solid #dbe3f0;
  font-size: .86rem;
  color: var(--ink-faint);
  min-width: 5.5em;
}

.d-gens li.on {
  background: linear-gradient(165deg,#0b2fb8,#001397 70%);
  border-color: #001397;
  box-shadow: 0 18px 34px -20px rgba(0,19,151,.75);
}

.d-gens li.on .d-gen-no,
.d-gens li.on .d-gen-yr {
  color: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.25);
}

.d-gens li.on b {
  color: #fff;
}

.d-gens li.on .d-gen-ko {
  color: #8fd0ff;
}

.d-gen-up {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: .22rem .75rem;
  background: #3797ff;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  white-space: nowrap;
}
@media (max-width:767px) {
  .d-gens {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: .5rem;
    margin-top: 2rem;
  }

  .d-gens li {
    padding: .9rem .2rem .8rem;
  }

  .d-gens li:nth-child(4)::after {
    display: none;
  }

  .d-gens li:not(:last-child)::after {
    top: 34px;
    right: -12px;
    width: 18px;
    height: 18px;
    background-size: 10px;
  }

  .d-gen-ic {
    width: 52px;
    height: 52px;
    margin-bottom: .4rem;
  }

  .d-gens b {
    font-size: .98rem;
  }

  .d-gen-no,
  .d-gen-ko {
    font-size: .78rem;
  }

  .d-gen-yr {
    font-size: .74rem;
    min-width: 0;
    margin-top: .35rem;
    padding-top: .35rem;
  }

  .d-gens li.on {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: .9rem;
    text-align: left;
    padding: 1.3rem 1.2rem 1.1rem;
    margin-top: .6rem;
  }

  .d-gens li.on .d-gen-ic {
    grid-row: 1/3;
    margin: 0;
    width: 64px;
    height: 64px;
  }

  .d-gens li.on .d-gen-no {
    grid-column: 2;
    grid-row: 1;
  }

  .d-gens li.on b {
    grid-column: 2;
    grid-row: 2;
    font-size: 1.3rem;
  }

  .d-gens li.on .d-gen-ko {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    font-size: .95rem;
  }

  .d-gens li.on .d-gen-yr {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    border: 0;
    margin: 0;
    padding: 0;
    font-size: .85rem;
  }
}

/* 검사장비와 연동(뉴스마일 POINT 05 다음) — 장비 카드 둘 사이 +, PC 사진 왼쪽 · 글 오른쪽, 태블릿 이하 사진 위 */
.d-dl-t {
  margin: 0 0 clamp(1.6rem,3vw,2.4rem);
  text-align: center;
  font-size: clamp(1.5rem,1.2rem + 1.2vw,2.3rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--ink);
}

.d-dl-t b {
  font-weight: 800;
  color: var(--v1);
}

.d-dl {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(.8rem,1.6vw,1.4rem);
  max-width: 1120px;
  margin: 0 auto;
}

.d-dl-i {
  display: grid;
  grid-template-columns: minmax(0,44%) minmax(0,1fr);
  align-items: center;
  gap: clamp(1rem,2vw,1.7rem);
  height: 100%;
  padding: clamp(1rem,1.8vw,1.4rem);
  background: #fff;
  border: 1px solid #e1e8f3;
  box-shadow: 0 14px 30px -24px rgba(0,19,151,.45);
}

.d-dl-i figure {
  margin: 0;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg,#eef4fd,#dfe9f8);
  overflow: hidden;
}

.d-dl-i img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.d-dl-txt h3 {
  margin: 0 0 .6rem;
  font-size: clamp(1.25rem,1.05rem + .8vw,1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--v1);
}

.d-dl-txt p {
  margin: 0;
  font-size: clamp(.95rem,.92rem + .15vw,1.04rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.d-dl-plus {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--v2);
  box-shadow: 0 6px 14px -8px rgba(55,151,255,.6);
}

.d-dl-plus::before,
.d-dl-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2.5px;
  margin: -1.25px 0 0 -9px;
  background: var(--v2);
}

.d-dl-plus::after {
  transform: rotate(90deg);
}
@media (max-width:1023px) {
  .d-dl-i {
    grid-template-columns: minmax(0,1fr);
    align-content: start;
  }
}

@media (max-width:640px) {
  .d-dl {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
  }

  .d-dl-plus {
    justify-self: center;
    margin: -14px 0;
    z-index: 2;
  }

  .d-dl-txt {
    padding: .2rem .2rem .4rem;
  }
}

/* 선택하는 이유(누네안과 같은 틀) — 진한 띠 제목 → 연한 바탕 · 가운데 제목 · 사진 카드 3장 */
.d-sec.is-reasons {
  padding: 0 !important;
  border-top: 0;
  background: none;
}

.d-rs-band {
  background: #14204a;
  color: #fff;
  text-align: center;
  padding: clamp(1.3rem,2.6vw,2rem) 0;
}

.d-rs-band h2 {
  margin: 0;
  font-size: clamp(1.15rem,.95rem + 1vw,1.85rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.45;
  text-wrap: balance;
}

.d-rs-band h2::before,
.d-rs-band h2::after {
  content: "·";
  margin: 0 .7em;
  color: #8fd0ff;
}

.d-rs-body {
  background: #eef4fd;
  padding: clamp(3rem,6vw,5rem) 0;
}

.d-rs-head {
  max-width: 860px;
  margin: 0 auto clamp(1.8rem,3.4vw,2.8rem);
  text-align: center;
}

.d-rs-k {
  margin: 0;
  font-size: clamp(1.3rem,1.05rem + 1vw,2rem);
  font-weight: 500;
  color: var(--ink);
}

.d-rs-t {
  margin: .25rem 0 1rem;
  font-size: clamp(1.55rem,1.15rem + 1.5vw,2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--v1);
}

.d-rs-head p:not(.d-rs-k) {
  margin: 0;
  font-size: clamp(.98rem,.92rem + .25vw,1.12rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.d-rs {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.d-rs figure {
  margin: 0 0 1.2rem;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8eef8;
}

.d-rs figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-rs-body .d-note {
  margin-top: 1.6rem;
  text-align: center;
}
@media (max-width:767px) {
  .d-rs {
    grid-template-columns: minmax(0,1fr);
  }

  .d-rs-band h2::before,
  .d-rs-band h2::after {
    display: none;
  }

  .d-rs-head br,
  .d-rs li br {
    display: none;
  }
}

/* 핵심 포인트 토글(라식 — 첫눈애안과처럼 하나씩 펼침 · +/−) */
.d-acc-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  align-items: center;
  gap: clamp(1.6rem,4vw,3.4rem);
  max-width: 1100px;
  margin: 0 auto;
}

.d-acc-wrap.solo {
  grid-template-columns: minmax(0,1fr);
  max-width: 900px;
}

.d-acc-fig {
  margin: 0;
}

.d-acc-fig img {
  display: block;
  width: 100%;
}

.d-acc-t {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.3rem;
  font-size: clamp(1.35rem,1.1rem + .9vw,1.9rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--ink);
}

.d-acc-wrap.solo .d-acc-t {
  justify-content: center;
}

.d-acc-t b {
  font-weight: 800;
  color: var(--v1);
}

.d-acc-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--v1);
}

.d-acc-ic svg {
  width: 22px;
  height: 22px;
}

.d-acc {
  display: grid;
  gap: .75rem;
}

.d-acc-i {
  background: #eef5ff;
  border: 1px solid #dbe8fb;
  transition: background-color .2s,border-color .2s,box-shadow .2s;
}

.d-acc-i[open] {
  background: #fff;
  border-color: var(--v2);
  box-shadow: 0 12px 26px -20px rgba(0,19,151,.5);
}

.d-acc-i summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.05rem,1rem + .35vw,1.25rem);
  font-weight: 700;
  color: var(--v1);
}

.d-acc-i summary::-webkit-details-marker {
  display: none;
}

.d-acc-i summary i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--v2);
}

.d-acc-i summary i::before,
.d-acc-i summary i::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2.5px;
  margin-top: -1.25px;
  background: currentColor;
  transition: transform .25s var(--ease);
}

.d-acc-i summary i::after {
  transform: rotate(90deg);
}

.d-acc-i[open] summary i::after {
  transform: rotate(0);
}

.d-acc-b {
  padding: 0 1.35rem 1.3rem;
}

.d-acc-b p {
  margin: 0;
  font-size: clamp(.98rem,.95rem + .15vw,1.06rem);
  line-height: 1.8;
  color: var(--ink-soft);
}
@media (max-width:767px) {
  .d-acc-wrap {
    grid-template-columns: minmax(0,1fr);
  }

  .d-acc-t {
    justify-content: flex-start;
    font-size: 1.3rem;
  }

  .d-acc-b br {
    display: none;
  }
}

/* 장점 2×2(병원 10/29 — 요청한 줄바꿈이 한 줄씩 보이게 칸을 넓힘) */
@media (min-width:900px) {
  .d-adv.c2 {
    max-width: 1040px;
    margin-inline: auto;
    gap: clamp(2.6rem,4vw,3.6rem) clamp(2rem,4vw,4rem);
  }

  .d-adv.c2 p {
    font-size: clamp(1rem,.94rem + .22vw,1.12rem);
    text-wrap: pretty;
  }
}

/* 모바일 — 긴 설명 문단은 PC용 줄바꿈 대신 자연스럽게 흐르게(병원 요청 줄바꿈은 PC 기준) */
@media (max-width:767px) {
  .d-feat-text br,
  .d-dock-txt br,
  .d-adv p br,
  .d-split-text p br,
  .d-intro-body br,
  .d-dl-txt br,
  .d-feat-top br,
  .d-lead-desc br,
  .d-iclist br {
    display: none;
  }
}

/* 검증 결과(투데이라섹 'RED! 이미 검증되다') — 모눈 바탕 막대 그래프 + 빨간 말풍선 + 장비 사진 */
.is-proof .d-pf-head {
  max-width: 980px;
  margin: 0 auto clamp(2rem,4vw,3rem);
  text-align: center;
}

.d-pf-k {
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.01em;
}

.is-proof .d-pf-head h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem,1.15rem + 1.6vw,2.6rem);
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--ink);
}

.is-proof .d-pf-head h2 b {
  font-weight: 800;
  color: #d61f26;
}

.is-proof .d-pf-head p {
  margin: 0;
  font-size: clamp(.96rem,.9rem + .25vw,1.08rem);
  line-height: 1.8;
  color: var(--ink-soft);
}

.is-proof .d-pf-head p b {
  color: var(--ink);
  font-weight: 800;
}

.d-pf {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  align-items: end;
  gap: clamp(1rem,3vw,2.6rem);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(1.6rem,3vw,2.4rem) clamp(1rem,3vw,2.4rem) 0;
  border-bottom: 2px solid #2b3445;
  background-image: linear-gradient(#e6ebf2 1px,transparent 1px),linear-gradient(90deg,#e6ebf2 1px,transparent 1px);
  background-size: 34px 34px;
  background-position: -1px -1px;
}

.d-pf-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: end;
  gap: clamp(1rem,4vw,3.4rem);
  height: clamp(280px,32vw,400px);
}

.d-pf-bars li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.d-pf-bars i {
  display: block;
  width: 100%;
  max-width: 110px;
  height: 0;
  background: #9aa3b2;
  transition: height 1.1s cubic-bezier(.2,.7,.2,1);
}

.d-pf-bars li:nth-child(2) i {
  background: #4a5468;
  transition-delay: .15s;
}

.d-pf-bars li.on i {
  background: linear-gradient(180deg,#5aa8ff,#1463e0);
  transition-delay: .3s;
}

.d-pf.in .d-pf-bars i {
  height: calc(var(--v) * .78%);
}

.d-pf-v {
  margin-bottom: .4rem;
  font-size: clamp(1.3rem,1rem + 1.2vw,2.2rem);
  font-weight: 800;
  color: #4a5468;
  letter-spacing: -.02em;
}

.d-pf-bars li:first-child .d-pf-v {
  color: #9aa3b2;
}

.d-pf-bars li.on .d-pf-v {
  color: #2a7cf0;
}

.d-pf-l {
  position: absolute;
  bottom: .7rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: clamp(.88rem,.82rem + .25vw,1.05rem);
  font-weight: 700;
  color: #fff;
}

.d-pf-side {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.d-pf-dev {
  margin: 0 0 -2px;
}

.d-pf-dev img {
  display: block;
  width: 100%;
  mix-blend-mode: multiply;
}

.d-pf-badge {
  position: absolute;
  top: 0;
  left: -.5rem;
  display: grid;
  place-items: center;
  width: clamp(128px,13vw,170px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d61f26;
  color: #fff;
  text-align: center;
  font-size: clamp(.92rem,.82rem + .4vw,1.15rem);
  font-weight: 800;
  line-height: 1.4;
  box-shadow: 0 14px 26px -14px rgba(214,31,38,.7);
  z-index: 2;
}

.d-pf-badge::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 6px;
  border: 14px solid transparent;
  border-top: 22px solid #d61f26;
  transform: rotate(35deg);
  transform-origin: top;
}

.d-pf-cap {
  margin: 1.2rem auto 0;
  text-align: center;
  display: grid;
  gap: .25rem;
}

.d-pf-cap b {
  font-size: clamp(1rem,.95rem + .3vw,1.2rem);
  font-weight: 800;
  color: var(--ink);
}

.d-pf-cap span {
  font-size: .9rem;
  color: var(--ink-faint);
}
@media (max-width:767px) {
  .d-pf {
    grid-template-columns: minmax(0,1fr);
    padding-top: 1.2rem;
  }

  .d-pf-bars {
    height: 250px;
    gap: 1rem;
  }

  .d-pf-side {
    order: -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .d-pf-badge {
    position: relative;
    left: 0;
    width: 116px;
    flex: none;
    font-size: .86rem;
  }

  .d-pf-badge::after {
    display: none;
  }

  .d-pf-dev {
    width: 52%;
    margin: 0;
  }

  .is-proof .d-pf-head br {
    display: none;
  }
}

@media (min-width:768px) {
  .is-proof .d-pf-head h2 br {
    display: none;
  }
}

/* 투데이라섹 장점(병원 10/30 — 첫눈애안과 아마리스레드 장점 영역과 같은 그림 · 문구): 제목 아래 빨간 띠 + 어두운 판(장비 배경) 위 그림 · 영상 */
.d-feat-pill {
  display: inline-block;
  margin: .9rem auto 0;
  padding: .3rem .8rem;
  background: #ec3b3b;
  color: #fff;
  font-size: clamp(.95rem,.9rem + .25vw,1.1rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.d-am {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.4rem,3vw,2.6rem) clamp(1rem,3vw,2.6rem);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(90deg,rgba(26,14,16,.92),rgba(40,16,18,.55) 60%,rgba(60,20,22,.35)),var(--am-bg) right center/cover no-repeat,#241315;
  box-shadow: 0 22px 40px -26px rgba(120,20,20,.55);
  color: #fff;
}

.am-v2 {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(.8rem,1.6vw,1.2rem);
  max-width: 720px;
  margin: 0 auto;
}

.am-v {
  margin: 0;
  padding: clamp(.6rem,1vw,.8rem);
  border-radius: 18px;
  background: rgba(0,0,0,.4);
  text-align: center;
}

.am-v video {
  display: block;
  width: 100%;
  aspect-ratio: 480/328;
  object-fit: cover;
  border-radius: 14px;
  background: #000;
}

.d-am .am-v video[src*="heat"] {
  aspect-ratio: 480/412;
}

.am-v figcaption {
  padding: .7rem 0 .2rem;
  font-size: clamp(1rem,.95rem + .3vw,1.2rem);
  font-weight: 700;
  color: #fff;
}

.am-v.red figcaption {
  color: #ff5a5a;
}

.am-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin: 1rem 0 0;
  font-size: .86rem;
  color: rgba(255,255,255,.85);
  text-align: center;
}

.am-note span {
  display: inline-flex;
  flex: none;
}

.am-h {
  margin: 0;
  text-align: center;
  font-size: clamp(1.15rem,1rem + .5vw,1.4rem);
  font-weight: 800;
  color: #fff;
}

.am-s {
  margin: .5rem 0 1.2rem;
  text-align: center;
  font-size: clamp(.9rem,.86rem + .2vw,1.02rem);
  color: rgba(255,255,255,.85);
}

.am-beam img {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.am-sizes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.6rem,1.4vw,1rem);
  max-width: 640px;
  margin: 1rem auto 0;
  padding: 0;
}

.am-sizes li {
  display: grid;
  gap: .15rem;
  padding: .9rem .5rem;
  border-radius: 18px;
  background: #ececec;
  text-align: center;
  box-shadow: 0 10px 20px -14px rgba(0,0,0,.6);
}

.am-sizes b {
  font-size: clamp(1.15rem,1rem + .7vw,1.6rem);
  font-weight: 800;
  color: #8a8a8a;
}

.am-sizes span {
  font-size: .86rem;
  color: #8a8a8a;
}

.am-sizes li.on b,
.am-sizes li.on span {
  color: #ec3b3b;
}

.am-img {
  margin: 0;
}

.am-img img {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.am-spt {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1rem,3vw,2.4rem);
  align-items: center;
}

.am-spt-i {
  display: flex;
  align-items: center;
  gap: clamp(.8rem,1.6vw,1.2rem);
}

.am-spt-i > div {
  flex: 1 1 auto;
  min-width: 0;
}

.am-spt-i figure {
  flex: none;
  width: clamp(96px,11vw,140px);
  margin: 0;
}

.am-spt-i figure img {
  display: block;
  width: 100%;
}

.am-pill {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 999px;
  background: #4a4a4a;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
}

.am-spt-i.red .am-pill {
  background: #c62828;
}

.am-spt-i p {
  margin: .6rem 0 0;
  font-size: clamp(.88rem,.84rem + .2vw,1rem);
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}
@media (max-width:767px) {
  .am-v2 {
    grid-template-columns: minmax(0,1fr);
    gap: 1rem;
  }

  .am-beam {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr);
    gap: 1rem;
    align-items: stretch;
  }

  .am-beam picture img {
    width: 44px;
    height: 100%;
    object-fit: fill;
  }

  .am-sizes {
    grid-template-columns: minmax(0,1fr);
    margin: 0;
    gap: 1.2rem;
  }

  .am-spt {
    grid-template-columns: minmax(0,1fr);
  }

  .am-spt-i {
    flex-direction: column;
    text-align: center;
  }

  .am-spt-i p br,
  .am-s br {
    display: none;
  }
}

/* ══ 디자이너 10/30 통화 — 시술 페이지 틀(스마트 노바 · 뉴스마일 시안 기준, 시력교정 · 노안백내장 공통) ══ */
/* 그라데이션 강조 글자(제목의 포인트 글자 · 맨 위 큰 제목의 이름) */
.gt {
  background: linear-gradient(90deg,#2a8cf2 0%,#5a6cf3 55%,#6a46ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 맨 위 큰 제목 · 요약은 둥근 상자 */
.d-lead h2 {
  letter-spacing: -.045em;
  line-height: 1.15;
  color: var(--ink);
  font-size: clamp(2.3rem,1.5rem + 2.4vw,3.7rem) !important;
}

.d-lead-sum.pill {
  display: inline-block;
  max-width: min(100%,46rem);
  margin: 1.3rem auto 0;
  padding: .6rem 1.5rem;
  border-radius: 28px;
  background: #f3f4f9;
  font-size: clamp(1rem,.9rem + .4vw,1.3rem);
  font-weight: 600;
  line-height: 1.55;
  color: #38404f;
  text-wrap: balance;
}

.d-lead-desc {
  max-width: 52rem;
  margin: 1.2rem auto 0;
}

.d-lead-desc p {
  margin: 0;
  font-size: clamp(1rem,.95rem + .25vw,1.12rem);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* 번호 배지(Select · POINT)는 쓰지 않음 */
/* 하늘색 소제목 크게 · 제목(한 줄 / 두 줄) */
.d-feat-kicker {
  margin: 0 0 .4rem;
  font-size: clamp(1.3rem,1rem + 1.1vw,2.05rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: #4a9cef;
}

.d-feat-head h2 {
  margin-top: .35rem;
  font-weight: 800;
  letter-spacing: -.035em;
  font-size: clamp(1.7rem,1.3rem + 1.2vw,2.6rem) !important;
  line-height: 1.3;
}

.d-feat-head h2.two {
  font-size: clamp(2rem,1.3rem + 2.4vw,3.6rem) !important;
  line-height: 1.25;
}

.d-sync-k {
  margin-top: 1rem;
  font-size: clamp(1.3rem,1rem + 1.1vw,2.05rem);
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: .3rem;
}

.d-sync-t {
  margin-top: .4rem;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: linear-gradient(90deg,#6ee7ff,#8fc3ff 55%,#5aa8ff);
  background-clip: text;
  font-size: clamp(2.3rem,1.5rem + 2.4vw,3.8rem);
}

.d-sync-txt .d-sync-lead2 {
  font-weight: 700;
  color: #fff;
}

/* 설명을 그림 위로(센트렉스) */
.d-feat.txt-first .d-feat-text {
  margin: clamp(1rem,2vw,1.6rem) auto 0;
}

.d-feat.txt-first .d-feat-media {
  margin-top: clamp(1.6rem,3vw,2.4rem);
}

/* 도킹 머리: 선 · 작은 영문 · 두 줄 하늘색 제목 · 선 */
.d-dockhead {
  margin: clamp(3rem,6vw,4.6rem) auto 0;
  max-width: 900px;
  padding: clamp(2.6rem,5vw,3.6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.d-dockhead .d-feat-eyebrow {
  margin: 0 0 .6rem;
}

.d-dockhead h2 {
  margin: 0;
  font-size: clamp(1.7rem,1.2rem + 1.6vw,2.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.3;
  background: linear-gradient(90deg,#0b1f5e,#1d3c94);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 도킹이란 상자: 바탕 · 안쪽 여백 없이 */
.d-dockhead + .d-dock {
  background: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  margin-top: clamp(2.2rem,4vw,3rem);
}

.d-feat-after {
  margin: clamp(1.4rem,2.6vw,2rem) auto 0;
  max-width: 780px;
  text-align: center;
}

.d-feat-after p {
  margin: .25rem 0 0;
  font-size: clamp(.98rem,.94rem + .2vw,1.1rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.d-feat-after p:first-child {
  font-weight: 700;
  color: var(--ink);
}

.d-cmp-pair figcaption small {
  display: block;
  margin-top: .3rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* 추천 대상 글 조금 크게 */
.d-iclist li > span:not(.d-ic),
.d-iclist .d-ic-body > span {
  font-size: clamp(1.08rem,1rem + .4vw,1.4rem);
}

/* 하위 탭: 상위 메뉴 바로 아래 · 밑줄은 화면 폭 끝까지 · 고정은 상위 메뉴만 */
.tabs-top .d-tabs-bar {
  border-bottom: 1px solid var(--line);
}

.tabs-top .d-tabs {
  justify-content: center;
  gap: 0;
  background: none;
  margin: 0;
  max-width: none;
  border-bottom: 0;
}

.tabs-top .d-tabpanel > .d-lead {
  padding-top: clamp(3.4rem,6vw,5rem);
}
@media (max-width:767px) {
  .tabs-top .d-tabs-bar {
    display: none;
  }
}

/* 선택하는 이유 카드: 수술 과정과 같은 폭 · 카드와 글 크게 */
.d-rs {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  max-width: none;
  gap: clamp(1.2rem,2.4vw,2rem);
}

.d-rs li {
  background: #fff;
  text-align: center;
  box-shadow: 0 16px 32px -26px rgba(0,19,151,.5);
  padding: clamp(1.2rem,2vw,1.6rem) clamp(1.2rem,2vw,1.6rem) clamp(1.8rem,2.8vw,2.4rem);
}

.d-rs h3 {
  margin: .75rem 0 .55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  font-size: clamp(1.25rem,1.05rem + .7vw,1.65rem) !important;
}

.d-rs li p {
  margin: 0;
  line-height: 1.7;
  color: var(--ink-soft);
  font-size: clamp(1rem,.95rem + .25vw,1.14rem);
}

.d-rs-tag {
  display: inline-block;
  padding: .24rem .8rem;
  border: 1px solid #bcd3ff;
  background: #f2f7ff;
  color: var(--v1);
  font-weight: 800;
  letter-spacing: .06em;
  font-size: .88rem;
}

/* ── 디자이너 10/30 통화 — 부산하늘안과 소개 ── */
/* 의료진: 태블릿부터 사진은 가운데 위 · 약력과 인증은 아래(두 칸이 겹쳐 깨지던 것) */
@media (max-width:1199px) {
  .d-doctor {
    grid-template-columns: minmax(0,1fr) !important;
    justify-items: center;
    gap: clamp(1.4rem,3vw,2.4rem) !important;
  }

  .d-doctor-photo {
    width: min(100%,420px);
    margin-inline: auto;
  }

  .d-doctor-body {
    width: 100%;
    max-width: 820px;
  }
}

@media (max-width:640px) {
  .d-cvs {
    grid-template-columns: minmax(0,1fr) !important;
  }
}

/* 장비 소개(정밀검사 · 백내장 · 레이저 장비) 모바일: Moria 칸처럼 장비마다 연청색 상자(병원 11/02 PPT 3번 — 선만으로는 구분이 안 됨) */
@media (max-width:767px) {
  .eq-cards .d-tiles {
    gap: 1.25rem;
  }

  .eq-cards .d-tile {
    display: grid;
    gap: 14px;
    padding: 17px;
    background: #f2f7ff !important;   /* 위 .d-tile 상자 지우기(!important)를 장비 카드만 되살림 */
  }

  .eq-cards .d-tile figure.eq {
    border-bottom: 0;
  }

  .eq-cards .d-tile-body {
    padding: 0;
    border-bottom: 0;
  }
}

/* 검사 전 꼭 확인해 주세요: 바깥 큰 테두리 없이 가운데 십자 선만 · 아이콘 크게 */
.d-prep {
  list-style: none;
  margin: clamp(2rem,4vw,3rem) auto 0;
  padding: 0;
  max-width: 1040px;
  display: grid;
  border: 0;
  background: none;
}

.d-prep-ic {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #1b2d6b;
}

.d-prep-ic svg.pv {
  width: clamp(78px,7vw,96px);
  height: auto;
  stroke-width: 2.2;
}

.d-prep-ic svg.pv .ac {
  fill: #2a7de1;
  stroke: none;
  font-family: Pretendard,sans-serif;
}

.d-prep-ic svg.pv .acs {
  stroke: #2a7de1;
}

.d-prep-ic svg.pv .acf {
  fill: #2a7de1;
  stroke: none;
}

/* 진행 순서: 화살표와 다음 상자 사이 흰 틈 없애기 · 상자와 글 전체를 가운데로 */
.d-flow {
  list-style: none;
  margin: clamp(2rem,4vw,3rem) auto 0;
  padding: 0;
  display: grid;
  width: fit-content;
  max-width: 100%;
  gap: 16px;
}

.d-flow>li {
  display: grid;
  align-items: center;
  gap: clamp(1.1rem,3vw,2.4rem);
  grid-template-columns: clamp(104px,13vw,150px) auto;
}

.d-flow>li:not(:last-child) .d-flow-k::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 0;
  color: inherit;
  z-index: 1;
  bottom: -16px;
}

/* 오시는 길 약도 = 예전 홈페이지 지하철 약도 + 움직이는 경로(디자이너 10/30) */
.rt-svg.rt-img {
  background: #efefef;
}

.rt-img .rt-dot {
  fill: #e53935;
}

/* ── 병원 10/30 수정 요청(부작용 예방 4페이지) ── */
/* 수술 장비 점검의 중요성 — 관련 그림 3장(파란 이름 띠) + 회색 안내 띠 */
.d-imgc {
  list-style: none;
  margin: clamp(2rem,4vw,3rem) auto 0;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(1rem,2vw,1.6rem);
}

.d-imgc li {
  text-align: center;
}

.d-imgc figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.d-imgc figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.d-imgc figcaption {
  padding: .8rem .6rem;
  background: linear-gradient(90deg,#2f80ed,#1c64d8);
  color: #fff;
  font-size: clamp(1.02rem,.96rem + .3vw,1.2rem);
  font-weight: 800;
}

.d-imgc li > p {
  margin: .9rem .4rem 0;
  font-size: clamp(.98rem,.94rem + .2vw,1.1rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.d-alert {
  max-width: 1120px;
  margin: clamp(1.8rem,3.4vw,2.6rem) auto 0;
  padding: clamp(1.1rem,2vw,1.5rem) clamp(1rem,3vw,2rem);
  background: #5f6368;
  color: #fff;
  text-align: center;
  font-size: clamp(1rem,.95rem + .3vw,1.18rem);
  font-weight: 600;
  line-height: 1.7;
}
@media (max-width:767px) {
  .d-imgc {
    grid-template-columns: minmax(0,1fr);
    gap: 1.8rem;
  }

  .d-alert br {
    display: none;
  }
}

/* 수술실명제 — 소제목 · 대표원장의 3가지 원칙 */
.d-split-h {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem,1.1rem + .9vw,1.9rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.03em;
  color: var(--v1,#001397);
}

.d-prin {
  margin-top: clamp(1.4rem,2.6vw,2rem);
  padding-top: clamp(1.2rem,2.2vw,1.6rem);
  border-top: 1px solid var(--line);
}

.d-prin-t {
  margin: 0 0 .9rem;
  font-weight: 800;
}

.d-prin ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.d-prin li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: clamp(1rem,.96rem + .25vw,1.12rem);
  font-weight: 600;
  color: var(--ink);
}

.d-prin-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--v1,#001397);
}

.d-prin-ic svg {
  width: 22px;
  height: 22px;
}

.d-prin-no {
  flex: none;
  font-size: .85rem;
  font-weight: 800;
  color: var(--v2,#3797ff);
}

/* 잔여각막두께 기준 그림 — 위 글(기준 · 수치) + 3D 그림 위 두께 화살표 */
.d-thk {
  list-style: none;
  margin: clamp(1.8rem,3.4vw,2.6rem) auto 0;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.8rem,1.6vw,1.2rem);
}

.d-thk li {
  border-top: 5px solid #9aa3b2;
  background: #f4f7fb;
}

.d-thk li.on {
  border-top-color: #2f80ed;
}

.d-thk li.on:last-child {
  border-top-color: #16306e;
}

.d-thk-h {
  padding: clamp(1rem,2vw,1.4rem) .8rem .6rem;
  text-align: center;
}

.d-thk-h p {
  margin: 0;
  font-size: clamp(1rem,.95rem + .3vw,1.18rem);
  font-weight: 700;
  color: var(--ink);
}

.d-thk li.on .d-thk-h p {
  color: #1c64d8;
}

.d-thk-h b {
  display: block;
  margin-top: .2rem;
  font-size: clamp(1.6rem,1.2rem + 1.4vw,2.3rem);
  font-weight: 800;
  color: #5a6577;
  letter-spacing: -.02em;
}

.d-thk li.on .d-thk-h b {
  color: #1c64d8;
}

.d-thk figure {
  position: relative;
  margin: 0;
}

.d-thk figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.d-thk-ar {
  position: absolute;
  width: 0;
  border-left: 2px dashed #15306e;
  transform: translateX(-1px);
}

.d-thk-ar::before,
.d-thk-ar::after {
  content: "";
  position: absolute;
  left: -7px;
  border: 6px solid transparent;
}

.d-thk-ar::before {
  top: -2px;
  border-bottom: 9px solid #15306e;
  border-top: 0;
}

.d-thk-ar::after {
  bottom: -2px;
  border-top: 9px solid #15306e;
  border-bottom: 0;
}

.d-thk-ar i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: .15rem .5rem;
  background: #fff;
  color: #15306e;
  font-style: normal;
  font-size: clamp(.88rem,.82rem + .3vw,1.05rem);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 10px -6px rgba(0,0,0,.4);
}

.d-thk-call {
  position: absolute;
  padding: .2rem .6rem;
  background: rgba(255,255,255,.92);
  color: #15306e;
  font-size: .86rem;
  font-weight: 700;
}
@media (max-width:767px) {
  .d-thk {
    grid-template-columns: minmax(0,1fr);
    gap: 1.2rem;
  }
}

/* 사후관리 전담팀 운영 — 카카오톡 상담 화면(예시) + 대처 흐름 */
.d-chatwrap {
  display: grid;
  grid-template-columns: minmax(0,300px) minmax(0,1fr);
  gap: clamp(1.6rem,4vw,3.4rem);
  align-items: center;
  max-width: 1120px;
  margin: clamp(1.6rem,3vw,2.4rem) auto 0;
}

.d-chatwrap .d-steps {
  margin-top: 0;
}

.d-chatmock {
  margin: 0;
}

.cm-phone {
  border: 9px solid #1d2230;
  border-radius: 34px;
  background: #b2c7d9;
  overflow: hidden;
  box-shadow: 0 22px 40px -24px rgba(0,19,151,.45);
}

.cm-top {
  padding: .75rem 1rem;
  background: #a6bdd1;
  font-size: .86rem;
  font-weight: 700;
  color: #253041;
}

.cm-body {
  padding: .9rem .8rem 1rem;
  display: grid;
  gap: .55rem;
}

.cm-prof {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .2rem;
}

.cm-prof img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #fff;
  padding: 3px;
}

.cm-prof b {
  font-size: .8rem;
  color: #253041;
}

.cm-m {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}

.cm-m small {
  font-size: .7rem;
  color: #46546a;
}

.cm-m > span {
  max-width: 86%;
  padding: .5rem .7rem;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  font-size: .8rem;
  line-height: 1.5;
  color: #1d2230;
}

.cm-m.me {
  align-items: flex-end;
}

.cm-m.me > span {
  border-radius: 14px 4px 14px 14px;
  background: #fee500;
}

.cm-input {
  height: 40px;
  margin: 0 .6rem .6rem;
  border-radius: 20px;
  background: #fff;
}

.d-chatmock figcaption {
  margin-top: .7rem;
  text-align: center;
  font-size: .86rem;
  color: var(--ink-faint);
}
@media (max-width:899px) {
  .d-chatwrap {
    grid-template-columns: minmax(0,1fr);
  }

  .d-chatmock {
    max-width: 300px;
    margin-inline: auto;
  }
}

/* 아벨리노 — 유전자 검사 절차 글 조금 크게 · 추천 대상 안내 글 크게 */
.d-sec.big .d-steps h3 {
  font-size: clamp(1.2rem,1.05rem + .6vw,1.5rem) !important;
}

.d-sec.big .d-steps p {
  font-size: clamp(1.02rem,.98rem + .25vw,1.15rem) !important;
}

.d-sec.big .d-note {
  font-size: clamp(.98rem,.94rem + .2vw,1.08rem) !important;
}

.d-sec.note-big .d-note {
  font-size: clamp(1rem,.95rem + .3vw,1.15rem) !important;
}

/* 각막두께 그림은 표 바로 아래(같은 섹션처럼) */
.d-sec.is-table + .d-sec.is-thick {
  border-top: 0 !important;
}

.d-sec.is-table:has(+ .d-sec.is-thick) {
  padding-bottom: clamp(1.2rem,2.4vw,1.8rem) !important;
}
@media (max-width:1199px) {
  .d-doctor-body .d-doctor-role {
    display: block;
    text-align: center;
  }

  .d-doctor-body h3 {
    text-align: center;
  }
}

.rt-img .rt-lab {
  font-size: 13px;
  font-weight: 800;
  fill: #1a49c9;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.rt-img .rt-route path {
  stroke: #1a49c9;
  stroke-width: 4.5;
  stroke-linejoin: round;
}

/* 렌티큘이란(10/30) — 도킹이란과 같은 틀: 뒤에 비교 그림이 없으면 아래 선으로 닫음 */
.d-dockhead + .d-dock:last-child {
  padding-bottom: clamp(2.2rem,4vw,3rem);
  border-bottom: 1px solid var(--line);
}

/* ═══ 병원 11/02 PPT(261102_홈페이지수정) ═══ */
/* 5번: 도킹 · 렌티큘 머리 작은 영문도 남색 · 도킹 설명과 아래 영상 사이 선 삭제 · 영상 아래 설명 글씨 크게 */
.d-dockhead .d-feat-eyebrow {
  color: #1d3c94;
}

.d-dockhead ~ .d-feat-sub {
  margin-top: clamp(1.6rem,3vw,2.4rem);
  padding-top: 0;
  border-top: 0;
}

.d-feat-after p {
  font-size: clamp(1.1rem,1rem + .4vw,1.3rem);
}

/* 6번: 굴절값 보정 — 디자이너 시안(예시2): 두 카드, 오른쪽이 더 크고 떠 있음(11/02 병원 '뒤 회색 배경 없애기' → 판 배경 없음, 왼쪽 카드는 옅은 테두리 · 그림자) */
.d-feat-sub.rc {
  margin-top: clamp(2rem,4vw,3rem);
  padding-top: 0;
  border-top: 0;
}

.d-rc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem,3vw,3.2rem);
  padding: clamp(1rem,2vw,1.6rem) clamp(.5rem,2vw,2rem) clamp(2rem,3vw,2.6rem);
}

.d-rc-card {
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.d-rc-card.a {
  flex: 0 1 430px;
  border: 1px solid #e8ecf3;
  box-shadow: 0 10px 30px rgba(40,70,140,.07);
  padding: clamp(1.8rem,3vw,2.6rem) clamp(1.6rem,3vw,2.6rem);
}

.d-rc-card.b {
  flex: 0 1 560px;
  padding: clamp(2.2rem,4vw,3.4rem) clamp(1.8rem,3.4vw,3rem);
  box-shadow: 0 18px 48px rgba(40,70,140,.12);
}

.d-rc-en {
  margin: 0;
  font-size: clamp(1.7rem,1.2rem + 1.4vw,2.6rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.02em;
  background: linear-gradient(90deg,#2f8cf3,#6a46ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.d-rc-k {
  margin: 0;
  font-size: clamp(1.15rem,1rem + .45vw,1.45rem);
  font-weight: 800;
  color: #7a7a7a;
}

.d-rc-card.b .d-rc-k {
  margin-top: .3rem;
  background: linear-gradient(90deg,#2f8cf3,#6a46ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.d-rc-v {
  margin: clamp(1rem,2vw,1.6rem) 0 clamp(1.4rem,2.6vw,2rem);
  font-size: clamp(3.6rem,2.4rem + 4vw,6.4rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: #000;
}

.d-rc-card.b .d-rc-v {
  font-size: clamp(4.4rem,2.8rem + 5vw,8rem);
  color: #4a6cf7;
}

.d-rc-lab {
  display: flex;
  justify-content: space-between;
  margin-bottom: .4rem;
  font-size: clamp(.85rem,.8rem + .2vw,1rem);
  font-weight: 700;
}

.d-rc-card.a .d-rc-lab span:nth-child(1) { color: #b8b8b8; }
.d-rc-card.a .d-rc-lab span:nth-child(2) { color: #8a8a8a; }
.d-rc-card.a .d-rc-lab span:nth-child(3) { color: #4a4a4a; }
.d-rc-card.a .d-rc-lab span:nth-child(4) { color: #111; }
.d-rc-card.b .d-rc-lab span:nth-child(1) { color: #c5cffb; }
.d-rc-card.b .d-rc-lab span:nth-child(2) { color: #93a6f8; }
.d-rc-card.b .d-rc-lab span:nth-child(3) { color: #6a86f8; }
.d-rc-card.b .d-rc-lab span:nth-child(4) { color: #3f62f7; }

.d-rc-bar {
  display: grid;
  height: clamp(32px,3vw,44px);
}

.d-rc-bar.s3 {
  grid-template-columns: repeat(3,1fr);
}

.d-rc-bar.s3 i:nth-child(1) { background: #d9d9d9; }
.d-rc-bar.s3 i:nth-child(2) { background: #969696; }
.d-rc-bar.s3 i:nth-child(3) { background: #484848; }

.d-rc-bar.s15 {
  grid-template-columns: repeat(15,1fr);
}

.d-rc-bar.s15 i {
  background: hsl(228, 90%, calc(90% - var(--k,0) * 2.4%));
}

.d-rc-bar.s15 i:nth-child(1) { --k: 0; } .d-rc-bar.s15 i:nth-child(2) { --k: 1; } .d-rc-bar.s15 i:nth-child(3) { --k: 2; }
.d-rc-bar.s15 i:nth-child(4) { --k: 3; } .d-rc-bar.s15 i:nth-child(5) { --k: 4; } .d-rc-bar.s15 i:nth-child(6) { --k: 5; }
.d-rc-bar.s15 i:nth-child(7) { --k: 6; } .d-rc-bar.s15 i:nth-child(8) { --k: 7; } .d-rc-bar.s15 i:nth-child(9) { --k: 8; }
.d-rc-bar.s15 i:nth-child(10) { --k: 9; } .d-rc-bar.s15 i:nth-child(11) { --k: 10; } .d-rc-bar.s15 i:nth-child(12) { --k: 11; }
.d-rc-bar.s15 i:nth-child(13) { --k: 12; } .d-rc-bar.s15 i:nth-child(14) { --k: 13; } .d-rc-bar.s15 i:nth-child(15) { --k: 14; }

/* 막대 아래 점선 반원(한 칸 크기) + 단위 글자 */
.d-rc-step {
  position: relative;
  margin: 0;
  padding-top: clamp(1.1rem,2vw,1.5rem);
  font-size: clamp(1rem,.9rem + .4vw,1.3rem);
  font-weight: 800;
  color: #111;
}

.d-rc-step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: .8rem;
  border: 1.5px dashed #9aa6c4;
  border-top: 0;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  transform: translateX(-50%);
}

.d-rc-card.a .d-rc-step::before {
  width: 33.3%;
}

.d-rc-card.b .d-rc-step::before {
  width: 6.67%;
  left: 53.3%;
}

@media (max-width:767px) {
  .d-rc {
    flex-direction: column;
    align-items: stretch;
  }

  .d-rc-card.a, .d-rc-card.b {
    flex: none;
  }
}

/* 4 · 9번: 큰 제목 아래 가운데 설명(사진 옆에서 옮김) · 사진 옆 ✦ 제목 */
.d-lead-desc p {
  white-space: pre-line;
}

.d-split-acc {
  margin: 0 0 clamp(1.2rem,2.4vw,1.8rem);
}

/* 9번: 박준우 대표원장의 3가지 원칙 — 연청색 판 위 둥근 줄 · 파란 번호 동그라미 · 강조 글자 */
.d-prin.pill {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.d-prin.pill .d-acc-t {
  margin: 0 0 1.1rem;
}

.d-prin.pill ol {
  gap: .65rem;
  padding: clamp(1rem,2vw,1.4rem);
  background: linear-gradient(180deg,#f6f9ff,#eef4ff);
}

.d-prin.pill li {
  gap: .85rem;
  padding: .45rem 1.2rem .45rem .45rem;
  border-radius: 999px;
  background: linear-gradient(90deg,#ffffff,#eaf1ff);
  font-size: clamp(1.02rem,.96rem + .3vw,1.2rem);
}

.d-prin.pill li b {
  color: #1d4fd8;
  font-weight: 800;
}

.d-prin-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,#3b8bf5,#1d4fd8);
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
}

/* 8번: 수술 장비 점검 카드 — 영상도 사진과 같은 4:3 */
.d-imgc figure video {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* 4번: 사진 옆 ✦ 제목은 한 줄로(시안) */
.d-split-acc {
  font-size: clamp(1.45rem,1.05rem + 1vw,2rem);
}

@media (min-width:1024px) {
  .d-split-acc {
    white-space: nowrap;
  }
}

/* ── 병원 11/03 PPT(프리미엄 뉴스마일 · 안구건조증) ── */
/* 11번: 눈물층 그림 — 층 이름은 층 색, 영문 층 이름은 그림 안 */
.sv .sv-tf-lab .n {
  font-size: 17px;
}

.sv .sv-tf-lab .r {
  font-size: 13.5px;
  fill: #4f5f78;
}

.sv .sv-tf-en text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  font-style: italic;
}

/* 3번: 장비 카드 위 작은 파란 글(리보플라빈 + UVA) */
.d-dl-meta {
  margin: 0 0 .35rem;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--v-text);
}

/* 4번: 차별화된 수술 특징 — 왼쪽 원장 수술 사진 · 오른쪽 진한 판(퍼스트안과 sub2-4) */
.d-fp {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(140deg,#0a1c5c 0%,#0c2a8a 60%,#123aa8 100%);
  box-shadow: 0 34px 60px -42px rgba(0,19,151,.65);
}

.d-fp-fig {
  position: relative;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
}

.d-fp-fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
}

.d-fp-side {
  padding: clamp(2rem,4vw,3.4rem) clamp(1.4rem,3.4vw,3rem);
}

.d-fp-side h2 {
  margin: 0 0 clamp(1.2rem,2.4vw,1.8rem);
  font-size: clamp(1.7rem,1.2rem + 1.6vw,2.6rem) !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
  color: #fff;
}

.d-fp-card {
  padding: clamp(1.1rem,2.4vw,1.8rem) clamp(1rem,2.4vw,1.7rem) clamp(1rem,2vw,1.4rem);
  background: #fff;
}

.d-fp-card ol {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.d-fp-card li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: clamp(.95rem,.9rem + .2vw,1.05rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.d-fp-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: .12rem;
  background: #1d6bf0;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.d-fp-bar {
  margin: clamp(1.1rem,2vw,1.5rem) 0 0;
  padding: .9rem 1.1rem;
  background: linear-gradient(90deg,#1d6bf0,#3797ff);
  color: #fff;
  font-size: clamp(.92rem,.88rem + .2vw,1.02rem);
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width:1023px) {
  .d-fp {
    grid-template-columns: minmax(0,1fr);
  }

  .d-fp-fig {
    aspect-ratio: 4/3;
  }
}

/* 6번: 자가혈청 안약 만드는 과정 — 회색 판 · 시험관 그림(층 이름표) · 단계 줄 */
.d-sp {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  grid-template-areas: "fig t" "fig steps";
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(1.5rem,4vw,4rem);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2rem,4vw,3.4rem) clamp(1.4rem,4vw,3.6rem);
  background: #f4f6f9;
}

.d-sp-t {
  grid-area: t;
  margin: 0 0 clamp(1.1rem,2.2vw,1.6rem);
  font-size: clamp(1.7rem,1.2rem + 1.6vw,2.6rem) !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
  color: var(--ink);
}

.d-sp-fig {
  grid-area: fig;
  align-self: center;
  margin: 0;
}

.sp-svg {
  display: block;
  width: 100%;
  max-width: 330px;
  height: auto;
  margin: 0 auto;
}

.sp-svg text {
  font-size: 15px;
  font-weight: 800;
}

.sp-svg .sp-br-t {
  font-size: 13.5px;
  font-weight: 700;
  fill: #1f4fc4;
}

.d-sp-steps {
  grid-area: steps;
  display: grid;
  gap: clamp(1rem,2vw,1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.d-sp-k {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin: 0 0 .5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid #c9d3e2;
  font-size: clamp(1.05rem,.98rem + .3vw,1.22rem);
  font-weight: 800;
  color: #1f4fc4;
}

.d-sp-k b {
  font-size: .82em;
  font-weight: 800;
  letter-spacing: .03em;
  color: #8592a8;
}

.d-sp-steps li > p:last-child {
  margin: 0;
  font-size: clamp(.96rem,.92rem + .2vw,1.06rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 화면에 들어오면 섞인 피가 걷히며 층이 나뉘고 → 이름표 → 괄호 */
.sp-mix {
  transition: opacity 1.6s ease .5s;
}

.d-sp.in .sp-mix {
  opacity: 0;
}

.sp-tag {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .6s ease,transform .6s ease;
  transition-delay: calc(1.5s + var(--k) * .22s);
}

.d-sp.in .sp-tag {
  opacity: 1;
  transform: none;
}

.sp-br,
.sp-br-t {
  opacity: 0;
  transition: opacity .7s ease 2.3s;
}

.d-sp.in .sp-br,
.d-sp.in .sp-br-t {
  opacity: 1;
}

@media (max-width:767px) {
  .d-sp {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "t" "fig" "steps";
    grid-template-rows: auto;
  }

  .d-sp-t {
    text-align: center;
  }

  .d-sp-fig {
    margin-bottom: 1.4rem;
  }

  .sp-svg {
    max-width: 260px;
  }
}

/* 7번: 구성 차이 — 하이안과 비교 카드(동그란 사진 · 각막 그림 · 항목 줄이 스크롤 때 하나씩 · 프리미엄 강조) */
.d-vp {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(2.4rem,4.4vw,3.6rem) clamp(1rem,3vw,2.4rem) clamp(2rem,4vw,3rem);
  background: #f2f5fa;
  text-align: center;
}

.d-vp-t {
  margin: 0 0 clamp(2rem,3.6vw,2.8rem);
  font-size: clamp(1.6rem,1.15rem + 1.5vw,2.5rem) !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
  color: var(--ink);
}

.d-vp-cards {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: clamp(.6rem,2vw,1.6rem);
  max-width: 780px;
  margin: 0 auto;
}

.d-vp-c {
  position: relative;
  padding: clamp(1.5rem,3vw,2.1rem) clamp(1rem,2.4vw,1.6rem) clamp(1rem,2vw,1.3rem);
  background: #fff;
  border: 1px solid #e1e6ee;
  box-shadow: 0 18px 40px -30px rgba(11,40,90,.35);
}

.d-vp-c.on {
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 6px rgba(55,151,255,.12),0 34px 60px -30px rgba(29,79,216,.6);
  transform: translateY(-8px);
}

.d-vp-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: .32rem .95rem;
  background: linear-gradient(90deg,#2a8cf2,#5a6cf3 55%,#6a46ee);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  white-space: nowrap;
}

.d-vp-ph {
  width: clamp(84px,10vw,112px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #c3cbd8;
  border-radius: 50%;
}

.d-vp-c.on .d-vp-ph {
  border-color: #3b82f6;
  box-shadow: 0 0 0 5px rgba(55,151,255,.16);
}

.d-vp-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-vp-c:not(.on) .d-vp-ph img {
  filter: saturate(.55);
}

.d-vp-cor {
  display: block;
  width: 100%;
  height: auto;
  margin: -2px 0 .7rem;
}

.d-vp-c h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.15rem,1rem + .6vw,1.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #5c6778;
}

.d-vp-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.d-vp-rows li {
  display: grid;
  gap: .2rem;
  padding: .75rem .2rem;
  border-top: 1px solid #e6eaf1;
}

.d-vp-rows li.reveal:not(.in) {
  transform: translateY(14px);
}

.d-vp-rows span {
  font-size: .8rem;
  font-weight: 700;
  color: #8a96a8;
}

.d-vp-rows b {
  font-size: clamp(.92rem,.88rem + .2vw,1.03rem);
  font-weight: 600;
  line-height: 1.5;
  color: #5c6778;
}

.d-vp-c.on .d-vp-rows b {
  font-weight: 800;
  color: #1d4fd8;
}

.d-vp-x {
  font-size: clamp(1.4rem,1.1rem + 1vw,2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #1f2a3c;
}

.d-vp-note {
  margin: clamp(1.6rem,3vw,2.2rem) 0 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

@media (max-width:640px) {
  .d-vp {
    padding-inline: .7rem;
  }

  .d-vp-t br {
    display: inline;
  }

  .d-vp-cards {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: .55rem;
  }

  .d-vp-x {
    position: absolute;
    top: 66px;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    border-radius: 50%;
    background: #1f2a3c;
    color: #fff;
    font-size: .74rem;
  }

  .d-vp-c {
    padding: 1.4rem .6rem .8rem;
  }

  .d-vp-c.on {
    transform: none;
  }

  .d-vp-tag {
    font-size: .66rem;
    letter-spacing: .1em;
  }

  .d-vp-c h3 {
    font-size: 1.02rem;
  }

  .d-vp-rows b {
    font-size: .86rem;
  }
}

/* 12번: 주요 원인 — 사진 카드 · 파란 번호 네모 + 제목 · 가운데 글, 아래 결론 상자(세모) */
.d-cz {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(1rem,2vw,1.6rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.d-cz figure {
  margin: 0 0 1.1rem;
  aspect-ratio: 3/2;
  overflow: hidden;
  border: 1px solid #dfe5ee;
}

.d-cz img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-cz h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 0 0 .55rem;
  font-size: clamp(1.1rem,1rem + .4vw,1.32rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #1f6fe0;
}

.d-cz-n {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  background: #1f6fe0;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}

.d-cz li > p {
  margin: 0;
  font-size: clamp(.94rem,.9rem + .2vw,1.04rem);
  line-height: 1.7;
  color: #66748a;
}

.d-cz-end {
  position: relative;
  max-width: 900px;
  margin: clamp(2.8rem,5vw,4.2rem) auto 0;
  padding: clamp(1.7rem,3vw,2.5rem) 1rem;
  border: 1px solid #d9e1ec;
  text-align: center;
  font-size: clamp(1.3rem,1rem + 1.2vw,2.05rem);
  font-weight: 500;
  letter-spacing: -.04em;
  color: #3b4352;
}

.d-cz-end::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 44px;
  height: 20px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,#2a8cf2,#3797ff);
  clip-path: polygon(0 0,100% 0,50% 100%);
}

.d-cz-end b {
  font-weight: 800;
  background: linear-gradient(90deg,#2a8cf2,#5a6cf3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width:1023px) {
  .d-cz {
    grid-template-columns: repeat(2,minmax(0,1fr));
    row-gap: 2rem;
  }
}

@media (max-width:640px) {
  .d-cz {
    gap: 1.6rem .8rem;
  }

  .d-cz h3 {
    gap: .35rem;
    font-size: 1rem;
  }

  .d-cz li > p {
    font-size: .9rem;
  }

  .d-cz-end {
    font-size: 1.15rem;
  }
}

/* 13번: 치료 방법 — 테두리 상자를 위아래로(체크 · 가운데 제목 · 설명, 첫눈애안과) */
.d-tb {
  display: grid;
  gap: clamp(.8rem,1.6vw,1.1rem);
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.d-tb li {
  padding: clamp(1.2rem,2.4vw,1.6rem) clamp(1rem,3vw,2rem);
  border: 1.5px solid #9cc8f5;
  background: #fff;
  text-align: center;
}

.d-tb-ck {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0 auto .5rem;
  border: 1.5px solid #8fc0f3;
  border-radius: 50%;
}

.d-tb-ck svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #2f8cf0;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.d-tb h3 {
  margin: 0 0 .4rem;
  font-size: clamp(1.12rem,1rem + .45vw,1.35rem);
  font-weight: 800;
  color: var(--ink);
}

.d-tb li p {
  margin: 0;
  font-size: clamp(.95rem,.92rem + .2vw,1.06rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* 14~15번: 아쿠아셀 IPL — 회색 판 · 장비 사진 · 글 · 흰 상자 목록 · 치료효과 원 4개(남색 · 회색 번갈아, 선으로 이음) */
.d-sec.is-aquapanel {
  border-top: 0;
}

.d-aq {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.2rem,4.4vw,3.8rem) clamp(1.2rem,4vw,3.6rem) clamp(2.4rem,4.4vw,3.6rem);
  overflow: hidden;
  background: #f4f5f7;
}

.d-aq::before,
.d-aq::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.d-aq::before {
  left: -130px;
  bottom: 70px;
  width: 270px;
  height: 270px;
  border: 58px solid #e9eaed;
}

.d-aq::after {
  right: -100px;
  top: 110px;
  width: 250px;
  height: 250px;
  border: 54px solid #e3eefc;
}

.d-aq-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  align-items: center;
  gap: clamp(1.4rem,4vw,3.6rem);
}

.d-aq-fig {
  margin: 0;
}

.d-aq-fig img {
  display: block;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.d-aq-en {
  margin: 0 0 .45rem;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #2f8cf0;
}

.d-aq-txt h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.6rem,1.15rem + 1.5vw,2.5rem) !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
  color: var(--ink);
}

.d-aq-txt > p {
  margin: 0 0 .8rem;
  font-size: clamp(.96rem,.92rem + .2vw,1.06rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.d-aq-pts {
  margin: 1.3rem 0 0;
  padding: .3rem 1.5rem;
  background: #fff;
  list-style: none;
}

.d-aq-pts li {
  position: relative;
  padding: .8rem 0 .8rem 1rem;
  border-top: 1px solid #e3e7ee;
  font-size: clamp(.95rem,.92rem + .2vw,1.05rem);
  font-weight: 600;
  color: var(--ink);
}

.d-aq-pts li:first-child {
  border-top: 0;
}

.d-aq-pts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2f8cf0;
}

.d-aq-eff {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: clamp(.6rem,1.6vw,1.3rem);
  max-width: 920px;
  margin: clamp(2.2rem,4vw,3.2rem) auto 0;
  padding: 0;
  list-style: none;
}

.d-aq-eff::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  background: #8f98a6;
}

.d-aq-eff li {
  position: relative;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  padding: .7rem;
  border-radius: 50%;
  background: #12305e;
  color: #fff;
  text-align: center;
}

.d-aq-eff li:nth-child(even) {
  background: #54585e;
}

.d-aq-k {
  display: block;
  margin-bottom: .5rem;
  font-size: .78rem;
  font-weight: 700;
  opacity: .82;
}

.d-aq-eff b {
  font-size: clamp(.86rem,.78rem + .3vw,1rem);
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width:1023px) {
  .d-aq-top {
    grid-template-columns: minmax(0,1fr);
  }

  .d-aq-fig img {
    max-width: 280px;
  }
}

@media (max-width:767px) {
  .d-aq-txt > p br {
    display: none;
  }

  .d-aq-pts {
    padding: .2rem 1rem;
  }

  .d-aq-eff {
    grid-template-columns: repeat(2,minmax(0,1fr));
    max-width: 360px;
  }

  .d-aq-eff::before {
    display: none;
  }

  .d-aq-eff b {
    font-size: .82rem;
  }

  .d-aq-k {
    margin-bottom: .3rem;
    font-size: .7rem;
  }
}

/* 16번: 누점폐쇄술 — 가운데 글 + 넓은 그림 위 이름표(삼성미래안과) */
.d-cf-head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.d-cf-head h2 {
  margin: .2rem 0 1.3rem;
  font-size: clamp(1.8rem,1.3rem + 1.8vw,2.9rem) !important;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
  color: var(--ink);
}

.d-cf-head p {
  margin: 0 0 .8rem;
  font-size: clamp(.98rem,.94rem + .2vw,1.1rem);
  line-height: 1.8;
  color: var(--ink-soft);
}

.d-cf-fig {
  position: relative;
  max-width: 1120px;
  margin: clamp(2rem,4vw,3rem) auto 0;
}

.d-cf-fig img {
  display: block;
  width: 100%;
  height: auto;
}

.d-cf-lab {
  --len: clamp(42px,7vw,96px);
  position: absolute;
  left: var(--x);
  top: var(--y);
}

.d-cf-lab i {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border: 2px solid #1f6fe0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31,111,224,.22);
}

.d-cf-lab i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  width: 1.5px;
  height: var(--len);
  margin-left: -.75px;
  background: #24324a;
}

.d-cf-lab em {
  position: absolute;
  left: 0;
  bottom: calc(var(--len) + 10px);
  transform: translateX(-50%);
  padding: .25rem .6rem;
  background: rgba(255,255,255,.9);
  font-size: clamp(.8rem,.74rem + .3vw,1rem);
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  color: #1f2a3c;
}

@media (max-width:767px) {
  .d-cf-head p br {
    display: none;
  }

  .d-cf-lab {
    left: var(--mx);
    top: var(--my);
  }
}

/* ── 병원 11/03(라식 · 라섹 탭 합치기) ── */
/* 큰 제목(요약 상자) 바로 아래 설명 — 간격 줄임, 수술 과정 그림은 설명에 붙여서(제목 없이) */
.d-tabpanel > .d-lead + .d-sec.lead-text {
  padding-top: clamp(.4rem,1vw,.8rem) !important;
  padding-bottom: clamp(2rem,3.6vw,2.8rem);
}

.d-sec.lead-text:not(.tint):not(.navy) + .d-sec.joined:not(.tint):not(.navy) {
  border-top: 0;
  padding-top: 0 !important;
}

/* 3가지 핵심 포인트 — 사진 높이 = 옆 내용 높이(가장 긴 항목을 펼쳤을 때로 고정, sub.js), 펼쳐도 사진이 움직이지 않음 */
@media (min-width:768px) {
  .d-acc-wrap:not(.solo) {
    align-items: stretch;
  }

  .d-acc-wrap:not(.solo) .d-acc-fig {
    position: relative;
    min-height: 320px;
    overflow: hidden;
  }

  .d-acc-wrap:not(.solo) .d-acc-fig img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* 투데이 라섹 장점 그림 → 병원 영상(11/03)에서 자른 반복 영상: 빔 크기 한 칸 · SPT 두 칸(영상 위 · 글 아래) */
.am-beam.vid video {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 14px;
  background: #000;
}

.am-spt.vid {
  align-items: start;
}

.am-spt.vid .am-spt-i {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: clamp(.6rem,1vw,.8rem);
  border-radius: 18px;
  background: rgba(0,0,0,.4);
}

.am-spt.vid .am-spt-i figure {
  width: 100%;
}

.am-spt.vid .am-spt-i figure video {
  display: block;
  width: 100%;
  border-radius: 14px;
  background: #000;
}

.am-spt.vid .am-spt-i > div {
  padding: .2rem .4rem .4rem;
}

@media (max-width:767px) {
  .am-beam.vid {
    display: block;
  }

  .am-beam.vid .am-sizes {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .5rem;
    margin-top: 1rem;
  }

  .am-beam.vid .am-sizes li {
    padding: .7rem .2rem;
  }
}

/* 영상 안내 문구 — 글자를 한 덩어리로(모바일에서 낱말 묶음이 칸처럼 갈라지던 문제) */
.am-note > .am-note-t {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
}

.am-note > .am-note-t span {
  display: inline;
}

/* 안구건조증 결론 상자 — 스크롤 때 서서히(병원 11/03): 상자가 떠오르고 → 세모가 내려오고 → 문장 → 강조 글자가 왼쪽부터 파랗게 채워짐 */
.d-cz-end {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1.2s var(--ease),transform 1.2s var(--ease);
}

.d-cz-end::before {
  opacity: 0;
  transform: translate(-50%,-16px);
  transition: opacity .6s ease .35s,transform .6s var(--ease) .35s;
}

.d-cz-end-t {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s ease .4s,transform .9s var(--ease) .4s;
}

.d-cz-end b {
  background: linear-gradient(90deg,#2a8cf2 0%,#5a6cf3 50%,#b9c3d4 50%,#b9c3d4 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 1.2s var(--ease) 1s;
}

.d-cz-end.on {
  opacity: 1;
  transform: none;
}

.d-cz-end.on::before {
  opacity: 1;
  transform: translate(-50%,0);
}

.d-cz-end.on .d-cz-end-t {
  opacity: 1;
  transform: none;
}

.d-cz-end.on b {
  background-position: 0 0;
}

@media (prefers-reduced-motion:reduce) {
  .d-cz-end,
  .d-cz-end::before,
  .d-cz-end-t {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .d-cz-end::before {
    transform: translate(-50%,0);
  }

  .d-cz-end b {
    background-position: 0 0;
    transition: none;
  }
}

/* 11/03 병원: 차별화된 수술 특징 = 화면 폭 전체 한 섹션 · 자가혈청 · 구성 차이는 회색 배경판 없이(홈페이지처럼 흰 바탕) */
section.d-sec.is-featpanel:not(.tint):not(.navy):not(.uniform),
.d-sec:not(.tint):not(.navy) + section.d-sec.is-featpanel:not(.tint):not(.navy) {
  padding: 0 !important;
  border-top: 0;
}

.d-sec.is-featpanel.is-featpanel:not(.tint):not(.navy) + .d-sec:not(.tint):not(.navy) {
  border-top: 0;
}

.is-featpanel .d-fp {
  max-width: none;
  margin: 0;
  min-height: clamp(560px,40vw,760px);
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  box-shadow: none;
}

.is-featpanel .d-fp-fig img {
  object-position: 50% 50%;
}

.is-featpanel .d-fp-side {
  display: flex;
  align-items: center;
  padding: clamp(3rem,5vw,5.5rem) clamp(1.6rem,5vw,6rem);
}

.d-fp-in {
  width: 100%;
  max-width: 660px;
}

.d-sp,
.d-vp {
  background: none;
}

.d-sp {
  padding-inline: 0;
}

@media (max-width:1023px) {
  .is-featpanel .d-fp {
    grid-template-columns: minmax(0,1fr);
    min-height: 0;
  }

  .is-featpanel .d-fp-side {
    padding: 2.4rem var(--gut,16px) 2.8rem;
  }

  .d-fp-in {
    max-width: none;
  }
}

/* 의미 단위 묶음(ko_wrap .kp)은 언제나 글 안에 — '조상 span { display:block }' 규칙에 걸려 한 묶음씩 줄이 갈리던 문제(11/03, 회복 일정 등) */
span.kp {
  display: inline !important;
}

/* 안구건조증 결론 문장 — 테두리 없이(병원 11/04) */
.d-cz-end {
  border: 0 !important;
}

/* 11/04 수술 전 · 후 주의사항 카드(care) · 사진 띠(band) — 기본 틀(B안은 v2.css 에서 다듬음) */
.d-care{list-style:none;margin:clamp(1.6rem,3vw,2.4rem) 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(.9rem,1.6vw,1.4rem)}
.d-care>li{flex:0 1 calc((100% - 2*clamp(.9rem,1.6vw,1.4rem))/3);box-sizing:border-box;padding:clamp(1.6rem,2.6vw,2.2rem) clamp(1.2rem,2vw,1.8rem);border:1px solid #e3e8ef;border-radius:20px;background:#fff;text-align:center}
.d-care.n7>li,.d-care.n8>li{flex-basis:calc((100% - 3*clamp(.9rem,1.6vw,1.4rem))/4)}
.d-care-ic{display:grid;place-items:center;width:96px;height:96px;margin:0 auto 1.1rem;border-radius:50%;background:#f2f4f7;color:#3b475b}
.d-care-ic svg{width:48px;height:48px}
.d-care h3{margin:0 0 .55rem;font-size:1.2rem;font-weight:800}
.d-care p{margin:0;line-height:1.7;word-break:keep-all}
.d-care-rows{margin:.9rem 0 0;padding:0}
.d-care-rows>div{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-top:1px solid #edf0f4}
.d-care-rows dt{margin:0}.d-care-rows dd{margin:0;font-weight:800}
.d-care-pt{font-style:normal}
.d-care-note{max-width:980px;margin:clamp(1.6rem,3vw,2.2rem) auto 0;padding:1.05rem 1.6rem;border:1px solid #dfe3ea;border-radius:999px;background:#fff;text-align:center}
.d-band{position:relative;background:#0b1424 var(--band-bg) center/cover no-repeat}
.d-band::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,12,26,.86) 0%,rgba(6,12,26,.66) 48%,rgba(6,12,26,.4) 100%)}
.d-band-in{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.6rem,4vw,4rem);align-items:center;padding-top:clamp(4rem,8vw,6.5rem);padding-bottom:clamp(4rem,8vw,6.5rem);color:#fff}
.d-band-k{display:inline-block;margin-bottom:1.1rem;padding:.42rem 1rem;border-radius:999px;background:#2b6ff3;font-weight:800;font-size:.95rem}
.d-band h2{margin:0;color:#fff;line-height:1.35}
.d-band-r p{margin:0;color:rgba(255,255,255,.88);line-height:1.85}
.d-band-r p+p{margin-top:1rem}
@media (max-width:767px){
  .d-care>li,.d-care.n7>li,.d-care.n8>li{flex-basis:100%}
  .d-care-ic{width:80px;height:80px}.d-care-ic svg{width:40px;height:40px}
  .d-care-note{border-radius:18px}
  .d-band-in{grid-template-columns:minmax(0,1fr)}
}

/* 그림 이름표 방향(11/05 누점폐쇄술 — 이름표 5개가 겹치지 않게): down = 선 · 글이 아래로, left = 글이 점 왼쪽 */
.d-cf-lab.down i::after {
  top: calc(100% + 2px);
  bottom: auto;
}

.d-cf-lab.down em {
  top: calc(var(--len) + 10px);
  bottom: auto;
}

.d-cf-lab.left i::after {
  left: auto;
  right: calc(100% + 2px);
  top: 50%;
  bottom: auto;
  width: var(--len);
  height: 1.5px;
  margin: -.75px 0 0;
}

.d-cf-lab.left em {
  left: auto;
  right: calc(var(--len) + 14px);
  bottom: auto;
  top: 0;
  transform: translateY(-50%);
}

/* 휴대폰: 이름표가 많은 그림(legendM)은 점에 번호만, 이름은 그림 아래 번호 목록으로 */
.d-cf-legend {
  display: none;
}

@media (max-width:767px) {
  .d-cf-fig.has-legend {
    counter-reset: cf;
  }

  .d-cf-fig.has-legend .d-cf-lab {
    counter-increment: cf;
  }

  .d-cf-fig.has-legend .d-cf-lab em,
  .d-cf-fig.has-legend .d-cf-lab i::after {
    display: none;
  }

  .d-cf-fig.has-legend .d-cf-lab i {
    left: -10px;
    top: -10px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-width: 0;
    background: #1f6fe0;
    box-shadow: 0 0 0 3px rgba(255,255,255,.85);
  }

  .d-cf-fig.has-legend .d-cf-lab i::before {
    content: counter(cf);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    color: #fff;
  }

  .d-cf-legend {
    counter-reset: cfl;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .55rem 1rem;
    max-width: 560px;
    margin: 1.1rem auto 0;
    padding: 0;
    list-style: none;
  }

  .d-cf-legend li {
    counter-increment: cfl;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink,#1f2a3c);
  }

  .d-cf-legend li::before {
    content: counter(cfl);
    flex: none;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1f6fe0;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
  }

  .d-cf-legend li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
/* 11/16 병원 '예약 신청 시 바로 확정되는 것은 아닙니다 — 빨간색으로 강조' · 안내 여러 줄 */
.fx-note { line-height: 1.7; }
.fx-note .fx-warn { color: #e0262d; font-weight: 700; }
.fx-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* A-1 '중요한 말 = 파란 굵은 글'(main strong) 규칙이 덮지 않게 */
body main .fx-note .fx-warn:not(#z):not(#y) { color: #e0262d !important; -webkit-text-fill-color: #e0262d; }
