/*　recommend Card 用)
/* start cards */

.video-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    justify-content: center;
}

.video-card {
    background-color: #fff;
    width: 240px;
    height: auto;
    margin: 15px;
    border-radius: 8px;
    overflow: hidden; 
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(148, 92, 245, 0.3), 0 8px 16px rgba(255, 127, 173, 0.3);
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

.video-card:hover {
    box-shadow: 0 10px 20px rgba(148, 92, 245, 0.5), 0 15px 30px rgba(255, 127, 173, 0.5); /* Larger, more intense shadow on hover */
}




.video-card img {
    width: 100%;
    height: auto;
aspect-ratio: 16 / 9; /* 16:9の比率 */
    object-fit: cover;
    background-color: gainsboro;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #222222;
}

.video-author {
    font-size: 10px;
    font-weight: 100;
    margin-bottom: 12px;
    color: #787878;
}


.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.video-meta span {
    display: flex;
    align-items: center;
}

.video-meta i {
    margin-left: 5px;
    font-size: 16px;
}
