/* Angjelo V5.0.2: equal hero photo alignment for all seven slides.
   The seven slides share the same photo viewport/crop, overlay and caption.
   Scope: public homepage only. No changes to service selection or booking. */
body.ab112-public .ab42-home .ab32-hero-slide{
  align-items:stretch;
}
body.ab112-public .ab42-home .ab32-hero-visual{
  position:relative;
  align-self:stretch;
  min-width:0;
  overflow:hidden;
  isolation:isolate;
}
body.ab112-public .ab42-home .ab32-hero-visual > img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:50% 50%;
}
body.ab112-public .ab42-home .ab32-image-card{
  top:clamp(18px,3.2vw,38px);
  right:clamp(15px,2.2vw,38px);
}
body.ab112-public .ab42-home .ab32-image-caption{
  right:20px;
  bottom:16px;
}
/* Laptop and desktop: uniform row size, independent of slide headline length. */
@media(min-width:1181px){
  body.ab112-public .ab42-home .ab32-hero-slide,
  body.ab112-public .ab42-home .ab32-hero-visual{
    min-height:clamp(470px,34vw,505px);
  }
}
/* Tablet / small laptop: allow the longest seventh-service copy to fit. */
@media(min-width:701px) and (max-width:1180px){
  body.ab112-public .ab42-home .ab32-hero-slide,
  body.ab112-public .ab42-home .ab32-hero-visual{
    min-height:clamp(480px,47vw,490px);
  }
}
/* iPhone: keep the top edge of every picture at the same vertical position. */
@media(max-width:700px){
  body.ab112-public .ab42-home .ab32-hero-slide{
    grid-template-rows:auto 158px;
  }
  body.ab112-public .ab42-home .ab32-hero-copy{
    align-self:stretch;
  }
  body.ab112-public .ab42-home .ab32-hero-visual{
    height:158px;
    min-height:158px;
    max-height:158px;
  }
  body.ab112-public .ab42-home .ab32-image-card{
    top:10px;
    right:10px;
  }
  body.ab112-public .ab42-home .ab32-image-caption{
    right:10px;
    bottom:8px;
  }
}
@media(max-width:420px){
  body.ab112-public .ab42-home .ab32-hero-copy{min-height:350px;}
}
@media(min-width:421px) and (max-width:520px){
  body.ab112-public .ab42-home .ab32-hero-copy{min-height:315px;}
}
@media(min-width:521px) and (max-width:700px){
  body.ab112-public .ab42-home .ab32-hero-copy{min-height:310px;}
}
