/* Haven & Co. visual polish, safely scoped to public site only. */
.haven-home .haven-steps{min-height:0!important;height:auto!important;padding-top:64px!important;padding-bottom:64px!important;align-items:stretch!important}
.haven-home .haven-steps .haven-grid,.haven-home .haven-steps .haven-how-card{min-height:0!important}
.haven-home .haven-steps>.e-con{min-height:0!important}
.haven-home .haven-steps .haven-how-card{height:auto!important;padding-bottom:28px!important}
/* Preview module is placed independently of the Elementor native Home layout. */
.haven-home .haven-public-gallery,.haven-home + .haven-public-gallery,
body.home .haven-public-gallery{width:100%!important;max-width:1180px!important;margin-inline:auto!important;padding:62px 18px!important;box-sizing:border-box}
/* Three compact BEFORE/AFTER pairs on wide desktops. */
.haven-public-gallery .haven-public-work-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
.haven-public-gallery .haven-public-work-card{min-width:0;display:flex;flex-direction:column;border-radius:18px!important;overflow:hidden;box-shadow:0 10px 28px rgba(67,45,31,.045)}
.haven-public-gallery .haven-public-work-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.haven-public-gallery .haven-public-work-pair figure{margin:0;min-width:0;overflow:hidden}
.haven-public-gallery .haven-public-work-pair img{width:100%!important;aspect-ratio:4 / 3!important;height:auto!important;object-fit:cover!important}
.haven-public-gallery .haven-public-work-info{padding:17px 18px 19px!important;flex:1}
.haven-public-gallery .haven-public-work-info h3{font-size:19px!important;line-height:1.3!important;margin:7px 0!important;overflow-wrap:anywhere}
.haven-public-gallery .haven-public-work-info p{line-height:1.5}
.haven-public-gallery .haven-public-cta{margin-top:26px!important}
/* Links injected by the additive helper, matching the existing palette. */
a.haven-ourwork-nav{color:#241f1b!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important;line-height:1.35!important;white-space:nowrap!important;padding:10px 12px!important;background:transparent!important;border:0!important;box-shadow:none!important}
a.haven-ourwork-nav:hover,a.haven-ourwork-nav:focus-visible{color:#765743!important;text-decoration:underline!important}
.haven-ourwork-footer{display:block;color:#fff!important;font-weight:600;text-decoration:none!important;margin-block:10px}
.haven-ourwork-footer:hover,.haven-ourwork-footer:focus-visible{text-decoration:underline!important}
@media(max-width:1100px){.haven-public-gallery .haven-public-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}}
@media(max-width:767px){.haven-home .haven-steps{padding-top:44px!important;padding-bottom:44px!important}.haven-public-gallery .haven-public-work-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}.haven-public-gallery .haven-public-work-info h3{font-size:19px!important}.haven-public-gallery{padding-inline:16px!important}.haven-ourwork-nav{font-size:13px!important;padding:7px 9px!important}}
@media(prefers-reduced-motion:reduce){.haven-public-gallery .haven-lightbox-link img{transition:none!important}}
