/* Business Listing UK Stage 4.2 — site-specific layout. Loaded after previous theme rules. */
html .d4-hero{background:#092d42;min-height:540px;isolation:isolate;overflow:hidden}
html .d4-hero-inner{min-height:540px;position:relative;z-index:1}
html .d4-hero-content{max-width:790px;padding:66px 0}
html .d4-hero-photo.d42-hero-photo{position:absolute;inset:0 0 0 46%;background-image:url('/assets/img/stage42/uk-town-clean.webp');background-repeat:no-repeat;background-position:center center;background-size:cover;opacity:1;z-index:-1}
html .d4-hero-photo.d42-hero-photo::after{content:'';display:block;position:absolute;inset:0;background:linear-gradient(90deg,#092d42 0%,rgba(9,45,66,.91) 13%,rgba(9,45,66,.42) 45%,rgba(9,45,66,.07) 100%)}
html .d4-hero h1{max-width:720px;font-size:clamp(38px,4.3vw,63px);line-height:1.08;letter-spacing:-1.8px}
html .d4-hero h1 span{color:#9fe2d8}
html .d4-hero .d4-intro{max-width:610px;line-height:1.7}
html .d4-search{max-width:640px}
html .d4-category img{width:100%;height:160px;object-fit:cover;display:block}
html .d4-category{overflow:hidden;min-width:0}
/* Uploaded logos in all listing cards, including search/category pages */
.business-card .d42-business-logo{width:64px!important;height:64px!important;min-width:64px!important;max-width:64px!important;flex:0 0 64px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:#fff;border:1px solid #e4eaf0;border-radius:8px;padding:3px}
.business-card .d42-business-logo img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.business-card .d42-logo-initial{font-size:24px;font-weight:800;color:#127f83}
.business-card .d42-logo-initial[hidden]{display:none!important}
.business-card .card-text{min-width:0}
.business-card .card-title{overflow-wrap:anywhere}
@media(max-width:800px){html .d4-hero{min-height:480px}html .d4-hero-inner{min-height:480px}html .d4-hero-photo.d42-hero-photo{inset:0;opacity:.35}html .d4-hero-photo.d42-hero-photo::after{background:linear-gradient(90deg,rgba(9,45,66,.95),rgba(9,45,66,.65))}html .d4-hero-content{padding:45px 0}html .d4-hero h1{font-size:clamp(35px,7.2vw,54px)}html .d4-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:500px){html .d4-hero h1{font-size:36px}html .d4-hero-content{padding:36px 0}html .d4-search{max-width:100%}.business-card .d42-business-logo{width:55px!important;height:55px!important;min-width:55px!important;flex-basis:55px!important}}
