/* =========================================
PAGE
========================================= */

.video-page{
    padding:60px 0 80px;

    background:
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #f2f6fb 100%
        );
}

/* =========================================
GRID
========================================= */

.video-grid{
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:28px;
}

/* =========================================
CARD
========================================= */

.video-card{
    background:white;

    border-radius:28px;

    overflow:hidden;

    border:1px solid #e7edf5;

    transition:.35s;

    box-shadow:
        0 12px 35px rgba(15,23,42,.05);
}

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

    box-shadow:
        0 25px 45px rgba(15,23,42,.10);
}

/* =========================================
THUMBNAIL
========================================= */

.video-thumbnail{
    position:relative;

    overflow:hidden;
}

.video-thumbnail img{
    width:100%;

    height:240px;

    object-fit:cover;

    transition:.5s;
}

.video-card:hover img{
    transform:scale(1.05);
}

/* =========================================
PLAY
========================================= */

.video-play{
    position:absolute;

    top:50%;
    left:50%;

    transform:
        translate(-50%,-50%);

    width:80px;
    height:80px;

    border-radius:50%;

    background:rgba(255,255,255,.95);

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#002f6c;

    font-size:34px;

    transition:.3s;
}

.video-play:hover{
    transform:
        translate(-50%,-50%)
        scale(1.1);

    color:#002f6c;
}

/* =========================================
PLATFORM
========================================= */

.video-platform{
    position:absolute;

    top:16px;
    left:16px;

    height:38px;

    padding:0 14px;

    border-radius:100px;

    display:flex;

    align-items:center;

    gap:8px;

    font-size:13px;

    font-weight:700;

    background:white;

    color:#16315c;
}

.video-platform.youtube{
    color:#dc2626;
}

.video-platform.drive{
    color:#16a34a;
}

/* =========================================
CONTENT
========================================= */

.video-content{
    padding:24px;
}

.video-content h4{
    font-size:18px;

    line-height:1.7;

    font-weight:800;

    color:#16315c;

    margin-bottom:16px;
}

.video-meta{
    display:flex;

    align-items:center;

    gap:18px;

    color:#64748b;

    font-size:14px;
}

.video-meta span{
    display:flex;

    align-items:center;

    gap:8px;
}

/* =========================================
SIDEBAR
========================================= */

.video-sidebar{
    background:white;

    border-radius:28px;

    padding:30px;

    border:1px solid #e7edf5;

    box-shadow:
        0 12px 35px rgba(15,23,42,.05);

    height:fit-content;
}

.popular-line{
    width:60px;
    height:5px;

    background:#ffc107;

    border-radius:100px;

    margin-bottom:18px;
}

.video-sidebar h4{
    font-size:24px;

    font-weight:800;

    color:#16315c;

    margin-bottom:28px;
}

.popular-item{
    display:flex;

    gap:16px;

    margin-bottom:24px;
}

.popular-number{
    width:38px;
    height:38px;

    border-radius:50%;

    background:#002f6c;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:15px;

    font-weight:700;

    flex-shrink:0;
}

.popular-image img{
    width:90px;
    height:70px;

    object-fit:cover;

    border-radius:12px;
}

.popular-content h5{
    font-size:15px;

    line-height:1.7;

    font-weight:700;

    color:#16315c;

    margin-bottom:10px;
}

.popular-date{
    display:flex;

    align-items:center;

    gap:8px;

    font-size:13px;

    color:#64748b;
}

.sidebar-btn{
    width:100%;

    height:58px;

    border-radius:18px;

    background:#002f6c;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    font-weight:700;

    margin-top:30px;

    transition:.3s;
}

.sidebar-btn:hover{
    background:#0c4da2;

    color:white;
}

/* =========================================
RESPONSIVE
========================================= */

@media(max-width:1400px){

    .video-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:992px){

    .video-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .video-page{
        padding:40px 0 60px;
    }

}