/* ======================================
   WARTA TV
====================================== */

.warta-tv-section{

    margin-top:40px;

    margin-bottom:40px;
}

/* ======================================
   HEADER
====================================== */

.section-header{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:20px;
}

.section-line{

    width:3px;

    height:22px;

    background:#dc2626;
}

.section-header h2{

    font-size:28px;

    font-weight:700;

    color:#111827;
}

/* ======================================
   VIDEO UTAMA
====================================== */

.tv-main{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:20px;

    margin-bottom:25px;
}

.tv-thumbnail{

    position:relative;
}

.tv-thumbnail img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

    border-radius:10px;

    display:block;
}

.tv-duration{

    position:absolute;

    right:10px;

    bottom:10px;

    background:rgba(0,0,0,.85);

    color:#fff;

    padding:4px 8px;

    border-radius:6px;

    font-size:12px;

    font-weight:600;
}

.tv-main-content{

    background:#f5f5f5;

    border-radius:10px;

    padding:25px;
}

.tv-main-content h3{

    font-size:34px;

    line-height:1.3;

    margin-bottom:15px;

    font-weight:700;

    color:#111827;
}

.tv-main-content span{

    color:#666;

    font-size:14px;
}

/* ======================================
   WRAPPER SLIDER
====================================== */

.tv-slider-wrapper{

    position:relative;
}

/* ======================================
   SLIDER VIDEO
====================================== */

.tv-grid{

    display:flex;

    flex-wrap:nowrap;

    gap:15px;

    overflow-x:auto;

    overflow-y:hidden;

    scroll-behavior:smooth;

    scrollbar-width:none;

    -webkit-overflow-scrolling:touch;

    padding-bottom:10px;
}

.tv-grid::-webkit-scrollbar{

    display:none;
}

/* ======================================
   TOMBOL PANAH
====================================== */

.tv-arrow{

    position:absolute;

    top:35%;

    width:36px;

    height:36px;

    border:none;

    border-radius:50%;

    background:#ff2d2d;

    color:#fff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    z-index:20;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:
        0 4px 12px rgba(0,0,0,.25);

    transition:all .25s ease;
}

.tv-arrow:hover{

    background:#dc2626;

    transform:scale(1.08);
}

/* PANAH KIRI */

.tv-prev{

    left:-18px;
}

/* PANAH KANAN */

.tv-next{

    right:-18px;
}

/* ======================================
   CARD VIDEO
====================================== */

.tv-card{

    flex:none;

    width:220px;

    min-width:220px;
}

.tv-card-image{

    position:relative;
}

.tv-card img{

    width:100%;

    aspect-ratio:16/9;

    object-fit:cover;

    border-radius:8px;

    display:block;
}

.tv-card-duration{

    position:absolute;

    right:8px;

    bottom:8px;

    background:rgba(0,0,0,.85);

    color:#fff;

    padding:3px 6px;

    border-radius:4px;

    font-size:11px;

    font-weight:600;
}

.tv-card h4{

    margin-top:10px;

    font-size:14px;

    line-height:1.4;

    font-weight:600;

    color:#111827;
}

.tv-meta{

    display:block;

    margin-top:6px;

    font-size:12px;

    color:#6b7280;
}

/* ======================================
   TABLET
====================================== */

@media (max-width:992px){

    .tv-main{

        grid-template-columns:1fr;
    }

    .tv-main-content h3{

        font-size:26px;
    }

    .tv-prev{

        left:-12px;
    }

    .tv-next{

        right:-12px;
    }
}

/* ======================================
   MOBILE
====================================== */

@media (max-width:768px){

    .tv-card{

        width:190px;

        min-width:190px;
    }

    .tv-main-content{

        padding:20px;
    }

    .tv-main-content h3{

        font-size:22px;
    }

    .tv-arrow{

        width:30px;

        height:30px;

        font-size:15px;
    }

    .tv-prev{

        left:-8px;
    }

    .tv-next{

        right:-8px;
    }
}