/* Rural hospital front door. Reuses shared navigation, tokens, and progressive tabs. */
.rural-modernization .section { padding-block:clamp(56px,6vw,88px); }
.rural-modernization h2 { font-size:clamp(30px,3.2vw,44px); line-height:1.15; }
.rh-hero { background:#0F2A4A; color:#fff; padding:64px 0; overflow:hidden; }
.rh-hero__grid { display:grid; grid-template-columns:1fr 1.05fr; align-items:center; gap:48px; }
.rh-hero h1 { color:#fff; font-size:clamp(38px,4.1vw,58px); line-height:1.08; letter-spacing:-.025em; margin:20px 0 24px; }
.rh-hero__copy > p { color:#D6E4F2; font-size:18px; line-height:1.7; margin:0 0 24px; }
.rh-hero .eyebrow { color:#C7E0F4; font-size:14px; }
.rh-actions { display:flex; gap:12px 24px; flex-wrap:wrap; align-items:center; }
.rh-actions > a:not(.btn) { display:inline-flex; align-items:center; min-height:44px; font-weight:600; }
.rh-hero .rh-actions > a:not(.btn) { color:#C7E0F4; }
.rh-hero .rh-hero__note { margin:20px 0 0; font-size:13px; }
.rh-hero__image { margin:0; border:1px solid #65829E; border-radius:4px; overflow:hidden; background:#163A5C; }
.rh-hero__image img { display:block; width:100%; height:390px; object-fit:cover; object-position:45% center; }
.rh-hero__image figcaption { padding:22px 26px; }
.rh-hero__image figcaption span { display:block; font-size:13px; color:#D6E4F2; margin-bottom:6px; }
.rh-hero__image figcaption strong { color:#fff; font-size:21px; font-weight:600; }
.rh-intro,.rh-section-heading { display:grid; grid-template-columns:1.1fr 1fr; gap:60px; align-items:end; }
.rh-intro p,.rh-section-heading > p { margin:0 0 16px; font-size:18px; line-height:1.7; color:#4A4846; }
.rh-section-heading { margin-bottom:36px; }
.rh-section-heading h2,.rh-intro h2 { margin:14px 0 0; }
.rh-funding { background:#EBF3FC; }
.rh-funding-banner { display:grid; grid-template-columns:auto 1fr auto; gap:28px; align-items:center; padding:28px 32px; background:#0F2A4A; border-radius:4px; color:#fff; }
.rh-funding-banner > div { display:flex; align-items:center; gap:20px; }
.rh-funding-banner strong { font:600 56px/1 var(--font-display); letter-spacing:-.03em; color:#C7E0F4; }
.rh-funding-banner span { font-size:13px; line-height:1.5; }
.rh-funding-banner p { color:#D6E4F2; font-size:15px; margin:0; }
.rh-funding-banner a { color:#C7E0F4; text-decoration:underline; font-size:14px; padding-block:12px; }
.rh-funding-path { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; list-style:none; padding:0; margin:36px 0; }
.rh-funding-path li { padding-top:24px; border-top:1px solid #8BAAC7; }
.rh-funding-path li > span { display:inline-flex; width:40px; height:40px; justify-content:center; align-items:center; color:#005A9E; border:1px solid #97B6D0; border-radius:50%; font-size:15px; margin-bottom:20px; }
.rh-funding-path h3 { font-size:24px; margin:0 0 12px; }
.rh-funding-path p { color:#4A4846; margin:0 0 16px; }
.rh-funding-path strong { font-size:15px; color:#0F2A4A; }
.rh-funding-next { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid #B3CBE1; padding-top:28px; }
.rh-funding-next p { margin:0; max-width:57ch; }
.rh-source-note { font-size:13px; line-height:1.65; color:#4A4846; margin:24px 0 0; max-width:100ch; }
.rh-source-note a { text-decoration:underline; color:#005A9E; }
.rh-map { border:1px solid #9BB5CF; border-radius:4px; overflow:hidden; background:#fff; }
.rh-map-header { padding:24px 30px; display:flex; align-items:center; gap:18px; background:#0F2A4A; color:#fff; }
.rh-map-header svg { width:42px; height:42px; color:#C7E0F4; }
.rh-map svg,.rh-denial-flow svg { fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.rh-map-header strong { display:block; color:#fff; font-size:22px; font-weight:600; }
.rh-map-header div > span { font-size:13px; color:#D6E4F2; }
.rh-map-header .rh-map-caption { margin-left:auto; font-size:13px; color:#D6E4F2; }
.rh-map-body { display:grid; grid-template-columns:1fr 1.15fr; }
.rh-map-tabs { display:grid; grid-template-columns:1fr 1fr; padding:24px; gap:12px; background:#EBF3FC; border-right:1px solid #B5C9DC; }
.rh-map-tabs button { min-height:130px; display:flex; flex-direction:column; align-items:start; position:relative; padding:18px; background:#fff; color:#0F2A4A; border:1px solid #B2C7D9; border-radius:4px; text-align:left; cursor:pointer; font:inherit; transition:background .2s,border-color .2s; }
.rh-map-tabs svg { width:28px; height:28px; margin-bottom:12px; }
.rh-map-tabs strong { display:block; font-size:16px; font-weight:600; line-height:1.3; }
.rh-map-tabs small { display:block; font-size:12px; line-height:1.5; margin-top:6px; }
.rh-map-tabs .rh-map-arrow { position:absolute; top:18px; right:16px; opacity:0; }
.rh-map-tabs button:hover { background:#D9E9F7; border-color:#005A9E; }
.rh-map-tabs button[aria-selected="true"] { background:#005A9E; color:#fff; border-color:#005A9E; }
.rh-map-tabs button[aria-selected="true"] .rh-map-arrow { opacity:1; }
.rh-map-tabs button:focus-visible { outline:3px solid #CA5010; outline-offset:3px; }
.rh-map-panels { padding:32px; }
.rh-map-panel[hidden] { display:none; }
.rh-map-panel + .rh-map-panel { border-top:1px solid #B5C9DC; margin-top:28px; padding-top:28px; }
.rh-map.is-enhanced .rh-map-panel { margin:0; padding:0; border:0; }
.rh-map-category { color:#005A9E; font-size:13px; font-weight:600; margin:0 0 18px; }
.rh-map-panel h3 { font-size:clamp(27px,2.7vw,36px); line-height:1.16; margin:0 0 20px; color:#0F2A4A; }
.rh-map-panel p { line-height:1.7; }
.rh-map-panel .rh-map-tech { display:inline-block; font-size:13px; padding:8px 12px; background:#EBF3FC; color:#0F2A4A; margin:8px 0 18px; }
.rh-map-panel dl { margin:0 0 16px; }
.rh-map-panel dl > div { border-top:1px solid #CDD9E4; padding:14px 0; }
.rh-map-panel dt { font-size:13px; font-weight:700; color:#005A9E; margin-bottom:5px; }
.rh-map-panel dd { margin:0; font-size:15px; color:#4A4846; line-height:1.5; }
.rh-map-panel > a { display:inline-flex; min-height:44px; align-items:center; gap:12px; color:#005A9E; text-decoration:underline; font-weight:600; }
.rh-map-footer { border-top:1px solid #B5C9DC; padding:18px 30px; font-size:14px; background:#F4F8FC; color:#243A5E; }
.rh-map.is-enhanced .is-entering { animation:rh-panel-in 280ms ease-out; }
@keyframes rh-panel-in { from { transform:translateY(10px); clip-path:inset(0 0 8% 0); } to { transform:none; clip-path:inset(0); } }
.rh-denials { background:#0F2A4A; color:#fff; }
.rh-denials h2,.rh-denials h3 { color:#fff; }
.rh-denials .eyebrow,.rh-denials .rh-section-heading > p { color:#D6E4F2; }
.rh-denial-workbench { border:1px solid #718DA8; border-radius:4px; overflow:hidden; background:#163A5C; }
.rh-denial-workbench__top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; padding:20px 26px; border-bottom:1px solid #718DA8; font-size:14px; }
.rh-denial-workbench__top > span { color:#D6E4F2; }
.rh-denial-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; margin:0; padding:0; }
.rh-denial-flow li { position:relative; padding:28px 24px; }
.rh-denial-flow li + li { border-left:1px solid #718DA8; }
.rh-denial-flow li:last-child { background:#24465E; }
.rh-denial-flow svg { display:block; width:36px; height:36px; color:#C7E0F4; margin-bottom:26px; }
.rh-denial-flow span { display:block; font-size:12px; color:#D6E4F2; margin-bottom:10px; }
.rh-denial-flow h3 { font-size:22px; margin:0 0 14px; }
.rh-denial-flow p { margin:0; color:#D6E4F2; font-size:15px; line-height:1.6; }
.rh-denial-measures { display:flex; flex-wrap:wrap; gap:12px 28px; padding:20px 26px; background:#EBF3FC; color:#0F2A4A; font-size:14px; }
.rh-denial-bottom { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-top:28px; }
.rh-denial-bottom > p { font-size:13px; color:#D6E4F2; line-height:1.7; margin:0; }
.rh-denial-bottom a:not(.btn) { color:#C7E0F4; }
.rh-start-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.rh-start-card { border:1px solid #BCCDDC; border-radius:4px; overflow:hidden; display:flex; flex-direction:column; background:#fff; }
.rh-start-card > img { width:100%; height:180px; object-fit:cover; }
.rh-start-card > div { padding:28px; display:flex; flex-direction:column; flex:1; }
.rh-start-card h3 { font-size:28px; margin:12px 0 16px; }
.rh-start-card p { color:#4A4846; }
.rh-start-card ul { padding-left:20px; margin:0 0 28px; }
.rh-start-card li { padding:6px 0; }
.rh-start-card .btn { margin-top:auto; align-self:start; }
@media(max-width:1000px) { .rh-hero__grid { gap:30px; } .rh-funding-banner { grid-template-columns:1fr 1fr; } .rh-funding-banner > a { grid-column:1/-1; padding:0; } .rh-map-body { grid-template-columns:.9fr 1.1fr; } .rh-map-tabs { padding:16px; gap:10px; } .rh-map-tabs button { padding:14px; } .rh-map-panels { padding:24px; } .rh-denial-flow { grid-template-columns:1fr 1fr; } .rh-denial-flow li:nth-child(3) { border-left:0; } .rh-denial-flow li:nth-child(n+3) { border-top:1px solid #718DA8; } }
@media(max-width:800px) { .rh-hero { padding:40px 0; } .rh-hero__grid,.rh-intro,.rh-section-heading,.rh-map-body,.rh-denial-bottom { grid-template-columns:1fr; gap:24px; } .rh-hero__image img { height:280px; } .rh-funding-path { gap:22px; } .rh-funding-path h3 { font-size:21px; } .rh-map-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); border-right:0; border-bottom:1px solid #B5C9DC; } .rh-map-tabs button { min-height:155px; } .rh-map-header .rh-map-caption { display:none; } .rh-start-card > div { padding:24px; } }
@media(max-width:560px) { .rh-funding-banner { grid-template-columns:1fr; padding:24px; gap:20px; } .rh-funding-banner strong { font-size:48px; } .rh-funding-path,.rh-start-grid { grid-template-columns:1fr; } .rh-funding-path li { padding-top:18px; } .rh-funding-path li > span { margin-bottom:14px; } .rh-map-tabs { grid-template-columns:1fr 1fr; } .rh-map-tabs button { min-height:155px; } .rh-map-header { padding:20px; } .rh-map-header strong { font-size:20px; } .rh-map-panels { padding:24px 20px; } .rh-map-footer { padding:18px 20px; } .rh-denial-flow { grid-template-columns:1fr; } .rh-denial-flow li + li { border-left:0; border-top:1px solid #718DA8; } .rh-denial-flow li { padding:24px; } .rh-denial-flow svg { margin-bottom:16px; } .rh-denial-measures { display:grid; gap:10px; } .rh-start-card h3 { font-size:26px; } .rh-start-card .btn { width:100%; } .rh-actions { align-items:stretch; } .rh-actions .btn { width:100%; } }
@media(prefers-reduced-motion:reduce) { .rh-map.is-enhanced .is-entering { animation:none; } .rh-map-tabs button { transition:none; } }
[data-motion-off] .rh-map.is-enhanced .is-entering { animation:none; }
[data-motion-off] .rh-map-tabs button { transition:none; }
/* Child typography must follow the selected tile's high-contrast color. */
.rh-map-tabs button[aria-selected="true"] strong,
.rh-map-tabs button[aria-selected="true"] small { color:#fff; }
.rh-denial-workbench__top strong { color:#fff; }
.rh-section-heading { align-items:start; }
.rh-section-heading > p { padding-top:40px; }
@media(max-width:800px) { .rh-section-heading > p { padding-top:0; } }
@media(max-width:560px) {
  .rh-map-tabs button { min-height:112px; }
  .rh-map-tabs small { display:none; }
  .rh-map-tabs svg { margin-bottom:8px; }
}
