/*
  Three-page fidelity corrections only. This file is deliberately not loaded by
  Publisher routes or other hospital pages.
*/

/* A — The canonical desktop home title must remain a single, calm line. */
.hospital-theme-b.home .home-hero #home-title {
  max-width: none;
  text-wrap: nowrap;
}
@media (min-width: 1024px) {
  .hospital-theme-b.home .home-hero #home-title {
    white-space: nowrap;
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    letter-spacing: -0.07em;
  }
}
@media (max-width: 1023px) {
  .hospital-theme-b.home .home-hero #home-title {
    white-space: normal;
    font-size: clamp(2.15rem, 9.25vw, 3rem);
    line-height: 1.18;
  }
}

/* B — Imweb's map provider is Naver, but the provider blocks iframe framing.
   This visible, accessible fallback retains the exact source Naver URL. */
.hospital-fix-directions main.page-layout {
  padding-inline: 10px;
}
.hospital-fix-directions .page-content-section {
  padding-inline: 0;
}
.hospital-fix-directions .directions-content {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}
.hospital-fix-directions .directions-map-block {
  margin: 0 0 2.05rem;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #d8e4e9;
  background: #eef6f8;
}
.hospital-fix-directions .directions-map-fallback {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  gap: .55rem;
  padding: 2rem;
  color: #073550;
  text-align: center;
  text-decoration: none;
  background:
    linear-gradient(90deg, rgba(11,99,132,.09) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(11,99,132,.09) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 50% 50%, rgba(24,145,174,.18) 0 48px, transparent 49px),
    linear-gradient(135deg, #f9fcfd, #e8f3f6);
}
.hospital-fix-directions .directions-map-fallback::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #0b6687;
  box-shadow: 0 10px 20px rgba(5,50,74,.2);
}
.hospital-fix-directions .directions-map-provider {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
}
.hospital-fix-directions .directions-map-address {
  max-width: 34rem;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
}
.hospital-fix-directions .directions-map-open {
  margin-top: .15rem;
  padding: .58rem .85rem;
  border: 1px solid #0b6687;
  border-radius: 6px;
  background: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 700;
}
.hospital-fix-directions .directions-address {
  margin: 0;
  color: #062f49;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 750;
  line-height: 1.48;
}
.hospital-fix-directions .directions-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1rem 0 2rem;
}
.hospital-fix-directions .directions-action {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .65rem 1rem;
  border: 1px solid #0b6687;
  border-radius: 6px;
  color: #063a58;
  font-weight: 700;
  text-decoration: none;
}
.hospital-fix-directions .directions-action.primary {
  background: #0b6687;
  color: #fff;
}
.hospital-fix-directions .directions-action:hover,
.hospital-fix-directions .directions-map-fallback:hover .directions-map-open {
  background: #074a67;
  color: #fff;
}
.hospital-fix-directions .directions-information {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid #d9e4e8;
}
.hospital-fix-directions .directions-info-group {
  min-width: 0;
}
.hospital-fix-directions .directions-info-title {
  margin: 0 0 .65rem;
  color: #063650;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.45;
}
.hospital-fix-directions .directions-info-group p {
  margin: .28rem 0;
  color: #29495a;
  line-height: 1.72;
}
.hospital-fix-directions .directions-hours {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: .3rem 1.15rem;
}
.hospital-fix-directions .directions-hours p {
  margin: 0;
  line-height: 1.72;
}
.hospital-fix-directions .directions-hours p:nth-child(-n+2) {
  font-weight: 700;
  color: #17445b;
}
.hospital-fix-directions .directions-phone {
  color: #063a58;
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}
@media (max-width: 700px) {
  .hospital-fix-directions .directions-map-block,
  .hospital-fix-directions .directions-map-fallback {
    min-height: 230px;
  }
  .hospital-fix-directions .directions-information {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* C — Typography only for the joint centre; sequence and source text stay intact. */
.hospital-fix-joint .page-content {
  max-width: 980px;
  margin-inline: auto;
}
.hospital-fix-joint .joint-section-title,
.hospital-fix-joint .content-mid-heading,
.hospital-fix-joint .content-big-heading {
  color: #063550;
  letter-spacing: -.035em;
}
.hospital-fix-joint .joint-section-title {
  margin: 0 0 .9rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 780;
  line-height: 1.28;
}
.hospital-fix-joint .joint-emphasis {
  margin: 0 0 1rem;
  color: #087397;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.5;
}
.hospital-fix-joint .joint-copy {
  max-width: 48rem;
  margin: 0 0 1rem;
  color: #244756;
  font-size: 1rem;
  line-height: 1.85;
}
.hospital-fix-joint .joint-copy.joint-note {
  margin-bottom: 1.65rem;
  color: #55717e;
  font-size: .91rem;
  line-height: 1.72;
}
.hospital-fix-joint .content-mid-heading {
  margin: 2.8rem 0 1.15rem;
  padding-top: 2.35rem;
  border-top: 1px solid #dbe6e9;
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  font-weight: 780;
  line-height: 1.38;
}
.hospital-fix-joint .content-big-heading {
  margin: 1.85rem 0 1rem;
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  font-weight: 760;
  line-height: 1.45;
}
.hospital-fix-joint .joint-subsection-title {
  margin: 1.55rem 0 .58rem;
  color: #0b526d;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.5;
}
.hospital-fix-joint .joint-list-item {
  position: relative;
  margin: .28rem 0;
  padding-left: 1rem;
  color: #315262;
  font-size: .98rem;
  line-height: 1.72;
}
.hospital-fix-joint .joint-list-item::before {
  content: "";
  position: absolute;
  top: .72em;
  left: .1rem;
  width: .34rem;
  height: .34rem;
  border-radius: 50%;
  background: #1390af;
}
@media (max-width: 700px) {
  .hospital-fix-joint .joint-section-title { font-size: 1.5rem; }
  .hospital-fix-joint .content-mid-heading { margin-top: 2.25rem; padding-top: 1.9rem; }
  .hospital-fix-joint .joint-copy { font-size: .98rem; line-height: 1.78; }
}
