
/* ========================================
   TRAINING VIDEO GRID
======================================== */

.tvs-video-grid {

    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    margin: 40px 0;

}

/* ========================================
   VIDEO CARD
======================================== */

.tvs-video-card {

    width: calc(33.33% - 16px);

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 6px 25px rgba(0,0,0,0.08);

    transition: all 0.3s ease;

    position: relative;

}

.tvs-video-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 10px 35px rgba(0,0,0,0.12);

}

/* ========================================
   THUMBNAIL
======================================== */

.tvs-thumbnail {

    position: relative;

    height: 230px;

    overflow: hidden;

    background: #000;

}

.tvs-thumbnail img,
.tvs-thumbnail video {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;


}


.tvs-video-card:hover .tvs-thumbnail img {

    transform: scale(1.05);

}

/* ========================================
   CONTENT
======================================== */

.tvs-content {

    padding: 22px;

}

.tvs-content h3 {

    margin: 0 0 12px;

    font-size: 22px;

    line-height: 1.4;

    color: #111;

    font-weight: 700;

}

.tvs-content p {

    margin: 0 0 18px;

    color: #666;

    line-height: 1.7;

    font-size: 15px;

}


/* ========================================
   OVERLAY
======================================== */


.tvs-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.10),
        rgba(0,0,0,0.35)
    );

    z-index: 2;

    pointer-events: none;

}




/* ========================================
   PLAY BUTTON
======================================== */

.tvs-play-button {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 82px;

    height: 82px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #f5d77a,
        #d4a017
    );

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 10;

    transition: all 0.3s ease;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(212,160,23,0.35);

}

/* Play Icon */

.tvs-play-button span {

    color: #fff;

    font-size: 30px;

    line-height: 1;

    margin-left: 4px;

}

/* Hover */

.tvs-video-card:hover .tvs-play-button {

    transform: translate(-50%, -50%) scale(1.1);

    box-shadow:
        0 14px 35px rgba(212,160,23,0.5);

}



/* ========================================
   LESSON BADGE
======================================== */

.tvs-lesson-badge {

    position: absolute;

    top: 14px;

    left: 14px;

    z-index: 5;

    background: rgba(0,0,0,0.55);

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    padding: 8px 12px;

    border-radius: 30px;

}

/* ========================================
   DURATION BADGE
======================================== */

.tvs-duration {

    position: absolute;

    bottom: 14px;

    right: 14px;

    z-index: 5;

    background: rgba(0,0,0,0.65);

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    padding: 6px 10px;

    border-radius: 30px;

}



/* ========================================
   META
======================================== */

.tvs-meta {

    margin-bottom: 20px;

    font-size: 14px;

    color: #777;

    display: flex;

    align-items: center;

    gap: 12px;

}

/* ========================================
   WATCH BUTTON
======================================== */

.tvs-watch-btn {

    display: inline-block;

    padding: 12px 20px;

    background: #111;

    color: #fff !important;

    text-decoration: none;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.3s ease;

}

.tvs-watch-btn:hover {

    background: #333;

    transform: translateY(-2px);

}

/* ========================================
   TABLET RESPONSIVE
======================================== */

@media(max-width: 1024px){

    .tvs-video-card{

        width: calc(50% - 12px);

    }

}

/* ========================================
   MOBILE RESPONSIVE
======================================== */

@media(max-width: 767px){

    .tvs-video-card{

        width: 100%;

    }

    .tvs-thumbnail img{

        height: 200px;

    }

    .tvs-content{

        padding: 18px;

    }

    .tvs-content h3{

        font-size: 20px;

    }
    .tvs-play-button{

    width: 62px;

    height: 62px;

}

.tvs-play-button span{

    font-size: 24px;

}


}



