/* P4 visual evolution: scoped home theme Hero and Article 17 visual heritage. */
.fac-showroom .fac-theme-hero{--fac-visual-pine:#104c48;--fac-visual-ink:#173b37;--fac-visual-paper:#f8f7f1;--fac-visual-line:#ceddd4;background:var(--fac-visual-paper);color:var(--fac-visual-ink)}
.fac-showroom .fac-theme-hero__panel[hidden]{display:none!important}
.fac-showroom .fac-theme-hero__panel{display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);min-height:var(--fac-hero-panel-height,clamp(510px,41vw,610px));max-width:1920px;margin-inline:auto}
.fac-showroom .fac-theme-hero__copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(42px,5.5vw,82px) clamp(24px,5.2vw,78px) clamp(40px,5vw,70px) clamp(32px,calc((100vw - 1320px)/2),100px);min-width:0}
.fac-showroom .fac-theme-hero__eyebrow{margin:0 0 22px;color:#a5483f;font:700 12px/1.4 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.fac-showroom .fac-theme-hero h1,.fac-showroom .fac-theme-hero h2{margin:0 0 24px;max-width:660px;color:var(--fac-visual-ink);font:400 clamp(46px,4.8vw,76px)/1.06 Georgia,'Times New Roman',serif;letter-spacing:-.045em;text-wrap:balance}
.fac-showroom .fac-theme-hero__copy>p:not(.fac-theme-hero__eyebrow){margin:0;max-width:590px;color:#45645b;font:400 clamp(16px,1.35vw,19px)/1.65 Arial,sans-serif}
.fac-showroom .fac-theme-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:31px}
.fac-showroom .fac-theme-hero__actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 17px;font-size:14px;text-align:center}
.fac-showroom .fac-theme-hero__media{position:relative;margin:0;min-width:0;overflow:hidden;background:#dce8e1}
.fac-showroom .fac-theme-hero__media img{display:block;width:100%;height:100%;min-height:510px;object-fit:cover;object-position:57% center}
.fac-showroom #fac-theme-workplace .fac-theme-hero__media img{object-position:54% center}
.fac-showroom #fac-theme-health .fac-theme-hero__media img{object-position:51% center}
.fac-showroom .fac-theme-hero__nav{display:flex;align-items:stretch;gap:16px;padding:0 max(32px,calc((100vw - 1320px)/2));background:#fff;border-bottom:1px solid var(--fac-visual-line)}
.fac-showroom .fac-theme-hero__nav nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;min-width:0}
.fac-showroom .fac-theme-hero__nav a{display:flex;align-items:center;gap:16px;min-width:0;min-height:94px;padding:18px 20px 18px 4px;border-top:3px solid transparent;border-right:1px solid var(--fac-visual-line);color:#355951;text-decoration:none;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.fac-showroom .fac-theme-hero__nav a:last-child{border-right:0}
.fac-showroom .fac-theme-hero__nav a[aria-selected="true"],.fac-showroom .fac-theme-hero__nav a[aria-current="true"]{border-top-color:#a5483f;color:#123f3b;background:#f2f6f0}
.fac-showroom .fac-theme-hero__nav a:hover{background:#f1f5f1}
.fac-showroom .fac-theme-hero__nav a:focus-visible,.fac-showroom .fac-theme-hero__play:focus-visible{outline:3px solid #a5483f;outline-offset:-4px}
.fac-showroom .fac-theme-hero__nav a span{align-self:flex-start;color:#a5483f;font:700 12px/1.4 Arial,sans-serif;letter-spacing:.08em}
.fac-showroom .fac-theme-hero__nav a strong{font:400 clamp(18px,1.55vw,23px)/1.2 Georgia,serif;letter-spacing:-.02em;text-wrap:balance}
.fac-showroom .fac-theme-hero__play{align-self:center;flex:none;padding:9px 13px;border:1px solid #8aa79c;border-radius:2px;color:#214e47;background:transparent;font:700 12px Arial,sans-serif;cursor:pointer}
.fac-showroom .fac-theme-hero__play:hover{background:#e9f0e9}
@media(max-width:1050px){.fac-showroom .fac-theme-hero__panel{min-height:var(--fac-hero-panel-height,520px)}.fac-showroom .fac-theme-hero__copy{padding-left:35px}.fac-showroom .fac-theme-hero h1,.fac-showroom .fac-theme-hero h2{font-size:clamp(42px,5.5vw,61px)}.fac-showroom .fac-theme-hero__nav{padding:0 32px}.fac-showroom .fac-theme-hero__nav a{gap:10px;padding-right:12px}.fac-showroom .fac-theme-hero__nav a strong{font-size:18px}}
@media(max-width:760px){.fac-showroom .fac-theme-hero__panel{grid-template-columns:1fr;min-height:var(--fac-hero-panel-height,0px)}.fac-showroom .fac-theme-hero__media{grid-row:1;height:clamp(250px,48vw,360px)}.fac-showroom .fac-theme-hero__media img{min-height:0;height:100%;object-position:58% center}.fac-showroom .fac-theme-hero__copy{grid-row:2;padding:40px 30px 44px;max-width:none}.fac-showroom .fac-theme-hero h1,.fac-showroom .fac-theme-hero h2{font-size:clamp(42px,7vw,59px)}.fac-showroom .fac-theme-hero__nav{padding:0 25px}.fac-showroom .fac-theme-hero__nav a{min-height:84px}.fac-showroom .fac-theme-hero__nav a strong{font-size:16px}}
@media(max-width:560px){.fac-showroom .fac-theme-hero__media{height:245px}.fac-showroom .fac-theme-hero__copy{padding:33px 24px 36px}.fac-showroom .fac-theme-hero__eyebrow{font-size:10px;margin-bottom:15px}.fac-showroom .fac-theme-hero h1,.fac-showroom .fac-theme-hero h2{font-size:clamp(37px,10vw,47px);line-height:1.08;margin-bottom:18px}.fac-showroom .fac-theme-hero__copy>p:not(.fac-theme-hero__eyebrow){font-size:15px}.fac-showroom .fac-theme-hero__actions{margin-top:22px}.fac-showroom .fac-theme-hero__actions .button{font-size:13px}.fac-showroom .fac-theme-hero__nav{display:block;position:relative;padding:0 20px 18px}.fac-showroom .fac-theme-hero__nav nav{display:grid;grid-template-columns:1fr}.fac-showroom .fac-theme-hero__nav a{min-height:52px;border-top:0;border-bottom:1px solid var(--fac-visual-line);border-right:0;padding:8px 48px 8px 6px}.fac-showroom .fac-theme-hero__nav a[aria-selected="true"],.fac-showroom .fac-theme-hero__nav a[aria-current="true"]{border-left:3px solid #a5483f;border-top:0;padding-left:12px}.fac-showroom .fac-theme-hero__nav a strong{font-size:18px}.fac-showroom .fac-theme-hero__nav a span{align-self:center}.fac-showroom .fac-theme-hero__play{position:absolute;right:20px;top:8px;padding:7px 8px;font-size:11px}}

body.fac-firstaid-hub{--fac-firstaid-pine:#104c48;--fac-firstaid-paper:#f8f7f1}
body.fac-firstaid-hub .fac-main{background:var(--fac-firstaid-paper)}
body.fac-firstaid-hub .fac-content{width:100%;max-width:none}
body.fac-firstaid-hub .fac-content>.com-content-article{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
body.fac-firstaid-hub .fac-default-article>.fac-editorial-prose{width:100%;max-width:none;padding-bottom:65px}
body.fac-firstaid-hub .fac-editorial-prose .sa-page{max-width:none}
body.fac-firstaid-hub .fac-content .sa-hero{position:relative;display:flex;align-items:center;min-height:clamp(480px,42vw,610px);margin:0!important;padding:clamp(40px,6vw,80px)!important;border:0!important;border-radius:0!important;background:linear-gradient(90deg,rgba(7,42,40,.92) 0%,rgba(7,42,40,.82) 37%,rgba(7,42,40,.08) 73%),url('/media/templates/site/fac_modern/images/v12/H01-hero-original.webp') center 48%/cover no-repeat!important;color:#fff}
body.fac-firstaid-hub .fac-content .sa-hero-inner{max-width:640px;margin:0}
body.fac-firstaid-hub .fac-content .sa-hero-title{color:#fff!important;font-size:clamp(47px,5vw,68px)!important;line-height:1.07!important;letter-spacing:-.04em;margin:0 0 22px!important}
body.fac-firstaid-hub .fac-content .sa-hero-lead,body.fac-firstaid-hub .fac-content .sa-hero-text{color:#e8f1ed!important;max-width:59ch}
body.fac-firstaid-hub .fac-content .sa-hero .sa-trust{color:#f7f8f4}
body.fac-firstaid-hub .fac-content .sa-hero .sa-button-secondary{color:#fff!important;border-color:#c5ddd4!important;background:rgba(7,42,40,.42)!important}
body.fac-firstaid-hub .fac-firstaid-trail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:1200px;margin:0 auto 55px;padding:28px 0 34px;border-bottom:1px solid #d1ded7}
body.fac-firstaid-hub .fac-firstaid-trail a{display:block;min-width:0;background:#eef4ef;color:#1f514a;text-decoration:none;font:400 23px/1.2 Georgia,serif}
body.fac-firstaid-hub .fac-firstaid-trail a span{display:block;padding:15px 19px 18px}
body.fac-firstaid-hub .fac-firstaid-trail a:hover,body.fac-firstaid-hub .fac-firstaid-trail a:focus-visible{background:#ecf3ee;color:#9d463f}
body.fac-firstaid-hub .fac-firstaid-trail img{display:block;width:100%;height:170px;object-fit:contain;background:#dceae2}
body.fac-firstaid-hub .sa-page>.sa-section,body.fac-firstaid-hub .sa-page>.sa-cta,body.fac-firstaid-hub .sa-page>.fac-firstaid-proof{max-width:1000px;margin-left:auto;margin-right:auto}
body.fac-firstaid-hub .fac-firstaid-proof{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:35px;padding:42px 38px;margin-top:55px;margin-bottom:55px;background:#e9f1e9;color:#244d46}
body.fac-firstaid-hub .fac-firstaid-proof__eyebrow{color:#a5483f;font:700 11px/1.4 Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase}
body.fac-firstaid-hub .fac-firstaid-proof h2{font:400 36px/1.15 Georgia,serif;letter-spacing:-.03em;margin:10px 0 20px}
body.fac-firstaid-hub .fac-firstaid-proof p{line-height:1.7}
body.fac-firstaid-hub .fac-firstaid-proof a{display:block;padding:12px 0;border-bottom:1px solid #c4d6cb;color:#175851;text-decoration:none;font-weight:700;line-height:1.45}
body.fac-firstaid-hub .fac-firstaid-proof a:hover{text-decoration:underline}
@media(max-width:850px){body.fac-firstaid-hub .fac-firstaid-trail{gap:10px}body.fac-firstaid-hub .fac-firstaid-trail a{font-size:19px}body.fac-firstaid-hub .fac-firstaid-trail img{height:130px}}
@media(max-width:650px){body.fac-firstaid-hub .fac-content .sa-hero{min-height:610px;align-items:flex-end;padding:32px 24px!important;background:linear-gradient(0deg,rgba(7,42,40,.96) 0%,rgba(7,42,40,.78) 52%,rgba(7,42,40,.05) 95%),url('/media/templates/site/fac_modern/images/v12/H01-hero-original.webp') 62% top/auto 100% no-repeat!important}body.fac-firstaid-hub .fac-content .sa-hero-title{font-size:43px!important}body.fac-firstaid-hub .fac-firstaid-trail{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px 0 30px;margin-bottom:35px}body.fac-firstaid-hub .fac-firstaid-trail img{height:120px}body.fac-firstaid-hub .fac-firstaid-trail a span{padding:11px 12px 14px}body.fac-firstaid-hub .sa-page>.sa-section,body.fac-firstaid-hub .sa-page>.sa-cta,body.fac-firstaid-hub .sa-page>.fac-firstaid-proof{width:calc(100% - 36px)}body.fac-firstaid-hub .fac-firstaid-proof{display:block;padding:28px 22px}}
@media(max-width:390px){body.fac-firstaid-hub .fac-content .sa-hero{min-height:650px}body.fac-firstaid-hub .fac-firstaid-trail a{font-size:17px}body.fac-firstaid-hub .fac-firstaid-trail img{height:100px}}
@media(prefers-reduced-motion:reduce){.fac-showroom .fac-theme-hero__nav a{transition:none}}

/* Homepage course illustrations: the link owns the complete cell at mobile widths. */
@media(max-width:650px){
 .fac-showroom .program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 .fac-showroom .program-grid>.mod-custom{min-width:0}
 .fac-showroom .program-grid .tile{display:block;border:0;padding:0;min-width:0}
 .fac-showroom .program-grid .tile-link{display:block;height:100%;min-width:0;border-top:1px solid #dce0d9;padding:10px 0 6px}
 .fac-showroom .program-grid .tile-media{width:100%;aspect-ratio:1.35}
 .fac-showroom .program-grid .tile-copy{padding:0 2px}
 .fac-showroom .program-grid .tile h3{margin:11px 0 6px;font-size:17px;line-height:1.25}
 .fac-showroom .program-grid .tile p{margin:0;min-height:0;font-size:13px;line-height:1.5}
}
@media(max-width:350px){
 .fac-showroom .program-grid{grid-template-columns:1fr;gap:14px}
 .fac-showroom .program-grid .tile-link{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;padding:12px 0}
 .fac-showroom .program-grid .tile h3{margin-top:0}
}
.fac-showroom .hub-audiences__links a{display:block;min-height:72px;text-wrap:balance}
.fac-showroom .hub-audiences__links a:focus-visible{outline:3px solid #a5483f;outline-offset:3px}
@media(max-width:650px){.fac-showroom .hub-audiences__links a{min-height:60px}}

/* First Aid Hub: preserve the whole H01 scene on phones and give text its own surface. */
@media(max-width:650px){body.fac-firstaid-hub .fac-content .sa-hero{display:block;min-height:0!important;padding:0!important;background:#f8f7f1!important;color:#193b38!important}body.fac-firstaid-hub .fac-content .sa-hero::before{content:"";display:block;width:100%;aspect-ratio:2;background:#dce8e1 url('/media/templates/site/fac_modern/images/v12/H01-hero-original.webp') center/contain no-repeat}body.fac-firstaid-hub .fac-content .sa-hero-inner{max-width:none;padding:30px 24px 36px}body.fac-firstaid-hub .fac-content .sa-hero-title{color:#193b38!important;font-size:clamp(39px,10vw,48px)!important}body.fac-firstaid-hub .fac-content .sa-hero-lead,body.fac-firstaid-hub .fac-content .sa-hero-text,body.fac-firstaid-hub .fac-content .sa-hero .sa-trust{color:#42665d!important}body.fac-firstaid-hub .fac-content .sa-hero .sa-button-secondary{color:#104c48!important;border-color:#8aa79c!important;background:transparent!important}}
body.fac-firstaid-hub .fac-hub-breadcrumbs,body.fac-hub-workplace-page .fac-hub-breadcrumbs,body.fac-hub-health-page .fac-hub-breadcrumbs{display:flex;align-items:center;gap:10px;max-width:1280px;margin-inline:auto;padding:12px 24px;font-size:13px;line-height:1.4}

/* P4 restrained Hero crossfade: all enhanced panels share one stable grid cell. */
.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__panels{display:grid;isolation:isolate;overflow:hidden}
.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__panel{grid-area:1/1;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .72s ease,visibility 0s linear .72s}
.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__panel.is-active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .72s ease,visibility 0s}
.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__copy{opacity:0;transition:opacity .36s ease}
.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__panel.is-active .fac-theme-hero__copy{opacity:1;transition:opacity .36s ease .16s}
@media(prefers-reduced-motion:reduce){.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__panel,.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__panel.is-active,.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__copy,.fac-showroom .fac-theme-hero.is-enhanced .fac-theme-hero__panel.is-active .fac-theme-hero__copy{transition:none!important}}

/* P7 Phase 2: reuse homepage photographic course assets in First Aid trail. */
body.fac-firstaid-hub .fac-firstaid-trail img{object-fit:cover;background:#dceae2}
