/* VF3-P114 — Public-page responsive display typography only.
   Scope: oversized banners/titles; do NOT resize normal copy, navigation, forms or icons.
   Protect the already-compact P75 specialized landing heroes and P77 focused money pages.
   Keep site font selection untouched (Admin CSS owns --site-font-family).
*/

/* Main VF 3 hero: previously forced to 96px on desktop and 70px on mobile.
   Applies to Home, Shop-derived hero and non-focused home clones. */
body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1>b{
    font-size:clamp(43px,4.5vw,64px);
    line-height:1.06;
    letter-spacing:-.045em;
    max-width:100%;
    overflow-wrap:break-word;
}
body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1>small{
    font-size:clamp(17px,1.55vw,21px);
    line-height:1.3;
    letter-spacing:-.008em;
    overflow-wrap:break-word;
}
body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1{
    max-width:100%;
    overflow-wrap:break-word;
}

/* Shop-by-province headline can contain long location names. Override its
   legacy !important 55px rule, but don't modify the province price tables. */
body.auto-master.auto-home-universal.vf3p47-province .auto-u-hero-copy h1>b{
    font-size:clamp(29px,3.0vw,40px)!important;
    line-height:1.15;
    letter-spacing:-.027em;
}

/* Other large public page titles audited in the existing CSS tree. */
body.auto-master .auto-hero h1{font-size:clamp(30px,3.7vw,50px)}
body.auto-master .auto-page-hero h1{font-size:clamp(28px,3vw,42px)}
body.auto-master .vf3-glb-hero h1{font-size:clamp(29px,3vw,42px);line-height:1.22}
body.auto-master .vf3-glb-hero-card>strong{font-size:clamp(29px,2.65vw,38px);letter-spacing:-.035em}
body.auto-master .vf3-p31-specialized .p31-hero h1{font-size:clamp(29px,3vw,41px)}
body.auto-master .vf3-fin35 .p35-hero h1,
body.auto-master .p36-insurance .p36-hero h1,
body.auto-master .vf3-acc34r .acc34r-hero h1,
body.auto-master .vf3-acc34r .acc34r-article-intro h1{font-size:clamp(28px,2.9vw,40px)}
body.w11-pro-site .trn31-header h1{font-size:clamp(29px,3.3vw,42px);line-height:1.2}

/* Legacy VF3 V3 hero template (present in source but not necessarily active) */
body.auto-master .vf3h-hero-copy h1>b{font-size:clamp(43px,4.5vw,64px);line-height:1.06}
body.auto-master .vf3h-hero-copy h1>small{font-size:clamp(17px,1.55vw,21px);line-height:1.3}
/* Dealer/shop cover headlines also use a large independent banner template. */
body.w11-pro-site .vf3-p26-public.vf3hs header.vf3p46-hero .vf3p46-hero-copy h1{
    font-size:clamp(29px,3vw,41px);
    line-height:1.2;
}

/* Keep the already-optimized money-page and landing hero heading sizes.
   The rules here specifically exclude .vf3-p77-focused and .vf3-p75-home-hero. */
@media (max-width:1100px){
    body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1>b{
        font-size:clamp(40px,4.6vw,53px)
    }
}
@media (max-width:767px){
    body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1>b{
        font-size:clamp(35px,7.7vw,42px);
        line-height:1.08;
    }
    body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1>small{
        font-size:clamp(16px,4vw,18px);
        line-height:1.32;
    }
    body.auto-master.auto-home-universal.vf3p47-province .auto-u-hero-copy h1>b{
        font-size:clamp(26px,6.9vw,32px)!important;
    }
    body.auto-master .vf3h-hero-copy h1>b{font-size:clamp(35px,7.7vw,42px)}
    body.auto-master .vf3h-hero-copy h1>small{font-size:clamp(16px,4vw,18px)}
    body.w11-pro-site .vf3-p26-public.vf3hs header.vf3p46-hero .vf3p46-hero-copy h1{font-size:clamp(26px,6.9vw,32px)}
    body.auto-master .auto-hero h1,
    body.auto-master .auto-page-hero h1,
    body.auto-master .vf3-glb-hero h1,
    body.auto-master .vf3-p31-specialized .p31-hero h1,
    body.auto-master .vf3-fin35 .p35-hero h1,
    body.auto-master .p36-insurance .p36-hero h1,
    body.auto-master .vf3-acc34r .acc34r-hero h1,
    body.auto-master .vf3-acc34r .acc34r-article-intro h1,
    body.w11-pro-site .trn31-header h1{font-size:clamp(26px,6.9vw,33px)}
    body.auto-master .vf3-glb-hero-card>strong{font-size:clamp(28px,7.1vw,34px)}
}
@media (max-width:420px){
    body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1>b{
        font-size:clamp(34px,9.4vw,38px);
    }
    body.auto-master.auto-home-universal .auto-u-page:not(.vf3-p75-home-hero):not(.vf3-p77-focused) .auto-u-hero-copy h1>small{
        font-size:clamp(16px,4.2vw,17px)
    }
}
