/* Finding HomeCare — Hero slideshow support styles.
   Fonts: Gilda Display, Poppins 400/500/600, Sacramento, Mrs Saint Delafield (Google Fonts) — already enqueued sitewide.
   These are the sitewide CTA hover rules used by the hero buttons. If the theme already ships them (it should, from the 13-page build), do not duplicate. */
[data-fhc-hero] *{box-sizing:border-box;}
[data-fhc-hero] img{display:block;}
/* Pause/play icons are toggled with the hidden attribute; SVG elements ignore the UA [hidden] rule, so enforce it. */
[data-fhc-hero] svg[hidden]{display:none !important;}
[data-fhc-hero] a{text-decoration:none;}
[data-cta]{transition:background-color .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease;}
[data-cta] [data-cta-icon],[data-cta] [data-cta-badge],[data-cta] svg{transition:transform .22s ease,color .22s ease,background-color .22s ease,fill .22s ease;}
[data-cta] [data-cta-icon]{display:inline-block;}
@media (hover:hover) and (pointer:fine){
[data-cta]:hover{background:#0C7C96 !important;color:#FFFFFF !important;border-color:#0C7C96 !important;box-shadow:0 10px 24px rgba(12,124,150,.32) !important;}
[data-cta-onblue]:hover{background:#075F74 !important;box-shadow:0 0 0 1.5px rgba(255,255,255,.7),0 10px 24px rgba(0,30,40,.35) !important;}
[data-cta]:hover [data-cta-icon]{transform:translateX(4px);color:#FFFFFF !important;}
[data-cta]:hover svg{fill:#FFFFFF;}
[data-cta="secondary"]:hover [data-cta-badge]{background:#FFFFFF !important;transform:translateX(3px);}
[data-cta="secondary"]:hover [data-cta-badge] svg{fill:#0C7C96;}
}
[data-cta]:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px;box-shadow:0 0 0 7px #0C7C96 !important;}
[data-fhc-hero] button:focus-visible{outline:2px solid #D2457F;outline-offset:2px;}
@media (prefers-reduced-motion:reduce){[data-cta],[data-cta] *{transition:none !important;}[data-slide]{transition:none !important;}}

/* ---------- Responsive layout (tablet + mobile). Desktop (>=1280px) uses the inline approved styles unchanged. ---------- */
[data-fhc-hero]{--ph:min(100vw,440px);}
@media (min-width:768px) and (max-width:1279px){
  [data-fhc-hero]{height:600px !important;}
  [data-fhc-hero] [data-hero-photo]{width:62% !important;}
  [data-fhc-hero] [data-hero-veil]{background:linear-gradient(90deg,#0A6A80 0,#0A6A80 42%,rgba(10,106,128,.9) 50%,rgba(10,106,128,.45) 62%,rgba(10,106,128,0) 78%) !important;}
  [data-fhc-hero] [data-hero-inner]{padding:0 40px !important;}
  [data-fhc-hero] [data-hero-copy]{max-width:400px !important;}
  [data-fhc-hero] [data-hero-h]{font-size:44px !important;}
  [data-fhc-hero] [data-hero-p]{font-size:15px !important;max-width:380px !important;}
}
@media (max-width:767px){
  [data-fhc-hero]{height:calc(var(--ph) + 480px) !important;}
  [data-fhc-hero] [data-hero-photo]{top:0 !important;left:0 !important;right:0 !important;bottom:auto !important;width:100% !important;height:var(--ph) !important;}
  [data-fhc-hero] [data-hero-photo] img{object-position:50% 30% !important;}
  [data-fhc-hero] [data-hero-veil]{background:linear-gradient(180deg,rgba(10,106,128,0) 0,rgba(10,106,128,0) calc(var(--ph) - 150px),#0A6A80 calc(var(--ph) - 8px),#0A6A80 100%) !important;}
  [data-fhc-hero] [data-hero-leaf]{display:none !important;}
  [data-fhc-hero] [data-hero-inner]{padding:0 24px !important;}
  [data-fhc-hero] [data-hero-copy]{top:calc(var(--ph) - 28px) !important;transform:none !important;left:24px !important;right:24px !important;max-width:none !important;}
  [data-fhc-hero] [data-hero-h]{font-size:34px !important;line-height:1.1 !important;margin-top:14px !important;}
  [data-fhc-hero] [data-hero-p]{font-size:15px !important;line-height:1.65 !important;margin-top:14px !important;}
  [data-fhc-hero] [data-hero-copy] [data-cta]{margin-top:-6px;}
  [data-fhc-hero] [data-hero-controls]{bottom:18px !important;}
  [data-fhc-hero] [data-hero-controls] > button{width:44px !important;height:44px !important;}
  [data-fhc-hero] [data-hero-dot]{padding:20px 3px !important;}
}

/* Slide 1 — founder portrait. Scoped so the other slides keep their own layout. */
@media (max-width:1279px){
  .fhc-intro-title{white-space:normal !important;font-size:48px !important;}
  .fhc-intro-copy{max-width:48% !important;}
  .fhc-intro-note{font-size:28px !important;width:170px !important;}
  .fhc-intro-card{width:250px !important;}
}
@media (max-width:767px){
  [data-fhc-hero].fhc-hero-intro-active{height:calc(var(--ph) + 700px) !important;}
  .fhc-intro-blur{display:none !important;}
  .fhc-intro-portrait{width:100% !important;height:var(--ph) !important;bottom:auto !important;}
  .fhc-intro-portrait img{object-position:50% 22% !important;-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent) !important;mask-image:linear-gradient(180deg,#000 72%,transparent) !important;}
  .fhc-intro-scrim{background:linear-gradient(180deg,rgba(246,235,230,0) 0,rgba(246,235,230,0) calc(var(--ph) - 110px),#F6EBE6 calc(var(--ph) - 8px),#F6EBE6 100%) !important;}
  .fhc-intro-frame{padding:0 24px !important;}
  .fhc-intro-copy{top:calc(var(--ph) - 28px) !important;transform:none !important;left:24px !important;right:24px !important;max-width:none !important;}
  .fhc-intro-title{font-size:34px !important;line-height:1.08 !important;}
  .fhc-intro-copy p{font-size:15px !important;}
  .fhc-intro-actions{flex-direction:column !important;align-items:stretch !important;white-space:normal !important;}
  .fhc-intro-actions a{justify-content:center;}
  .fhc-intro-sign{margin-top:16px !important;gap:14px !important;}
  .fhc-intro-sign > div:first-child{font-size:48px !important;}
  .fhc-intro-note,.fhc-intro-card{display:none !important;}
}
.fhc-intro-card{cursor:pointer}
.fhc-lightbox{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(10,17,24,.82)}
.fhc-lightbox[hidden]{display:none}
.fhc-lightbox-frame{width:min(420px,calc(100vw - 48px));aspect-ratio:9/16;max-height:calc(100vh - 96px);background:#000;border-radius:16px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.45)}
.fhc-lightbox-frame iframe{width:100%;height:100%;border:0;display:block}
button.fhc-lightbox-close{position:absolute;top:16px;right:16px;width:44px;height:44px;border:0;border-radius:50%;background:#fff !important;color:#20212a !important;font-size:28px;line-height:1;cursor:pointer;box-shadow:none}
