/* Detail breed pages only; city decoration follows the service-page standard. */
.gl-main--breed .breed-city-line,.gl-main--shortcoat .breed-city-line,.gl-spa .breed-city-line{font-family:Gogol,Caveat,cursive!important;font-size:34px!important;font-weight:400!important;line-height:1.15!important;color:#bc936d!important;margin:10px 0 22px!important;transform:none!important;letter-spacing:normal!important}
.breed-city-anchor{position:relative;display:inline-block;white-space:nowrap;padding-right:.7em}
.breed-city-anchor>.breed-city-heart{position:absolute!important;left:auto!important;right:0!important;top:-.05em!important;bottom:auto!important;width:.45em!important;height:.45em!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;transform:none!important;translate:none!important;object-fit:contain!important;margin:0!important}
.gl-main--breed .v2-hb__txt .v2-h1{font-size:52px!important;line-height:1.1!important;letter-spacing:-.035em!important;margin:0!important}
.gl-main--breed .v2-hb__media:has([data-breed-fit]),.gl-main--breed .v2-book__media:has([data-breed-fit]),.gl-main--shortcoat .sc-hero-media,.gl-main--shortcoat .sc-book-media{position:relative;isolation:isolate;overflow:hidden!important}
.breed-pet-fit>img{position:absolute!important;inset:24px!important;width:calc(100% - 48px)!important;height:calc(100% - 48px)!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;transform:none!important;translate:none!important;clip-path:none!important;margin:0!important;padding:0!important;display:block!important}
.gl-main--breed .v2-hb__media>.hot,.gl-main--shortcoat .sc-hero-media>.hot{z-index:3}
.gl-main--breed .v2-hb__media>.hot .hot__tip,.gl-main--shortcoat .sc-hero-media>.hot .hot__tip{max-width:min(240px,65vw);white-space:normal}
@media(max-width:1000px){.gl-main--breed .v2-hb__txt .v2-h1{font-size:42px!important}}
@media(max-width:700px){.gl-main--breed .v2-hb__txt .v2-h1{font-size:32px!important}.gl-main--breed .breed-city-line,.gl-main--shortcoat .breed-city-line,.gl-spa .breed-city-line{font-size:28px!important;margin:10px 0 18px!important}}

/* Long breed names must wrap inside their text column at every breakpoint. */
html:not(#_) .gl-main--breed .v2-hb__txt,html:not(#_) .gl-main--shortcoat .sc-intro{min-width:0!important;max-width:100%!important}
html:not(#_) .gl-main--breed .v2-hb__txt .v2-h1,html:not(#_) .gl-main--breed .v2-hb__txt .v2-h1 .hb21-l,html:not(#_) .gl-main--breed .v2-hb__txt .v2-h1 .nb,html:not(#_) .gl-main--shortcoat .sc-intro h1{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;max-width:100%!important}
@media(min-width:981px){html:not(#_) .gl-main--breed .v2-hb__media:has([data-breed-fit]){height:auto!important;min-height:var(--hb-mh,549px)!important;align-self:stretch!important;aspect-ratio:auto!important}}

/* Equal mobile gaps above and below the hero animal panel. */
@media(max-width:700px){html:not(#_) .gl-main--breed .v2-hb{row-gap:22px!important}html:not(#_) .gl-main--breed .v2-hb>.v2-hb__media,html:not(#_) .gl-main--breed .v2-hb>.v2-hb__card{margin-top:0!important;margin-bottom:0!important}}

/* Only the service hero on phones uses a full silhouette aligned to the card bottom. */
.svc-mobile-pet{display:none}
@media(max-width:700px){html:not(#_) main.gl-main--service .v2-hs__pet{position:relative!important;inset:auto!important;width:100%!important;height:300px!important;min-height:0!important;max-height:none!important;transform:none!important;translate:none!important;margin:20px 0 0!important;overflow:hidden!important}html:not(#_) .v2-hs__pet>.svc-desktop-pet{display:none!important}html:not(#_) .v2-hs__pet>.svc-mobile-pet{display:block;position:absolute;inset:0;width:100%;height:100%}html:not(#_) main.gl-main--service .v2-hs__card:has(.svc-mobile-pet){padding-bottom:0!important}}
