.old-video-card {
    width: 100%;
    max-width: 320px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.old-video-card .old-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.old-video-card .video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.old-video-card .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.old-video-card .old-video-card:hover .thumbnail-image {
    transform: scale(1.05);
}

.old-video-card .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.old-video-card .play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.old-video-card .old-video-card:hover .play-button {
    opacity: 1;
}

.old-video-card .play-button svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

.old-video-card .video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

.old-video-card .episode-info {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: rgba(255, 165, 0, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.old-video-card .old-video-card:hover .episode-info {
    opacity: 1;
}

.old-video-card .video-content {
    padding: 16px;
}

.old-video-card .video-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
    transition: color 0.3s ease;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.old-video-card .old-video-card:hover .video-title {
    color: #ff6b00;
}

.old-video-card .episode-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.old-video-card .researcher-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.old-video-card .researcher-institution {
    font-size: 12px;
    color: #666;
}

.old-video-card .video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.old-video-card .tag {
    background-color: #f0f0f0;
    color: #555;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.old-video-card .video-date {
    font-size: 12px;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .old-video-card {
        max-width: 280px;
    }

    .old-video-card .video-thumbnail {
        height: 160px;
    }

    .old-video-card .video-content {
        padding: 12px;
    }

    .old-video-card .video-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .old-video-card {
        max-width: 100%;
    }

    .old-video-card  .video-thumbnail {
        height: 180px;
    }
}
