/* VIDEO DARI GENONE - ULTRA COMPACT & DEMPET DESIGN */
/* Menghilangkan semua ruang kosong dan membuat card ultra dempet seperti berita utama */

/* FORCE COMPACT LAYOUT */
.video-genone-section .card-video-genone {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.video-genone-section .card-video-genone .card-body {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    padding: 10px 10px 6px 10px !important;
    min-height: auto !important;
    height: auto !important;
    display: block !important;
}

.video-genone-section .card-video-genone .card-title {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.15 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

/* ULTRA DEMPET SPACING - Minimal gaps */
@media (min-width: 1000px) {
    .video-genone-section .custom-container {
        padding: 0 4px !important;
    }
    
    .video-genone-section .owl-home-slider {
        padding: 0 !important;
        margin: 0 -1px !important;
    }
    
    .video-genone-section .owl-home-slider .owl-item {
        padding: 0 1px !important;
    }
    
    .video-genone-section .card-video-genone .card-img-top {
        height: 170px !important;
    }
    
    .video-genone-section .card-video-genone .card-title {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

@media (min-width: 1200px) {
    .video-genone-section .custom-container {
        padding: 0 6px !important;
    }
    
    .video-genone-section .owl-home-slider {
        margin: 0 -2px !important;
    }
    
    .video-genone-section .owl-home-slider .owl-item {
        padding: 0 2px !important;
    }
    
    .video-genone-section .card-video-genone .card-img-top {
        height: 180px !important;
    }
    
    .video-genone-section .card-video-genone .card-title {
        font-size: 0.85rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

@media (min-width: 1400px) {
    .video-genone-section .custom-container {
        padding: 0 8px !important;
    }
    
    .video-genone-section .owl-home-slider {
        margin: 0 -3px !important;
    }
    
    .video-genone-section .owl-home-slider .owl-item {
        padding: 0 3px !important;
    }
    
    .video-genone-section .card-video-genone .card-img-top {
        height: 190px !important;
    }
    
    .video-genone-section .card-video-genone .card-title {
        font-size: 0.87rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* Tablet - Ultra Dempet */
@media (min-width: 600px) and (max-width: 999px) {
    .video-genone-section .custom-container {
        padding: 0 3px !important;
    }
    
    .video-genone-section .owl-home-slider {
        margin: 0 -1px !important;
    }
    
    .video-genone-section .owl-home-slider .owl-item {
        padding: 0 1px !important;
    }
    
    .video-genone-section .card-video-genone .card-img-top {
        height: 150px !important;
    }
    
    .video-genone-section .card-video-genone .card-title {
        font-size: 0.78rem !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* Mobile - Minimal spacing */
@media (max-width: 599px) {
    .video-genone-section .custom-container {
        padding: 0 2px !important;
    }
    
    .video-genone-section .owl-home-slider {
        margin: 0 !important;
    }
    
    .video-genone-section .owl-home-slider .owl-item {
        padding: 0 1px !important;
    }
    
    .video-genone-section .card-video-genone .card-img-top {
        height: 130px !important;
    }
    
    .video-genone-section .card-video-genone .card-body {
        padding: 8px 8px 4px 8px !important;
    }
    
    .video-genone-section .card-video-genone .card-title {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* Remove any extra margins/paddings */
.video-genone-section .card-video-genone * {
    margin-bottom: 0 !important;
}

.video-genone-section .card-video-genone .card-body a {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force equal height for all cards */
.video-genone-section .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.video-genone-section .owl-item {
    display: flex !important;
    align-items: stretch !important;
}

.video-genone-section .item {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
}

/* Ensure no overflow */
.video-genone-section,
.video-genone-section * {
    box-sizing: border-box !important;
}

/* Override any conflicting styles */
.video-genone-section .card-video-genone .card-body p,
.video-genone-section .card-video-genone .card-body div:not(.position-absolute) {
    display: none !important;
}

/* Keep only title visible in card body */
.video-genone-section .card-video-genone .card-body > h6 {
    display: block !important;
}

/* Link wrapper styling */
.video-genone-section .item > a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}

.video-genone-section .item > a:hover {
    text-decoration: none !important;
    color: inherit !important;
}

.video-genone-section .item > a > .card {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure video cards have same styling as news cards */
.video-genone-section .card-video-genone {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.video-genone-section .card-video-genone:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Play button overlay for video cards (optional) */
.video-genone-section .card-video-genone::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 60px !important;
    height: 60px !important;
    background: rgba(220, 53, 69, 0.8) !important;
    border-radius: 50% !important;
    z-index: 5 !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
}

.video-genone-section .card-video-genone::after {
    content: '▶' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-45%, -50%) !important;
    color: white !important;
    font-size: 20px !important;
    z-index: 6 !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
}

.video-genone-section .card-video-genone:hover::before,
.video-genone-section .card-video-genone:hover::after {
    opacity: 1 !important;
}

/* Position relative for play button overlay */
.video-genone-section .card-video-genone {
    position: relative !important;
}

.video-genone-section .card-video-genone .card-img-top {
    position: relative !important;
    z-index: 1 !important;
}