.youtube-video-wrap{
    max-width:1200px;
    margin:0 auto;
    padding:0;
    box-sizing:border-box;
    overflow:hidden;
}

/* 카드 */

.video-card-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    width:100%;
}

.video-card{
    position:relative;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:14px;
    padding:12px;
    box-sizing:border-box;
    overflow:hidden;
}

.video-player{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    border-radius:10px;
    overflow:hidden;
    background:#000;
    margin-bottom:10px;
    cursor:pointer;
}

.video-thumb{
    width:100%;
    height:100%;
    object-fit:cover;
}

.video-player iframe{
    width:100%;
    height:100%;
    border:0;
	display:block;
}
.video-youtube-host{
    width:100%;
    height:100%;
}

.video-youtube-host iframe{
    display:block;
    width:100%;
    height:100%;
    border:0;
}

.video-play-btn{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,29,29,.92);
}

.video-play-btn:before{
    content:'';
    position:absolute;
    left:16px;
    top:11px;
    border-left:15px solid #fff;
    border-top:10px solid transparent;
    border-bottom:10px solid transparent;
}

.video-title-link{
    display:block;
    margin-bottom:5px;
    color:#222;
    font-size:12px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.video-channel{
    display:block;
    margin-bottom:8px;
    color:#777;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.video-card-line{
    margin-top:8px;
    padding-top:9px;
    border-top:1px solid #eee;
}

.video-card-stat{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:6px;
    font-size:12px;
}

.video-card-stat em{
    display:flex;
    align-items:center;
    gap:4px;
    font-style:normal;
    font-weight:700;
}

.video-card-stat span{
    font-weight:800;
}

.video-card-stat + .video-card-stat{
    margin-top:5px;
}

.video-count{
    margin:0 0 14px;
    color:#888;
    font-size:12px;
    text-align:right;
}

.video-empty{
    grid-column:1/-1;
    padding:40px;
    border:1px solid #eee;
    border-radius:14px;
    text-align:center;
    color:#777;
}

.video-card-rank{
    display:none;
}

.pc-num{
    display:inline;
}

.mobile-num{
    display:none;
}

/* 페이징 */

.yt-paging{
    display:flex;
    justify-content:center;
    gap:4px;
    margin:28px 0 10px;
}

.yt-paging a,
.yt-paging strong{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-width:32px;
    height:32px;
    padding:0 9px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    color:#555;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
}

.yt-paging strong{
    background:#ff1d1d;
    border-color:#ff1d1d;
    color:#fff;
}

.yt-paging a:hover{
    color:#ff1d1d;
    border-color:#ff1d1d;
}

.yt-paging .pg_prev,
.yt-paging .pg_next,
.yt-paging .pg_start,
.yt-paging .pg_end{
    font-size:0;
}

.yt-paging .pg_prev:before{content:"‹";font-size:15px;font-weight:bold;}
.yt-paging .pg_next:before{content:"›";font-size:15px;font-weight:bold;}
.yt-paging .pg_start:before{content:"«";font-size:15px;font-weight:bold;}
.yt-paging .pg_end:before{content:"»";font-size:15px;font-weight:bold;}

/* 모바일 */

@media(max-width:900px){

    .youtube-video-wrap{
        margin:15px auto;
        padding:0 10px;
    }

    .video-count{
        text-align:left;
    }

    .video-card-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .video-card{
        width:100%;
        max-width:100%;
    }

    .video-title-link{
        font-size:12px;
    }

    .video-channel{
        font-size:12px;
    }

    .video-card-stat{
        font-size:12px;
    }

    .pc-num{
        display:none;
    }

    .mobile-num{
        display:inline;
    }

    .yt-paging{
        gap:3px;
        margin:22px 0 8px;
    }

    .yt-paging a,
    .yt-paging strong{
        min-width:28px;
        height:28px;
        font-size:11px;
        border-radius:7px;
    }
}