/**
 * Slider media — pasangan assets/js/feed-slider.js.
 * Hanya berlaku untuk card .feed-item--slider (post yang punya Gallery card).
 */
.feed-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    background: transparent; /* feature image terlihat selama gambar slide dimuat */
}
/* [WordPress] Saat slide pertama/terakhir ditarik melewati ujung: celahnya polos, bukan cover */
.feed-slider.is-edge-pull {
    background: #fff;
}
.feed-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.feed-slider__slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}
.feed-slider__slide img,
.feed-slider__slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Dot: tengah bawah, sejajar horizontal dengan tombol mute.
   Mute: bottom var(--feed-mute-bottom), tinggi 32px → garis tengah = +16px.
   Dot 7px → bottom = mute-bottom + (32 - 7) / 2. */
.feed-slider__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--feed-mute-bottom, 24px) + 12.5px);
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}
.feed-slider__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: none;
    outline: none;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.2s ease;
}
.feed-slider__dot.is-active {
    background: #fff;
}

/* Tombol mute hanya tampil saat slide aktif berupa video */
.feed-slider__mute[hidden] {
    display: none;
}
