@charset "utf-8";

.km-feature-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding-bottom: 0;
}

.km-feature-viewport {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: clamp(320px, 38vw, 460px);
    overflow: visible;
    border-radius: 34px;
    background: transparent;
    box-shadow: none;
    clip-path: inset(-40px -120px -40px 0);
}

.km-feature-wrapper {
    position: relative;
    z-index: 2;
}

.km-feature-slide {
    position: relative;
    display: block;
    overflow: hidden;
    height: 100%;
    min-height: clamp(320px, 38vw, 460px);
    border-radius: 34px;
    color: #fff;
    background: #123f56;
    box-shadow: 0 22px 44px rgba(15, 30, 48, .18);
    transform: translateZ(0);
}

.km-feature-slide.has-link {
    cursor: pointer;
}

.km-feature-viewport:not(.swiper-initialized) .km-feature-slide:not(.is-active) {
    display: none;
}

.km-feature-viewport:not(.swiper-initialized) .km-feature-slide.is-active {
    display: block;
}

.km-feature-image,
.km-feature-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.km-feature-placeholder {
    display: block;
    background: linear-gradient(135deg, #123f56, #2080ef);
}

.km-feature-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .20) 56%, rgba(0, 0, 0, .12)),
        linear-gradient(0deg, rgba(0, 0, 0, .32), transparent 55%);
}

.km-feature-copy {
    position: absolute;
    left: clamp(30px, 5vw, 58px);
    right: clamp(28px, 10vw, 120px);
    bottom: clamp(76px, 8vw, 96px);
    z-index: 2;
    display: grid;
    gap: 14px;
    max-width: 760px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .35s ease, transform .35s ease;
}

.km-feature-slide.swiper-slide-active .km-feature-copy,
.km-feature-slide.is-active .km-feature-copy {
    opacity: 1;
    transform: translateY(0);
    animation: kmFeatureFadeUp .55s ease both;
}

.km-feature-copy strong,
.km-feature-copy span {
    display: block;
    width: fit-content;
    max-width: 100%;
}

.km-feature-copy strong {
    color: #fff;
    font-size: clamp(30px, 4vw, 34px);
    font-weight: 900;
    line-height: 1.18;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .32);
}

.km-feature-copy span {
    max-width: 620px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(14px, 1.45vw, 17px);
    font-weight: 700;
    line-height: 1.55;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.km-feature-copy::after {
    content: "\8A73\7D30\3092\898B\308B";
    display: inline-grid;
    place-items: center;
    width: max-content;
    min-height: 44px;
    margin-top: 6px;
    padding: 0 28px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    display: none;
}

.km-feature-slide:not(.has-link) .km-feature-copy::after {
    content: none;
}

.km-feature-admin {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background: rgba(15, 30, 48, .46);
    color: #fff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 900;
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
}

.km-feature-controls {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 12px 26px rgba(15, 30, 48, .14);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    transform: translateX(-50%);
}

:root[data-km-theme="dark"] .km-feature-controls {
    background: rgba(7, 24, 39, .58);
}

.km-feature-control {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 0;
    background: transparent;
    color: var(--color-text);
    padding: 0;
    cursor: pointer;
}

.km-feature-control i {
    display: block;
    font-size: 14px;
    line-height: 1;
}

:root[data-km-theme="dark"] .km-feature-control {
    color: rgba(238, 246, 255, .82);
}

.km-feature-viewport .swiper-slide-shadow-cards {
    border-radius: inherit;
    background: rgba(0, 0, 0, .16);
}

@keyframes kmFeatureFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .km-feature-slider {
        padding-bottom: 0;
    }

    .km-feature-viewport,
    .km-feature-slide {
        min-height: 340px;
        border-radius: 28px;
    }

    .km-feature-viewport {
        clip-path: inset(-28px -70px -28px 0);
    }

    .km-feature-copy {
        left: 24px;
        right: 24px;
        bottom: 76px;
    }

    .km-feature-copy strong {
        font-size: 28px;
    }

    .km-feature-copy span {
        display: none;
    }
}

@media (max-width: 480px) {
    .km-feature-viewport,
    .km-feature-slide {
        min-height: 300px;
        border-radius: 22px;
    }

    .km-feature-viewport {
        clip-path: inset(-22px -36px -22px 0);
    }

    .km-feature-copy {
        left: 20px;
        right: 20px;
        bottom: 68px;
        gap: 10px;
    }

    .km-feature-copy strong {
        font-size: 22px;
        line-height: 1.24;
    }

    .km-feature-copy::after {
        min-height: 38px;
        padding: 0 20px;
        font-size: 13px;
    }

    .km-feature-controls {
        bottom: 14px;
        gap: 10px;
        padding: 7px 10px;
    }

    .km-feature-dots {
        gap: 8px;
    }

    .km-feature-dots .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}
