.sws-plugin-hero-slider {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #f5f7f4;
}

.sws-plugin-slider-track {
    display: flex;
    width: 100%;
    transition: transform .55s ease;
    will-change: transform;
}

.sws-plugin-slide {
    position: relative;
    min-width: 100%;
    width: 100vw;
    overflow: hidden;
}

.sws-layered-slide {
    display: block;
    background: #eef4ef;
}

.sws-layered-stage {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    height: clamp(320px, 36vw, 460px);
    overflow: hidden;
    background: #f6faf7;
}

.sws-photo-mask {
    position: absolute;
    top: var(--sws-photo-top, 0%);
    right: var(--sws-photo-right, 0%);
    z-index: 1;
    width: var(--sws-photo-width, 50%);
    height: var(--sws-photo-height, 100%);
    overflow: hidden;
    background: #dfe7df;
}

.sws-real-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sws-slide-template {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

.sws-standalone-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #eef4ef;
}

.sws-plugin-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: 52px;
    height: 52px;
    color: #fff;
    background: rgba(0, 63, 43, .45);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}

.sws-plugin-arrow:hover,
.sws-plugin-arrow:focus-visible {
    background: rgba(0, 63, 43, .78);
    transform: translateY(-50%) scale(1.04);
}

.sws-plugin-prev {
    left: 24px;
}

.sws-plugin-next {
    right: 24px;
}

.sws-plugin-dots {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    z-index: 9;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sws-plugin-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    background: rgba(255, 255, 255, .58);
    border: 2px solid rgba(0, 95, 70, .72);
    border-radius: 50%;
    cursor: pointer;
}

.sws-plugin-dots button.is-active {
    background: #d6a100;
    border-color: #d6a100;
}

@media (max-width: 980px) {
    .sws-layered-stage {
        height: clamp(280px, 48vw, 380px);
    }

    .sws-plugin-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.7rem;
    }
}

@media (max-width: 640px) {
    .sws-layered-stage {
        height: 220px;
    }

    .sws-plugin-arrow {
        display: none;
    }

    .sws-plugin-dots {
        bottom: 12px;
    }
}

/* Mobile sizing polish for /swsnew */
@media (max-width: 640px) {
    .sws-plugin-hero-slider {
        margin-top: 0;
        background: #edf5f1;
    }

    .sws-layered-stage {
        height: clamp(190px, 44vw, 235px);
    }

    .sws-slide-template,
    .sws-standalone-slide-image {
        object-fit: cover;
    }

    .sws-photo-mask {
        width: 52%;
    }

    .sws-plugin-dots {
        bottom: 10px;
        gap: 9px;
    }

    .sws-plugin-dots button {
        width: 11px;
        height: 11px;
        background: #eef7f2;
        border-color: #0b6b4a;
    }
}

@media (max-width: 430px) {
    .sws-layered-stage {
        height: clamp(178px, 43vw, 210px);
    }
}

/* Mobile full-design slide visibility v1.1.6 */
@media (max-width: 768px) {
    .sws-plugin-hero-slider {
        width: 100vw;
        max-width: 100vw;
        min-height: auto;
        height: auto;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0;
        overflow: hidden;
        background: #eef7f2;
    }

    .sws-plugin-slide,
    .sws-layered-slide {
        width: 100vw;
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 9;
        background: #eef7f2;
    }

    .sws-slide-stage {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: #eef7f2;
    }

    .sws-slide-template,
    .sws-standalone-slide-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        background: #eef7f2;
    }

    .sws-photo-mask {
        overflow: hidden;
    }

    .sws-real-photo {
        object-fit: cover;
        object-position: center center;
    }

    .sws-plugin-arrow {
        width: 34px;
        height: 34px;
        font-size: 22px;
        background: rgba(3, 54, 38, .74);
    }

    .sws-plugin-prev {
        left: 8px;
    }

    .sws-plugin-next {
        right: 8px;
    }

    .sws-plugin-dots {
        bottom: 8px;
    }
}

@media (max-width: 430px) {
    .sws-plugin-slide,
    .sws-layered-slide {
        aspect-ratio: 16 / 9;
    }

    .sws-plugin-dots button {
        width: 9px;
        height: 9px;
    }
}
