/* Papushe Reels Slider v1.3 */

.elementor-widget-papushe_reels_slider {
    width: 100% !important;
}

.pr-reels-slider {
    position: relative;
    width: 100%;
}

.pr-reels-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pr-reels-track::-webkit-scrollbar {
    display: none;
}

.pr-reels-slider.pr-initialized .pr-reels-track {
    overflow: hidden;
    scroll-snap-type: none;
    transition: transform 0.4s ease;
    gap: 0;
}

.pr-reel-slide {
    flex: 0 0 calc(25% - 12px);
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .pr-reel-slide { flex-basis: calc(33.333% - 11px); }
}

@media (max-width: 767px) {
    .pr-reel-slide { flex-basis: calc(50% - 8px); }
}

.pr-reel-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #111;
    border-radius: 12px;
}

.pr-reel-inner {
    position: absolute;
    inset: 0;
}

.pr-reel-video,
.pr-reel-poster,
.pr-reel-yt {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.pr-reel-yt-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
}

.pr-reel-yt-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-reel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
}

.pr-reel-play {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s;
}

.pr-reel-card:hover .pr-reel-play {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
}

.pr-reel-play.is-paused {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.pr-reel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 14px 14px;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    z-index: 1;
    pointer-events: none;
}

.pr-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: opacity 0.2s, transform 0.2s;
    color: #fff;
}

.pr-arrow:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.08);
}

.pr-arrow-prev { left: -8px; }
.pr-arrow-next { right: -8px; }

@media (max-width: 767px) {
    .pr-arrow { width: 34px; height: 34px; }
    .pr-arrow-prev { left: 4px; }
    .pr-arrow-next { right: 4px; }
    .pr-reel-caption { font-size: 12px; padding: 16px 10px 10px; }
}
