
.ps-video-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
}

.ps-video-slider-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.ps-video-slider-container::-webkit-scrollbar {
    display: none;
}

/* Nav Buttons */
.ps-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.ps-video-slider-wrapper:hover .ps-nav-btn {
    opacity: 1;
}
.ps-prev-btn { left: 10px; }
.ps-next-btn { right: 10px; }
.ps-nav-btn:hover { background: #f0f0f0; }

/* Slide Styles */
.ps-video-slide {
    position: relative;
    flex: 0 0 300px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ps-video-slide:hover {
    transform: scale(1.02);
}

.ps-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}

.ps-video-content h3 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
}
.ps-video-content p {
    color: #ddd;
    margin: 0;
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ps-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 48px;
    height: 48px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.ps-video-slide:hover .ps-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Modal */
.ps-video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.ps-modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 900px;
}

.ps-close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.ps-iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.ps-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
