@charset "utf-8";
.board-title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--black-color-);
    position: relative;
}
.board-title strong{
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--main-color-);
}
.board-title h1{
    font-size: 4rem;
}
.board-title p{
    font-size: 1.8rem;
    color: var(--grey-color-);
}
.board-title .list-btn{
    position: absolute;
    right: 0;
    bottom: 5rem;
    font-size: 1.8rem;
}
.board-title .youtube-link{
    background-color: rgb(255, 0, 51);
    border-radius: 0.6rem;
    padding: 1rem 2rem;
}
.board-title .youtube-link a{
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.category{
}
.category ul{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}
.category a{
    padding: 0 1rem;
    font-size: 1.8rem;
    color: #aaa;
}
.category #bo_cate_on{
    background: linear-gradient(to top, var(--main-color-) 30%, transparent 30%);
    color: var(--black-color-);
    font-weight: 800;
}

#youtube{
    padding: 5rem 4rem;
    margin-top: 8rem;
}
#youtube-wrap{
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
}
#youtube-item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8rem 4rem;
    margin-top: 6rem;
}


.shorts-item .swiper-slide .image{
    position: relative;
}
.shorts-popup img{
    border-radius: 2rem;
}
.shorts-popup .title{
    margin-top: 2rem;
}
.shorts-popup .title span{
    background-color: #eee;
    color: var(--grey-color-);
    font-weight: 300;
    border-radius: 0.4rem;
    font-size: 1.3rem;
    padding: 0.4rem 1rem;
}
.shorts-popup .title h2{
    font-weight: 300;
    margin-top: 0.5rem;
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
}
.shorts-popup .title p{
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.mfp-fade.shorts-popup-box .mfp-iframe-scaler{
    width: 36rem;
    height: 64rem;
    margin: 0 auto;
    position: relative;
    overflow: unset;
}
.mfp-fade.shorts-popup-box .mfp-iframe-scaler .mfp-close{
    top: 0;
    right: -5rem;
}
.mfp-fade.shorts-popup-box .mfp-iframe{
    width: 100%;
    height: 100%;
}
#main-selfie{
    padding: 15rem 0;
    background-color: var(--black-color-);
    overflow-x: hidden;
}





#youtube-view{
    margin-top: 14rem;
}
#youtube-view .title{
    margin-top: 3rem;
}
#youtube-view .title h1{
    font-size: 2.6rem;
    color: var(--black-color-);
}
#youtube-view .title p{
    color: var(--grey-color-);
    margin-top: 1rem;
}
#youtube-view .video{
    width: 100%;
}
#youtube-view .video {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

#youtube-view .youtube-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

#youtube-view .youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
#related-posts h2.subject{
    font-size: 2.6rem;
    padding-top: 5rem;
    margin-top: 5rem;
    border-top: 1px solid #f1f1f1;
}
#related-posts ul{
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 3rem;
}
#related-posts li{
    width: calc(25% - 3rem);
}
#related-posts .details{

}
#related-posts .details h3{
    font-size: 2rem;
    margin-top: 2rem;
}
#related-posts .details p{
    color: var(--grey-color-);
    margin-top: 1rem;
}
#related-posts .btn {
    background-color: var(--black-color-);
    color: white;
    width: 100%;
    text-align: center;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    padding: 3rem;
    margin-top: 5rem;
}
.pg_wrap{
    margin-top: 5rem;
    float: none;
    display: block;
}
.pg_wrap .pg{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.pg_page, .pg_current{
    border: none;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem;
    border-radius: 50%;
}
.pg_current{
    background-color: var(--main-color-);
    font-weight: 300;
    padding: 0;
    min-width: 3rem;
    
}
.pg_page{
    background-color: #f1f1f1;
    color: var(--grey-color-);
}
.pg_start, .pg_end{
    background-color: transparent;
}
@media (max-width: 768px) {
    #youtube-item {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
        gap: 8rem 4rem;
        margin-top: 6rem;
    }
    

    #related-posts ul{
        display: flex;
        flex-wrap: wrap;
        gap: 5rem 3rem;
        margin-top: 3rem;
    }
    #related-posts li{
        width: calc(50% - 1.5rem);
    }


}