.ns-slider {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(19, 34, 80, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.ns-slider-viewport {
    overflow: hidden;
}

.ns-slider-track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.42s ease;
    will-change: transform;
}

.ns-slide {
    position: relative;
    flex: 0 0 100%;
    display: block;
    color: inherit;
}

.ns-slide-media {
    width: 100%;
    aspect-ratio: 16 / 7;
    background: rgba(245, 248, 255, 0.92);
    overflow: hidden;
}

.ns-slide-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: rgba(245, 248, 255, 0.92);
}

.ns-slide-img-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(129, 140, 175, 0.9);
    font-size: 28px;
}

.ns-slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    pointer-events: none;
}

.ns-slide-card {
    pointer-events: auto;
    width: min(720px, 100%);
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.ns-slide-title {
    font-weight: 800;
    font-size: 18px;
    color: #10152b;
    line-height: 1.15;
}

.ns-slide-subtitle {
    font-size: 13px;
    color: rgba(30, 50, 110, 0.85);
    line-height: 1.4;
}

.ns-slide-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

.ns-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--ns-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 82, 255, 0.2);
    transition: filter 0.16s ease, transform 0.16s ease;
}

.ns-slide:hover .ns-slide-btn {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.ns-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(0, 82, 255, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ns-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.ns-slider-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) translateY(-1px);
}

.ns-slider-prev { left: 12px; }
.ns-slider-next { right: 12px; }

.ns-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(19, 34, 80, 0.08);
    backdrop-filter: blur(14px);
}

.ns-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 82, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.16s ease, transform 0.16s ease;
}

.ns-slider-dot.active {
    background: var(--ns-blue);
    transform: scale(1.15);
}

@media (max-width: 767.98px) {
    .ns-slide-media {
        aspect-ratio: 16 / 10;
    }

    .ns-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .ns-slide-card {
        padding: 14px 14px;
        border-radius: 16px;
    }
}

.ns-slider,
.ns-slide,
.ns-slide * {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.ns-slide-img {
    pointer-events: none;
    -webkit-user-drag: none;
}

.ns-slider.is-dragging {
    cursor: grabbing;
}

.ns-slider {
    cursor: grab;
}
