.agz-hb{line-height:0;box-sizing:border-box}
.agz-hb a.agz-hb-slide{display:none!important;margin:0;padding:0;border:0;float:none}
.agz-hb a.agz-hb-slide.is-active{display:block!important;animation:agz-hb-fade .5s ease}
.agz-hb picture{display:block}
.agz-hb img{display:block!important;width:100%!important;height:auto!important;max-width:none;margin:0;object-fit:cover}
@keyframes agz-hb-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.agz-hb a.agz-hb-slide.is-active{animation:none}}

/* desktop: floats in the free space between the logo and the top menu, without moving anything else */
@media (min-width:768px){
  .header-top-wrap.agz-hb-host{position:relative}
  .agz-hb{position:absolute;top:50%;transform:translateY(-50%);z-index:5;visibility:hidden}
  .agz-hb.is-placed{visibility:visible}
  .agz-hb img{aspect-ratio:3/1}
}

/* mobile: 90% wide strip at the top, collapses as soon as the visitor scrolls */
@media (max-width:767px){
  .agz-hb{position:relative;width:90%;margin:6px auto;max-height:45vw;overflow:hidden;opacity:1;transition:max-height .3s ease,margin .3s ease,opacity .2s ease}
  .agz-hb img{aspect-ratio:1080/200}
  .agz-hb.is-collapsed{max-height:0;margin:0 auto;opacity:0;pointer-events:none}
}
/* arrows (desktop hover) */
.agz-hb{touch-action:pan-y}
.agz-hb-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:26px;height:26px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:18px;line-height:26px;text-align:center;padding:0;cursor:pointer;opacity:0;transition:opacity .2s}
.agz-hb-prev{right:6px}.agz-hb-next{left:6px}
.agz-hb:hover .agz-hb-nav,.agz-hb-nav:focus-visible{opacity:1}
@media (hover:none){.agz-hb-nav{display:none}}
