@import url("doctors.css?v=20261022-policy-text");

.hospital-page-title { width: min(calc(100% - 80px), 1200px); margin: 0 auto; }
#clinic-location, #clinic-hours { scroll-margin-top: 80px; }

.greeting-lead { min-height: 350px; display: flex; align-items: center; padding: 90px 0; background: #fff; }
.greeting-lead h2 { margin: 0; font-size: 35px; line-height: 1.35; letter-spacing: -.045em; }
.greeting-message { padding: 130px 0; background: #f4f4f4; }
.greeting-message-grid { display: grid; grid-template-columns: 430px 1fr; align-items: stretch; gap: 105px; }
.greeting-message figure { height: 100%; margin: 0; }
.greeting-message figure picture { display: block; height: 100%; }
.greeting-message figure img { height: 100%; border-radius: 22px; object-fit: cover; object-position: center top; }
.greeting-message h2 { margin: 0 0 38px; font-size: 34px; line-height: 1.35; letter-spacing: -.04em; }
.greeting-message p { margin: 0 0 24px; font-size: 18px; line-height: 1.75; }
@media (min-width: 801px) {
  .greeting-message-grid > div { align-self: center; }
}
.vision-band { position: relative; min-height: 655px; overflow: visible; color: #fff; background: #123a72; }
.vision-band::after { content: ""; position: absolute; top: 0; left: 50%; width: 510px; height: 510px; background: url("../assets/subpages/doctors/doctor-system-logo.png") center / contain no-repeat; opacity: .18; transform: translateX(-50%); }
.vision-band-inner { position: relative; z-index: 1; min-height: 655px; padding-top: 142px; }
.vision-band h2 { margin: 0 0 26px; font-size: 36px; line-height: 1.35; letter-spacing: -.04em; }
.vision-band p { margin: 0; font-size: 18px; line-height: 1.75; }
.vision-band figure { position: absolute; z-index: 2; right: 110px; bottom: -230px; width: 450px; margin: 0; }
.vision-band figure img { border-radius: 20px; }
.vision-points { padding: 255px 0 150px; overflow: hidden; background: linear-gradient(155deg,#fff 0 44%,#f8f8f8 44% 100%); }
.vision-points-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 300px auto; gap: 80px 120px; }
.vision-point { display: grid; gap: 30px; align-content: start; }
.vision-band figure.reveal-sequence,
.vision-point.reveal-sequence,
.vision-point .reveal-sequence { transform: translateY(54px); transition-duration: .62s; transition-timing-function: cubic-bezier(.22,.72,.2,1); }
.vision-band figure.reveal-sequence.visible,
.vision-point.reveal-sequence.visible,
.vision-point .reveal-sequence.visible { transform: translateY(0); }
.vision-point:nth-child(1) { grid-area: 1 / 2; }
.vision-point:nth-child(2) { grid-area: 1 / 1 / 3 / 2; }
.vision-point:nth-child(3) { grid-area: 2 / 2; }
.vision-point figure { margin: 0; }
.vision-point figure img { border-radius: 18px; }
.vision-point-copy { width: min(100%, 470px); }
.vision-point small { color: #1756ae; font-size: 13px; font-weight: 800; }
.vision-point h3 { margin: 14px 0 22px; padding-bottom: 20px; border-bottom: 2px solid #1756ae; font-size: 26px; letter-spacing: -.035em; }
.vision-point p { margin: 0; color: #555; font-size: 17px; line-height: 1.75; }

.tour-page { padding: 125px 0 150px; background: #fff; }
.tour-page h2 { margin: 0 0 105px; font-size: 38px; line-height: 1.35; letter-spacing: -.045em; }
.tour-stage { position: relative; height: 650px; margin: 0; overflow: hidden; background: #eee; }
.tour-stage-open { position: relative; isolation: isolate; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.tour-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.tour-stage-open:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.tour-caption { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 170px; padding: 30px; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.68)); pointer-events: none; }
.tour-caption strong { font-size: 23px; }
.tour-caption p { margin: 6px 0 0; font-size: 14px; }
.tour-gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 10px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: rgba(0,0,0,.35); transform: translateY(-50%); }
.tour-gallery-arrow[hidden] { display: none; }
.tour-gallery-prev { left: 20px; }
.tour-gallery-next { right: 20px; }
.tour-gallery-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tour-gallery-arrow:hover { background: rgba(0,0,0,.6); }
.tour-gallery-arrow:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.tour-gallery-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tour-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.tour-thumb { height: 190px; padding: 0; overflow: hidden; background: #eee; border: 3px solid transparent; }
.tour-thumb:hover,
.tour-thumb[aria-current="true"] { border-color: #1756ae; }
.tour-thumb:focus-visible { outline: 3px solid #0e2a66; outline-offset: 3px; }
.tour-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tour-lightbox { width: auto; max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); padding: 0; overflow: visible; background: transparent; border: 0; }
.tour-lightbox::backdrop { background: rgba(8,13,22,.84); backdrop-filter: blur(8px); }
.tour-lightbox[open] { display: grid; place-items: center; }
.tour-lightbox-image { width: auto; max-width: min(88vw, 1280px); max-height: 84vh; object-fit: contain; border-radius: 22px; box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.tour-image-outgoing { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; pointer-events: none; }
.tour-lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; display: grid; place-items: center; padding: 0 0 4px; color: #111; background: rgba(255,255,255,.94); border: 0; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.tour-lightbox-close:focus-visible { outline: 3px solid #8bb3ff; outline-offset: 3px; }
.tour-lightbox .tour-gallery-arrow { position: fixed; }
.tour-lightbox .tour-gallery-prev { left: clamp(12px, 3vw, 48px); }
.tour-lightbox .tour-gallery-next { right: clamp(12px, 3vw, 48px); }
body.tour-lightbox-open { overflow: hidden; }

.directions-page { padding: 135px 0 160px; background: #fff; }
.directions-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.directions-eyebrow { margin: 0 0 20px; color: #123a72; font-size: 22px; font-weight: 700; }
.directions-heading h2 { margin: 0 0 30px; color: #123a72; font-size: 32px; }
.directions-address { margin: 0; font-size: 20px; font-weight: 700; }
.directions-note { margin: 10px 0 0; color: #777; font-size: 17px; }
.map-links { display: flex; gap: 14px; padding-bottom: 8px; }
.map-links a { min-width: 175px; height: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid #ddd; font-size: 15px; }
.map-links a:nth-child(1) { color: #fff; background: #2db43b; border-color: #2db43b; }
.map-links a:nth-child(2) { color: #111; background: #ffdb00; border-color: #ffdb00; }
.map-links a > span { position: relative; width: 22px; height: 22px; display: grid; place-items: center; font-size: 21px; font-weight: 900; line-height: 1; }
.map-links .kakao svg { width: 16px; height: 20px; fill: #1677ff; }
.map-links .kakao svg circle { fill: #ffdb00; }
.map-links .tmap > span { background: linear-gradient(135deg, #ff2cb8 20%, #744cff 50%, #14c6da 75%); background-clip: text; color: transparent; }
.map-placeholder { height: 560px; margin-top: 65px; background: #ddd; }
.map-placeholder iframe { display: block; width: 100%; height: 100%; border: 0; }
.direction-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 95px; margin-top: 130px; }
.direction-cards figure { position: relative; margin: 0; overflow: hidden; border-radius: 20px; }
.direction-cards img { border-radius: 20px; }
.direction-card figcaption { position: absolute; z-index: 1; }
.direction-hours figcaption { top: 50%; right: 34px; left: 34px; color: #fff; text-align: center; transform: translateY(-43%); }
.hours-row { display: flex; align-items: center; justify-content: center; gap: 23px; margin: 12px 0; font-size: clamp(19px,1.35vw,26px); font-weight: 700; line-height: 1.35; }
.hours-row strong { min-width: 74px; text-align: justify; text-align-last: justify; }
.direction-hours figcaption p { margin: 17px 0 0; font-size: clamp(15px,1vw,19px); font-weight: 700; }
.direction-hours-title, .hours-time-compact, .hours-weekday-measure { display: none; }
.direction-phone figcaption { top: 72px; left: 72px; color: #111; }
.direction-phone figcaption > strong { display: block; font-size: clamp(25px,1.65vw,32px); }
.direction-phone figcaption > a { display: block; margin-top: 4px; color: #1756ae; font-size: clamp(34px,2.35vw,45px); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
.direction-phone figcaption p { margin: 22px 0 0; font-size: clamp(16px,1.05vw,20px); font-weight: 600; line-height: 1.55; }

.equipment-page { padding: 130px 0 90px; background: #fff; }
.equipment-inner { width: min(calc(100% - 80px), 1200px); margin-inline: auto; }
.equipment-page h2 { margin: 0 0 80px; color: #171717; font-size: 36px; font-weight: 700; line-height: 1.4; text-align: center; letter-spacing: -.04em; }
.equipment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.equipment-card { display: flex; flex-direction: column; align-items: center; height: 474px; min-width: 0; padding: 28px 24px 24px; border-radius: 20px; color: #171717; background: #f2f2f2; text-align: center; }
.equipment-number { margin-bottom: 12px; color: #00bff3; font-size: 18px; font-weight: 600; line-height: 24px; }
.equipment-card h3 { min-height: 76px; margin: 0; font-size: clamp(24px, 1.65vw, 32px); font-weight: 700; line-height: 1.16; letter-spacing: -.04em; }
.equipment-card h3 span { display: block; }
.equipment-card h3.equipment-ultrasound-title { max-width: 100%; }
.equipment-card .equipment-ultrasound-title span:last-child { font-size: .92em; letter-spacing: -.065em; white-space: nowrap; }
.equipment-description { min-height: 48px; margin: 18px 0 0; color: #707070; font-size: 17px; line-height: 1.4; letter-spacing: -.035em; }
.equipment-description-mobile { display: none; }
.equipment-card-media { display: grid; flex: 1; place-items: center; width: 100%; min-height: 0; margin: 18px 0 0; overflow: hidden; }
.equipment-cutout { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.equipment-card-media img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; }
.equipment-cutout--aqua img { transform: translateY(-13%) scale(1.44); }
/* Isolate the device in the supplied transparent ICT sheet, without its labels. */
.equipment-cutout--ict { position: relative; width: auto; aspect-ratio: 326 / 701; overflow: hidden; }
.equipment-cutout--ict img { position: absolute; top: -30.53%; left: -134.66%; width: 368.1%; height: 153.92%; max-height: none; object-fit: fill; }

@media (max-width: 1500px) {
  .greeting-message-grid { grid-template-columns: 340px 1fr; gap: 70px; }
  .vision-band figure { right: 70px; width: 370px; }
  .tour-stage { height: 520px; }
  .map-placeholder { height: 450px; }
}
@media (max-width: 1100px) {
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-card h3 { font-size: 28px; }
}
@media (max-width: 800px) {
  .hospital-page-title { width: calc(100% - 40px); }
  .greeting-lead { min-height: 250px; padding: 70px 0; }
  .greeting-lead h2 { font-size: 28px; }
  .greeting-message { padding: 80px 0; }
  .greeting-message-grid { grid-template-columns: 1fr; gap: 45px; }
  .greeting-message figure { width: min(100%,430px); margin-inline: auto; }
  .greeting-message h2 { font-size: 28px; }
  .greeting-message p { font-size: 16px; }
  .vision-band,.vision-band-inner { min-height: 0; }
  .vision-band::after { width: min(510px, 100%); height: auto; aspect-ratio: 1; }
  .vision-band-inner { padding: 64px 0; }
  .vision-band h2 { font-size: 29px; }
  .vision-band p { font-size: 16px; }
  .vision-band figure { position: relative; right: auto; bottom: auto; width: min(100%,380px); margin: 32px auto 0; }
  .vision-points { padding: 64px 0; }
  .vision-points-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 70px; }
  .vision-point:nth-child(1),.vision-point:nth-child(2),.vision-point:nth-child(3) { grid-area: auto; }
  .vision-point h3 { font-size: 23px; }
  .vision-point p { font-size: 16px; }
  .tour-page { padding: 80px 0 90px; }
  .tour-page h2 { margin-bottom: 55px; font-size: 30px; }
  .tour-stage { height: 420px; }
  .tour-caption p { display: none; }
  .tour-gallery-arrow { width: 44px; height: 44px; }
  .tour-gallery-prev { left: 12px; }
  .tour-gallery-next { right: 12px; }
  .tour-thumbnails { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tour-thumb { height: auto; aspect-ratio: 1.35; }
  .directions-page { padding: 80px 0 90px; }
  .directions-heading { grid-template-columns: 1fr; }
  .map-links { display: grid; grid-template-columns: 1fr; }
  .map-links a { width: 100%; }
  .map-placeholder { height: 350px; margin-top: 45px; }
  .directions-page .direction-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
  .directions-page .direction-card { min-width: 0; border-radius: 16px; }
  .directions-page .direction-card > img { display: none; }
  .directions-page .direction-card figcaption { position: static; padding: 24px; transform: none; }
  .directions-page .direction-hours { color: #fff; background: #123a72; }
  .directions-page .direction-hours-title { display: block; margin-bottom: 18px; font-size: 21px; line-height: 1.4; text-align: left; }
  .directions-page .hours-time-full { display: none; }
  .directions-page .hours-time-compact { display: inline; }
  .directions-page .hours-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; margin: 12px 0; font-size: 16px; line-height: 1.6; }
  .directions-page .hours-row strong { width: max-content; min-width: 0; text-align: left; text-align-last: auto; }
  .directions-page .hours-row .hours-weekday { display: inline-grid; }
  .directions-page .hours-weekday-measure { display: block; grid-area: 1 / 1; visibility: hidden; }
  .directions-page .hours-weekday-letters { grid-area: 1 / 1; display: flex; justify-content: space-between; }
  .directions-page .hours-row .hours-time-compact { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
  .directions-page .direction-hours .direction-lunch { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 500; line-height: 1.6; text-align: left; }
  .directions-page .direction-phone { background: #f3f5f8; }
  .directions-page .direction-phone figcaption > strong { font-size: 21px; line-height: 1.4; }
  .directions-page .direction-phone figcaption > a { width: fit-content; max-width: 100%; margin-top: 10px; font-size: clamp(27px, 7.6vw, 34px); line-height: 1.3; white-space: nowrap; }
  .directions-page .direction-phone figcaption > a:focus-visible { outline: 3px solid #1756ae; outline-offset: 4px; }
  .directions-page .direction-phone figcaption p { margin: 18px 0 0; font-size: 16px; font-weight: 500; line-height: 1.7; }
  .directions-page .direction-phone figcaption p br { display: none; }
  .equipment-page { padding: 80px 0; }
  .equipment-inner { width: calc(100% - 40px); }
  .equipment-page h2 { margin-bottom: 48px; font-size: 30px; }
  .equipment-grid { gap: 20px; }
  .equipment-card { padding-inline: 20px; }
  .equipment-card h3 { font-size: 24px; }
}
@media (max-width: 600px) {
  .equipment-inner { width: calc(100% - 32px); }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .equipment-card { display: grid; grid-template-rows: 18px 54px 54px minmax(0, 1fr); gap: 6px; height: 308px; padding: 12px; border-radius: 12px; }
  .equipment-number { margin: 0; font-size: 12px; line-height: 18px; }
  .equipment-card h3 { display: flex; flex-direction: column; justify-content: center; width: 100%; min-height: 0; font-size: clamp(14px, 3.7vw, 16px); line-height: 1.25; overflow-wrap: anywhere; }
  .equipment-card .equipment-ultrasound-title span:last-child { white-space: normal; letter-spacing: -.04em; }
  .equipment-description { min-height: 0; margin: 0; color: #555; font-size: 12px; line-height: 1.5; }
  .equipment-description-full { display: none; }
  .equipment-description-mobile { display: inline; }
  .equipment-card-media { flex: none; height: 100%; margin: 0; }
  .equipment-cutout--aqua img { transform: scale(1.265); }
}

@media (prefers-reduced-motion: reduce) {
  .tour-stage img { transition: none; }
}
