/* Isolated repair for the legacy default-page fallback. */
.site-main > .sts-hospital-profile {
  box-sizing: border-box;
  width: min(100% - 32px, 1040px);
  margin: clamp(24px, 4vw, 56px) auto 64px;
  padding: clamp(24px, 4vw, 52px);
  background: #fff;
  border: 1px solid #e6ddd3;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgb(47 35 25 / 6%);
  color: #302d2b;
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.8;
}
.site-main > .sts-hospital-profile .eyebrow { color: #80633f; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-main > .sts-hospital-profile h1 { margin: 12px 0 22px; font-size: clamp(28px, 3.2vw, 43px); line-height: 1.3; }
.site-main > .sts-hospital-profile h2 { margin: 36px 0 12px; font-size: clamp(21px, 2vw, 28px); line-height: 1.45; }
.site-main > .sts-hospital-profile p { margin: 0 0 17px; }
.site-main > .sts-hospital-profile ul { margin: 0 0 20px; padding-inline-start: 24px; }
.site-main > .sts-hospital-profile li { margin: 7px 0; }
.site-main > .sts-hospital-profile a { color: #70552e; text-underline-offset: 3px; }
.site-main > .sts-hospital-profile a:focus-visible, .sts-default-footer a:focus-visible { outline: 3px solid #245baa; outline-offset: 3px; }
.sts-default-footer { padding: 36px 20px; background: #2b2623; color: #f9f5f1; font-size: 13px; line-height: 1.7; }
.sts-default-footer-inner { max-width: 1100px; margin: 0 auto; }
.sts-default-footer p { margin: 0 0 9px; }
.sts-default-footer-brand { font-size: 19px; font-weight: 700; }
.sts-default-footer a { color: #f9f5f1; }
/* Keep inline resource links recognizable without changing filled CTA buttons. */
.sts-resource-page p a:not([style*="background"]) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .site-main > .sts-hospital-profile { width: min(100% - 20px, 1040px); padding: 22px 18px; border-radius: 12px; }
  .sts-default-footer { padding: 30px 18px; }
}

/* Hospital names are list links and must be visually identifiable. */
.sts-resource-page li a { text-decoration: underline; text-underline-offset: 3px; }

/* Breadcrumb links must remain identifiable without relying on color. */
#sts-public-header .sts-current-path a { text-decoration: underline; text-underline-offset: 3px; }

/* The public header already provides navigation on news templates. Keep the template header as fallback only. */
body.news-page #sts-public-header + .news-page-header { display: none; }
