/* Whole photographs: equal height, natural width, no empty portrait-shaped mat. */
html body #maxhome-site#maxhome-site .company-gallery38{padding-block:20px!important;margin-block:0!important;min-width:0}
html body #maxhome-site#maxhome-site .company-gallery38__head{max-width:900px;margin-bottom:18px!important}
html body #maxhome-site#maxhome-site .company-gallery38__head h2{margin:6px 0 12px!important}
html body #maxhome-site#maxhome-site .company-gallery38__head p{margin:0!important;color:#587080;line-height:1.7;font-size:15px}
html body #maxhome-site#maxhome-site .company-gallery38__label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#087da5;font-weight:600}
html body #maxhome-site#maxhome-site .company-gallery38 .photo-gallery{--company-photo-height:clamp(200px,22vw,300px);padding:0!important;margin:0!important}
html body #maxhome-site#maxhome-site .company-gallery38 .photo-gallery .photo-gallery__item{display:block!important;width:calc(var(--company-photo-height)*var(--company-photo-ratio))!important;height:var(--company-photo-height)!important;aspect-ratio:auto!important;min-height:0!important;max-width:none!important;flex-shrink:0!important;overflow:hidden;background:transparent!important;border-radius:12px!important}
html body #maxhome-site#maxhome-site .company-gallery38 .photo-gallery .photo-gallery__item::before{content:none!important;display:none!important;padding:0!important}
html body #maxhome-site#maxhome-site .company-gallery38 .photo-gallery .photo-gallery__img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;position:static!important;transform:none!important}
html body #maxhome-site#maxhome-site .company-gallery38 .splide__list{align-items:center!important}
html body #maxhome-site#maxhome-site .company-gallery38 .splide__pagination{position:static!important;padding:0!important;margin:14px 0 0!important;transform:none!important;min-height:12px}
/* Reduce accumulated whitespace between page sections, preserving card/form interiors. */
html body #maxhome-site#maxhome-site #maxhome-home-v9 :is(.mh-section,.home-documents-section,.design70-reviews,.home-trust-section,.public33-materials){padding-block:20px!important}
html body #maxhome-site#maxhome-site #maxhome-about :is(.about-letter,.about-section-clean){padding-block:18px!important;margin-block:0!important}
html body #maxhome-site#maxhome-site #maxhome-about .about-hero-clean{margin-bottom:18px!important}
html body #maxhome-site#maxhome-site :is(.ma-aftercare,.about-final-cta,.ms-section,.mr-section,.mb-feed,.mc-visit-grid,.mc-social,.mc-company,.faq92-next){margin-top:22px!important}
html body #maxhome-site#maxhome-site .ms-trust{padding-bottom:12px!important}
html body #maxhome-site#maxhome-site .a88-section{margin-block:0!important;padding-block:20px!important}
html body #maxhome-site#maxhome-site .mc-visit-grid{row-gap:22px!important}
html body #maxhome-site#maxhome-site .rent153-guide{margin-block:20px!important}
html body #maxhome-site#maxhome-site .catalog-description-section{margin-top:20px!important}
html body #maxhome-site#maxhome-site .rd25-enquiry-host:not(.rd25-sidebar-form){margin-block:20px!important;padding-block:24px!important}
html body #maxhome-site#maxhome-site .rd24-reading [id^="service61-"]+section{margin-top:24px!important}
html body #maxhome-site#maxhome-site .rd24-property .section--only-top{padding-block:18px!important}
html body #maxhome-site#maxhome-site .rd24-property .object.section--only-bottom{padding-bottom:16px!important}
html body #maxhome-site#maxhome-site .home-final-selection{margin-block:16px!important}
@media(max-width:767px){
 html body #maxhome-site#maxhome-site #maxhome-home-v9 :is(.mh-section,.home-documents-section,.design70-reviews,.home-trust-section,.public33-materials),html body #maxhome-site#maxhome-site .company-gallery38{padding-block:16px!important}
 html body #maxhome-site#maxhome-site #maxhome-about :is(.about-letter,.about-section-clean){padding-block:14px!important}
 html body #maxhome-site#maxhome-site .a88-section{padding-block:16px!important}
 html body #maxhome-site#maxhome-site :is(.ma-aftercare,.about-final-cta,.ms-section,.mr-section,.mb-feed,.mc-visit-grid,.mc-social,.mc-company,.faq92-next){margin-top:18px!important}
 html body #maxhome-site#maxhome-site .rd25-enquiry-host:not(.rd25-sidebar-form){margin-block:16px!important;padding-block:20px!important}
 html body #maxhome-site#maxhome-site .company-gallery38__head p{font-size:14px}
}
