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

.chs-slider {
    --chs-edge-space: 96px;
    --chs-content-width: 760px;
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 0;
    overflow: hidden;
    color: #ffffff;
    background: transparent;
    isolation: isolate;
}

.chs-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.chs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: inherit;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 480ms ease, visibility 480ms ease;
}

.chs-slide--active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.chs-bg-image,
.chs-video-wrap,
.chs-video,
.chs-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.chs-bg-image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.chs-video-wrap {
    overflow: hidden;
    background: transparent;
}

.chs-video {
    display: block;
    object-fit: contain;
}

.chs-video-wrap iframe {
    display: block;
    border: 0;
}

.chs-slide--video .chs-video-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.chs-slide--video .chs-video {
    background: transparent;
    object-fit: contain;
}

.chs-slide--video .chs-overlay {
    background: transparent !important;
}

.chs-slide--video .chs-video-wrap--embed iframe {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
}

.chs-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.chs-content {
    position: absolute;
    z-index: 2;
    width: min(var(--chs-content-width), calc(100% - (var(--chs-edge-space) * 2)));
    pointer-events: none;
}

.chs-content > * {
    pointer-events: auto;
}

.chs-pos--center-left .chs-content {
    top: 50%;
    left: var(--chs-edge-space);
    transform: translateY(-50%);
    text-align: left;
}

.chs-pos--center-center .chs-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chs-pos--center-right .chs-content {
    top: 50%;
    right: var(--chs-edge-space);
    transform: translateY(-50%);
    text-align: right;
}

.chs-pos--bottom-left .chs-content {
    bottom: 72px;
    left: var(--chs-edge-space);
    text-align: left;
}

.chs-pos--bottom-center .chs-content {
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.chs-title {
    margin: 0 0 24px;
    padding: 0;
    color: #ffffff;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.05;
}

.chs-text {
    margin: 0 0 28px;
    padding: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.chs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 28px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    background: #f0c000;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.chs-btn:hover,
.chs-btn:focus {
    color: #ffffff;
    background: #d6a900;
    text-decoration: none;
}

.chs-btn:focus-visible,
.chs-arrow:focus-visible,
.chs-dot:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.chs-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.42);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.chs-arrow:hover,
.chs-arrow:focus {
    background: rgba(0, 0, 0, 0.66);
}

.chs-arrow--prev {
    left: 32px;
}

.chs-arrow--next {
    right: 32px;
}

.chs-arrow svg {
    display: block;
    width: 22px;
    height: 22px;
}

.chs-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
}

.chs-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: 0.85;
    pointer-events: auto;
    transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.chs-dot:hover,
.chs-dot:focus {
    opacity: 1;
}

.chs-dot--active {
    background: #ffffff;
    opacity: 1;
    transform: scale(1.12);
}

@media (max-width: 1024px) {
    .chs-slider {
        --chs-edge-space: 56px;
        --chs-content-width: 680px;
    }

    .chs-title {
        font-size: 46px;
    }
}

@media (max-width: 767px) {
    .chs-slider {
        --chs-edge-space: 24px;
        height: 420px;
        min-height: 0;
    }

    .chs-content {
        width: calc(100% - 48px);
    }

    .chs-pos--center-left .chs-content,
    .chs-pos--center-right .chs-content,
    .chs-pos--bottom-left .chs-content {
        right: auto;
        left: 24px;
        text-align: left;
    }

    .chs-pos--bottom-left .chs-content,
    .chs-pos--bottom-center .chs-content {
        bottom: 64px;
    }

    .chs-title {
        margin-bottom: 18px;
        font-size: 34px;
    }

    .chs-text {
        margin-bottom: 22px;
        font-size: 17px;
    }

    .chs-btn {
        min-height: 48px;
        padding: 11px 22px;
        font-size: 16px;
    }

    .chs-arrow {
        width: 40px;
        height: 40px;
    }

    .chs-arrow--prev {
        left: 12px;
    }

    .chs-arrow--next {
        right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chs-slide,
    .chs-btn,
    .chs-arrow,
    .chs-dot {
        transition: none;
    }
}
