.tes-simple-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    --tes-dot-radius: 999px;
    --tes-dot-active-multiplier: 2.8;
}

.tes-simple-slider,
.tes-simple-slider * {
    box-sizing: border-box;
}

.tes-slides,
.tes-slide {
    width: 100%;
    height: 100%;
}

.tes-slides {
    position: relative;
}

.tes-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transition: opacity var(--tes-transition-speed, 420ms) ease, visibility var(--tes-transition-speed, 420ms) ease;
}

.tes-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tes-simple-slider[data-transition-effect="slide"] .tes-slides {
    display: flex;
    flex-wrap: nowrap;
    transform: translate3d(0, 0, 0);
    transition: transform var(--tes-transition-speed, 420ms) ease;
    will-change: transform;
}

.tes-simple-slider[data-transition-effect="slide"] .tes-slide {
    position: relative;
    inset: auto;
    flex: 0 0 100%;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
}

.tes-simple-slider[data-transition-effect="slide"] .tes-slide:not(.is-active) .tes-slide-content {
    pointer-events: none;
}

.tes-slide-image {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    user-select: none;
    pointer-events: none;
}

.tes-slide-content {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(720px, calc(100vw - 40px));
    max-width: min(100%, calc(100vw - 40px));
    max-height: calc(100% - 32px);
    color: #fff;
    text-align: center;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    z-index: 2;
}

.tes-slide[data-anchor="top-left"] .tes-slide-content {
    transform: translate(0, 0);
}

.tes-slide[data-anchor="top-center"] .tes-slide-content {
    transform: translate(-50%, 0);
}

.tes-slide[data-anchor="top-right"] .tes-slide-content {
    transform: translate(-100%, 0);
}

.tes-slide[data-anchor="center-left"] .tes-slide-content {
    transform: translate(0, -50%);
}

.tes-slide[data-anchor="center"] .tes-slide-content {
    transform: translate(-50%, -50%);
}

.tes-slide[data-anchor="center-right"] .tes-slide-content {
    transform: translate(-100%, -50%);
}

.tes-slide[data-anchor="bottom-left"] .tes-slide-content {
    transform: translate(0, -100%);
}

.tes-slide[data-anchor="bottom-center"] .tes-slide-content {
    transform: translate(-50%, -100%);
}

.tes-slide[data-anchor="bottom-right"] .tes-slide-content {
    transform: translate(-100%, -100%);
}

.tes-title-1,
.tes-title-2,
.tes-title-3 {
    margin: 0;
    line-height: 1.2;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tes-title-1 {
    font-size: clamp(36px, 6vw, 86px);
    font-weight: 700;
}

.tes-title-2 {
    margin-top: 12px;
    font-size: clamp(24px, 3vw, 48px);
    font-weight: 600;
}

.tes-title-3 {
    margin-top: 12px;
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 400;
}

.tes-slide-button-wrap {
    margin-top: 28px;
}

.tes-slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 0px;
    padding: 12px 28px;
    color: #fff;
    background: #111;
    border-radius: 999px;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: transform 180ms ease, opacity 180ms ease;
}

.tes-slide-button:hover,
.tes-slide-button:focus {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

.tes-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transform: translateY(-50%);
    transition: opacity 180ms ease, transform 180ms ease;
}

.tes-slider-arrow span {
    display: block;
    font-size: 38px;
    line-height: 42px;
}

.tes-slider-arrow:hover,
.tes-slider-arrow:focus {
    opacity: 0.85;
    transform: translateY(-50%) scale(1.04);
}

.tes-slider-prev {
    left: 24px;
}

.tes-slider-next {
    right: 24px;
}

.tes-slider-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(16px, 4vh, 56px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
}

.tes-slider-dot {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: var(--tes-dot-radius, 999px);
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: width 180ms ease, background 180ms ease, opacity 180ms ease;
}

.tes-slider-dot.is-active {
    width: calc(10px * var(--tes-dot-active-multiplier, 2.8));
    background: #fff;
}

@media (max-width: 767px) {
    .tes-slide-content {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }

    .tes-slider-arrow {
        width: 40px;
        height: 40px;
    }

    .tes-slider-arrow span {
        font-size: 30px;
        line-height: 34px;
    }

    .tes-slider-prev {
        left: 12px;
    }

    .tes-slider-next {
        right: 12px;
    }

    .tes-slider-dots {
        bottom: clamp(14px, 3vh, 32px);
    }
}
