/* Full-width photographic hero, following the approved bariatric composition. */
.hero.mediq-farmaco-hero{position:relative;min-height:670px;background:#f0f3f1!important;overflow:hidden}
.hero.mediq-farmaco-hero::before{display:none!important}
.mediq-farmaco-hero .hero__portrait{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;border-radius:0;overflow:hidden;background:#d9dedb}
.mediq-farmaco-hero .hero__portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:right top;opacity:1;filter:none}
.mediq-farmaco-hero .hero__fade{display:block!important;position:absolute;inset:0;height:auto;background:linear-gradient(90deg,rgba(240,243,241,.98) 0%,rgba(240,243,241,.94) 32%,rgba(240,243,241,.6) 47%,transparent 65%);pointer-events:none}
.mediq-farmaco-hero .hero__inner{display:flex;align-items:center;min-height:670px;padding:0;position:relative;z-index:2}
.mediq-farmaco-hero .hero__copy{display:block;width:min(620px,50%);padding:54px 0 64px}
.mediq-farmaco-hero .hero__tag{margin:0 0 18px}
.mediq-farmaco-hero h1{font-size:clamp(38px,3.75vw,54px);line-height:1.08;margin:0 0 24px;max-width:none}
.mediq-farmaco-hero .hero__lead{max-width:570px;margin:0 0 24px;font-size:18px;line-height:1.6}
.mediq-farmaco-hero .hero__actions{flex-wrap:wrap;gap:18px}
.mediq-farmaco-hero .hero__price{margin-top:24px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 12px}
.mediq-farmaco-hero .hero-note{max-width:100%;margin:12px 0 0}
@media(max-width:980px){
 .hero.mediq-farmaco-hero,.mediq-farmaco-hero .hero__inner{min-height:0}
 .mediq-farmaco-hero .hero__portrait{position:relative;height:clamp(250px,70vw,340px)}
 .mediq-farmaco-hero .hero__portrait img{object-position:right top;transform:scale(1.5);transform-origin:right top}
 .mediq-farmaco-hero .hero__fade{display:none!important}
 .mediq-farmaco-hero .hero__inner{display:block}
 .mediq-farmaco-hero .hero__copy{width:100%;padding:30px 0 38px}
 .mediq-farmaco-hero .hero__tag{font-size:10px;letter-spacing:.03em;margin-bottom:14px}
 .mediq-farmaco-hero h1{font-size:clamp(34px,9vw,44px);line-height:1.08;margin-bottom:20px}
 .mediq-farmaco-hero .hero__lead{font-size:17px;line-height:1.55;margin-bottom:24px}
}
/* Keep the site's single WhatsApp shortcut clear of the mobile action bar. */
body:has(.mediq-farmaco-hero):has(.mediq-whatsapp-float) .whatsapp-float{display:none}
@media(max-width:800px){body:has(.mediq-farmaco-hero) .mediq-whatsapp-float{bottom:max(var(--mediq-whatsapp-bottom,24px),100px)}}

/* Mobile reading order: title, photograph, programme information. */
@media(max-width:980px){
 .hero.mediq-farmaco-hero{display:flex;flex-direction:column}
 .mediq-farmaco-hero .hero__inner,.mediq-farmaco-hero .hero__copy{display:contents}
 .mediq-farmaco-hero .hero__tag{order:1;align-self:flex-start;margin:30px 16px 14px;max-width:calc(100% - 32px)}
 .mediq-farmaco-hero h1{order:2;margin:0 16px 24px;max-width:calc(100% - 32px)}
 .mediq-farmaco-hero .hero__portrait{order:3;flex-shrink:0;margin-bottom:24px}
 .mediq-farmaco-hero .hero__lead{order:4;margin:0 16px 24px;max-width:calc(100% - 32px)}
 .mediq-farmaco-hero .hero__actions{order:5;margin:0 16px;max-width:calc(100% - 32px)}
 .mediq-farmaco-hero .hero__price{order:6;align-self:flex-start;margin:24px 16px 0;max-width:calc(100% - 32px)}
 .mediq-farmaco-hero .hero-note{order:7;margin:12px 16px 38px;max-width:calc(100% - 32px)}
}
