@charset "utf-8";
/*
2024-04-04 (주)파이브센스_FIVESENSES.Corp.

본 라이브러리(라이브러리 소스코드)는 (주)파이브센스의 자산입니다.
무단으로 외부로 유출 및 일시 반출을 할 경우 손해배상 책임 및 민사/형사적 책임이 있습니다.
*/

.main_btgb2 .widget-cont > .container_fix {
    padding: 0;
}
/* 타이틀 컨테이너 */
.main_btgb2 .title_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

/* 타이틀 */
.main_btgb2 .main_cont_title {
    margin-bottom: 0px;
}

.main_btgb2 .main_cont_title h2 {
    font-size: 72px;
    font-weight: 800;
    color: var(--main-point-color);
    display: inline-block;
    width: auto;
}

/* 게시판 탭 */
.main_btgb2 .board_title_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.main_btgb2 .board_title_container ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.main_btgb2 .board_title_container ul li span {
    font-size: 21px;
    font-weight: 700;
    color: #59433b;
    display: inline-block;
    width: auto;
    cursor: pointer;
    padding:0 6px 16px;
}

.main_btgb2 .board_title_container ul li.active span {
    font-weight: 700;
    color: var(--main-point-line-color-hover);
    border-bottom: 2px solid var(--main-point-line-color-hover);;
}

/* 전체보기 아이콘 타이틀과 수평 */
.main_btgb2 .more_container {padding-bottom: 20px;}

/* 전체보기 아이콘 hover 액션 */
.main_btgb2 .more_container .more_link .more_icon .more_b {display: none;}
.main_btgb2 .more_container .more_link.on .more_icon .more_b {display: block;}
.main_btgb2 .more_container .more_link .more_icon .more_w {display: block;}
.main_btgb2 .more_container .more_link.on .more_icon .more_w {display: none;}

/* 게시판 리스트 */
.main_btgb2 .board_list {
    position: relative;
}

.main_btgb2 .move_link {
    height: 100%;
    display: block;
    border-radius: 21px;
    background-color: transparent;
    overflow: hidden;
    transition: background-color 0.2s ease-in-out;
}

.main_btgb2 .move_link .post_container {
    padding: 29px 30px 18px 30px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

/* 게시판 리스트 스켈레톤 UI */
.main_btgb2 .move_link.skeleton_ani .post_container {
    justify-content: space-around;
}

/* 게시판 라벨 스티커 */
.main_btgb2 .post_container .post_label {
    width: auto;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #c30b09;
    border-radius: 50px;
    padding: 5px 9px;
    margin-bottom: 15px;
}

/* 게시판 타이틀 */
.main_btgb2 .post_container .post_subject{
    width: 100%;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--main-point-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 35px;
}

/* 게시판 날짜 */
.main_btgb2 .post_container .post_date {
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: #999;
    margin-top: auto;
}

/* 게시판 썸네일 */
.main_btgb2 .thumb_container {
    overflow: hidden;
    border-bottom-left-radius: 21px;
    border-bottom-right-radius: 21px;
}

.main_btgb2 .thumb_container .thumb {
    transition: all 0.5s ease-in-out;
}

.main_btgb2 .move_link.on {background-color: #ded9cc;}
.main_btgb2 .move_link.on .thumb{transform: scale(1.1);}
.main_btgb2 .move_link.on .post_container .post_label {background-color: #fff; color:#59433b; transition: background-color 0.2s ease-in-out;}


/* 스와이퍼 */
.main_btgb2 .swiper {
    overflow: hidden;
}

.main_btgb2 .swiper-wrapper {
    align-items: stretch;
}

.main_btgb2 .swiper-slide {
    height: auto;
}

/* 스와이퍼 화살표 버튼 */
.main_btgb2 .swiper-button {
    width: 71px;
    height: 71px;
    top: 50%;
    opacity: 1;
    transition: all 0.5s;
}

.main_btgb2 .swiper-button::after {display: none;}

.main_btgb2 .swiper-button img{
    width: 100%;
    border-radius: 50%;
    box-shadow: 3px 0 8px rgba(61,61,61,.15);
}

.main_btgb2 .swiper-button-next{
    right: 0;
    margin: 0;
    transform: translate(50%, -50%);
}

.main_btgb2 .swiper-button-prev{
    left: 0;
    transform: translate(-50%, -50%);
}

/* 스와이프 마우스 hover 시 노출 */
.main_btgb2 .swiper-button.swiper-button-disabled {opacity: 0.8;}
.main_btgb2 .swiper.on ~ .swiper-button {opacity: 0.35;}
.main_btgb2 .swiper-button.on {opacity: 1;}

@media (max-width: 991px) {
    .main_btgb2 .container_fix {
        padding:0;
    }
    /* 타이틀 컨테이너 */
    .main_btgb2 .title_container {
        justify-content: left;
        margin-bottom: 20px;
        padding:0 15px;
    }

    /* 타이틀 */
    .main_btgb2 .main_cont_title h2 {
        font-size: 31.5px;
    }
    
    /* 게시판 탭 */
    .main_btgb2 .board_title_container {
        margin-bottom: 30px;
        overflow-x: auto;
        scrollbar-width: none !important;
        padding:0 15px;
    }


    .main_btgb2 .board_title_container ul {
        gap: 16px;
    }

    .main_btgb2 .board_title_container ul li span {
        font-size: 17.5px;
        padding-bottom: 10px;
        text-wrap:nowrap;
        padding:12px 6px;
    }

    .main_btgb2 .board_title_container ul li.active span {
        border-bottom: 1px solid var(--main-point-line-color-hover);
    }

    /* 전체보기 아이콘 타이틀과 수평 */
    .main_btgb2 .more_container {padding-bottom: 10px;}

    /* 전체보기 아이콘 hover 액션 */
    .main_btgb2 .more_container .more_link .more_icon .more_b {width: 16px;}
    .main_btgb2 .more_container .more_link .more_icon .more_w {width: 16px;}

    /* 게시판 리스트 */
    .main_btgb2 .board_list {
        padding:0 15px;
    }

    .main_btgb2 .move_link {
        border-radius: 13px;
    }

    .main_btgb2 .move_link .post_container {
        padding: 20px;
        min-height: 100px;
    }

    /* 게시판 로드된 게시글과 스켈레톤 UI와 height값 동일하게 맞추기 */
    .main_btgb2 .move_link.skeleton_ani .post_container {
        padding: 20px 18px;
        min-height: 100px;
    }

    /* 게시판 라벨 스티커 */
    .main_btgb2 .post_container .post_label {
        font-size: 11.5px;
        padding: 3.5px 7.5px;
        margin-bottom: 13px;
        border-radius: 9px;
    }

    /* 게시판 타이틀 */
    .main_btgb2 .post_container .post_subject{
        font-size: 15px;
        margin-bottom: 0px;
    }

    /* 게시판 날짜 */
    .main_btgb2 .post_container .post_date {
        font-size: 13px;
    }

    /* 게시판 썸네일 */
    .main_btgb2 .thumb_container{
        border-radius: 11.5px;
    }

    /* 스와이퍼 */
    .main_btgb2 .swiper .swiper-wrapper {
        flex-direction: row;
        gap: 16px 12px;
        flex-wrap: wrap;
    }

    .main_btgb2 .swiper .swiper-wrapper > div {
        width: calc(50% - 6px);
    }

    /* 스와이퍼 화살표 버튼 */
    .main_btgb2 .swiper-button{
        display: none;
    }
}