/* thewellnose v3 — reset, font, text defaults, layout primitives. Replaces default.css / pc.css / ta.css / mo.css on theme:"v3" pages.
 * Bundles: v3.css, v3-body.css. Pages: the full v3 mirror pages (home, procedures, CMS, doctor) and the native hospital pages. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--twn-font);
  font-size: var(--twn-fs-body);
  line-height: var(--twn-lh-body);
  color: var(--twn-text);
  background: var(--twn-surface);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss05", "tnum";
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
picture,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
input,
textarea,
select {
  font: inherit;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend,
.sound_only,
.v3-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: var(--twn-focus-width) solid var(--twn-focus);
  outline-offset: var(--twn-focus-offset);
  box-shadow: 0 0 0 var(--twn-focus-offset) var(--twn-focus-halo);
}
::selection {
  background: var(--twn-blue-100);
}
/* v3.2: sections are separated by background and space, never by a rule. The theme's <hr> after the header goes. */
body.v3 > hr,
.v3 #wrapper > hr {
  display: none;
}
/* R1-3 scrollbars: thin, no track (page, card-news strip, menu) */
html,
.v3 * {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 43, 76, 0.25) transparent;
}
.v3 ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.v3 ::-webkit-scrollbar-track {
  background: transparent;
}
.v3 ::-webkit-scrollbar-thumb {
  background: rgba(15, 43, 76, 0.25);
  border-radius: 8px;
}

/* headings */
.v3-display,
.v3-h2 {
  color: var(--twn-heading);
  font-weight: var(--twn-weight-heading);
  line-height: var(--twn-lh-heading);
  letter-spacing: var(--twn-track-head);
  text-wrap: balance;
}
.v3-display {
  font-size: var(--twn-fs-display);
  line-height: var(--twn-lh-display);
}
.v3-h2 {
  font-size: var(--twn-fs-h2);
}
.v3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--twn-text-accent);
  font-size: var(--twn-fs-small);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.v3-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.v3-lead {
  font-size: var(--twn-fs-lead);
  line-height: var(--twn-lh-lead);
  color: var(--twn-text);
}
.v3-accent {
  color: var(--twn-text-accent);
}
.v3-on-dark {
  --twn-focus: var(--twn-text-on-dark);
  --twn-focus-halo: var(--twn-surface-dark);
  color: var(--twn-text-on-dark);
}
.v3-on-dark .v3-eyebrow,
.v3-on-dark .v3-accent {
  color: var(--twn-text-accent-on-dark);
}
.v3-on-dark .v3-lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Shared page-hero type: procedures, CMS and native hospital pages use this same component.
 * Geometry is shared below; no generic h1 reset that could erase editor or Tailwind styles. */
.v3-phero h1 {
  color: var(--twn-heading);
  font-size: var(--twn-fs-h1);
  font-weight: var(--twn-weight-heading);
  line-height: var(--twn-lh-tight);
  letter-spacing: var(--twn-track-head);
}
.v3-phero-sub {
  font-size: var(--twn-fs-lead);
  line-height: var(--twn-lh-lead);
}
.v3-disclaimer-inline {
  font-size: var(--twn-fs-notice);
  line-height: var(--twn-lh-notice);
  color: var(--twn-text-muted);
}

/* layout */
.v3-in {
  width: 100%;
  max-width: calc(var(--twn-container) + var(--twn-content-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--twn-content-gutter);
}
.v3-section {
  padding-block: var(--twn-section-general);
}
.v3-section--mist {
  background: var(--twn-surface-muted);
}
.v3-head {
  max-width: 720px;
  margin-bottom: 40px;
}
.v3-head--center {
  margin-inline: auto;
  text-align: center;
}
.v3-head--center .v3-eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.v3-head .v3-lead {
  margin-top: 14px;
}

/* media */
.v3-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--twn-radius);
  background: var(--twn-mist);
}
.v3-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* legacy device-class toggles are gone: show once, everywhere */
.v3 .pc,
.v3 .ta,
.v3 .mo,
.v3 .pc_contents,
.v3 .m_contents {
  display: block;
}

@media (max-width: 840px) {
  .v3-head {
    margin-bottom: 28px;
  }
}

/* Shared page hero: procedure, CMS and native hospital builders use the same geometry. */
/* ---------- page hero (#subBanner) ---------- */
.v3-phero {
  background: var(--twn-surface-muted);
}
.v3-phero .v3-in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: stretch;
  /* Text owns row growth. Absolute media cannot change the row when it decodes. */
  grid-template-rows: minmax(440px, auto);
}
.v3-phero-txt {
  align-self: center;
  min-width: 0;
  padding-block: var(--twn-section-compact);
}
.v3-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13.5px;
  color: var(--twn-mute);
}
.v3-crumb a:hover {
  color: var(--twn-blue-600);
}
.v3-crumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--twn-blue-300);
}
/* Hero typography is shared in base.css. */
.v3-phero-sub {
  margin-top: 14px;
  color: var(--twn-text);
  max-width: 520px;
}
.v3-phero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.v3-phero-pic {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 0;
}
.v3-phero-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

@media (max-width: 840px) {
  .v3-phero .v3-in {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    height: auto;
    min-height: 440px;
  }
  .v3-phero-pic {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .v3-phero-pic img {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 50% 18%;
  }
  .v3-phero-txt {
    position: relative;
    z-index: 1;
    align-self: stretch;
    margin-inline: calc(var(--twn-content-gutter) * -1);
    padding: 120px var(--twn-content-gutter) 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.88) 48%, #fff 78%);
  }
  .v3-crumb {
    margin-bottom: 10px;
    font-size: 12.5px;
  }
  .v3-phero-sub {
    margin-top: 8px;
  }
  /* call + kakao are in the bottom dock on phones; the hero gives that room to the photo */
  .v3-phero-cta {
    display: none;
  }
}
/* thewellnose v3 — page-hero variants shared by the CMS and hospital pages (v3PageHero, scripts/mirror/v3-page-hero.ts).
 * Bundles: v3.css, v3-body.css. Pages: the CMS pages, doctor and the native hospital pages (intro, insurance, procedure, info, kakao, location).
 * --bg: a banner photo behind the text (CMS banner photos carry the title baked in on the left; a solid white under the real h1 hides it). --plain: crumb + title only. Hospital-specific body rules remain in sections/pages.css. */
.v3-phero--bg {
  position: relative;
}
.v3-phero--bg .v3-in {
  position: static;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
}
.v3-phero--bg .v3-phero-pic {
  position: absolute;
  inset: 0;
}
.v3-phero--bg .v3-phero-pic img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: right center;
}
.v3-phero--bg .v3-phero-pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255, 255, 255, 0) 66%);
}
.v3-phero--bg .v3-phero-txt {
  position: relative;
  z-index: 1;
}
.v3-phero--plain .v3-in {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
}
.v3-phero--plain .v3-phero-txt {
  padding-block: var(--twn-section-compact);
}
@media (max-width: 840px) {
  /* the PC rules above must not undo the shared phone hero above (photo full-bleed, title over a white fade) */
  .v3-phero--bg .v3-in {
    position: relative;
    align-items: stretch;
  }
  .v3-phero--bg .v3-phero-pic img {
    object-position: 75% center;
  }
  .v3-phero--bg .v3-phero-pic::after {
    display: none;
  }
  .v3-phero--plain .v3-in {
    min-height: 0;
  }
  .v3-phero--plain .v3-phero-txt {
    padding: var(--twn-section-compact) var(--twn-content-gutter);
    background: none;
  }
}

/* Shared director band: home and nose01–04, also safe in the native body bundle. */

.v3-director {
  position: relative;
  background: var(--twn-blue-900);
  color: #fff;
  overflow: hidden;
}
.v3-director .v3-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 40%);
  gap: 40px;
  align-items: end;
  min-height: 520px;
}
.v3-director-txt {
  padding-block: var(--twn-section-general);
}
.v3-director-txt .v3-h2 {
  color: #fff;
  font-size: var(--twn-fs-h2);
}
.v3-director-txt .v3-h2 b {
  color: var(--twn-blue-300);
}
.v3-director-txt h4 {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}
.v3-director-txt h4 span {
  display: block;
  font-weight: 700;
  color: #fff;
}
.v3-sign {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.v3-sign-img {
  width: 140px;
  height: 56px;
  display: flex;
  align-items: center;
}
.v3-sign-img:empty {
  display: none;
}
.v3-sign h5 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.v3-sign h5 span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.v3-director-pic {
  position: relative;
  align-self: end;
  height: 100%;
  min-height: 420px;
}
.v3-director-pic img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom right;
}
.v3-director-badge {
  position: absolute;
  left: 0;
  top: 64px;
  padding: 10px 16px;
  border-radius: var(--twn-radius-sm);
  background: #fff;
  color: var(--twn-blue-900);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--twn-shadow);
}
.v3-director-badge b {
  display: block;
  font-size: 18px;
  color: var(--twn-blue-600);
}
@media (max-width: 1200px) {
  .v3-director .v3-in {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 36%);
  }
}
@media (max-width: 840px) {
  .v3-director .v3-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
  }
  .v3-director-txt {
    padding-block: var(--twn-section-general) var(--twn-space-8);
  }
  .v3-director-txt h4 {
    font-size: 15px;
  }
  .v3-sign {
    margin-top: 26px;
  }
  .v3-director-pic {
    min-height: 0;
    height: 300px;
    width: min(100%, 320px);
    justify-self: end;
    overflow: visible;
  }
  .v3-director-pic img {
    max-height: 300px;
  }
  .v3-director-badge {
    top: 20px;
    left: 0;
  }
}
.v3-director .v3-eyebrow { color: var(--twn-text-accent-on-dark); }

/* Shared media, illustration cards and checklists. Loaded by full, chrome and native body bundles; no page-flow or chrome geometry rules. */
.v3-tube-main {
  position: relative;
  border-radius: var(--twn-radius-media);
  overflow: hidden;
  background: var(--twn-blue-900);
  aspect-ratio: 16 / 9;
}
.v3-tube-main iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.v3-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.v3-cards li {
  padding: 22px 20px 24px;
  border-radius: var(--twn-radius);
  background: var(--twn-surface-fact);
  text-align: center;
}
.v3-cards li img,
.v3-cards li div img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 16px;
  border-radius: var(--twn-radius-sm);
  object-fit: contain;
}
.v3-cards li:has(> div + div) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 12px;
  align-content: start;
}
.v3-cards li:has(> div + div) > :not(div) {
  grid-column: 1 / -1;
}
.v3-cards li:has(> div + div) > h3 {
  margin-bottom: 16px;
}
.v3-cards li > div p {
  font-size: 13.5px;
  color: var(--twn-mute);
}
.v3-cards li h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--twn-blue-900);
}
.v3-cards li p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--twn-text);
}
.v3-check {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.v3-check li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px 20px;
  border-radius: var(--twn-radius-sm);
  background: var(--twn-surface-check);
}
.v3-check-ic {
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--twn-blue-600);
  color: #fff;
}
.v3-check-ic svg {
  width: 16px;
  height: 16px;
}
.v3-check li > :not(.v3-check-ic) {
  grid-column: 2;
}
.v3-check h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--twn-ink);
}
.v3-psec--mist .v3-cards li,
.v3-psec--mist .v3-check li {
  background: #fff;
}
.v3-video .v3-tube-main {
  margin-top: 32px;
  max-width: 960px;
  margin-inline: auto;
}
@media (max-width: 840px) {
  .v3-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }
  .v3-cards li {
    padding: 16px 12px 18px;
  }
  .v3-cards li h3 {
    font-size: 15px;
  }
  .v3-check {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 24px;
  }
  .v3-check li {
    padding: 14px 16px;
  }
  .v3-check h3 {
    font-size: 15px;
  }
  .v3-cards:has(> li > div + div) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .v3-cards li:has(> div + div) div img {
    max-width: 100%;
  }
  .v3-cards li:has(> div + div) {
    padding: 20px 16px;
  }
}

/* Data tables keep native table semantics; the named region owns horizontal scrolling. */
.v3-table-scroll[role="region"] {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin-block: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--twn-blue-300) transparent;
}
.v3-table-scroll::-webkit-scrollbar { height: 6px; }
.v3-table-scroll::-webkit-scrollbar-track { background: transparent; }
.v3-table-scroll::-webkit-scrollbar-thumb { background: var(--twn-blue-300); border-radius: var(--twn-radius-pill); }
.v3-table-scroll > table {
  width: 100%;
  min-width: 640px;
  margin: 0;
  font-size: var(--twn-fs-notice);
  line-height: var(--twn-lh-notice);
  word-break: keep-all;
  overflow-wrap: normal;
}
.v3-table-scroll :is(th, td) { padding: 12px 16px; }
.v3-table-scroll:focus-visible {
  outline: var(--twn-focus-width) solid var(--twn-focus);
  outline-offset: var(--twn-focus-offset);
}

/* Same keyboard/touch floor, while retaining each existing native details structure. */
:where(.v3, .v3-native, .v3b) :is(.roa-geo-faq__q, .v3-rd-faq__q, .v3b-q > summary) {
  min-height: 56px;
  scroll-margin-block: 8px;
}
:where(.v3, .v3-native, .v3b) :is(.roa-geo-faq__q, .v3-rd-faq__q, .v3b-q > summary):is(:hover, :focus-visible, :active) {
  background: var(--twn-tint);
  color: var(--twn-link);
}
:where(.v3, .v3-native, .v3b) :is(.roa-geo-faq__q, .v3-rd-faq__q, .v3b-q > summary):focus-visible {
  outline: var(--twn-focus-width) solid var(--twn-focus);
  outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
  :is(.v3, .v3-native, .v3b) :is(.v3-faq-chev, .v3b-chev) { transition: none; }
}

/* Includes legacy descendants and pseudo-elements, and the document scroll root.
   Do not reset transforms: several are structural (dialog/overlay positioning). */
@media (prefers-reduced-motion: reduce) {
  html:has(:is(.v3, .v3c, .v3-native, .v3b)),
  :is(.v3, .v3c, .v3-native, .v3b),
  :is(.v3, .v3c, .v3-native, .v3b) *,
  :is(.v3, .v3c, .v3-native, .v3b) *::before,
  :is(.v3, .v3c, .v3-native, .v3b) *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


:is(.v3, .v3-native, .v3b, .v3c) .v3-in,
:is(.v3, .v3-native, .v3b, .v3c) .v3-nav-inner {
  box-sizing: border-box;
  width: 100% !important;
  max-width: calc(var(--v3-container) + 2 * var(--v3-gutter)) !important;
  margin-inline: auto !important;
  padding-inline: var(--v3-gutter) !important;
}
:is(.v3, .v3-native, .v3b, .v3c) .v3-in .v3-in { max-width: var(--v3-container) !important; padding-inline: 0 !important; }
:is(.v3, .v3-native, .v3b, .v3c) :is(.v3-section, .v3-psec, .v3-banner, .v3-video, .v3-cms-full, .v3-related, .v3-proof, .v3-faq, .v3-newsletter, .v3-home-options, .v3-director, .v3-cta-band) {
  padding-block: var(--v3-section-space) !important;
  margin-block: 0 !important;
}
:is(.v3, .v3-native, .v3b, .v3c) :is(.v3-section, .v3-psec, .v3-proof, .v3-faq, .v3-newsletter, .v3-home-options, .v3-director, .v3-cta-band) > .v3-in { padding-block: 0 !important; }
:is(.v3, .v3-native, .v3b, .v3c) :is(.v3-head, .v3-in > h2, .v3-in > .v3-h2) { text-align: center !important; }
:is(.v3, .v3-native, .v3b, .v3c) .v3-head { margin: 0 auto 40px !important; }
:is(.v3, .v3-native, .v3b, .v3c) .v3-head :is(.smallT, .v3-eyebrow) { justify-content: center; margin-bottom: 12px; }
:is(.v3, .v3-native, .v3b, .v3c) .v3-head :is(p:not(.smallT, .v3-eyebrow), .v3-lead) { margin-top: 20px; }
:is(.v3, .v3-native) .v3-journey-body { width: 100%; max-width: none; margin: 0; padding: 0; }
:is(.v3, .v3-native, .v3b, .v3c) [id] { scroll-margin-top: calc(var(--twn-header-h, 80px) + 88px); }


:is(.v3, .v3-native, .v3b, .v3c) .v3-section-nav {
  position: sticky; top: var(--twn-header-h, 80px); z-index: 35;
  width: 100%; max-width: none; margin: 0; padding: 0;
  background: var(--twn-surface); box-shadow: 0 4px 16px rgb(15 43 76 / .16);
}
:is(.v3, .v3-native, .v3b, .v3c) .v3-section-nav h2 {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  margin: 0; padding: 0; white-space: nowrap;
}
:is(.v3, .v3-native, .v3b, .v3c) .v3-section-nav ul {
  display: flex !important; flex-wrap: nowrap; gap: 8px;
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin;
  list-style: none; margin: 0; padding: 12px 0;
}
:is(.v3, .v3-native, .v3b, .v3c) .v3-section-nav li { flex: 0 0 auto; }
:is(.v3, .v3-native, .v3b, .v3c) .v3-section-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 20px;
  border: 1px solid var(--twn-link); border-radius: 999px; background: var(--twn-mist); color: var(--twn-ink);
  font-size: 15px; line-height: 1.5; font-weight: 600; white-space: nowrap;
  text-decoration: none !important;
}
:is(.v3, .v3-native, .v3b, .v3c) .v3-section-nav a:is(:hover, :active, [aria-current]) { background: var(--twn-ink); color: white; }
:is(.v3, .v3-native, .v3b, .v3c) :is(.v3-section-nav, .v3-related) a:focus-visible {
  outline: 3px solid var(--twn-focus); outline-offset: -3px;
}


:is(.v3, .v3-native) .v3-opening {
  box-sizing: border-box; width: calc(100% - 2 * var(--v3-gutter)); max-width: var(--v3-container);
  margin: 32px auto; padding: 24px 32px; background: var(--twn-tint); border-radius: var(--twn-radius);
}
:is(.v3, .v3-native) .v3-opening :is(.v3-journey-answer, .v3-in, .roa-geo-summary) {
  width: 100% !important; max-width: var(--v3-container) !important; margin: 0; padding: 0 !important; background: none; border: 0;
}
:is(.v3, .v3-native) .v3-opening .roa-geo-summary { margin-top: 20px; }
:is(.v3, .v3-native) .v3-opening .roa-geo-faq__item { border: 0; }
:is(.v3, .v3-native) .v3-faq-group { max-width: none; padding: 0; margin: 0; }
:is(.v3, .v3-native) [data-v3-faq] { max-width: none; }


:is(.v3, .v3-native, .v3b, .v3c) :is(.v3-related, .v3b-care, .v3-inline-related) { text-align: left; }
:is(.v3, .v3-native, .v3b, .v3c) .v3-related { background: var(--twn-mist); }
:is(.v3, .v3-native, .v3b, .v3c) .v3-related:not(:has(a)) { display: none; }
:is(.v3, .v3-native, .v3b, .v3c) .v3-related-group {
  max-width: none; margin: 0; padding: 0 !important; background: none;
}
:is(.v3, .v3-native, .v3b, .v3c) .v3-related-group + .v3-related-group { margin-top: 32px; }
:is(.v3, .v3-native, .v3b, .v3c) :is(.v3-related, .v3b-care, .v3-inline-related) :is(h2, h3) {
  font-size: var(--twn-fs-lead); line-height: 1.5; color: var(--twn-ink); text-align: center; margin: 0 0 20px;
}
:is(.v3, .v3-native, .v3b, .v3c) :is(.v3-related, .v3b-care, .v3-inline-related) ul {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  max-width: none; padding: 0; margin: 0; list-style: none;
}
:is(.v3, .v3-native, .v3b, .v3c) a.v3-related-link {
  display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-content: center; gap: 6px 16px;
  min-height: 112px; height: 100%; padding: 20px 24px; border-radius: var(--twn-radius-sm);
  color: var(--twn-ink); background: white; text-decoration: none !important; line-height: 1.5;
}
:is(.v3, .v3-native, .v3b, .v3c) a.v3-related-link .v3-related-type { grid-column: 1; font-size: 12px; font-weight: 700; color: var(--twn-link); }
:is(.v3, .v3-native, .v3b, .v3c) a.v3-related-link .v3-related-title { grid-column: 1; font-size: 16px; font-weight: 600; }
:is(.v3, .v3-native, .v3b, .v3c) a.v3-related-link svg { grid-column: 2; grid-row: 1 / 3; align-self: center; }
:is(.v3, .v3-native, .v3b, .v3c) a.v3-related-link:is(:hover, :active) { background: var(--twn-tint); color: var(--twn-link); }
@media (max-width: 1100px) {
  :is(.v3, .v3-native, .v3b, .v3c) :is(.v3-related, .v3b-care, .v3-inline-related) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :is(.v3, .v3-native) .v3-opening { padding: 20px; margin-block: 24px; }
  :is(.v3, .v3-native, .v3b, .v3c) :is(.v3-related, .v3b-care, .v3-inline-related) ul { grid-template-columns: minmax(0, 1fr); }
  :is(.v3, .v3-native, .v3b, .v3c) .v3-head { margin-bottom: 28px !important; }
}

:is(.v3, .v3-native) section.roa-geo-faq { padding-inline: 0; }
:is(.v3, .v3-native) .v3-opening .v3-journey-section { padding-block: 0 !important; }
:is(.v3, .v3-native, .v3b, .v3c) section h2 { text-align: center !important; }
.v3-inline-related a.v3-related-link { background: var(--twn-mist); }

/* thewellnose v3 — procedure page sections (24 pages: nose01–17, eye01–07, smilelines). Bundles: v3.css, v3-body.css.
 * Order is the current page's: #subBanner → #summary (GEO) → #sec01 정의 → #surgeryInfo 사실 → #sec02 방법 → #sec04 4카드 →
 * #common01 듀얼 리스트 → #common02 배너 → #youtube 영상 + 고지 → #faq → 검수 한 줄 → CTA 밴드.
 * CMS/native reuse the generic blocks; steps/points/WHY/card-news are procedure-only (.v3-proc).
 * Hero and director geometry are shared in base.css. */

/* UX1 decision shell: enabled only by the build-time journey transform. */
.v3-proc .v3-journey-answer {
  padding: 24px var(--twn-content-gutter) 0;
}
.v3-proc .v3-journey-answer > .v3-in {
  max-width: var(--twn-container);
  padding: 16px 24px;
  border-radius: var(--twn-radius);
  background: var(--twn-tint);
}
.v3-proc .v3-journey-answer .roa-geo-faq__q {
  font-size: var(--twn-fs-lead);
}
.v3-proc .v3-journey-body { min-width: 0; }
/* G04: a narrower reading column must never put copy over the photograph. */
.v3-proc :is(.v3-journey-body, .wrap01[class*="eyes"]) .v3-dual .v3-in {
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  min-height: 0;
}
.v3-proc :is(.v3-journey-body, .wrap01[class*="eyes"]) .v3-dual .v3-photo {
  position: relative;
  inset: auto;
  z-index: auto;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}
.v3-proc :is(.v3-journey-body, .wrap01[class*="eyes"]) .v3-dual .v3-photo img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.v3-proc :is(.v3-journey-body, .wrap01[class*="eyes"]) .v3-dual .v3-photo::after { content: none; }
.v3-proc :is(.v3-journey-body, .wrap01[class*="eyes"]) .v3-dual .v3-in > div:last-child { grid-column: 1; }
/* G05: the 334 × 390 source and its three leaders keep their original geometry.
 * Each 78px label interval has room for the full 16/15px terms and definitions. */
.v3-proc .v3-journey-body .nose05-cards-2 { grid-template-columns: minmax(0, 1fr); }
.v3-proc .v3-journey-anatomy { max-width: 100%; overflow-x: auto; margin-top: 16px; }
.v3-proc .v3-journey-anatomy .v3-rd-anat { width: 660px; min-width: 660px; margin: 0 auto; }
.v3-proc .v3-journey-anatomy .v3-rd-anat > img { width: 334px; flex: 0 0 334px; max-width: none; height: 390px; }
.v3-proc .v3-journey-anatomy .v3-rd-anat dl > div { padding-left: 12px; min-height: 76px; }
.v3-proc .v3-journey-anatomy .v3-rd-anat dt { font-size: 16px; line-height: 1.4; }
.v3-proc .v3-journey-anatomy .v3-rd-anat dd { font-size: 15px; line-height: 1.5; }
/* ---------- summary (GEO block inside main) ---------- */
.v3 .roa-geo-summary {
  max-width: calc(var(--twn-container) + var(--twn-content-gutter) * 2);
  margin: 40px auto 0;
  padding: 26px 30px;
  border-radius: var(--twn-radius);
  background: var(--twn-blue-50);
}
.v3 .roa-geo-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--twn-blue-600);
  letter-spacing: 0.02em;
}
.v3 .roa-geo-summary__label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}
.v3 .roa-geo-summary__text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--twn-ink);
}

/* ---------- section head (smallT + h2 + p) ---------- */
.v3-psec .smallT {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--twn-blue-600);
}
.v3-psec .smallT::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.v3-psec h2 {
  color: var(--twn-blue-900);
  font-size: var(--twn-fs-h2);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--twn-track-head);
  text-wrap: balance;
}
.v3-psec > .v3-in > p:where(:not(.v3-disclaimer-inline)),
.v3-psec .v3-ptext > p:where(:not(.v3-disclaimer-inline)) {
  margin-top: 16px;
  font-size: var(--twn-fs-body);
  line-height: 1.8;
  color: var(--twn-text);
}
.v3-psec p br {
  display: none;
}

/* ---------- generic content sections (#sec03 / #sec05 / eye #sec04 / #sec06 …) ----------
 * Shape on every page: p.smallT + h2 (+ p) + ul.<variant>. The transform drops the pc/mo duplicate and tags the list:
 *   .v3-cards  li = img + h3 (+ p)        illustration cards
 *   .v3-check  li = h3 only                check list (noseCheck)
 *   .v3-points li = img + p.case + p       numbered point cards (checkPoint)
 *   .v3-whycards    div = h4 + h3 + p           WHY Thewell 3 points (eye #common02 .slider) */
/* Shared illustration/checklist rules are in sections/shared.css. */
:where(.v3-proc) .v3-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
  counter-reset: pt;
}
:where(.v3-proc) .v3-points li {
  counter-increment: pt;
  padding: 26px 24px 28px;
  border-radius: var(--twn-radius);
  background: var(--twn-surface-fact);
}
:where(.v3-proc) .v3-points li img {
  display: none;
}
:where(.v3-proc) .v3-points .case {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: var(--twn-radius-pill);
  background: var(--twn-blue-900);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
:where(.v3-proc) .v3-points li p:not(.case) {
  font-size: 15px;
  line-height: 1.7;
  color: var(--twn-text);
}
:where(.v3-proc) .v3-whycards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
}
:where(.v3-proc) .v3-whycards > div {
  padding: 26px 24px;
  border-radius: var(--twn-radius);
  background: var(--twn-blue-50);
}
:where(.v3-proc) .v3-whycards h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--twn-blue-500);
}
:where(.v3-proc) .v3-whycards h3 {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--twn-blue-900);
}
:where(.v3-proc) .v3-whycards p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--twn-text);
}
.v3-psec--mist {
  background: var(--twn-mist);
}
/* Educational panels: every item visible in a readable grid, never a carousel. */
:where(.v3-proc) .v3-cardnews .v3-in > a,
:where(.v3-proc) .v3-cardnews .card_thumb a {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 16px;
}
:where(.v3-proc) .v3-cardnews .card_thumb p {
  display: contents;
}
/* the editor's inline <style> floats each li — floats take the strip out of flow and the section collapses (phone) */
:where(.v3-proc) .v3-cardnews .card_thumb ul li {
  float: none;
  width: auto;
}
.v3:where(.v3-proc) .v3-cardnews .card_thumb ul li p img {
  float: none;
  margin: 0;
}
:where(.v3-proc) .v3-cardnews .card_thumb img {
  width: 100%;
  height: auto;
  object-fit: contain; /* intrinsic dimensions reserve each complete educational panel */
  border-radius: var(--twn-radius-sm);
}
:where(.v3-proc) .v3-cardnews .v3-head {
  margin-bottom: 20px;
}

/* ---------- #sec01 정의 + 사진 ---------- */
.v3-define .v3-in {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.v3-define .v3-photo {
  aspect-ratio: 4 / 3;
}

/* ---------- #surgeryInfo 사실 스트립 ---------- */
.v3-spec {
  background: var(--twn-blue-900);
  padding-block: var(--twn-section-compact);
}
.v3-spec ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.v3-spec li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 4px;
  text-align: center;
}
/* the theme's surgeryInfo icons are WHITE on transparent → blue disc behind them */
.v3-spec li img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.v3-spec h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--twn-blue-200);
}
.v3-spec li p {
  margin-top: -4px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  word-break: keep-all;
}

/* ---------- #sec02 수술 방법 (STEP cards) ---------- */
:where(.v3-proc) .v3-steps .v3-head {
  max-width: 760px;
}
:where(.v3-proc) .v3-steps ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
:where(.v3-proc) .v3-steps li {
  counter-increment: step;
  position: relative;
  border-radius: var(--twn-radius);
  overflow: hidden;
  background: var(--twn-mist);
}
:where(.v3-proc) .v3-steps li::before {
  content: "STEP 0" counter(step);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: var(--twn-radius-pill);
  background: var(--twn-blue-900);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
:where(.v3-proc) .v3-steps li {
  display: grid;
  place-items: center;
  padding: 44px 16px 20px;
}
:where(.v3-proc) .v3-steps li img {
  /* the step images are small squares (240–330px): show them near their own size, never cropped, box reserved (no CLS) */
  width: min(100%, 260px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* ---------- #sec04 더웰병원 코수술 (4 pillars, dark band) ---------- */
.v3-pillars {
  background: var(--twn-blue-900);
  color: #fff;
}
.v3-pillars .smallT {
  color: var(--twn-blue-300);
}
.v3-pillars h2 {
  color: #fff;
}
.v3-pillars .sub-txt {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}
.v3-pillars .nose05List {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.v3-pillars .nose05List li {
  padding: 28px 24px;
  border-radius: var(--twn-radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
/* on a photo band (nose17 비염 냉동치료 과정, CT screen) the card must hide the busy photo so the small text reads */
.v3-psec--photo.v3-pillars .nose05List li {
  background: rgba(15, 43, 76, 0.9);
}
/* nose05Itme icons are dark line icons on a grey disc → show the disc as white */
.v3-pillars .nose05Item {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.v3-pillars .nose05Item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}
.v3-pillars h4 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}
.v3-pillars h4 br {
  display: none;
}
.v3-pillars li > p:last-child {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}
.v3-pillars li > p:last-child br {
  display: none;
}

/* ---------- WHY cards: the live slide photo on top of each card ---------- */
:where(.v3-proc) .v3-whycards > div {
  overflow: hidden;
  padding-top: 0;
}
:where(.v3-proc) .v3-whycards-pic {
  margin: 0 -24px 18px;
  aspect-ratio: 16 / 9;
  background: var(--twn-blue-900);
}
:where(.v3-proc) .v3-whycards-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:where(.v3-proc) .v3-whycards h4 {
  color: var(--twn-blue-600);
}

/* ---------- dark photo band (live: .nose01 #sec05, .smilelines #sec04) ---------- */
.v3-psec--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--twn-blue-900);
}
.v3-psec-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.v3-psec-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v3-psec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 43, 76, 0.72);
}
.v3-psec--photo h2,
.v3-psec--photo .v3-head > p:not(.smallT) {
  color: #fff;
}
.v3-psec--photo .smallT {
  color: var(--twn-blue-200);
}

/* ---------- #common01 듀얼맞춤: full-bleed photo + overlay list (the live layout, R1-2) ---------- */
.v3-dual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--twn-blue-900);
  color: #fff;
}
.v3-dual .v3-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0;
  background: none;
}
.v3-dual .v3-photo img {
  object-position: 22% center;
}
.v3-dual .v3-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 43, 76, 0) 40%, rgba(15, 43, 76, 0.72) 60%, rgba(15, 43, 76, 0.9) 100%);
}
.v3-dual .v3-in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: 560px;
  align-items: center;
}
.v3-dual .v3-in > div:last-child {
  grid-column: 2;
}
.v3-dual .smallT {
  color: var(--twn-blue-200);
}
.v3-dual h2 {
  color: #fff;
}
.v3-dual ol {
  counter-reset: dual;
  display: grid;
  gap: 22px;
  margin-top: 32px;
}
.v3-dual ol li {
  counter-increment: dual;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 12px;
}
.v3-dual ol li::before {
  content: "0" counter(dual);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 15px;
  font-weight: 800;
  color: var(--twn-blue-300);
  line-height: 1.6;
}
.v3-dual ol li > * {
  grid-column: 2;
}
.v3-dual h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
}
.v3-dual li p {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}
.v3-dual li p br {
  display: none;
}

/* ---------- #common02 배너 ---------- */
.v3-banner {
  padding-block: var(--twn-section-compact);
}
.v3-banner img {
  width: 100%;
  border-radius: var(--twn-radius);
}
.v3-banner--insurance {
  /* The banner owns its space; no bottom margin added to the next section's padding. */
  background: #2b2623 url(/legacy/thewellnose/img/nose_contents_bg.jpg) center / cover no-repeat;
}
.v3-banner--insurance img {
  border-radius: 0;
}

/* ---------- #youtube 영상 + 고지 ---------- */
.v3-video .v3-head {
  text-align: center;
  margin-inline: auto;
}
.v3-disclaimer-inline {
  max-width: 960px;
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: var(--twn-radius-sm);
  background: var(--twn-mist);
  text-align: center;
}

/* ---------- FAQ (GEO block inside main) ---------- */
.v3 .roa-geo-faq {
  max-width: calc(var(--twn-container) + var(--twn-content-gutter) * 2);
  margin: 0 auto;
  padding: var(--twn-section-general) var(--twn-content-gutter) 0;
}
.v3 .roa-geo-faq__title {
  margin-bottom: 20px;
  color: var(--twn-blue-900);
  font-size: var(--twn-fs-h2);
  font-weight: 700;
  letter-spacing: var(--twn-track-head);
}
.v3 .roa-geo-faq__list {
  border-top: 0;
}
.v3 .roa-geo-faq__item {
  border-bottom: 1px solid var(--twn-line);
}
.v3 .roa-geo-faq__q {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 12px 4px;
  position: static;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--twn-ink);
}
.v3 .roa-geo-faq__q::-webkit-details-marker {
  display: none;
}
.v3 .roa-geo-faq__q::marker {
  content: "";
}
.v3 .roa-geo-faq__q::after,
.v3 .roa-geo-faq__item[open] .roa-geo-faq__q::after {
  content: none;
  display: none;
}
.v3-faq-chev {
  width: 20px;
  height: 20px;
  color: var(--twn-mute);
  transition: transform 0.2s ease-out;
}
.v3 .roa-geo-faq__item[open] .v3-faq-chev {
  transform: rotate(180deg);
  color: var(--twn-blue-600);
}
.v3 .roa-geo-faq__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--twn-blue-50);
  color: var(--twn-blue-600);
  font-size: 14px;
  font-weight: 800;
}
.v3 .roa-geo-faq__a {
  padding: 0 4px 20px 48px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--twn-text);
}

/* ---------- reviewed meta ---------- */
.v3 .roa-reviewed-meta {
  max-width: calc(var(--twn-container) + var(--twn-content-gutter) * 2);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 24px var(--twn-content-gutter) 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--twn-mute);
}
.v3 .roa-reviewed-meta p {
  margin: 0;
}
.v3 .roa-reviewed-meta strong {
  font-weight: 700;
  color: var(--twn-text);
}
.v3 .roa-reviewed-meta a {
  color: var(--twn-blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.v3 .roa-geo-meta__sep {
  margin: 0 6px;
}

/* ---------- CTA band ---------- */
.v3-cta-band {
  margin-top: var(--twn-section-compact);
  background: var(--twn-blue-600);
  color: #fff;
}
.v3-cta-band .v3-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 40px;
}
.v3-cta-band h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: var(--twn-track-head);
}
.v3-cta-band p {
  margin-top: 4px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.96);
}
.v3-cta-band .v3-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.v3-cta-band .v3-btn--primary {
  background: #fff;
  color: var(--twn-blue-700);
}
.v3-cta-band .v3-btn--primary:hover {
  background: var(--twn-blue-50);
}

/* ---------- breakpoints ---------- */
@media (max-width: 1200px) {
  .v3-spec ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .v3-pillars .nose05List {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 840px) {
  .v3-banner--insurance {
    background-image: url(/legacy/thewellnose/img/nose_contents_m_bg.jpg);
  }
  .v3 .roa-geo-summary {
    margin: 24px var(--twn-content-gutter) 0;
    padding: 20px 20px;
  }
  .v3 .roa-geo-summary__text {
    font-size: 15.5px;
  }
  .v3-define .v3-in {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .v3-dual {
    padding-top: 0;
  }
  .v3-dual .v3-in {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .v3-dual .v3-in > div:last-child {
    grid-column: 1;
    margin-top: 22px;
  }
  .v3-dual .v3-photo {
    position: relative;
    inset: auto;
    z-index: 0;
    margin-inline: calc(var(--twn-content-gutter) * -1);
    aspect-ratio: 4 / 3;
  }
  .v3-dual .v3-photo img {
    object-position: 30% 30%;
  }
  .v3-dual .v3-photo::after {
    background: linear-gradient(180deg, rgba(15, 43, 76, 0) 70%, var(--twn-blue-900) 100%);
  }
  .v3-spec ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .v3-spec li {
    padding: 16px 6px 14px;
    gap: 8px;
    border-radius: var(--twn-radius-sm);
  }
  .v3-spec li img {
    width: 50px;
    height: 50px;
  }
  .v3-spec h5 {
    font-size: 12px;
  }
  .v3-spec li p {
    font-size: 14px;
  }
  :where(.v3-proc) .v3-steps ul {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  :where(.v3-proc) .v3-points,
  :where(.v3-proc) .v3-whycards {
    margin-top: 24px;
    gap: 10px;
  }
  :where(.v3-proc) .v3-cardnews .v3-in > a,
  :where(.v3-proc) .v3-cardnews .card_thumb a {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .v3-pillars .nose05List {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 28px;
  }
  .v3-pillars .nose05List li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 16px;
    padding: 18px 18px;
  }
  .v3-pillars .nose05Item {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    margin: 0;
  }
  .v3-pillars h4 {
    font-size: 17px;
  }
  .v3-dual ol {
    gap: 18px;
    margin-top: 24px;
  }
  .v3-dual ol li {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .v3-dual h3 {
    font-size: 17px;
  }
  .v3-dual li p {
    font-size: 14.5px;
  }
  .v3 .roa-geo-faq {
    padding-top: var(--twn-section-general);
  }
  .v3 .roa-geo-faq__q {
    font-size: 15.5px;
  }
  .v3 .roa-geo-faq__a {
    padding-left: 0;
  }
  .v3-cta-band .v3-in {
    padding-block: 32px;
  }
  .v3-cta-band h2 {
    font-size: 21px;
  }
  .v3-cta-band .v3-btns {
    width: 100%;
  }
  .v3-cta-band .v3-btn {
    flex: 1 1 auto;
  }
}

/* two-figure cards (nose01 "수술 / 정상적인 코"): one card per row on phones so the drawings read large */

/* The shared director band stays legible within the pilot's narrower column. */
.v3-proc .v3-journey-body .v3-director .v3-in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 24px; }
.v3-proc .v3-journey-body .v3-director-txt { padding-bottom: 0; }
.v3-proc .v3-journey-body .v3-director-pic {
  justify-self: end;
  width: min(100%, 420px);
  height: auto;
  min-height: 0;
}
.v3-proc .v3-journey-body .v3-director-pic img { position: static; height: auto; max-height: none; }
.v3-proc .v3-journey-body .v3-director-badge { position: static; margin-block: 16px; }

/* G06: only the implant-removal template, not nose14 (which shares nose16). */
.v3-proc .nose16.v3-rd #sec02 { background: var(--twn-mist) url("/legacy/thewellnose/img/nose06Sec03Bg.jpg") no-repeat 0 0 / cover; }

.v3-proc .v3-why-picture { display: block; width: 100%; height: 100%; }

/* UX3c: process copy keeps the measured dark backplate; enlarge the type and
 * keep a complete reading column after adding nose17's decision index. */
.v3-proc .nose17.v3-rd #sec04 .nose05List li > p:last-child {
  font-size: var(--twn-fs-body);
  line-height: var(--twn-lh-body);
}
@media (max-width: 840px) {
  .v3-proc .nose17.v3-rd #sec04 .nose05List { grid-template-columns: minmax(0, 1fr); }
}

/* V1b: one owner for section edges; legacy first/last margins cannot add gaps. */
.v3-proc :is(.v3-section, .v3-psec, .v3-video) > .v3-in > :first-child { margin-top: 0 !important; }
.v3-proc :is(.v3-section, .v3-psec, .v3-video) > .v3-in > :last-child { margin-bottom: 0 !important; }
/* Adjacent plain white bands share one section gap, rather than 96 + 96px. */
.v3-proc :is(.v3-psec:where(:not(.v3-psec--mist, .v3-psec--photo, .v3-spec, .v3-pillars, .v3-dual, .v3-journey-section)), .v3-video) + .v3-psec:where(:not(.v3-psec--mist, .v3-psec--photo, .v3-spec, .v3-pillars, .v3-dual, .v3-journey-section)) { padding-top: 0 !important; }
:is(.v3, .v3-native) .v3-cta-band .v3-in { flex-direction: column; justify-content: center; text-align: center; }
:is(.v3, .v3-native) .v3-cta-band .v3-btns { justify-content: center; }

/* Hospital page components. Shared hero variants live in base.css. */
/* ---------- the hospital's own pages: intro, insurance, info, kakao, procedure, doctor, location (.v3-hp on .wrap01) ---------- */
.v3-hp .v3-head > p:not(.smallT) { margin-top: 12px; }
.v3-hp .v3-cards li > div p { font-size: 14.5px; color: var(--twn-text); }
.v3-hp-fig { max-width: 640px; margin-inline: auto; }
.v3-hp-fig--wide { max-width: 760px; }
.v3-hp-fig img { margin-inline: auto; }
/* intro: 6 system cards (photo, number, title, text) */
.v3-hp-sys { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v3-hp .v3-hp-sys li { padding: 0; text-align: left; background: transparent; }
.v3-hp-sys li img { max-width: none; aspect-ratio: 7 / 5; object-fit: cover; margin: 0 0 16px; border-radius: var(--twn-radius-sm); }
.v3-hp-sys .introNum { font-size: 13px; font-weight: 800; color: var(--twn-blue-600); }
/* insurance */
.v3-hp-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v3-hp-figs li { padding: 16px; border-radius: var(--twn-radius); background: #fff; }
.v3-hp-figs img { width: min(100%, 240px); height: auto; object-fit: contain; margin-inline: auto; }
.v3-hp-table { width: 100%; margin-top: 32px; border-collapse: separate; border-spacing: 1px; background: var(--twn-line); font-size: 15px; text-align: center; }
.v3-hp-table th, .v3-hp-table td { padding: 12px 10px; background: #fff; }
.v3-hp-table th { background: var(--twn-blue-900); color: #fff; font-weight: 700; }
.v3-hp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v3-hp-steps li { padding: 24px; border-radius: var(--twn-radius-fact); background: var(--twn-surface); text-align: center; }
.v3-hp-steps h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--twn-blue-600); }
.v3-hp-steps p { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--twn-ink); }
/* info + location: hours / contact cards */
.v3-hp-hours .v3-in, .v3-hp-loc .v3-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.v3-hp-loc .v3-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.v3-hp-hours__card { padding: 28px; border-radius: var(--twn-radius-fact); background: var(--twn-surface-fact); }
.v3-hp-hours__card + .v3-hp-hours__card, .v3-hp-loc__info > * + * { margin-top: 20px; }
.v3-hp-hours__card h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--twn-blue-900); }
.v3-hp-hours__card h3 img { width: 28px; height: auto; }
.v3-hp-hours__card li { padding: 10px 0; }
.v3-hp-hours__card li:has(> h4) { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
.v3-hp-hours__card h4 { font-size: 15px; font-weight: 600; color: var(--twn-mute); }
.v3-hp-hours__card li p, .v3-hp-hours__card li:not(:has(> h4)) { font-size: 16px; font-weight: 700; color: var(--twn-ink); }
.v3-hp-loc .root_daum_roughmap { width: 100% !important; }
.v3-hp-loc .wrap_map { height: 420px !important; }
/* kakao */
.v3-hp-kakao .v3-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.v3-hp-kakao h2 { font-size: 34px; font-weight: 800; color: var(--twn-blue-900); }
.v3-hp-kakao h3 { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--twn-ink); }
.v3-hp-kakao p { margin-top: 16px; }
.v3-hp-kakao button { margin-top: 24px; }
.v3-hp-kakao .kakaoPhone img { max-width: 480px; margin-inline: auto; }
/* procedure (쁘띠시술) */
.v3-hp .v3-ptext h3 { margin-top: 12px; font-size: 20px; font-weight: 700; color: var(--twn-blue-600); }
.v3-hp-facts { width: 100%; margin-top: 24px; }
.v3-hp-facts tr { display: grid; grid-template-columns: 120px minmax(0, 1fr); padding: 12px 0; box-shadow: inset 0 -1px 0 var(--twn-line); }
.v3-hp-facts th { font-size: 14px; font-weight: 600; text-align: left; color: var(--twn-mute); }
.v3-hp-facts td { font-size: 16px; font-weight: 700; color: var(--twn-ink); }
.v3-hp-num { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v3-hp-num li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px; border-radius: var(--twn-radius); background: var(--twn-mist); }
.v3-hp-num li p:first-child { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--twn-blue-600); color: #fff; font-size: 13px; font-weight: 800; }
.v3-hp-chips + .v3-hp-chips { margin-top: 24px; }
.v3-hp-chips h4 { margin-bottom: 10px; font-size: 15px; font-weight: 800; color: var(--twn-blue-900); }
.v3-hp-chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.v3-hp-chips li { padding: 6px 14px; border-radius: var(--twn-radius-pill); background: var(--twn-blue-50); color: var(--twn-blue-700); font-size: 14px; font-weight: 700; }
.v3-hp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v3-hp-gallery img { width: 100%; aspect-ratio: 33 / 40; object-fit: cover; border-radius: var(--twn-radius-sm); }
/* Doctor page: preserved portraits/biographies, one scrolling dialog surface. */
.v3-hp-dr__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.v3-hp-dr__grid button, .v3-hp-dr__grid a { display: block; width: 100%; background: transparent; }
.v3-hp-dr__grid img { width: 100%; border-radius: 50%; background: transparent; }
.v3-hp-dr__name { margin-top: 12px; font-size: 14px; text-align: center; color: var(--twn-mute); }
.v3-hp-dr__name span { font-size: 17px; font-weight: 800; color: var(--twn-blue-900); }
.v3-hp.doctor[data-v3-doctor-enhanced] .doctorInfo { display: block; position: fixed; inset: 0; z-index: 10000; padding: 64px 24px 24px; overscroll-behavior: contain; scrollbar-gutter: stable; background: rgba(15, 43, 76, 0.6); overflow: auto; }
.v3-hp.doctor .doctorInfo > div:nth-of-type(1) { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; max-width: 880px; margin: auto; padding: 32px; border-radius: var(--twn-radius); background: #fff; }
.v3-hp.doctor .doctorInfo > div > div:nth-of-type(2) { max-height: 420px; }
.v3-hp.doctor .doctorInfo > div > div:nth-of-type(2) img { width: 100%; max-height: 420px; object-fit: contain; }
.v3-hp.doctor .doctorInfo h3 { font-size: 22px; font-weight: 800; color: var(--twn-blue-900); }
.v3-hp.doctor .doctorInfo p { margin-top: 8px; font-size: 15px; color: var(--twn-mute); }
.v3-hp.doctor .doctorInfo h4 { margin-top: 20px; font-size: 14px; font-weight: 800; color: var(--twn-blue-600); }
.v3-hp.doctor .doctorInfo li { padding: 3px 0; font-size: 15px; color: var(--twn-ink); }
.v3-hp.doctor[data-v3-doctor-enhanced] .doctorInfo > button { display: block; position: fixed; top: 12px; right: 24px; z-index: 1; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; box-shadow: var(--twn-shadow-lg); }
.v3-hp.doctor .doctorInfo > button img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1200px) {
  .v3-hp-dr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .v3-hp-sys, .v3-hp-num, .v3-hp-hours .v3-in, .v3-hp-loc .v3-in, .v3-hp-kakao .v3-in { grid-template-columns: minmax(0, 1fr); }
  .v3-hp-figs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .v3-hp-figs li { padding: 8px; }
  .v3-hp-steps, .v3-hp-gallery, .v3-hp-dr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-hp-hours__card { padding: 22px; }
  .v3-hp-hours__card li:has(> h4) { grid-template-columns: 110px minmax(0, 1fr); }
  .v3-hp-loc .wrap_map { height: 300px !important; }
  .v3-hp-kakao { text-align: center; }
  .v3-hp-kakao .v3-in { gap: 28px; }
  .v3-hp-kakao h2 { font-size: 26px; }
  .v3-hp-kakao .kakaoPhone img { max-width: 320px; }
  .v3-hp-facts tr { grid-template-columns: 96px minmax(0, 1fr); }
  .v3-hp.doctor[data-v3-doctor-enhanced] .doctorInfo { padding: 64px 0 0; }
  .v3-hp.doctor .doctorInfo > div:nth-of-type(1) { grid-template-columns: minmax(0, 1fr); min-height: 100%; max-height: none; margin: 0; padding: 20px; border-radius: 0; }
  .v3-hp.doctor .doctorInfo > div > div:nth-of-type(2) { max-height: 260px; }
  .v3-hp.doctor .doctorInfo > div > div:nth-of-type(2) img { max-height: 260px; }
  .v3-hp.doctor .doctorInfo > button { top: 12px; right: 12px; }
}

.v3-hp.doctor .doctorInfo[hidden] { display: none; }
.v3-hp.doctor .doctorInfo > button:hover { background: var(--twn-tint); }
.v3-hp.doctor .doctorInfo > button:active { background: var(--twn-blue-100); }
.v3-hp.doctor .doctorInfo > button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 3px var(--twn-link); }
.v3-hp.doctor .doctorInfo h3:focus { outline: 2px solid var(--twn-link); outline-offset: 4px; }
.v3-hp.doctor .v3-hp-dr__grid button, .v3-hp.doctor .v3-hp-dr__grid a { border-radius: var(--twn-radius); }
.v3-hp.doctor .v3-hp-dr__grid button:hover, .v3-hp.doctor .v3-hp-dr__grid a:hover { box-shadow: var(--twn-shadow-lg); }
.v3-hp.doctor .v3-hp-dr__grid button:active, .v3-hp.doctor .v3-hp-dr__grid a:active { box-shadow: 0 0 0 3px var(--twn-link); }

/* Readable profiles are the default. Only a successfully installed controller
 * enables the fixed overlay and close controls; cards retain real hash links. */
.v3-hp.doctor .doctorInfoW { position: static; display: block; }
.v3-hp.doctor:not([data-v3-doctor-enhanced]) .doctorInfo { display: block; position: static; width: auto; height: auto; overflow: visible; padding: 24px 0; margin-top: 24px; background: var(--twn-mist); scroll-margin-top: calc(var(--twn-header-h, 80px) + 24px); }
.v3-hp.doctor:not([data-v3-doctor-enhanced]) .doctorInfo > button { display: none; }
.v3-hp.doctor .v3-hp-dr__grid a:focus-visible { outline: 3px solid var(--twn-focus); outline-offset: 4px; }

/* Only the synchronous enhancement window; JS-off profiles remain in flow. */
.v3-hp.doctor:is(.v3-doctor-pending *) .doctorInfo { display: none; }
