/*
 * KYC native homepage sliders
 * Lightweight comparison replacements for Smart Slider #29, #30 and #36.
 */

.kyc-slider-compare {
    width: 100%;
    margin: 18px 0 26px;
}

.kyc-slider-compare__label {
    width: min(1050px, calc(100% - 32px));
    margin: 0 auto 8px;
    color: #52647c;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.kyc-slider-compare__label--native {
    color: #0758be;
}

.kyc-native-slider,
.kyc-native-slider *,
.kyc-native-slider *::before,
.kyc-native-slider *::after {
    box-sizing: border-box;
}

.kyc-native-slider {
    --kyc-native-blue: #0a56bf;
    --kyc-native-blue-dark: #063e87;
    --kyc-native-sky: #59baf1;
    --kyc-native-sky-soft: #dff4fb;
    --kyc-native-pink: #ed1552;
    --kyc-native-ink: #0a376b;
    --kyc-native-gap: 22px;
    width: 100%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    font-family: inherit;
}

.kyc-native-slider__viewport {
    width: 100%;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.kyc-native-slider__track {
    display: flex;
    align-items: stretch;
    gap: var(--kyc-native-gap);
    will-change: transform;
    transition: transform .48s cubic-bezier(.22, .61, .36, 1);
}

.kyc-native-slider.is-dragging .kyc-native-slider__track {
    transition: none;
}

.kyc-native-slider__arrow {
    width: 50px;
    height: 50px;
    padding: 0;
    position: absolute;
    top: 50%;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    color: #7537ed;
    box-shadow: 0 6px 22px rgba(10, 55, 107, .14);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.kyc-native-slider__arrow span {
    display: block;
    margin-top: -3px;
    font-size: 42px;
    line-height: 1;
    font-weight: 300;
}

.kyc-native-slider__arrow:hover,
.kyc-native-slider__arrow:focus-visible {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 28px rgba(10, 55, 107, .2);
    outline: none;
}

.kyc-native-slider__arrow--prev {
    left: 10px;
}

.kyc-native-slider__arrow--next {
    right: 10px;
}

.kyc-native-slider__dots {
    min-height: 30px;
    padding: 6px 11px;
    position: absolute;
    left: 50%;
    bottom: 5px;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 4px 14px rgba(0, 25, 68, .18);
    transform: translateX(-50%);
}

.kyc-native-slider__dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #8e2cf3;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}

.kyc-native-slider__dot.is-active,
.kyc-native-slider__dot[aria-current="true"] {
    background: #8e2cf3;
    transform: scale(1.08);
}

.kyc-native-slider-missing {
    width: min(1050px, calc(100% - 32px));
    margin: 16px auto;
    padding: 18px;
    border: 1px dashed #b8c6d8;
    border-radius: 10px;
    background: #f8fbff;
    color: #456079;
    font-size: 14px;
}

/* Slider #29: knowledge cards */
.kyc-native-slider--cards {
    min-height: 610px;
    padding: 88px 0 72px;
    background: var(--kyc-native-sky);
}

.kyc-native-slider--cards::before,
.kyc-native-slider--cards::after,
.kyc-native-slider__wave {
    content: "";
    position: absolute;
    pointer-events: none;
}

.kyc-native-slider--cards::before {
    width: 120%;
    height: 170px;
    left: -10%;
    top: -104px;
    z-index: -1;
    border-radius: 0 0 48% 56%;
    background: #fff;
    transform: rotate(-1.8deg);
}

.kyc-native-slider--cards::after {
    width: 120%;
    height: 150px;
    left: -10%;
    bottom: -106px;
    z-index: -1;
    border-radius: 50% 55% 0 0;
    background: #fff;
    transform: rotate(1.3deg);
}

.kyc-native-slider__wave--top {
    width: 120%;
    height: 100px;
    left: -10%;
    top: -31px;
    z-index: 0;
    border-radius: 42% 58% 52% 48%;
    background: rgba(117, 204, 250, .66);
    transform: rotate(.9deg);
}

.kyc-native-slider__wave--bottom {
    width: 120%;
    height: 92px;
    left: -10%;
    bottom: -40px;
    z-index: 0;
    border-radius: 48% 52% 42% 58%;
    background: rgba(117, 204, 250, .55);
    transform: rotate(-1deg);
}

.kyc-native-slider--cards .kyc-native-slider__viewport {
    width: min(1050px, calc(100% - 150px));
    margin: 0 auto;
    z-index: 3;
}

.kyc-native-slider--cards .kyc-native-slider__track {
    gap: 22px;
}

.kyc-native-card {
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 0;
    height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    color: #1d1d1f;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0, 48, 93, .08);
    transform: translateZ(0);
    transition: transform .2s ease, box-shadow .2s ease;
}

.kyc-native-card:hover,
.kyc-native-card:focus-visible {
    color: #1d1d1f;
    text-decoration: none !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 48, 93, .16);
    outline: none;
}

.kyc-native-card__image-wrap {
    width: 100%;
    height: 188px;
    overflow: hidden;
    background: #edf4f8;
}

.kyc-native-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.kyc-native-card__body {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 19px 20px 17px;
}

.kyc-native-card__badge {
    width: fit-content;
    min-height: 24px;
    margin-bottom: 11px;
    padding: 5px 10px 4px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #0066a0;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.kyc-native-card--purple .kyc-native-card__badge {
    background: #6c159c;
}

.kyc-native-card--green .kyc-native-card__badge {
    background: #197c31;
}

.kyc-native-card--red .kyc-native-card__badge {
    background: #aa2318;
}

.kyc-native-card__title {
    min-height: 62px;
    color: #181818;
    font-size: clamp(24px, 1.75vw, 30px);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -.025em;
}

.kyc-native-card__rule {
    width: 100%;
    height: 2px;
    margin: 14px 0 18px;
    background: #10adcc;
    opacity: .8;
}

.kyc-native-card--purple .kyc-native-card__rule {
    background: #a72eff;
}

.kyc-native-card--green .kyc-native-card__rule {
    background: #3cbe29;
}

.kyc-native-card--red .kyc-native-card__rule {
    background: #40c42b;
}

.kyc-native-card__meta {
    min-height: 68px;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.kyc-native-card__avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: block;
    border-radius: 2px;
    object-fit: contain;
    object-position: bottom center;
}

.kyc-native-card__meta-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kyc-native-card__kicker {
    color: #757d88;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 400;
}

.kyc-native-card__summary {
    display: -webkit-box;
    overflow: hidden;
    color: #252525;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.kyc-native-slider--cards .kyc-native-slider__dots {
    bottom: 18px;
}

/* Slider #30 and #36: editorial one-slide format */
.kyc-native-slider--editorial {
    min-height: 520px;
    padding: 48px 0 66px;
    background: #dceff7;
}

.kyc-native-slider--city {
    background: #eef5fb;
}

.kyc-native-slider--editorial .kyc-native-slider__viewport {
    width: min(1110px, calc(100% - 140px));
    margin: 0 auto;
}

.kyc-native-slider--editorial .kyc-native-slider__track {
    gap: 0;
}

.kyc-native-editorial {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 405px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    align-items: center;
    gap: 58px;
    padding: 22px 30px;
}

.kyc-native-editorial__decor {
    width: 240px;
    height: 240px;
    position: absolute;
    left: 35%;
    top: 18%;
    z-index: 0;
    opacity: .75;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .96) 0 4px, transparent 4.5px);
    background-size: 34px 34px;
    pointer-events: none;
}

.kyc-native-slider--city .kyc-native-editorial__decor {
    opacity: .42;
    background-image: radial-gradient(circle, rgba(14, 94, 173, .32) 0 3px, transparent 3.5px);
}

.kyc-native-editorial__copy,
.kyc-native-editorial__visual {
    position: relative;
    z-index: 2;
}

.kyc-native-editorial__copy {
    padding-left: 10px;
}

.kyc-native-editorial__label {
    margin-bottom: 18px;
    color: #d31658;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
}

.kyc-native-slider--city .kyc-native-editorial__label {
    color: #0872bb;
}

.kyc-native-editorial__title {
    max-width: 560px;
    color: #073c75;
    font-size: clamp(42px, 3.5vw, 64px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.035em;
}

.kyc-native-editorial__button {
    width: fit-content;
    min-width: 134px;
    min-height: 54px;
    margin-top: 30px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 11px;
    background: #ed1552;
    color: #fff !important;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 7px 18px rgba(207, 18, 76, .13);
    transition: transform .18s ease, filter .18s ease;
}

.kyc-native-slider--city .kyc-native-editorial__button {
    background: #0a63b7;
}

.kyc-native-editorial__button:hover,
.kyc-native-editorial__button:focus-visible {
    color: #fff !important;
    text-decoration: none !important;
    filter: brightness(.96);
    transform: translateY(-2px);
    outline: none;
}

.kyc-native-editorial__visual {
    width: 100%;
    justify-self: end;
}

.kyc-native-editorial__image {
    width: 100%;
    height: 405px;
    display: block;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(28, 87, 122, .16);
}

.kyc-native-slider--editorial .kyc-native-slider__arrow--prev {
    left: 18px;
}

.kyc-native-slider--editorial .kyc-native-slider__arrow--next {
    right: 18px;
}

.kyc-native-slider--editorial .kyc-native-slider__dots {
    bottom: 12px;
}

@media (max-width: 1180px) {
    .kyc-native-slider--cards .kyc-native-slider__viewport {
        width: min(950px, calc(100% - 126px));
    }

    .kyc-native-card {
        height: 420px;
    }

    .kyc-native-card__image-wrap {
        height: 170px;
    }

    .kyc-native-card__title {
        min-height: 54px;
        font-size: 24px;
    }

    .kyc-native-slider--editorial .kyc-native-slider__viewport {
        width: min(1010px, calc(100% - 116px));
    }

    .kyc-native-editorial {
        grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
        gap: 36px;
    }

    .kyc-native-editorial__title {
        font-size: clamp(38px, 4vw, 54px);
    }

    .kyc-native-editorial__image {
        height: 360px;
    }
}

@media (max-width: 900px) {
    .kyc-native-slider--cards {
        min-height: 560px;
        padding-top: 72px;
    }

    .kyc-native-slider--cards .kyc-native-slider__viewport {
        width: calc(100% - 100px);
    }

    .kyc-native-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .kyc-native-slider--cards .kyc-native-slider__track {
        gap: 18px;
    }

    .kyc-native-slider--editorial {
        min-height: 470px;
        padding-top: 36px;
    }

    .kyc-native-slider--editorial .kyc-native-slider__viewport {
        width: calc(100% - 86px);
    }

    .kyc-native-editorial {
        min-height: 365px;
        grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
        gap: 26px;
        padding: 18px;
    }

    .kyc-native-editorial__title {
        font-size: clamp(32px, 4.5vw, 44px);
    }

    .kyc-native-editorial__image {
        height: 325px;
        border-radius: 18px;
    }
}

@media (max-width: 700px) {
    .kyc-slider-compare {
        margin-top: 14px;
        margin-bottom: 20px;
    }

    .kyc-slider-compare__label {
        width: calc(100% - 24px);
        margin-bottom: 6px;
        font-size: 9px;
    }

    .kyc-native-slider__arrow {
        width: 40px;
        height: 44px;
        border-radius: 9px;
    }

    .kyc-native-slider__arrow span {
        font-size: 34px;
    }

    .kyc-native-slider__arrow--prev,
    .kyc-native-slider--editorial .kyc-native-slider__arrow--prev {
        left: 6px;
    }

    .kyc-native-slider__arrow--next,
    .kyc-native-slider--editorial .kyc-native-slider__arrow--next {
        right: 6px;
    }

    .kyc-native-slider--cards {
        min-height: 510px;
        padding: 58px 0 62px;
    }

    .kyc-native-slider--cards .kyc-native-slider__viewport {
        width: calc(100% - 54px);
    }

    .kyc-native-slider--cards .kyc-native-slider__track {
        gap: 14px;
    }

    .kyc-native-card {
        flex-basis: 100%;
        height: 390px;
        border-radius: 13px;
    }

    .kyc-native-card__image-wrap {
        height: 160px;
    }

    .kyc-native-card__body {
        padding: 15px 16px 14px;
    }

    .kyc-native-card__badge {
        min-height: 21px;
        margin-bottom: 8px;
        padding: 4px 8px;
        font-size: 9px;
    }

    .kyc-native-card__title {
        min-height: 46px;
        font-size: 21px;
    }

    .kyc-native-card__rule {
        margin: 10px 0 12px;
    }

    .kyc-native-card__avatar {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .kyc-native-card__kicker,
    .kyc-native-card__summary {
        font-size: 11px;
    }

    .kyc-native-slider--editorial {
        min-height: 610px;
        padding: 26px 0 60px;
    }

    .kyc-native-slider--editorial .kyc-native-slider__viewport {
        width: calc(100% - 34px);
    }

    .kyc-native-editorial {
        min-height: 525px;
        grid-template-columns: 1fr;
        align-content: center;
        gap: 22px;
        padding: 20px 18px;
    }

    .kyc-native-editorial__copy {
        padding-left: 0;
    }

    .kyc-native-editorial__label {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .kyc-native-editorial__title {
        max-width: none;
        font-size: clamp(28px, 9vw, 39px);
        line-height: 1.06;
    }

    .kyc-native-editorial__button {
        min-width: 116px;
        min-height: 44px;
        margin-top: 17px;
        padding: 0 17px;
        border-radius: 9px;
        font-size: 13px;
    }

    .kyc-native-editorial__visual {
        order: -1;
    }

    .kyc-native-editorial__image {
        height: min(62vw, 290px);
        border-radius: 15px;
    }

    .kyc-native-editorial__decor {
        width: 170px;
        height: 170px;
        left: auto;
        right: 0;
        top: 45%;
        background-size: 26px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kyc-native-slider__track,
    .kyc-native-card,
    .kyc-native-editorial__button,
    .kyc-native-slider__arrow,
    .kyc-native-slider__dot {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
