/* Centered, circular customer videos: a full card and half of each neighbour. */
.musteri-video-carousel.detay-video-peek,
.customer-videos.detay-video-peek {
    --video-gap: clamp(10px, 2vw, 16px);
    position: relative;
    width: min(100%, 700px);
    max-width: 700px;
    margin-inline: auto;
    padding-inline: 0;
    box-sizing: border-box;
}
.detay-video-peek .detay-video-track {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: var(--video-gap);
    margin: 0;
    padding: 16px 0;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y pinch-zoom;
    box-sizing: border-box;
}
.detay-video-track::-webkit-scrollbar { display: none; }
.detay-video-peek .detay-video-card {
    position: relative;
    display: block;
    flex: 0 0 calc(50% - var(--video-gap));
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    opacity: .64;
    transform: scale(.94);
    transition: opacity .22s ease, transform .22s ease;
}
.detay-video-peek .detay-video-card.is-centered { opacity: 1; transform: scale(1); }
.detay-video-peek .musteri-video-kart__medya {
    width: 100%;
    max-width: none;
    height: 100%;
    box-sizing: border-box;
    border-radius: inherit;
}
.detay-video-peek .detay-video-card video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: inherit;
    background: #111;
}
.detay-video-peek .detay-video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(44px, 7vw, 64px);
    height: clamp(44px, 7vw, 64px);
    padding: 0;
    color: #fff;
    background: rgba(0, 38, 91, .9);
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.detay-video-peek .detay-video-play svg { width: 24px; height: 24px; }
.detay-video-peek .detay-video-play[hidden] { display: none !important; }
.detay-video-peek .detay-video-card:not(.is-centered) .detay-video-play { visibility: hidden; }
.detay-video-peek .is-playing .detay-video-play { pointer-events: none; }
.detay-video-peek .detay-video-prev,
.detay-video-peek .detay-video-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    background: rgba(0, 38, 91, .93);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
    transform: translateY(-50%);
    cursor: pointer;
}
.detay-video-peek .detay-video-prev { left: 8px; right: auto; }
.detay-video-peek .detay-video-next { right: 8px; left: auto; }
.detay-video-peek .detay-video-prev[hidden],
.detay-video-peek .detay-video-next[hidden] { display: none; }
.customer-videos.detay-video-peek .video-navigation { display: contents; }
.detay-video-peek .video-error { position: absolute; inset: auto 8px 10px; color: #fff; background: #172334; }
.detay-video-peek .detay-video-track:focus-visible { outline: 3px solid #0058ba; outline-offset: 3px; }
@media (max-width: 520px) {
    .detay-video-peek .detay-video-card { border-radius: 12px; }
    .detay-video-peek .detay-video-prev,
    .detay-video-peek .detay-video-next { width: 34px; height: 34px; }
    .detay-video-peek .detay-video-prev { left: 4px; }
    .detay-video-peek .detay-video-next { right: 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .detay-video-peek .detay-video-card { transition: none; }
}

.detay-video-peek .detay-video-prev:hover,
.detay-video-peek .detay-video-next:hover {
    color: #fff !important;
    background: #ed6b24 !important;
}
