
.latest-videos-section {
    background: #f9f9f9;
}

.latest-videos-section h2 {
    font-weight: 700;
    color: var(--main-color);
}

.video-card {
    transition: 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-6px);
}

/* === FIX 16:9 THUMBNAILS === */

.video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: 0.3s ease;
}

.video-card:hover .video-thumb::after {
    opacity: 1;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #fff;
    opacity: 0.9;
    pointer-events: none;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    min-height: 48px;
}

/* ============================= */
/*  VIDEO MODAL – FINAL 16:9    */
/* ============================= */

.video-modal .modal-dialog {
    max-width: 1100px;
}

.video-modal .modal-content {
    background: #000;
    border: 0;
}

.video-modal .modal-body {
    padding: 0 !important;
}

.video-modal iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}
@media (max-width: 768px) {
    .video-modal iframe {
        height: 300px;
    }
}


/* ===============================
   PLAYLIST SECTION STYLING
=================================*/

.playlist-section {
    background: #f3f3f3;
}

.playlist-section h2 {
    font-weight: 700;
    color: var(--main-color);
}

/* ===============================
   PLAYLIST MODERN CAROUSEL
=================================*/

.playlist-carousel-wrapper {
    position: relative;
}

.playlist-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 40px;
}

.playlist-carousel::-webkit-scrollbar {
    display: none;
}

.playlist-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.playlist-card:hover {
    transform: translateY(-6px);
}

.playlist-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.playlist-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-title {
    padding: 15px;
    font-weight: 600;
    font-size: 15px;
}

.playlist-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--main-color);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
}

.playlist-arrow.left {
    left: 0;
}

.playlist-arrow.right {
    right: 0;
}

@media (max-width: 768px) {
    .playlist-card {
        flex: 0 0 250px;
    }
}