.video-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* border: none; */
    border-bottom: 1px solid rgba(240, 240, 240, 1);
}

.video-frame {
    flex-grow: 1;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 200px;
    /* Control video height */
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 15px;
}

.video-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.video-description {
    font-size: 14px;
    color: #666;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.video-thumbnail-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    /* border-top-left-radius: 4px;
    border-top-right-radius: 4px; */
    width: 100%;
    height: 210px;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail-wrapper:hover .play-overlay {
    opacity: 1;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-thumbnail-wrapper:hover .video-thumbnail {
    transform: scale(1.25);
}

.video-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}