
.bbs_h {
    width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.total {
    font-size: var(--ft20);
    font-weight: var(--medium);
}
.total span {
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    color: var(--primary);
}


/*-- bbs :: 리스트 --*/
.bbs {
    width: 100%;
    padding: 30px 30px 50px;
    border-radius: 8px;
    border: 1px solid var(--dark-line);
    margin-top: 50px;
}
.no {
    width: 8%;
}
.title {
    width: 100%;
}
.date {
    width: 15%;
    text-align: center;
    flex-shrink: 0;
}
.down {
    width: 20%;
    text-align: center;
    flex-shrink: 0;
}
.bbs_th {
    width: 100%;
    height: 80px;
    border-radius: 6px;
    background-color: var(--gray-100);
    padding-left: 40px;
    display: flex;
    align-items: center;
}
.bbs_th div {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
}
.bbs_box {
    display: flex;
    align-items: center;
    padding: 30px 0;
    padding-left: 40px;
    border-bottom: 1px solid var(--dark-line);
    transition: border .2s ease;
}
.bbs_box:hover {
    border-color: var(--gray-400);
}
.bbs_box * {
    font-size: var(--ft18);
}
.bbs_box .no_m {
    display: none;
}
.bbs_box .date {
    color: var(--gray-400);
}
.bbs_box .down {
    color: var(--gray-400);
    display: flex;
    justify-content: center;
}
.bbs_box .down a {
    width: fit-content;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--dark-line);
    gap: 8px;
    transition: background .2s ease;
}
.bbs_box .down img {
    width: 16px;
    height: 16px;
}
.bbs_box .down:hover a {
    background-color: var(--gray-100);
}


/*-- album_bbs :: 앨범 --*/
.album_bbs {
    width: 100%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
}
.bbs_img {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.bbs_img img {
    transition: transform .6s ease;
}
.bbs_title {
    font-size: var(--ft20);
    font-weight: var(--semi-bold);
    margin-top: 20px;
    margin-bottom: 12px;
}
.bbs_date {
    font-size: var(--ft14);
    color: var(--gray-400);
}

.album_bbs li:hover img {
    transform: scale(1.05);
}


/*-- news_swiper --*/
.news_swiper {
    margin-top: var(--gap);
    margin-bottom: var(--contant-gap);
    position: relative;
    overflow: hidden;
}
.news_box {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
} 
.news_box a {
    display: flex;
}
.news_img {
    width: 50%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.news_img  img {
    transition: transform .6s ease;
}
.news_text_box {
    width: 50%;
    background-color: var(--gray-100);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
.news_title {
    font-size: var(--ft32);
    font-weight: var(--semi-bold);
}
.news_date {
    font-size: var(--ft16);
    color: var(--gray-400);
}

.news_box:hover .news_img img {
    transform: scale(1.05);
}

.news_swiper_pagination {
    width: fit-content !important;
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: auto !important;
    right: 30px;
    top: auto !important;
    bottom: 30px !important;
    z-index: 1;
}
.news_swiper_pagination_bullet {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: var(--gray-300);
    cursor: pointer;
    transition: width .3s ease;
}
.news_swiper_pagination_bullet_active{
    width: 40px;
    background-color: var(--gray-500);
}


@media all and (max-width: 1400px) {
    .bbs_th {
        height: 60px;
        padding-left: 30px;
    }
    .bbs_th div {
        font-size: var(--ft16);
    }
    .bbs_box {
        padding: 20px 0;
        padding-left: 30px;
    }
    .bbs_box * {
        font-size: var(--ft16);
    }

    .news_text_box {
        padding: 40px;
        gap: 20px;
    }
    .news_title {
        font-size: var(--ft28);
    }
}

@media all and (max-width: 1200px) {
    .album_bbs {
        grid-template-columns: repeat(2, 1fr);
    }
    .bbs_title {
        font-size: var(--ft18);
        margin-top: 14px;
        margin-bottom: 8px;
    }   

    .news_swiper {
        height: 300px;
    }
}

@media all and (max-width: 900px) {

    .bbs_h {
        flex-direction: column;
        align-items: start;
        gap: 40px;
    }
    .total {
        font-size: var(--ft16);
        order: 2;
    }
    .total span {
        font-size: var(--ft16);
    }

    .bbs {
        margin-top: 20px;
        padding: 0;
        border-radius: 0;
        border: none;
    }
    .bbs_list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .bbs_th {
        display: none;
    }
    .bbs_box {
        padding: 30px 0;
        border: 1px solid var(--dark-line);
        border-radius: var(--border-radius);
        flex-direction: column;
        align-items: start;
    }
    .down_bbs_box {
        padding-bottom: 0;
    }
    .title,
    .date,
    .down {
        width: 100%;
        text-align: start;
    }
    .bbs_box:hover {
        border-color: var(--dark-line);
    }
    .bbs_box .no {
        padding: 0 20px;
        margin-bottom: 10px;
        display: inline-flex;
        gap: 4px;
        color: var(--gray-400);
    }
    .bbs_box .no_m {
        display: inline-block;
    }
    .bbs_box .title {
        font-size: var(--ft18);
        font-weight: var(--semi-bold);
        margin-bottom: 10px;
        padding: 0 20px;
    }
    .bbs_box .date {
        font-size: var(--ft16);
        padding: 0 20px;
    }
    .bbs_box .down {
        margin-top: 30px;
        height: 44px;
        border-top: 1px solid var(--dark-line);
    }
    .bbs_box .down a {
        width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    .bbs_box .down:hover a {
        background: none;
    }
    .bbs_box .down p {
        font-size: var(--ft16);
    }
    .bbs_box .down img {
        width: 12px;
        height: 12px;
    }

    .album_bbs {
        margin-top: 20px;
    }

    .news_swiper {
        height: auto;
        padding-bottom: 26px;
    }
    .news_box {
        height: auto !important;
    }
    .news_box a {
        flex-direction: column;
    }
    .news_img {
        width: 100%;
        max-height: 300px;
        flex-shrink: 0;
    }
    .news_text_box {
        width: 100%;
        height: 100%;
        padding: 30px 20px;
        justify-content: start;
        gap: 14px;
    }
    .news_title {
        font-size: var(--ft20);
    }
    .news_swiper_pagination {
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto;
    }
    .news_swiper_pagination_bullet {
        width: 8px;
        height: 8px;
    }
    .news_swiper_pagination_bullet_active {
        width: 30px;
    }
}

@media all and (max-width: 600px) {
    .album_bbs {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
}