/* ─── Wrapper ─────────────────────────────────────────────── */
.nd-ba-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* ─── Nav (top-right of the shortcode) ───────────────────── */
.nd-ba-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 28px;
}

.nd-ba-nav button,
.nd-ba-nav button:hover,
.nd-ba-nav button:focus,
.nd-ba-nav button:active {
    width: 32px;
    height: 32px;
    border: none;
    background: none !important;
    color: #263F53 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none !important;
    transition: opacity 0.2s;
}

.nd-ba-nav button {
    opacity: 0.3;
}

.nd-ba-nav button.nd-ba-active {
    opacity: 1;
}

.nd-ba-nav button svg {
    width: auto;
    height: 22px;
}

/* ─── Track ───────────────────────────────────────────────── */
.nd-ba-track-outer {
    overflow: hidden;
}

.nd-ba-track {
    display: flex;
    gap: 16px;
    transition: transform 0.35s ease;
    will-change: transform;
}

/* ─── Slide wrapper (image + title) ──────────────────────── */
.nd-ba-slide {
    flex-shrink: 0;
    width: 312px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ─── Single item ─────────────────────────────────────────── */
.nd-ba-item {
    width: 312px;
    height: 155px;
    border-radius: 35px;
    position: relative;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

/* ─── Title ───────────────────────────────────────────────── */
.nd-ba-title {
    margin: 12px 0 0;
    text-align: center;
    color: #263F53;
    font-family: 'PT Sans', sans-serif;
    font-size: 20px;
    line-height: 1.5;
}

/* ─── Images ──────────────────────────────────────────────── */
.nd-ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.nd-ba-img-before {
    clip-path: inset(0 50% 0 0);
}

/* ─── Drag handle ─────────────────────────────────────────── */
.nd-ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 20px;
    transform: translateX(-50%);
    cursor: col-resize;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* White separator line */
.nd-ba-handle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
}

/* Circle with chevrons */
.nd-ba-handle-circle {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #263F53;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.nd-ba-handle-circle svg {
    width: auto;
    height: 10px;
    flex-shrink: 0;
}
