/* Avaersa Blue Horizon | Design B V13: synchronized picture and headline slider */
.bh8-hero{
  background:#fff !important;
  background-image:none !important;
  overflow:hidden;isolation:isolate;
}
.bh8-hero .tm-hero-cut,.bh8-hero .tm-hero-photo,
.bh8-hero::after{display:none!important;}
.bh13-photo-stage{
  position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;
  clip-path:polygon(57% 0,100% 0,100% 100%,37% 100%);
  background:#cbe7ff;
}
.bh13-photo{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;object-fit:cover;object-position:center center;
  opacity:0;transform:scale(1.013);
  transition:opacity .85s ease,transform 6s ease;
}
.bh13-photo.is-active{opacity:1;transform:scale(1)}
.bh13-photo:nth-child(1){object-position:center 52%;}
.bh13-photo:nth-child(2){object-position:center 54%;}
.bh13-photo:nth-child(3){object-position:center 52%;}
.bh8-hero .tm-hero-inner{z-index:2;position:relative;}
.bh8-hero .tm-hero-content{width:46.5%;max-width:600px;}
.bh8-hero .tm-hero-content h1{font-size:clamp(2.06rem,3.0vw,3.08rem);max-width:100%;}
.bh8-hero .tm-hero-content > p{max-width:520px;}
@media (min-width:781px){
  .bh8-hero{min-height:535px;height:clamp(535px,42vw,610px)}
}
@media(max-width:1100px) and (min-width:781px){
  .bh13-photo-stage{clip-path:polygon(60% 0,100% 0,100% 100%,40% 100%)}
  .bh8-hero .tm-hero-content{width:47%;}
  .bh8-hero .tm-hero-content h1{font-size:clamp(1.87rem,3.0vw,2.65rem);}
}
@media(max-width:780px){
  .bh8-hero{background:#fff!important;background-image:none!important;min-height:770px;}
  .bh13-photo-stage{inset:auto 0 0;bottom:0;height:340px;clip-path:none;
    background:#d6ecf9;}
  .bh13-photo{object-position:72% center!important;}
  .bh13-photo-stage::after{content:"";position:absolute;inset:0;z-index:2;
    background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.93) 10%,rgba(255,255,255,.22) 35%,rgba(255,255,255,0) 61%);}
  .bh8-hero .tm-hero-inner{padding:27px 0 330px!important;}
  .bh8-hero .tm-hero-content{width:100%!important;max-width:100%!important;}
  .bh8-hero .tm-hero-content h1{font-size:clamp(1.9rem,7.1vw,2.9rem);min-height:0;}
}
@media(max-width:485px){
  .bh8-hero{min-height:800px;}
  .bh13-photo-stage{height:285px;}
  .bh8-hero .tm-hero-inner{padding:25px 0 285px!important;}
  .bh8-hero .tm-hero-content h1{font-size:clamp(1.85rem,8vw,2.35rem);}
}
@media(prefers-reduced-motion:reduce){.bh13-photo{transition:none!important;transform:none!important}}

/* V13 refinement: each media frame fades as a unit, picture sources allow a clean mobile crop. */
.bh13-frame{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transform:scale(1.01);transition:opacity .85s ease,transform 6s ease;}
.bh13-frame.is-active{opacity:1;transform:scale(1)}
.bh13-frame .bh13-photo{opacity:1!important;position:absolute;inset:0;width:100%;height:100%;transform:none!important;transition:none!important;}
@media(prefers-reduced-motion:reduce){.bh13-frame{transition:none!important;transform:none!important}}
