/* Hospital reference module. All rules are scoped to hp-* classes. */
.hp-section {
  padding: 52px 0;
  scroll-margin-top: 108px;
  color: var(--text, #344f5c);
}
.hp-preview { background: #f0f7f9; border-block: 1px solid #d8e6eb; }
.hp-directory { min-width: 0; color: var(--text, #344f5c); }
.hp-standards-preview { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:0 0 28px; }
.hp-standards-preview > div { padding:15px 18px; border-left:3px solid #84b8bf; background:#e7f1f5; border-radius:0 9px 9px 0; }
.hp-standards-preview strong,.hp-standards-preview span { display:block; font-size:15px; line-height:1.6; }
.hp-standards-preview strong { color:var(--ink); }
.hp-standards-preview span { color:var(--muted); font-size:14px; }
.hp-standards-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.hp-standard-card { min-width:0; padding:24px; border:1px solid #cadfe5; border-radius:18px; background:#f6fafb; }
.hp-standard-card h3 { margin:0 0 12px; font-size:21px; line-height:1.4; }
.hp-standard-card p,.hp-standards-note { font-size:16px; line-height:1.7; }
.hp-standards-note { margin:24px 0 0; max-width:1000px; }
.hp-directory-section { background:#f7fafb; border-block:1px solid #e0eaed; }
.hp-institution-card,#hospital-documents { scroll-margin-top:108px; }
.hp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; margin-bottom: 26px; }
.hp-header-copy { min-width: 0; max-width: 820px; }
.hp-eyebrow { display: block; margin: 0 0 10px; color: var(--teal, #086f74); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.hp-heading { margin: 0 0 12px; color: var(--ink, #183c4a); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.22; letter-spacing: -.025em; }
.hp-intro { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted, #526975); }
.hp-header-link { flex: 0 0 auto; margin-top: 7px; }
.hp-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.hp-specialty-card { min-width: 0; padding: 24px; background: #fff; border: 1px solid #cadfe5; border-radius: 20px; }
.hp-card-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 16px; }
.hp-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: #e8f5f4; color: var(--teal, #086f74); }
.hp-icon svg { width: 24px; height: 24px; }
.hp-card-heading { min-width: 0; }
.hp-specialty-title { margin: 0; color: var(--ink, #183c4a); font-size: 21px; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; overflow-wrap: break-word; }
.hp-specialty-summary { margin: 5px 0 0; color: var(--muted, #526975); font-size: 14px; line-height: 1.55; }
.hp-hospital-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.hp-hospital-item { min-width: 0; margin: 0; }
.hp-hospital-item + .hp-hospital-item { border-top: 1px solid #e1eaed; padding-top: 16px; }
.hp-hospital-name { display: block; margin: 0; color: var(--ink, #183c4a); font-size: 17px; font-weight: 650; line-height: 1.45; letter-spacing: -.01em; overflow-wrap: break-word; }
.hp-place { display: block; margin: 4px 0 0; color: var(--muted, #526975); font-size: 14px; font-weight: 400; line-height: 1.5; }
.hp-fact { margin: 7px 0 0; color: var(--text, #344f5c); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.hp-fact-label { color: var(--ink, #183c4a); font-weight: 650; }
.hp-card-link, .hp-header-link, .hp-text-link {
  color: var(--teal, #086f74);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.hp-card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #dce8ec; }
.hp-card-link > [aria-hidden="true"] { flex: 0 0 auto; }
.hp-card-link:hover, .hp-header-link:hover, .hp-text-link:hover, .hp-source-link:hover { color: #045b60; }
.hp-disclosure { margin: 22px 0 0; padding: 16px 18px; border-left: 3px solid #83b9c2; background: #e9f3f6; border-radius: 0 10px 10px 0; color: #496572; font-size: 14px; line-height: 1.65; }
.hp-disclosure p { margin: 0; font-size: inherit; line-height: inherit; }
.hp-disclosure p + p { margin-top: 8px; }
.hp-module-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.hp-module-footer p { margin: 0; max-width: 850px; color: var(--muted, #526975); font-size: 15px; line-height: 1.65; }

/* Directory navigation wraps instead of hiding areas in a horizontal scroller. */
.hp-directory-intro { max-width: 930px; margin-bottom: 24px; }
.hp-directory-intro p { margin: 0 0 12px; font-size: 17px; line-height: 1.7; }
.hp-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 18px; margin: 16px 0 0; color: var(--muted, #526975); font-size: 14px; line-height: 1.6; }
.hp-summary strong { color: var(--ink, #183c4a); font-weight: 650; }
.hp-jump-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; }
.hp-jump-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 10px 15px; color: #245563; background: #f2f8fa; border: 1px solid #bed7df; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.45; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.hp-jump-link:hover, .hp-jump-link[aria-current="true"] { background: #e3f2f4; border-color: #75abb8; color: #08636a; }
.hp-group { min-width: 0; scroll-margin-top: 104px; }
.hp-group + .hp-group { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line, #d8e5e9); }
.hp-group-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.hp-group-title { margin: 0; color: var(--ink, #183c4a); font-size: 28px; line-height: 1.3; letter-spacing: -.02em; }
.hp-group-note { max-width: 650px; margin: 0; color: var(--muted, #526975); font-size: 16px; line-height: 1.65; }
.hp-directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.hp-institution-card { min-width: 0; padding: 26px; border: 1px solid #ccdee5; border-radius: 20px; background: #fff; }
.hp-institution-head { padding-bottom: 19px; margin-bottom: 18px; border-bottom: 1px solid #dce8ec; }
.hp-institution-name { margin: 0; color: var(--ink, #183c4a); font-size: 23px; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; overflow-wrap: break-word; }
.hp-institution-subtitle { margin: 7px 0 0; color: var(--muted, #526975); font-size: 14px; line-height: 1.6; }
.hp-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 13px; }
.hp-qualification { display: inline-block; max-width: 100%; padding: 5px 9px; border: 1px solid #cde2e7; border-radius: 8px; color: #365e6b; background: #f0f7f9; font-size: 14px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.hp-facts { display: grid; gap: 18px; margin: 0; padding: 0; }
.hp-fact-row { display: grid; grid-template-columns: minmax(0, 112px) minmax(0, 1fr); align-items: start; gap: 16px; min-width: 0; }
.hp-fact-row dt { margin: 0; color: var(--ink, #183c4a); font-size: 14px; font-weight: 650; line-height: 1.65; }
.hp-fact-row dd { min-width: 0; margin: 0; color: var(--text, #344f5c); font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.hp-fact-row dd p { margin: 0; font-size: inherit; line-height: inherit; }
.hp-fact-row dd p + p { margin-top: 8px; }
.hp-tech-list { padding: 0 0 0 19px; margin: 0; display: grid; gap: 8px; font-size: 16px; line-height: 1.65; }
.hp-tech-list li { margin: 0; padding: 0; }
.hp-tech-list li::marker { color: #3e8790; }
.hp-status { display: inline-block; max-width: 100%; margin: 0 6px 4px 0; padding: 3px 8px; border: 1px solid #cee1e8; border-radius: 7px; font-size: 14px; font-weight: 600; line-height: 1.5; vertical-align: baseline; overflow-wrap: anywhere; }
.hp-status--clinical { color: #1d6259; background: #eaf7f1; border-color: #c8e6db; }
.hp-status--research { color: #66512a; background: #fff7e9; border-color: #eadabd; }
.hp-status--trial { color: #365d87; background: #edf4fc; border-color: #d0deed; }
.hp-research-note { margin: 12px 0 0; padding: 11px 13px; border-left: 2px solid #afcbd4; background: #f4f8fa; color: #4b6571; font-size: 14px; line-height: 1.65; }
.hp-sources { margin-top: 21px; padding-top: 17px; border-top: 1px solid #dce8ec; }
.hp-source-title { display: block; margin: 0 0 9px; color: var(--ink, #183c4a); font-size: 14px; font-weight: 650; line-height: 1.5; }
.hp-source-list { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.hp-source-list li { min-width: 0; margin: 0; }
.hp-source-link { display: inline-block; padding: 3px 0; color: var(--teal, #086f74); font-size: 14px; line-height: 1.55; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.hp-reviewed { display: block; margin: 11px 0 0; color: var(--muted, #526975); font-size: 14px; line-height: 1.6; }
.hp-bottom { margin-top: 30px; padding: 22px 24px; border: 1px solid #d0e2e7; border-radius: 16px; background: #edf7f8; }
.hp-bottom p { margin: 0; font-size: 16px; line-height: 1.65; }
.hp-bottom p + p { margin-top: 10px; }
.hp-card-link:focus-visible, .hp-header-link:focus-visible, .hp-text-link:focus-visible, .hp-jump-link:focus-visible, .hp-source-link:focus-visible { outline: 3px solid #08777c; outline-offset: 4px; }

@media (max-width: 1120px) {
  .hp-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-group-head { display: block; }
  .hp-group-note { margin-top: 9px; max-width: 820px; }
  .hp-fact-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 760px) {
  .hp-standards-grid,.hp-standards-preview { grid-template-columns:minmax(0,1fr); gap:12px; }
  .hp-section { padding: 40px 0; }
  .hp-header { display: block; margin-bottom: 22px; }
  .hp-header-link { display: inline-block; margin-top: 15px; }
  .hp-heading { font-size: 28px; }
  .hp-intro { font-size: 16px; }
  .hp-home-grid, .hp-directory-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hp-specialty-card, .hp-institution-card { padding: 22px; border-radius: 18px; }
  .hp-specialty-title { font-size: 21px; }
  .hp-hospital-name { font-size: 17px; }
  .hp-module-footer { display: block; }
  .hp-module-footer .hp-text-link { display: inline-block; margin-top: 12px; }
  .hp-jump-nav { gap: 8px; margin-bottom: 24px; }
  .hp-jump-link { padding: 9px 12px; }
  .hp-group + .hp-group { margin-top: 28px; padding-top: 24px; }
  .hp-group-title { font-size: 25px; }
  .hp-group-note { font-size: 15px; }
  .hp-institution-name { font-size: 22px; }
  .hp-bottom { padding: 18px; }
}
@media (max-width: 380px) {
  .hp-specialty-card, .hp-institution-card { padding: 19px; }
  .hp-card-head { gap: 11px; }
  .hp-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
  .hp-icon svg { width: 22px; height: 22px; }
  .hp-specialty-title { font-size: 20px; }
  .hp-disclosure { padding: 13px 14px; }
  .hp-jump-link { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-card-link, .hp-header-link, .hp-text-link, .hp-jump-link, .hp-source-link { transition: none; }
}
@media print {
  .hp-section { padding: 18px 0; background: #fff; }
  .hp-home-grid, .hp-directory-grid { display: block; }
  .hp-specialty-card, .hp-institution-card { margin-bottom: 18px; break-inside: avoid; box-shadow: none; }
  .hp-jump-nav { display: none; }
}
