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

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

/* 타이틀 */
.main_sbtgb4 *{line-height: 1; font-family: "Pretendard",sans-serif;}
.main_sbtgb4 .main_cont_title {margin-bottom: 30px;}
.main_sbtgb4 .main_cont_title h2 {margin-bottom: 20px; font-weight: 700; font-size: 35px; color: var(--main-point-color);}
.main_sbtgb4 .main_cont_title h2 .point_color {color: #2d99fb !important;}
.main_sbtgb4 .main_cont_title h2 p {font-weight: 700; font-size: 28px; color: var(--main-point-color);}

.main_sbtgb4 .main_cont_title span.sub_content {font-size: 18px; color:#666666;}




/* 카테고리 탭 */
.main_sbtgb4 .tap_content_box .tap_list {display: flex; justify-content: space-between; }
.main_sbtgb4 .tap_content_box .tap_list ul {display: flex; gap: 0 10px;}
.main_sbtgb4 .tap_content_box .tap_list ul .tap_name {display: inline-block; font-size: 14px; font-weight: 500; color: #5d5e68; padding: 0 22px; height: 36px; line-height: 36px; background: #f3f3f6; border-radius: 18px; cursor: pointer;}

.main_sbtgb4 .tap_content_box .tap_list ul .tap_li.active .tap_name {
    font-weight: 500; 
    color: #fff; 
    background: #001751;
}
/* 
.main_sbtgb4 .tap_content_box .tap_list ul .widget_froala {width: auto; font-weight: 600; font-size: 20px; color: #999999; cursor: pointer; padding-bottom: 20px;}
.main_sbtgb4 .tap_content_box .tap_list ul .widget_froala.active {color: var(--main-point-color); font-weight: 700; position: relative;}
.main_sbtgb4 .tap_content_box .tap_list ul .widget_froala.active::after {position: absolute;content: '';width: 100%;height: 2px;background-color: var(--main-point-color);bottom: -1px;left: 0;z-index: 2;} */


/* 컨텐츠 영역 */
.main_sbtgb4 .tap_content  {padding-top: 20px; position: relative;}
.main_sbtgb4 .swiper_a {height: 100%; display: block; border-radius: 5px; background-color: #f5f5f5; overflow: hidden; transition: background-color .5s ease-in-out; }
.main_sbtgb4 .swiper_a .post_content {padding: 16px 21px 20px; min-height: 140px;}
.main_sbtgb4 .post_content .post_label:empty {display: none;}
.main_sbtgb4 .post_content .post_label {display: inline-block; height: 22px; line-height: 22px; font-size: 12px; font-weight: 700; color: #fff; padding: 0px 9px; background: #adadad; border-radius: 50px;}
.main_sbtgb4 .post_content .post_subject{line-height: 1.5; font-size: 15px; margin-top: 10px; font-weight: 500; color: var(--main-point-color); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;  }
.main_sbtgb4 .post_content .post_date {display: inline-block; margin-top: 13px; font-size: 14px; color: #999999;}

.main_sbtgb4 .img_wrap{overflow: hidden; border-radius: 5px;}
.main_sbtgb4 .img_wrap .img_item{transition: all .5s ease-in-out;}

.main_sbtgb4 .swiper_a:hover {background-color: #e8e8e8;}
.main_sbtgb4 .swiper_a:hover .img_wrap .img_item{transform: scale(1.1);}


/* 스와이퍼 버튼 */
.main_sbtgb4 .tap_content_box .swiper-button{top: 47%; width: 64px; opacity: .35; transition: all .5s; display: none;  transition: all .5s; z-index: 1;}
.main_sbtgb4 .tap_content_box .swiper-button img{border-radius: 50%; box-shadow: 3px 0 8px rgba(61,61,61,.15);}
.main_sbtgb4 .tap_content_box .swiper-button.swiper-button-next{right: -18px;}
.main_sbtgb4 .tap_content_box .swiper-button.swiper-button-prev{left: -18px;}
.main_sbtgb4 .tap_content_box .swiper-button::after{display: none;}
.main_sbtgb4 .tap_content_box:hover .swiper-button{display: block;}
.main_sbtgb4 .tap_content_box:hover .swiper-button.swiper-button-disabled{opacity: 0;}

.main_sbtgb4 .tap_content_box .swiper-button:hover{opacity: 1;}
.main_sbtgb4 .tap_content_box .swiper-button.swiper-button-disabled:hover{opacity: 0;}


@media all and (max-width: 991px) {
    .main_sbtgb4 .main_cont_title {display: block; text-align: left; margin-bottom: 25px;}
    .main_sbtgb4 .main_cont_title h2,
    .main_sbtgb4 .main_cont_title h2 p{font-size: 30px; }
    
    /* 카테고리 탭 */
    .main_sbtgb4 .tap_content_box{margin-top: 0px;}
    .main_sbtgb4 .tap_content_box .tap_list ul {gap: 0; white-space: nowrap;}
    .main_sbtgb4 .tap_content_box .tap_list ul li + li {margin-left: 16px;}
    .main_sbtgb4 .tap_content_box .tap_list ul .widget_froala {font-size: 15px; padding-bottom: 13px; line-height: 1; }
    

    /* 컨텐츠 영역 */
    .main_sbtgb4 .tap_content {padding-top: 20px;}
    .main_sbtgb4 .swiper_a {border-radius: 13px;}
    .main_sbtgb4 .swiper_a .post_content {padding: 20px 18px; min-height: 150px;}
    .main_sbtgb4 .swiper-container .swiper-wrapper {flex-direction: row; flex-wrap: wrap; gap: 15px 10px;}
    .main_sbtgb4 .swiper-container .swiper-wrapper .swiper-slide {display: none;}
    .main_sbtgb4 .swiper-container .swiper-wrapper .swiper-slide:nth-child(-n+4) { display: block; width: calc((100% - 10px) /2) !important; margin-right: 0 !important;}
    .main_sbtgb4 .post_content .post_subject {font-size: 15px; line-height: 1.3; height: 40px;}
    .main_sbtgb4 .post_content .post_date {font-size: 12px;}
    .main_sbtgb4 .img_wrap {border-radius: 13px}

    .main_sbtgb4 .tap_content_box .swiper-button {display: none !important;}


    .main_sbtgb4 .tap_more  {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 35px;
    }

    .main_sbtgb4 .tap_more a {
        display:inline-block;
        font-size: 13px;
        line-height: 42px;
        padding: 0 25px;
        border: 1px solid #e1e1e1;
        border-radius:50px;
        color: #5d5d5d;

    }

    .main_sbtgb4 .tap_more a span {
        margin-right: 50px;
    }

    .main_sbtgb4 .tap_more a svg {
        width: 8px;
        height: 8px;
    }

}   

@media all and  (max-width:768px) {
    .main_sbtgb4 .main_cont_title {margin-bottom: 20px;}
    
    .main_sbtgb4 .main_cont_title h2,
    .main_sbtgb4 .main_cont_title h2 p{
        font-size: 24px; 
        margin-bottom: 15px;
    }


    .main_sbtgb4 .main_cont_title span.sub_content {
        font-size: 13px;
    }

    .main_sbtgb4 .tap_content_box .tap_list ul li + li {margin-left: 8px;}

    .main_sbtgb4 .tap_content_box .tap_list ul .tap_name {
        font-size: 12px;
        height: 30px;
        line-height: 30px;
        padding: 0 17px;
    }
    
    .main_sbtgb4 .swiper_a .post_content { min-height: 137px;}
    .main_sbtgb4 .post_content .post_label {height: 16px; line-height: 16px; font-size: 10px; padding: 0 7.5px;}
    .main_sbtgb4 .post_content .post_subject {font-size: 13px; line-height: 1.539; }


}