/*
Theme Name: HRC Block
Description: Native block theme for Houston Recovery Center.
Version: 0.3.0
Requires at least: 6.9
Requires PHP: 8.0
Text Domain: hrc-block
*/

/* Foundations */
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--wp--preset--color--focus);outline-offset:3px;box-shadow:0 0 0 6px var(--wp--preset--color--ink)}
html{scroll-padding-block-end:6rem}
body{overflow-wrap:break-word}
.wp-site-blocks img{max-width:100%;height:auto}
a[href^="tel:"]:not(.wp-block-button__link){white-space:nowrap}
.wp-site-blocks,.wp-site-blocks>*,main,.wp-block-group{min-width:0}
h1,h2,h3{font-optical-sizing:auto;text-wrap:balance}
h1{letter-spacing:-.025em}
h4{font-family:var(--wp--preset--font-family--body);font-size:1.0625rem;font-weight:700;line-height:1.3}
p,li{max-width:70ch}
.wp-block-button,.wp-block-button__link{max-width:100%}
.wp-block-button__link{white-space:normal;min-height:44px;box-sizing:border-box;text-underline-offset:.2em}
.wp-block-button__link:hover{text-decoration:underline}
.wp-block-buttons{gap:.75rem}
.is-style-outline>.wp-block-button__link{background:transparent;color:var(--wp--preset--color--help);border:2px solid currentColor;padding:calc(.75rem - 2px) calc(1rem - 2px)}
.hrc-shell{width:min(100% - 3rem,75rem);margin-inline:auto}
.hrc-shell--narrow{width:min(100% - 3rem,45rem);margin-inline:auto}

/* Header, navigation and persistent actions */
.hrc-utility a,footer a{color:inherit}
.hrc-utility a,.hrc-call-bar a{min-height:44px;display:inline-flex;align-items:center}
.hrc-utility{padding-inline:max(1.5rem,calc((100vw - 75rem)/2))!important;font-size:.9375rem}
header>.wp-block-group> .wp-block-group:not(.hrc-utility){padding-inline:max(1.5rem,calc((100vw - 75rem)/2))!important;gap:1.5rem;padding-block:1.25rem!important}
.wp-block-site-logo img{width:200px;height:auto;display:block}
.wp-block-site-title{font-family:var(--wp--preset--font-family--body);font-size:1.1rem;line-height:1.2;max-width:12rem}
.wp-block-site-title a{text-decoration:none}
.wp-block-navigation{font-size:1rem}.wp-block-navigation .wp-block-navigation__container{gap:1.1rem}
.hrc-nav-help>.wp-block-navigation-item__content,.hrc-nav-donate>.wp-block-navigation-item__content{border-radius:4px;min-height:44px;box-sizing:border-box;padding:.65rem 1rem;display:inline-flex;align-items:center;font-weight:700}
.hrc-nav-help>.wp-block-navigation-item__content{background:var(--wp--preset--color--help);color:var(--wp--preset--color--white)!important}
.hrc-nav-donate>.wp-block-navigation-item__content{background:var(--wp--preset--color--give);color:var(--wp--preset--color--white)!important}
.wp-block-buttons.hrc-call-bar{box-shadow:0 -3px 10px rgb(0 0 0 / .2);background:var(--wp--preset--color--paper)}
.wp-site-blocks>:has(>.hrc-call-bar),.wp-site-blocks>.hrc-call-bar{position:sticky;bottom:0;z-index:20}
.hrc-call-bar .wp-block-button:first-child:not(:only-child) .wp-block-button__link{background:var(--wp--preset--color--paper);color:var(--wp--preset--color--help);border:2px solid var(--wp--preset--color--help)}
@media(min-width:782px){.wp-block-buttons.hrc-call-bar,.wp-site-blocks>:has(>.hrc-call-bar){display:none}}
.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;justify-content:center;align-items:center}
@media(max-width:1050px){.wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.wp-block-navigation__responsive-container-open:not(.always-shown){display:flex!important}}
/* Open menu: reads left to right inside the page gutter whatever the header's alignment, sections with their pages indented beneath. Visual order matches DOM order so keyboard focus follows what is seen. */
.wp-block-navigation__responsive-container.is-menu-open{padding:1rem 1.5rem 2.5rem!important;background:var(--wp--preset--color--paper)!important;color:var(--wp--preset--color--ink)!important}
.is-menu-open .wp-block-navigation__responsive-container-content{padding-top:3.5rem!important}
.is-menu-open .wp-block-navigation__responsive-container-content,.is-menu-open .wp-block-navigation__container,.is-menu-open .wp-block-navigation-item{align-items:stretch!important;gap:0!important;width:100%}
.is-menu-open .wp-block-navigation-item__content{min-height:44px;display:flex!important;align-items:center;padding-block:0!important}
.is-menu-open .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content{font-size:1.1875rem;font-weight:700}
.is-menu-open .wp-block-navigation__container>.has-child{margin-top:.5rem}
.is-menu-open .wp-block-navigation__submenu-container{padding:0 0 .25rem 1rem!important;gap:0!important}
.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{color:var(--wp--preset--color--muted)}
.is-menu-open :is(.hrc-nav-help,.hrc-nav-donate){max-width:24rem}.is-menu-open .hrc-nav-help{margin-top:1.25rem}.is-menu-open .hrc-nav-donate{margin-top:.5rem}
.is-menu-open :is(.hrc-nav-help,.hrc-nav-donate)>.wp-block-navigation-item__content{justify-content:center;padding-inline:1rem!important}

/* Footer: newsletter band, light main footer (logo, mission, links, social), ink legal bar */
footer{background:var(--wp--preset--color--white)}
footer>.wp-block-group,footer>*{margin-block:0}
.hrc-footer-newsletter{background:var(--wp--preset--color--sand);padding-block:clamp(2.5rem,6vw,4.5rem);border-top:1px solid var(--wp--preset--color--line)}
.hrc-footer-newsletter__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:1.5rem clamp(2rem,5vw,4rem);align-items:start}
.hrc-footer-newsletter h2{font-size:var(--wp--preset--font-size--heading-3);margin:0 0 .75rem;max-width:22ch}
.hrc-footer-newsletter p{margin:0;max-width:40ch}
.hrc-footer-newsletter .hrc-pending{grid-column:1/-1}
.hrc-newsletter-form{display:grid;grid-template-columns:1fr 1fr;gap:.75rem 1rem}
.hrc-newsletter-form p{margin:0;max-width:none;display:grid;gap:.25rem}
.hrc-newsletter-form label{font-size:.875rem;font-weight:600}
.hrc-newsletter-form input{min-height:44px;box-sizing:border-box;width:100%;padding:.5rem .75rem;border:1px solid var(--wp--preset--color--muted);border-radius:4px;background:var(--wp--preset--color--white);font:inherit;color:var(--wp--preset--color--ink)}
.hrc-newsletter-form__email,.hrc-newsletter-form__submit{grid-column:1/-1}
.hrc-newsletter-form button{min-height:44px;width:100%;cursor:pointer}
.hrc-footer-main{padding-block:clamp(2.5rem,6vw,4.5rem);color:var(--wp--preset--color--ink)}
.hrc-footer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:2.5rem clamp(2rem,6vw,6rem)}
.hrc-footer-brand>*{margin-block:0}.hrc-footer-brand>*+*{margin-top:1.25rem}
.hrc-footer-brand .wp-block-site-logo img{width:240px;height:auto}
.hrc-footer-mission{font-size:var(--wp--preset--font-size--lead);line-height:1.45;max-width:30ch}
.hrc-footer-main a{color:var(--wp--preset--color--ink);text-underline-offset:.2em}
.hrc-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}
.hrc-footer-links>*>*{margin-block:0}
.hrc-footer-social{grid-column:1/-1}
footer .hrc-footer-heading{font-family:var(--wp--preset--font-family--body);font-size:.875rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 .5rem;color:var(--wp--preset--color--muted)}
footer .wp-block-navigation-item__content{min-height:44px;display:inline-flex;align-items:center}
footer .wp-block-navigation .wp-block-navigation__container{gap:0}
.hrc-footer-social .wp-block-social-links{gap:.25rem;margin:0}
.hrc-footer-social .wp-social-link a{min-width:44px;min-height:44px;display:inline-flex!important;align-items:center;justify-content:center;padding:0!important}
.hrc-footer-social .wp-social-link svg{width:24px;height:24px}
.hrc-footer-legal{padding-block:1rem;font-size:.875rem}
.hrc-footer-legal__row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 2rem}
.hrc-footer-legal__row p{margin:0}
.hrc-footer-legal a{color:var(--wp--preset--color--white);display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.2em}
@media (max-width:781px){.hrc-footer-newsletter__grid,.hrc-footer-grid{grid-template-columns:1fr}}
@media (max-width:480px){.hrc-newsletter-form{grid-template-columns:1fr}}

/* Section rhythm: full-bleed bands with a shared inner width */
.hrc-composed>*,.hrc-home>*,.hrc-section,.hrc-home-section,.hrc-home-hero,.hrc-page-hero{margin-block-start:0}
.hrc-section,.hrc-home-section{padding-block:clamp(3rem,7vw,6rem)}
.hrc-section--tight{padding-block:clamp(2rem,4vw,3.5rem)}
.hrc-section--tint,.hrc-work{background:var(--wp--preset--color--sand)}
.hrc-section--sky{background:var(--wp--preset--color--teal-pale)}
.hrc-section--ink,.hrc-trust{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--white)}
.hrc-section--ink a,.hrc-trust a{color:var(--wp--preset--color--white);text-underline-offset:.2em}
.hrc-section h2:first-child,.hrc-section .hrc-eyebrow+h2{margin-top:0}
.hrc-section-intro{max-width:42rem;margin-bottom:clamp(1.5rem,4vw,2.5rem)}
.hrc-section-intro>*:first-child{margin-top:0}
.hrc-eyebrow{font-size:.875rem!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--muted);margin:0 0 .75rem}
.hrc-section--ink .hrc-eyebrow,.hrc-page-hero--institutional .hrc-eyebrow{color:var(--wp--preset--color--teal-pale)}
.hrc-lead{font-size:var(--wp--preset--font-size--lead);max-width:44ch}

/* Composed content: full-bleed sections stay full width, anything else keeps the reading measure */
.hrc-flow>:not(.hrc-section,.hrc-page-hero,.hrc-breadcrumbs){width:min(100% - 3rem,45rem);margin-inline:auto}
.hrc-flow>:not(.hrc-section,.hrc-page-hero,.hrc-breadcrumbs):first-child{margin-top:clamp(2.5rem,6vw,4rem)}
.hrc-flow>:not(.hrc-section,.hrc-page-hero,.hrc-breadcrumbs):last-child{margin-bottom:clamp(2.5rem,6vw,4rem)}
.hrc-flow>.hrc-section,.hrc-flow>.hrc-page-hero,.hrc-flow>.hrc-breadcrumbs{margin-block:0}
.hrc-flow>.hrc-pending{margin-block:2rem}
.hrc-section .hrc-pending{margin-top:2rem}

/* Page hero — one per interior page; the H1 lives here */
.hrc-page-hero{padding-block:clamp(2.5rem,6vw,5rem);border-top:.5rem solid var(--wp--preset--color--teal)}
.hrc-page-hero h1{margin-block:0 1.25rem;max-width:18ch}
.hrc-page-hero .wp-block-buttons{margin-top:1.75rem}
.hrc-page-hero--help{background:var(--wp--preset--color--teal-pale)}
.hrc-page-hero--give{background:var(--wp--preset--color--paper);border-top-color:var(--wp--preset--color--give)}
.hrc-page-hero--institutional{background:var(--wp--preset--color--ink);color:var(--wp--preset--color--white);border-top-color:var(--wp--preset--color--amber)}
.hrc-page-hero--institutional a:not(.wp-block-button__link){color:var(--wp--preset--color--white)}
.hrc-page-hero--plain{background:var(--wp--preset--color--sand)}

/* Breadcrumbs — a quiet band directly under the page hero (hrc-site/breadcrumbs.php) */
.hrc-composed .hrc-breadcrumbs{margin-block:0;background:var(--wp--preset--color--white);border-bottom:1px solid var(--wp--preset--color--line);box-shadow:0 2px 4px rgb(11 34 53 / 6%);font-size:.875rem;line-height:1.4;padding-block:.5rem}
.hrc-breadcrumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;column-gap:.5rem}
.hrc-breadcrumbs li{display:flex;align-items:center;gap:.5rem;margin:0;min-height:24px}
.hrc-breadcrumbs li+li::before{content:"›"/"";color:var(--wp--preset--color--muted)}
.hrc-breadcrumbs a{color:var(--wp--preset--color--ink);text-decoration:none;padding-block:.25rem}
.hrc-breadcrumbs a:hover,.hrc-breadcrumbs a:focus-visible{text-decoration:underline;text-underline-offset:.2em}
.hrc-breadcrumbs [aria-current]{color:var(--wp--preset--color--teal);font-weight:600}
.hrc-story-hero:has(+.hrc-breadcrumbs) .wp-block-post-featured-image{transform:none}
.hrc-hero-split{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(2rem,5vw,4rem);align-items:start}

/* Urgent help: emergency guidance is visibly different from the HRC call action */
.hrc-urgent{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;margin-top:1.5rem;align-items:start}
.hrc-emergency{background:var(--wp--preset--color--white);border:3px solid var(--wp--preset--color--alert);border-radius:6px;padding:1.25rem 1.25rem 1.25rem 1.25rem;margin:0}
.hrc-emergency>*{margin-block:0}.hrc-emergency>*+*{margin-top:.75rem}
.hrc-emergency h2,.hrc-emergency h3{font-family:var(--wp--preset--font-family--body);font-size:1.25rem;font-weight:800;color:var(--wp--preset--color--alert);line-height:1.25}
.hrc-emergency a{color:var(--wp--preset--color--alert);font-weight:800}
/* Inline padding enlarges the tap area to 44px without changing the line box. */
.hrc-emergency li a{font-size:1.125em;padding:.7rem .5rem;margin:-.7rem -.5rem;box-decoration-break:clone}
.hrc-emergency ul.wp-block-list{list-style:none;padding:0}.hrc-emergency li+li{margin-top:.5rem}
.hrc-call-card{background:var(--wp--preset--color--help);color:var(--wp--preset--color--white);border-radius:6px;padding:1.25rem;margin:0}
.hrc-call-card>*{margin-block:0}.hrc-call-card>*+*{margin-top:.75rem}
.hrc-call-card h2,.hrc-call-card h3{font-family:var(--wp--preset--font-family--body);font-size:1.25rem;font-weight:800;line-height:1.25;color:inherit}
.hrc-call-card a{color:var(--wp--preset--color--white)}
.hrc-call-card .hrc-call-number a,.hrc-call-number a{display:inline-flex;align-items:center;min-height:48px;font-size:clamp(1.625rem,1.3rem + 1.4vw,2.25rem);font-weight:800;letter-spacing:-.01em;text-decoration-thickness:2px;text-underline-offset:.18em}
.hrc-call-card .hrc-call-card__rule{border-top:1px solid rgb(255 255 255 / .35);padding-top:.75rem}
.hrc-page-hero .hrc-pending{margin-top:1.5rem}
.hrc-call-card .wp-block-button__link{background:var(--wp--preset--color--white);color:var(--wp--preset--color--help)}

/* Fact lists, routes and steps */
.hrc-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:1px;background:var(--wp--preset--color--line);border:1px solid var(--wp--preset--color--line);padding:0;margin:0;list-style:none}
.hrc-facts>li{background:var(--wp--preset--color--paper);padding:1.25rem;margin:0;max-width:none}
.hrc-section--tint .hrc-facts>li{background:var(--wp--preset--color--white)}
.hrc-facts strong{display:block;font-size:.875rem;letter-spacing:.06em;text-transform:uppercase;color:var(--wp--preset--color--muted);margin-bottom:.35rem}
.hrc-routes{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3rem);align-items:start}
.hrc-routes ul{padding-left:1.25rem}.hrc-routes li+li{margin-top:.35rem}
.hrc-not-routes{border:2px solid currentColor;border-radius:6px;padding:1.25rem;margin:0}
.hrc-not-routes>*{margin-block:0}.hrc-not-routes>*+*{margin-top:.75rem}
.hrc-not-routes h3{font-family:var(--wp--preset--font-family--body);font-size:1.125rem;font-weight:800}
.hrc-steps{list-style:none;padding:0;margin:0;counter-reset:hrc-step;display:grid;gap:1.25rem}
.hrc-steps>li{counter-increment:hrc-step;position:relative;padding-left:3.25rem;max-width:none}
.hrc-steps>li::before{content:counter(hrc-step);position:absolute;left:0;top:-.1rem;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--wp--preset--color--help);color:var(--wp--preset--color--white);font-weight:800;display:grid;place-items:center}
.hrc-steps strong{display:block}

/* Cards and route grids */
.hrc-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:clamp(1rem,3vw,2rem);margin:0}
.hrc-card{background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--line);border-top:4px solid var(--wp--preset--color--teal);border-radius:4px;padding:clamp(1.25rem,3vw,1.75rem);margin:0;display:flex;flex-direction:column}
.hrc-card>*{margin-block:0}.hrc-card>*+*{margin-top:.75rem}
.hrc-card h3{font-size:clamp(1.375rem,1.2rem + .5vw,1.625rem)}
.hrc-card h2{font-size:clamp(1.625rem,1.35rem + .8vw,2.125rem)}
.hrc-card .wp-block-buttons{margin-top:auto;padding-top:1rem}
.hrc-card--give{border-top-color:var(--wp--preset--color--give)}
.hrc-card--quiet{background:transparent;border-top-color:var(--wp--preset--color--line)}

/* Evidence band — institutional proof, always linked to the record it summarizes */
.hrc-evidence{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:0;border-top:1px solid var(--wp--preset--color--line);margin:0}
.hrc-evidence>*{padding:1.5rem 1.5rem 1.5rem 0;border-bottom:1px solid var(--wp--preset--color--line);margin:0}
.hrc-evidence h3{font-family:var(--wp--preset--font-family--body);font-size:1.125rem;font-weight:800;margin:0 0 .5rem}
.hrc-evidence p{margin:0;font-size:1rem}.hrc-evidence p+p{margin-top:.5rem}
.hrc-section--ink .hrc-evidence,.hrc-section--ink .hrc-evidence>*{border-color:rgb(255 255 255 / .3)}

/* Statement, quote and documents */
.hrc-statement{font-family:var(--wp--preset--font-family--display);font-size:clamp(1.5rem,1.2rem + 1vw,2.125rem);line-height:1.3;max-width:34ch}
.wp-block-quote.hrc-quote{border:0;border-left:6px solid var(--wp--preset--color--amber);padding:.25rem 0 .25rem clamp(1.25rem,3vw,2rem);margin-inline:0}
.wp-block-quote.hrc-quote p{font-family:var(--wp--preset--font-family--display);font-size:clamp(1.5rem,1.2rem + 1vw,2.125rem);line-height:1.3;max-width:34ch}
.wp-block-quote.hrc-quote cite{display:block;margin-top:1rem;font-size:.9375rem;font-style:normal;color:var(--wp--preset--color--muted)}
.hrc-section--ink .wp-block-quote.hrc-quote cite{color:var(--wp--preset--color--teal-pale)}
.hrc-doc-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--wp--preset--color--line)}
.hrc-doc-list>li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1.5rem;padding:1rem 0;border-bottom:1px solid var(--wp--preset--color--line);max-width:none;margin:0}
.hrc-doc-list .hrc-doc-meta{color:var(--wp--preset--color--muted);font-size:.9375rem}

/* Calls to action */
.hrc-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem 3rem;border-top:4px solid var(--wp--preset--color--teal);padding-top:clamp(1.5rem,4vw,2.5rem)}
.hrc-cta>div:first-child{max-width:40rem}.hrc-cta h2{margin:0 0 .5rem}.hrc-cta p{margin:0}
.hrc-cta .wp-block-buttons{margin:0}
.hrc-cta--give{border-top-color:var(--wp--preset--color--give)}
.hrc-give-actions .wp-block-button:not(.is-style-outline) .wp-block-button__link,.hrc-support .wp-block-button:not(.is-style-outline) .wp-block-button__link,.hrc-card--give .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:var(--wp--preset--color--give);color:var(--wp--preset--color--white)}
.hrc-external-note{font-size:.9375rem;color:var(--wp--preset--color--muted)}

/* Empty states and review-only placeholders */
.hrc-empty{border:1px solid var(--wp--preset--color--line);border-left:4px solid var(--wp--preset--color--muted);background:var(--wp--preset--color--white);padding:1rem 1.25rem;border-radius:4px}
.hrc-pending{position:relative;border:2px dashed var(--wp--preset--color--amber);background:repeating-linear-gradient(-45deg,transparent 0 12px,rgb(217 154 43 / .08) 12px 24px);padding:2.25rem 1.25rem 1.25rem;border-radius:4px;color:var(--wp--preset--color--ink)}
.hrc-pending::before{content:"Pending approval · visible to editors only";position:absolute;top:.6rem;left:1.25rem;font:700 .75rem/1 var(--wp--preset--font-family--body);letter-spacing:.06em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.hrc-pending>*{margin-block:0}.hrc-pending>*+*{margin-top:.5rem}
.hrc-image-slot{aspect-ratio:4/3;display:grid;place-items:center;text-align:center;margin:0}
.hrc-image-slot--wide{aspect-ratio:16/9}
.hrc-image-slot--portrait{aspect-ratio:4/5}

/* Home */
.hrc-home-hero{background:var(--wp--preset--color--teal-pale);padding-block:clamp(3rem,6vw,5.5rem)}
.hrc-hero-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.hrc-hero-copy h1{max-width:12ch;margin-block:0 1.5rem}
.hrc-hero-copy>p:first-of-type{font-size:var(--wp--preset--font-size--lead);max-width:41ch}
.hrc-hero-copy .wp-block-buttons{margin-block:2rem 1rem}
.hrc-hero-copy>p:last-child{font-size:1rem}
.hrc-hero-service{background:var(--wp--preset--color--teal-dark);color:white;padding:clamp(1.75rem,4vw,3rem);border-radius:5rem 5rem .4rem .4rem;border-bottom:6px solid var(--wp--preset--color--amber)}
.hrc-hero-service h2{font-size:clamp(2.25rem,3.5vw,3.75rem);margin-block:1.25rem}
.hrc-hero-service a{color:white;text-underline-offset:.2em}
.hrc-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin-top:2rem}
.hrc-path{padding-top:1.25rem;border-top:1px solid var(--wp--preset--color--teal);margin:0}
.hrc-path h3{margin-top:0}.hrc-path p{font-size:1rem}
.hrc-work-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(2rem,6vw,5rem)}
.hrc-work-intro h2{margin-top:0}.hrc-service-list{margin-top:0}
.hrc-service-row{padding-block:1.5rem;margin:0;border-top:1px solid var(--wp--preset--color--line)}
.hrc-service-row:first-child{border-top:3px solid var(--wp--preset--color--teal)}
.hrc-service-row h3{margin-block:0 .75rem}.hrc-service-row p{margin:0}
/* The services archive builds the same rows from a query loop, one list item per service. */
.hrc-service-query{list-style:none;margin:0;padding:0}
.hrc-service-query>li:not(:first-child)>.hrc-service-row{border-top:1px solid var(--wp--preset--color--line)}
.hrc-service-row .wp-block-post-excerpt{margin:0}
.hrc-service-row .wp-block-post-title a{text-decoration:underline}
.hrc-trust h2{max-width:22ch}.hrc-trust-links{display:flex;flex-wrap:wrap;gap:1rem 2rem}.hrc-trust-links p{margin:0}

/* Story cards: image when one exists, a quiet typographic panel when it does not */
.hrc-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;align-items:start}
.hrc-story-grid>li{min-width:0;margin:0;max-width:none;display:flex;flex-direction:column;gap:1rem;border-top:4px solid var(--wp--preset--color--teal);padding-top:1rem}
.hrc-story-grid .wp-block-post-featured-image{margin:0}
.hrc-story-grid .wp-block-post-featured-image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 25%;border-radius:.25rem}
.hrc-story-grid>li:not(:has(.wp-block-post-featured-image))::before{content:"\201C";display:grid;place-items:center;aspect-ratio:4/3;border-radius:.25rem;background:var(--wp--preset--color--teal-pale);color:var(--wp--preset--color--teal);font:500 7rem/1 var(--wp--preset--font-family--display)}
.hrc-story-grid .wp-block-post-title{font-size:1.625rem;margin:0}
.hrc-story-grid .wp-block-post-title a{text-decoration:none}.hrc-story-grid .wp-block-post-title a:hover{text-decoration:underline}
.hrc-story-grid .wp-block-post-excerpt{margin:0;font-size:1rem}.hrc-story-grid .wp-block-post-excerpt__more-text{display:none}
/* Homepage featured stories: a portrait, the person's own words, then their name. */
.hrc-story-grid--featured .wp-block-post-featured-image img{aspect-ratio:4/5;object-position:50% 20%}
.hrc-story-quote .wp-block-post-excerpt__excerpt{margin:0;font:400 1.375rem/1.35 var(--wp--preset--font-family--display);color:var(--wp--preset--color--ink)}
.hrc-story-quote .wp-block-post-excerpt__excerpt::before{content:"\201C"}.hrc-story-quote .wp-block-post-excerpt__excerpt::after{content:"\201D"}
.hrc-story-grid--featured .wp-block-post-title{font:600 1rem/1.4 var(--wp--preset--font-family--body)}
.hrc-story-grid--featured .wp-block-post-title a::before{content:"\2014\00a0"}

/* Client story — editorial reading layout, no giving prompts inside the narrative */
.hrc-story-hero{background:var(--wp--preset--color--sand);padding-block:clamp(2.5rem,6vw,5rem) clamp(1rem,3vw,2rem);border-top:.5rem solid var(--wp--preset--color--teal)}
.hrc-story-hero h1{margin:0 0 1rem;max-width:20ch}
.hrc-story-hero .wp-block-post-featured-image{margin:2rem 0 0;transform:translateY(2rem)}
.hrc-story-hero .wp-block-post-featured-image img{border-radius:4px;width:auto;max-width:100%;max-height:36rem;height:auto}
.hrc-story-body{padding-block:clamp(4rem,8vw,6rem) clamp(2rem,6vw,4rem)}
.hrc-story-body .wp-block-post-content{font-size:clamp(1.125rem,1.05rem + .3vw,1.25rem);line-height:1.75}
.hrc-story-body .wp-block-post-content>p:first-child::first-line{font-weight:600}
.hrc-story-body .wp-block-post-content blockquote{border-left:6px solid var(--wp--preset--color--amber);margin-inline:0;padding-left:1.5rem;font-family:var(--wp--preset--font-family--display);font-size:1.5rem;line-height:1.35}
.hrc-story-body .wp-block-post-content img{height:auto;border-radius:4px}
.hrc-story-note{font-size:.9375rem;color:var(--wp--preset--color--muted);border-top:1px solid var(--wp--preset--color--line);padding-top:1rem}
.hrc-story-index>li{padding-block:clamp(1.5rem,3vw,2.25rem);border-top:1px solid var(--wp--preset--color--line);margin:0;max-width:none}
.hrc-story-index .wp-block-post-title{font-size:clamp(1.5rem,1.25rem + .8vw,2rem);margin:0 0 .5rem}
.hrc-story-index .wp-block-post-excerpt{margin:0}
.hrc-story-index .wp-block-post-excerpt__more-text{display:none}

.hrc-story-body .wp-block-post-content .alignleft{float:left;margin:.35rem 1.5rem 1rem 0;max-width:45%}
.hrc-story-body .wp-block-post-content .alignright{float:right;margin:.35rem 0 1rem 1.5rem;max-width:45%}
.hrc-story-body .wp-block-post-content::after{content:"";display:table;clear:both}
.hrc-pagination{margin-top:clamp(2rem,5vw,3rem);gap:.5rem 1rem;font-size:1rem}
.hrc-pagination a,.hrc-pagination .current{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
.hrc-pagination .current{font-weight:800;border-bottom:3px solid var(--wp--preset--color--teal)}

/* Structured-content blocks rendered by the hrc-site plugin */
.hrc-service-details{background:var(--wp--preset--color--teal-dark);color:var(--wp--preset--color--white);padding:clamp(2.5rem,7vw,5rem) 0}
.hrc-service-details__inner{width:min(100% - 3rem,75rem);margin-inline:auto}
.hrc-service-details h2{color:inherit;margin-top:0;max-width:20ch}
.hrc-service-details a{color:var(--wp--preset--color--white)}
.hrc-service-details__arrival{font-size:var(--wp--preset--font-size--lead)}
.hrc-service-details__notice{border:2px solid var(--wp--preset--color--white);border-radius:6px;padding:1rem 1.25rem;font-weight:700;max-width:44rem}
.hrc-service-details dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1px;background:rgb(255 255 255 / .3);border:1px solid rgb(255 255 255 / .3);margin:2rem 0}
.hrc-service-details dl>div{background:var(--wp--preset--color--teal-dark);padding:1.25rem}
.hrc-service-details dt{font-size:.875rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:var(--wp--preset--color--teal-pale)}
.hrc-service-details dd{margin:.35rem 0 0}
.hrc-service-details .hrc-call-number{margin-bottom:0}
.hrc-resource-directory ul{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem}
.hrc-resource-directory li{background:var(--wp--preset--color--white);border:1px solid var(--wp--preset--color--line);border-radius:4px;padding:1.25rem;margin:0}
.hrc-resource-directory h3{margin-top:0;font-size:1.375rem}
.hrc-impact-report-index{display:grid;gap:0;border-top:1px solid var(--wp--preset--color--line)}
.hrc-impact-report-index__report{display:grid;grid-template-columns:8rem minmax(0,1fr);column-gap:2rem;padding-block:clamp(1.5rem,3vw,2.5rem);border-bottom:1px solid var(--wp--preset--color--line)}
.hrc-impact-report-index__report>*{grid-column:2;margin-block:0 .75rem}
.hrc-impact-report-index__year{grid-column:1!important;grid-row:1/span 4;font-family:var(--wp--preset--font-family--display);font-size:2.5rem;line-height:1;color:var(--wp--preset--color--teal)}
.hrc-impact-report-index__current{display:block;margin-top:.5rem;font:700 .8125rem/1.2 var(--wp--preset--font-family--body);letter-spacing:.06em;text-transform:uppercase;color:var(--wp--preset--color--muted)}
.hrc-impact-report-index h2{margin-top:0;font-size:var(--wp--preset--font-size--heading-3)}
.hrc-impact-report-index small,.hrc-impact-report-details small{color:var(--wp--preset--color--muted)}
.hrc-impact-report-details__summary{font-size:var(--wp--preset--font-size--lead)}
.hrc-leadership-directory__group+.hrc-leadership-directory__group{margin-top:clamp(2.5rem,6vw,4rem)}
.hrc-leadership-directory__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,14rem),1fr));gap:2rem 1.5rem;margin-top:1.5rem}
.hrc-leadership-directory__person{border-top:3px solid var(--wp--preset--color--teal);padding-top:1rem}
.hrc-leadership-directory__person img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:4px;margin-bottom:.75rem}
.hrc-leadership-directory__person h3{font-size:1.375rem;margin:0 0 .35rem}
.hrc-leadership-directory__person h3 a{text-decoration:none}.hrc-leadership-directory__person h3 a:hover{text-decoration:underline}
.hrc-leadership-directory__person p{margin:0;color:var(--wp--preset--color--muted);font-size:1rem}

.hrc-person-details img{width:min(100%,20rem);aspect-ratio:4/5;object-fit:cover;border-radius:4px}
.hrc-board-document-library__year+.hrc-board-document-library__year{margin-top:clamp(2.5rem,6vw,4rem)}
.hrc-board-document-library__list{list-style:none;padding:0;margin:0 0 2rem;border-top:1px solid var(--wp--preset--color--line)}
.hrc-board-document-library__list>li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1.5rem;padding:.85rem 0;border-bottom:1px solid var(--wp--preset--color--line);max-width:none}
.hrc-board-document-library__meta{color:var(--wp--preset--color--muted);font-size:.9375rem}
.hrc-funder-directory ul{columns:3 14rem;column-gap:2rem;padding-left:1.25rem}
.hrc-funder-directory li{break-inside:avoid;margin-bottom:.5rem}

/* Legacy page shells kept for templates not yet recomposed */
.hrc-page-shell{padding:clamp(2.5rem,6vw,5rem) 1.5rem}
.hrc-page-shell .wp-block-post-content>h2{margin-top:2.5rem}

/* Narrow screens */
@media(max-width:781px){
	.hrc-shell,.hrc-shell--narrow,.hrc-service-details__inner{width:calc(100% - 2rem)}
	.hrc-hero-grid,.hrc-work-grid,.hrc-path-grid,.hrc-story-grid,.hrc-hero-split,.hrc-urgent,.hrc-routes{grid-template-columns:1fr;gap:1.5rem}
	.hrc-urgent{gap:1rem;margin-top:1rem}
	.hrc-hero-service{border-radius:2.5rem 2.5rem .25rem .25rem}
	.hrc-utility{gap:.5rem;align-items:center;flex-wrap:nowrap!important;padding-block:0!important}.hrc-utility p{margin:0}.hrc-utility p span,.hrc-utility p a[href$="7830"]{display:none}.hrc-utility p a{display:flex;min-height:44px}
	.wp-block-site-logo img{width:170px}
	.hrc-page-shell{padding-inline:1rem}
	.hrc-page-hero{padding-block:1.5rem 2.5rem}
	header>.wp-block-group> .wp-block-group:not(.hrc-utility){padding-block:.75rem!important}
	.hrc-emergency,.hrc-call-card{font-size:1rem;line-height:1.5}
	.hrc-emergency h2,.hrc-call-card h2{font-size:1.125rem}
	.hrc-page-hero h1{margin-bottom:1rem}
	.hrc-page-hero--help:has(.hrc-urgent){padding-top:1rem}.hrc-emergency li+li{margin-top:.375rem}.hrc-page-hero h1:has(+.hrc-urgent){margin-bottom:0}
	.wp-block-buttons.hrc-call-bar{margin-block-start:0;gap:0;flex-wrap:nowrap!important}
	.hrc-call-bar .wp-block-button{flex:1 1 0;min-width:0;width:auto}
	.hrc-call-bar .wp-block-button__link{justify-content:center;width:100%;min-height:58px;padding-inline:.5rem;border-radius:0}
	.wp-block-buttons:not(.hrc-call-bar){flex-wrap:wrap!important}
	.hrc-nav-help,.hrc-nav-donate{width:100%}
	.hrc-impact-report-index__report{grid-template-columns:1fr}
	.hrc-impact-report-index__report>*,.hrc-impact-report-index__year{grid-column:1!important;grid-row:auto}
	.hrc-impact-report-index__year{font-size:1.75rem;margin-bottom:.5rem}
	.hrc-evidence>*{padding-right:0}
	.hrc-story-hero .wp-block-post-featured-image{transform:none;margin-bottom:0}
	.hrc-story-body{padding-top:2.5rem}
}
@media(max-width:400px){.hrc-call-card,.hrc-emergency{padding:1rem}}
@media print{.hrc-utility,.hrc-call-bar,.wp-block-navigation,.hrc-pending{display:none!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
