/* Scoped to the existing homepage hero. No layout or content changes elsewhere. */
body .scc-hero.scc-home-slideshow {
    background-image: none !important;
    background-color: #25332a;
    isolation: isolate;
}

.scc-home-slideshow .scc-slideshow__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

body .scc-home-slideshow .scc-slideshow__image {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center 48%;
    filter: none !important;
    transform: none !important;
    opacity: 0;
    z-index: 0;
    transition: opacity 1.4s ease-in-out;
}

body .scc-home-slideshow .scc-slideshow__image.is-active { opacity: 1; z-index: 2; }
body .scc-home-slideshow .scc-slideshow__image.is-leaving { opacity: 1; z-index: 1; }

body .scc-hero.scc-home-slideshow::before {
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(8, 20, 14, .60), rgba(8, 20, 14, .24) 58%, rgba(8, 20, 14, .07)),
        linear-gradient(0deg, rgba(8, 20, 14, .46), transparent 75%);
}

.scc-home-slideshow .scc-hero__content { position: relative; z-index: 2; }

.scc-home-slideshow .scc-slideshow__controls {
    position: absolute;
    z-index: 3;
    right: max(24px, calc((100% - 1320px) / 2));
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 32px;
    background: rgba(8, 20, 14, .50);
}

.scc-home-slideshow .scc-slideshow__controls[hidden] { display: none !important; }

body .scc-home-slideshow .scc-slideshow__controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    font: 20px/1 Arial, sans-serif;
    transition: background-color .2s ease;
}

body .scc-home-slideshow .scc-slideshow__controls button:hover { background: rgba(255, 255, 255, .14); }
body .scc-home-slideshow .scc-slideshow__controls button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.scc-home-slideshow .scc-slideshow__dot > span {
    display: block;
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    transition: background-color .2s ease, width .2s ease;
}
.scc-home-slideshow .scc-slideshow__dot[aria-pressed="true"] > span { width: 19px; border-radius: 4px; background: #fff; }
.scc-home-slideshow .scc-slideshow__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .scc-home-slideshow .scc-hero__content { padding-bottom: 108px; }
    .scc-home-slideshow .scc-slideshow__controls { right: 16px; bottom: 20px; }
    body .scc-home-slideshow .scc-slideshow__image { object-position: 53% center; }
    body .scc-hero.scc-home-slideshow::before {
        background: linear-gradient(0deg, rgba(8, 20, 14, .78), rgba(8, 20, 14, .42) 54%, rgba(8, 20, 14, .08));
    }
}

@media (prefers-reduced-motion: reduce) {
    body .scc-home-slideshow .scc-slideshow__image,
    .scc-home-slideshow .scc-slideshow__dot > span,
    body .scc-home-slideshow .scc-slideshow__controls button { transition: none; }
}
