.studiodess-home-slider-wrap {
    width: 100%;
    margin-bottom: 50px;
}

.studiodess-home-slider-heading {
    max-width: 1160px;
    margin: 0 auto 18px;
    padding: 0 0 0 14px;
    border-left: 5px solid #e8bf21;
}

.studiodess-home-slider-heading h2 {
    margin: 0;
    color: #24356e;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
}

.studiodess-home-slider {
    --studiodess-blue: #24356e;
    --studiodess-yellow: #e8bf21;
    --studiodess-ink: #102033;
    position: relative;
    width: 100%;
    min-height: var(--studiodess-slider-height);
    overflow: hidden;
    background: #152342;
}

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

.studiodess-home-slider__viewport {
    position: relative;
    min-height: var(--studiodess-slider-height);
}

.studiodess-home-slider__slide {
    position: absolute;
    inset: 0;
    min-height: var(--studiodess-slider-height);
    opacity: 0;
    visibility: hidden;
    transition: opacity 420ms ease, visibility 420ms ease;
}

.studiodess-home-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.studiodess-home-slider__media,
.studiodess-home-slider__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: var(--studiodess-slider-height);
}

.studiodess-home-slider__media img {
    object-fit: cover;
}

.studiodess-home-slider__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(13, 24, 48, .86) 0%, rgba(13, 24, 48, .58) 42%, rgba(13, 24, 48, .18) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .18));
}

.studiodess-home-slider__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--studiodess-slider-height);
    max-width: 1160px;
    margin: 0 auto;
    padding: 48px 72px;
    color: #fff;
}

.studiodess-home-slider__kicker {
    width: fit-content;
    margin: 0 0 14px;
    padding: 7px 12px;
    background: var(--studiodess-yellow);
    color: var(--studiodess-blue);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.studiodess-home-slider .studiodess-home-slider__content .studiodess-home-slider__title {
    max-width: 780px;
    margin: 0;
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
}

.studiodess-home-slider .studiodess-home-slider__content .studiodess-home-slider__title a {
    display: block;
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    text-decoration: none !important;
}

.studiodess-home-slider__excerpt {
    max-width: 660px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.55;
}

.studiodess-home-slider__button {
    width: fit-content;
    margin-top: 24px;
    padding: 12px 18px;
    background: #fff;
    color: var(--studiodess-blue);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease;
}

.studiodess-home-slider__button:hover,
.studiodess-home-slider__button:focus {
    background: var(--studiodess-yellow);
    color: var(--studiodess-blue);
    text-decoration: none !important;
}

.studiodess-home-slider__controls {
    position: absolute;
    right: 32px;
    bottom: 28px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
}

.studiodess-home-slider__arrow,
.studiodess-home-slider__thumb {
    border: 0;
    cursor: pointer;
}

.studiodess-home-slider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 90px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #000 !important;
    color: #fff !important;
    font-size: 44px;
    line-height: 1;
    box-shadow: none !important;
    appearance: none;
}

.studiodess-home-slider__arrow:hover,
.studiodess-home-slider__arrow:focus,
.studiodess-home-slider__arrow:active {
    background: #000 !important;
    color: #fff !important;
    box-shadow: none !important;
    outline: 2px solid var(--studiodess-yellow);
    outline-offset: 2px;
}

.studiodess-home-slider__arrow span {
    color: inherit !important;
    line-height: 1;
}

.studiodess-home-slider__thumbs {
    display: flex;
    align-items: center;
    gap: 9px;
}

.studiodess-home-slider__thumb {
    width: 120px;
    height: 90px;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid rgba(255, 255, 255, .72) !important;
    border-radius: 0;
    overflow: hidden;
    background: transparent !important;
    opacity: .68;
    transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
    box-shadow: none !important;
    appearance: none;
}

.studiodess-home-slider__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studiodess-home-slider__thumb.is-active,
.studiodess-home-slider__thumb:hover,
.studiodess-home-slider__thumb:focus {
    border-color: var(--studiodess-yellow);
    opacity: 1;
    transform: translateY(-2px);
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 767px) {
    .studiodess-home-slider-heading {
        margin-bottom: 14px;
        padding-left: 12px;
    }

    .studiodess-home-slider-heading h2 {
        font-size: 24px;
    }

    .studiodess-home-slider__shade {
        background: linear-gradient(0deg, rgba(13, 24, 48, .9) 0%, rgba(13, 24, 48, .58) 58%, rgba(13, 24, 48, .22) 100%);
    }

    .studiodess-home-slider__content {
        justify-content: flex-end;
        padding: 36px 22px 86px;
    }

    .studiodess-home-slider .studiodess-home-slider__content .studiodess-home-slider__title,
    .studiodess-home-slider .studiodess-home-slider__content .studiodess-home-slider__title a {
        font-size: 30px !important;
        line-height: 1.1 !important;
    }

    .studiodess-home-slider__excerpt {
        font-size: 14px;
    }

    .studiodess-home-slider__controls {
        right: auto;
        left: 22px;
        bottom: 26px;
        max-width: calc(100% - 44px);
        gap: 8px;
    }

    .studiodess-home-slider__arrow {
        width: 38px;
        min-width: 38px;
        height: 52px;
        font-size: 34px;
        flex: 0 0 auto;
    }

    .studiodess-home-slider__thumbs {
        max-width: 100%;
        overflow-x: auto;
        gap: 7px;
        scrollbar-width: none;
    }

    .studiodess-home-slider__thumbs::-webkit-scrollbar {
        display: none;
    }

    .studiodess-home-slider__thumb {
        width: 82px;
        height: 52px;
        flex: 0 0 auto;
    }
}
