/* Homepage slideshow only: no changes to other pages or site fonts */
.ay-home-gallery { width:100%; max-width:800px; margin:0 auto; }
.ay-home-gallery__viewport { width:100%; position:relative; aspect-ratio:800 / 365; overflow:hidden; background:rgb(245,245,244); }
.ay-home-gallery__slide { position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .7s ease, visibility .7s; }
.ay-home-gallery__slide.is-active { opacity:1; visibility:visible; z-index:1; }
.ay-home-gallery__slide img { width:100%; height:100%; display:block; object-fit:contain; }
.ay-home-gallery__arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; display:grid; place-items:center; width:38px; height:48px; border:0; border-radius:2px; color:#fff; background:rgba(45,49,48,.38); cursor:pointer; font:normal 24px/1 Arial,sans-serif; }
.ay-home-gallery__arrow:hover, .ay-home-gallery__arrow:focus-visible { background:rgba(45,49,48,.70); }
.ay-home-gallery__arrow--previous { left:10px; }
.ay-home-gallery__arrow--next { right:10px; }
.ay-home-gallery__footer { display:flex; justify-content:center; align-items:center; gap:18px; padding:9px 0 0; color:rgb(125,133,131); font-size:13px; }
.ay-home-gallery__toggle { background:transparent; border:1px solid rgb(155,163,160); color:inherit; font:inherit; cursor:pointer; padding:4px 10px; }
.ay-home-gallery__toggle:hover, .ay-home-gallery__toggle:focus-visible { background:rgb(235,237,235); }
@media(max-width:600px) { .ay-home-gallery__arrow { width:34px; height:42px; font-size:20px; } .ay-home-gallery__arrow--previous {left:4px;} .ay-home-gallery__arrow--next {right:4px;} }
@media(prefers-reduced-motion:reduce) { .ay-home-gallery__slide { transition:none; } }
/* Position slideshow controls relative to gallery */
.ay-home-gallery {
    position: relative;
}
/* Keep homepage slideshow below navigation */
.ay-home-gallery {
    position: relative;
    z-index: 1;
}

/* Keep desktop navigation above slideshow */
@media (min-width: 861px) {
    .header,
    .nav,
    .navbar,
    .navigation,
    .dropdown,
    .dropdown-content {
        position: relative;
        z-index: 100;
    }
}