/* 기본 row 숨김 → 사용하지 않음 */
.row-cols-md-4 > li:nth-child(n+5) {
    display: unset;
}

@media (max-width: 991px) {
    .row-cols-md-4 > li:nth-child(n+5) {
        /* display: none; */ /* 필요 시 활성화 */
    }
}

/* video-card 스타일 */
.video-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    transition: box-shadow .2s ease;
}

.video-card:hover {
    box-shadow: 0 0 18px rgba(0,0,0,0.5);
}

/* 썸네일 비율 유지 박스 */
.thumb-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.thumb-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* NEW 아이콘 */
.badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff0055;
    padding: 3px 7px;
    font-size: 11px;
    color: #fff;
    border-radius: 5px;
    z-index: 5;
}

/* 게시판 제목 라벨 (우측 하단) */
.badge-board {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    z-index: 5;
}

/* 제목, 메타 정보 */
.video-info {
    padding: 10px 12px;
}

.video-title {
    color: #f1f1f1;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 12px;
    color: #aaa;
}
