/* AVICENNE PLUS — one desktop hero height across public landing pages.
   Contract: exactly the 536px height approved for the home page.
   This file deliberately does not style the header, menus, home hero slider,
   secondary banners, product cards or private workplace dashboards.
 */
:root{--av-public-hero-height:536px}
@media(min-width:901px){
  /* Landing-page family A: patients, professionals, insurance, emergencies,
     blood donation, lab, supply, accessibility, contact and mobile app. */
  .av-site .av-showcase .av-showcase-hero,
  .av-site .av-showcase .av-showcase-hero-inner{
    box-sizing:border-box!important;
    height:var(--av-public-hero-height)!important;
    min-height:var(--av-public-hero-height)!important;
    max-height:var(--av-public-hero-height)!important;
  }
  .av-site .av-showcase .av-showcase-hero-inner{
    padding-top:0!important;
    padding-bottom:0!important;
  }
  .av-site .av-showcase .av-showcase-hero-copy{
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
    height:100%!important;
    min-height:0!important;
    padding:24px 0 116px!important;
  }
  .av-site .av-showcase .av-showcase-hero .av-showcase-kicker{
    font-size:11px!important;
    padding:7px 12px!important;
  }
  .av-site .av-showcase .av-showcase-hero h1{
    font-size:clamp(34px,3.0vw,51px)!important;
    line-height:1.08!important;
    margin:13px 0 13px!important;
    max-width:690px!important;
  }
  .av-site .av-showcase .av-showcase-hero h1::after{
    margin:10px 0 0!important;
    height:4px!important;
  }
  .av-site .av-showcase .av-showcase-hero .av-showcase-intro{
    font-size:clamp(14px,1.1vw,16px)!important;
    line-height:1.5!important;
    margin:8px 0 0!important;
  }
  .av-site .av-showcase .av-showcase-hero .av-showcase-actions{
    margin-top:16px!important;
    gap:10px!important;
  }
  .av-site .av-showcase .av-showcase-hero .av-showcase-actions .av-showcase-button{
    min-height:44px!important;
    padding:10px 17px!important;
    font-size:13px!important;
  }
  .av-site .av-showcase .av-showcase-hero-features{
    bottom:12px!important;
    padding:8px 10px!important;
  }
  .av-site .av-showcase .av-showcase-hero-features>span{
    min-height:43px!important;
    padding:3px 8px!important;
    font-size:12px!important;
  }
  .av-site .av-showcase .av-showcase-hero-features .av-icon{
    width:22px!important;
    height:22px!important;
  }
  /* Landing-page family B: the same hero split in Famille and Gestion. */
  .av-site .av-showcase > .ec-hero,
  .av-site .av-showcase > .ec-hero .ec-split{
    box-sizing:border-box!important;
    height:var(--av-public-hero-height)!important;
    min-height:var(--av-public-hero-height)!important;
    max-height:var(--av-public-hero-height)!important;
  }
  .av-site .av-showcase > .ec-hero{
    padding:0!important;
  }
  .av-site .av-showcase > .ec-hero .ec-split{
    padding:30px 0 45px!important;
  }
  .av-site .av-showcase > .ec-hero h1{
    font-size:clamp(34px,3.1vw,50px)!important;
    line-height:1.12!important;
  }
  .av-site .av-showcase > .ec-hero .ec-lead{
    font-size:16px!important;
    line-height:1.55!important;
  }
  /* Standalone public insurance-offer detail hero: same introductory height,
     without enlarging compact dashboard .ac-hero cards in private workspaces. */
  .av-site .ec-page > .ec-hero.ec-hero-compact{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    height:var(--av-public-hero-height)!important;
    min-height:var(--av-public-hero-height)!important;
    max-height:var(--av-public-hero-height)!important;
    padding:0!important;
  }
  .av-site .ec-page > .ec-hero.ec-hero-compact > .ap-container{
    width:100%!important;
  }
  /* Marketplace landing banners, not their product/category bars. */
  .av-site .cm-pharmacy .cm-shop-banner,
  .av-site .cm-careers .cm-careers-intro{
    box-sizing:border-box!important;
    height:var(--av-public-hero-height)!important;
    min-height:var(--av-public-hero-height)!important;
    max-height:var(--av-public-hero-height)!important;
  }
  .av-site .cm-pharmacy .cm-shop-banner>div{
    padding:38px 36px!important;
  }
  /* Public information pages and the directory search landing banner. */
  .av-site .av-content-hero{
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    height:var(--av-public-hero-height)!important;
    min-height:var(--av-public-hero-height)!important;
    max-height:var(--av-public-hero-height)!important;
    padding:0!important;
  }
  .av-site .av-content-hero>.container{
    width:100%!important;
  }
  .av-site .av-directory-intro,
  .av-site .av-directory-intro .av-directory-intro-inner{
    box-sizing:border-box!important;
    height:var(--av-public-hero-height)!important;
    min-height:var(--av-public-hero-height)!important;
    max-height:var(--av-public-hero-height)!important;
  }
  /* Consistent applications' introductory hero within its own page. */
  .av-site .av-applications-dashboard .av-applications-hero{
    box-sizing:border-box!important;
    height:var(--av-public-hero-height)!important;
    min-height:var(--av-public-hero-height)!important;
    max-height:var(--av-public-hero-height)!important;
  }
  .av-site .av-applications-dashboard .av-applications-hero>img{
    min-height:0!important;
    max-height:100%!important;
  }
}
@media(min-width:901px) and (max-width:1100px){
  .av-site .av-showcase .av-showcase-hero-copy{
    padding-bottom:107px!important;
  }
  .av-site .av-showcase .av-showcase-hero h1{
    font-size:clamp(32px,3.4vw,42px)!important;
  }
  .av-site .av-showcase .av-showcase-hero .av-showcase-intro{
    font-size:14px!important;
  }
}
/* The approved home hero is fluid on phones. Match that responsive behavior:
   never impose a fixed desktop height where the text and photo must stack. */
@media(max-width:900px){
  .av-site .av-showcase .av-showcase-hero,
  .av-site .av-showcase .av-showcase-hero-inner,
  .av-site .av-showcase > .ec-hero,
  .av-site .av-showcase > .ec-hero .ec-split,
  .av-site .ec-page > .ec-hero.ec-hero-compact,
  .av-site .cm-pharmacy .cm-shop-banner,
  .av-site .cm-careers .cm-careers-intro,
  .av-site .av-content-hero,
  .av-site .av-directory-intro,
  .av-site .av-directory-intro .av-directory-intro-inner,
  .av-site .av-applications-dashboard .av-applications-hero{
    box-sizing:border-box!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }
  .av-site .ec-page > .ec-hero.ec-hero-compact{
    display:block!important;
    padding:36px 0!important;
  }
  .av-site .av-content-hero{
    padding:46px 0!important;
  }
  .av-site .av-showcase .av-showcase-hero-copy{
    height:auto!important;
    padding:40px 0 182px!important;
  }
  .av-site .av-showcase > .ec-hero .ec-split{
    padding:35px 0 160px!important;
  }
  .av-site .av-directory-intro .av-directory-intro-inner{
    padding-block:22px!important;
  }
  .av-site .av-applications-dashboard .av-applications-hero>img{
    min-height:0!important;
  }
}
