/* Fit first-screen heroes inside the viewport on short desktop/laptop screens (Blue Vineyard, 2026-11-17).
   Type and spacing shrink with screen height only when the screen is too short; tall screens are unchanged.
   Loaded by wp-content/mu-plugins/pb-hero-fit.php. */
@media (min-width:1120px){
:root{--pb-fit:calc(100svh - var(--header-h,80px))}
.pb-f-hero{min-height:var(--pb-fit)!important}
.pb-f-hero-copy{padding-top:min(var(--space-lg),5svh)!important;padding-bottom:min(var(--space-lg),5svh)!important;row-gap:min(var(--space-lg),5svh)!important}
.pb-f-hero-text{row-gap:min(1.95rem,3svh)!important}
.pb-f-hero-title,.pb-hero h1,.pb-book-hero-title{font-size:min(clamp(2.375rem,1.6rem + 2.9vw,3.875rem),7.2svh)!important}
.pb-f-hero-lead,.pb-hero .pb-lead{font-size:min(clamp(1.0625rem,.98rem + .35vw,1.25rem),2.75svh)!important}
.pb-hero:not(.pb-about-hero){min-height:var(--pb-fit)!important}
.pb-hero:not(.pb-about-hero)>.pb-hero-media{min-height:min(clamp(20rem,13rem + 30vw,50rem),var(--pb-fit))!important}
.pb-hero>.pb-hero-content{padding-top:min(4.854rem,6svh)!important;padding-bottom:min(4.854rem,6svh)!important;row-gap:min(var(--space-lg),5svh)!important}
.pb-hero .pb-hero-copy{row-gap:min(1.463rem,2.5svh)!important}
.pb-course-hero-sub{font-size:min(clamp(1.375rem,1.1rem + 1vw,1.875rem),3.6svh)!important}
.pb-course-hero-foot{row-gap:min(var(--space-lg),4svh)!important}
.pb-about-hero>.pb-hero-content,.pb-about-hero>.pb-hero-media{min-height:max(20rem,min(clamp(20rem,13rem + 30vw,50rem),calc(var(--pb-fit) - 4.25rem - 2*min(3.5rem,3.5svh) - 12px)))!important}
.pb-about-badges{padding-top:min(3.5rem,3.5svh)!important;padding-bottom:min(3.5rem,3.5svh)!important}
.pb-book-hero{min-height:min(50.625rem,var(--pb-fit))!important;padding-top:min(5rem,6svh)!important;padding-bottom:min(5rem,6svh)!important}
.pb-book-hero-art{padding-top:min(4.75rem,5svh)!important}
.pb-book-hero-cover{max-height:calc(var(--pb-fit) - 2*min(5rem,6svh) - min(4.75rem,5svh));width:auto!important;object-fit:contain}
.pb-book-hero-gift,.pb-book-hero-price,.pb-book-hero-lead{font-size:min(1.25rem,2.6svh)!important}
.pb-book-hero-col{row-gap:min(2rem,3svh)!important}
}
