/* 게시판 공통 메인 배너 레이아웃 시작 */

.community_wrap .community_banner {
    position: relative;
    height: 576px;
}

.community_wrap .community_banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url('../images/main/hero_banner_mask.png') no-repeat 0 0 / 100% 100%;
}

.community_wrap .community_banner>img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community_wrap .community_banner .contents {
    height: 100%;
    position: relative;
}

.community_wrap .community_banner .txt_box {
    position: absolute;
    bottom: 24px;
    left: 0;
    padding: 0 16px;
    z-index: 1;
}

.community_wrap .community_banner .txt_box .txt {
    font-size: 36px;
    line-height: 54px;
    font-weight: 700;
    color: #fff;
}

.community_wrap .community_banner .txt_box .date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
    color: #DDDDE2
}

.community_wrap .community_banner .txt_box .date:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin-top: -3px;
    background: url('../images/community/ico_calendar.svg') no-repeat 0 0 / 100% 100%;
}

@media (max-width: 767px) {
    .community_wrap .community_banner {
        padding-top: 0;
    }

    .community_wrap .community_banner .txt_box {
        bottom: 30px;
        left: 30px;
        padding: 0 3.5vw;
    }
    

    .community_wrap .community_banner .txt_box .txt {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .community_wrap .community_banner .txt_box .date {
        gap: 7px;
        margin-top: 12px;
        font-size: 1rem;
        line-height: 1;
    }

}

/* 게시판 공통 메인 배너 레이아웃 끝 */

/* 게시판 회사 소개 레이아웃 시작 */
.community_wrap .brand_profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.community_wrap .brand_profile .profile_img {
    width: 75px;
    height: 75px;
    border-radius: 100%;
    border: 1px solid #f3f3f5;
}

.community_wrap .brand_profile .profile_img img {
    width: 100%;
    height: 100%;
}

.community_wrap .brand_profile .profile_box {
    width: calc(100% - 84px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.community_wrap .brand_profile .profile_box > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.community_wrap .brand_profile .profile_box .tit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.community_wrap .brand_profile .profile_box .txt {
    font-size: 14px;
    line-height: 20px;
    color: #68687A;
}

.community_wrap .brand_profile .btn {
    padding: 0 14px;
    height: 36px;
}

.community_wrap .info_ico {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.community_wrap .info_ico li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    width: calc(24% - 8px);
    padding: 12px;
    border: 1px solid #f3f3f5;
    border-radius: 12px;
}

.community_wrap .info_ico li:before {
    content: '';
    width: 46px;
    height: 46px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% 100%;
}

.community_wrap .info_ico li:nth-child(1):before {
    background-image: url('../images/community/ico_info1.svg');
}

.community_wrap .info_ico li:nth-child(2):before {
    background-image: url('../images/community/ico_info2.svg');
}

.community_wrap .info_ico li:nth-child(3):before {
    background-image: url('../images/community/ico_info3.svg');
}

.community_wrap .info_ico li:nth-child(4):before {
    background-image: url('../images/community/ico_info4.svg');
}

.community_wrap .info_ico li .txt_box {
    width: 100%;
    text-align: center;
}

.community_wrap .info_ico li .tit {
    font-size: 14px;
    line-height: 20px;
    color: #68687A;
}

.community_wrap .info_ico li .txt {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #0a0a0c;
}

.community_wrap .info_detail {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    background-color: #fcfcff;
    border-radius: 12px;
    padding: 24px;
    font-size: 16px;
    line-height: 24px;
}

.community_wrap .info_detail dt {
    width: 72px;
    color: #68687A;
}

.community_wrap .info_detail dd {
    width: calc(100% - 88px);
}

.community_wrap .info_detail+.btn_slideUp {
    margin-top: 16px;
}

@media (max-width : 575px) {
    .community_wrap .brand_profile .profile_box > div {
        flex-direction: column;
    }

    .detail_util_menu {
        margin-top: 10px;
    }
}


/* 스크랩, 팔로우, 북마크 버튼 디자인 시작 */
.detail_util_menu {
    display: flex;
    align-items: center;
    align-items: flex-start;
    gap: 8px;
}
    
.pop_menu_wrap .pop_menu .pop_menu_tit {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}
    
.pop_menu_wrap .pop_menu .sns_list {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
    
.pop_menu_wrap .pop_menu .sns_list li {
    width: 42px;
    height: 42px;
    border-radius: 100%;
    overflow: hidden;
}
    
.pop_menu_wrap .pop_menu .sns_list li a {
    display: block;
}
    
.pop_menu_wrap .pop_menu .sns_list li img {
    object-fit: cover;
}


/* 공유하기 팝업 */
.pop_menu_wrap .pop_menu {
    display: none;
}

.pop_menu_wrap .pop_menu.menu--open {
    display: block;
}

.pop_menu_wrap {
    position: relative;
}

.pop_menu_wrap .pop_menu_header {
    position: relative;
}

.pop_menu_wrap .pop_menu_header .tit {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #0A0A0C;
}

.pop_menu_wrap .pop_menu_header .btn_pop_menu_close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: url('../images/common_sub/btn_pop_menu_close.svg') no-repeat center center / 14px 14px;
}

.pop_menu_wrap .pop_menu {
    display: none;
}

@media all and (min-width: 765px) {

    .pop_menu_wrap .pop_menu,
    .pop_menu_boxshadow {
        position: absolute;
        margin-top: 8px;
        min-width: 150px;
        max-height: 346px;
        padding: 8px 16px;
        background-color: #fff;
        background: #FFFFFF;
        border: 1px solid #EFEFF2;
        box-shadow: 0px 0px 40px rgba(52, 52, 65, 0.08);
        border-radius: 12px;
        z-index: 10;
    }

    .pop_menu_wrap .pop_menu.pos-r {
        right: 0;
    }

    .pop_menu_wrap .pop_menu.pos-l {
        left: 0;
    }

    .pop_menu_wrap .pop_menu_header .btn_pop_menu_close {
        display: none;
    }

    .pop_menu_wrap .pop_menu_header .tit {
        display: none;
    }
}

@media all and (max-width: 764px) {
    .pop_menu_wrap .pop_menu {
        position: fixed;
        top: 0;
        left: inherit;
        right: inherit;
        left: 0;
        width: 100% !important;
        height: 100%;
        background: rgba(10, 10, 12, 0.64);
        z-index: 9991;
    }

    .pop_menu_wrap .pop_menu_inner {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #FFFFFF;
        border-radius: 20px 20px 0px 0px;
        padding: 0 16px 24px 16px;
    }

    .pop_menu_wrap .pop_menu_header {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 64px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .community_wrap .detail_util_menu {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        border-radius: 10px 10px 0 0;
        background: #ffffff;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        align-items: flex-start;
        gap: 8px;
        justify-content: space-between;
        z-index: 99;
    }

    .community_wrap .detail_util_menu button {
        background: none;
        border: none;
    }

    .community_wrap .detail_util_menu button::before {
        width: 25px;
        height: 25px;
    }

    .community_wrap .detail_util_menu .btn_like span {
        display: none;
    }
}

.btn_like {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn_like:before {
    content: '';
    display: block;
    width: 12px;
    height: 11px;
    background: url('../images/common_sub/ico_like.svg') no-repeat 0 0 / 100% 100%;
}

.btn_like.active:before {
    background-image: url('../images/common_sub/ico_like_active.svg');
}

.btn_bookmark:before {
    content: '';
    display: block;
    width: 12px;
    height: 14px;
    background: url('../images/common_sub/ico_bookmark.svg') no-repeat 0 0 / 100% 100%;
}

.btn_bookmark.active:before {
    background-image: url('../images/common_sub/ico_bookmark_active.svg');
}

.btn_comment:before {
    content: '';
    display: block;
    width: 12px;
    height: 14px;
    background: url('../images/common_sub/ico_bottom_comment.png') no-repeat 0 0 / 100% 100%;
}

.btn_shared:before {
    content: '';
    display: block;
    width: 12px;
    height: 14px;
    background: url('../images/common_sub/ico_shared.svg') no-repeat 0 0 / 100% 100%;
}

.btn_shared.active:before {
    background-image: url('../images/common_sub/ico_shared_active.svg');
}

.btn_filter_refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 16px;
    color: #41414C;
}

.btn_filter_refresh:before {
    content: '';
    width: 12px;
    height: 12px;
    background: url('../images/common_sub/ico_filter_refresh.png') no-repeat 0 0 / 100% 100%;
}


/* 스크랩, 팔로우, 북마크 버튼 디자인 끝 */

@media (max-width: 767px) {
    .community_wrap .brand_profile .profile_box .tit {
        font-size: 1.2rem;
        line-height: 1.2;
        flex-direction: column;
    }
    
    .community_wrap .brand_profile .profile_box .txt {
        margin-top: 5px;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .community_wrap .info_ico li {
        width: calc(50% - 8px);
    }
    

    .community_wrap .info_ico li .tit {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .community_wrap .info_ico li .txt {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .community_wrap .info_detail {
        margin-top: 3vh;
        padding: 4vh;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .community_wrap .info_detail dd {
        width: calc(100% - 88px);
    }
    
    /* 접기버튼 디자인 시작 */

    .community_wrap .info_detail+.btn_slideUp {
        margin-top: 16px;
        width: 100%;
    }

    .btn_slideUp {
        height: 46px;
        background-color: #fff;
        border: 1px solid #CBCBD2;
        border-radius: 8px;
        color: #A6A6B3;
        font-size: 16px;
    }
    
    .btn_slideUp span {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .btn_slideUp span:before {
        content: '';
        width: 12px;
        height: 7px;
        background: url('../images/common_sub/ico_slideUp_arrow.svg') no-repeat 0 0 / 100% 100%;
    }
    
    .btn_slideUp.active span:before {
        transform: rotate(180deg);
    }
    /* 접기버튼 디자인 끝 */    
}

/* 이미지 및 내용 들어가는 공간 시작 */

.detail_view .view {
    height: auto;
    padding: 20px;
}


.detail_view .btn_wrap {
    display: inline-flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .detail_view .btn_wrap button {
        width: 100%;
        font-size: 1rem;
    }
}

/* 이미지 및 내용 들어가는 공간 끝 */

/* 버튼 공통 스타일 시작 */
.btn {
    border: 1px solid;
    transition: 0.3s;
    height: 46px;
    border-radius: 8px;
    font-size: 16px;
}

.btn_type1 {
    background-color: #F3F3F5;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 18px;
    color: #A6A6B3;
    border-color: #F3F3F5;
    border-radius: 8px;
}

.btn_type1.btn-s {
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
}

.btn_type1.active {
    background-color: #EDEBFF;
    color: #7064FE;
}

.btn_type2 {
    background-color: #0a0a0c;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    border-color: #0a0a0c;
    border-radius: 8px;
}

.btn_type3 {
    background-color: #fff;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 18px;
    color: #7064FE;
    border-color: #7064FE;
    border-radius: 8px;
}
.btn_type3:hover {
    background: #7064FE;
    color: #ffffff;
}

.btn_type4 {
    border-color: #CBCBD2;
    color: #A6A6B3;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 18px;
}

.btn_type4:hover {
    background: #000000;
    color: #ffffff;
}

.btn_type5 {
    background-color: #7064FE;
    color: #fff;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 18px;
}

/* 스크랩, 팔로우, 좋아요, 북마크 버튼 시작 */

.btn_prod_scrap {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 24px;
    height: 24px;
    background: url('../images/common_sub/ico_scrap.svg') no-repeat center center / 16px 20px;
    z-index: 2;
}

.btn_prod_scrap.active {
    background-image: url('../images/common_sub/ico_scrap_active.svg');
}

.btn_follow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #A6A6B3;
    border: none;
    background-color: #F3F3F5;
    border-radius: 8px;
}

.btn_follow:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: url('../images/common_sub/ico_plus.svg') no-repeat 0 0 / 100% 100%;
}

.btn_follow.btn_follow-s {
    font-size: 12px;
    padding: 6px 8px;
    line-height: 14px;
}

.btn_follow.btn_follow-s:before {
    width: 8px;
    height: 8px;
}

.btn_like {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn_like:before {
    content: '';
    display: block;
    width: 12px;
    height: 11px;
    background: url('../images/common_sub/ico_like.svg') no-repeat 0 0 / 100% 100%;
}

.btn_like.active:before {
    background-image: url('../images/common_sub/ico_like_active.svg');
}

.btn_bookmark:before {
    content: '';
    display: block;
    width: 12px;
    height: 14px;
    background: url('../images/common_sub/ico_bookmark.svg') no-repeat 0 0 / 100% 100%;
}

.btn_bookmark.active:before {
    background-image: url('../images/common_sub/ico_bookmark_active.svg');
}

.btn_shared:before {
    content: '';
    display: block;
    width: 12px;
    height: 14px;
    background: url('../images/common_sub/ico_shared.svg') no-repeat 0 0 / 100% 100%;
}

.btn_shared.active:before {
    background-image: url('../images/common_sub/ico_shared_active.svg');
}

.btn_filter_refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 16px;
    color: #41414C;
}

.btn_filter_refresh:before {
    content: '';
    width: 12px;
    height: 12px;
    background: url('../images/common_sub/ico_filter_refresh.png') no-repeat 0 0 / 100% 100%;
}

/* 스크랩, 팔로우, 좋아요, 북마크 버튼 끝 */

/* 게시물 누적 리스트 시작 */

.comment_brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.community_wrap .brand_profile.border {
    padding: 16px;
    border: 1px solid #efeff2;
    border-radius: 12px;
}

.list_info {
    font-size: 16px;
        line-height: 24px;
}

.list_info dt {
    display: inline-block;
    color: #8b8b8b;
}

.list_info dt:not(:first-of-type) {
    margin-left: 12px;
}

.list_info dd {
    display: inline-block;
    margin-left: 4px;
}

/* 게시판 댓글 디자인 시작 */

.comment .comment_total {
    margin-bottom: 24px;
}

.comment .comment_input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.comment .comment_input .ipt_style {
    width: calc(100% - 60px - 34px - 24px);
    background-color: #fff;
}

.comment .comment_input .btn {
    width: 60px;
    padding: 0;
}

.comment .comment_profile {
    width: 34px;
    height: 34px;
    border-radius: 34px;
    border: 1px solid #E6E6EA;
}

.comment .comment_profile img {
    width: 100%;
    height: 100%;
}

.comment .comment_area {
    margin-top: 32px;
}

.comment .comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 32px;
}

.comment .comment-item .comment_box {
    width: calc(100% - 44px);
}

.comment .comment-item .comment_box .comment_sub_input {
    display: none;
    margin-top: 16px;
}

.comment .comment-item .comment_box .comment_sub_input.open {
    display: flex;
}

.comment .comment-item .name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #41414c;
}

.comment .comment-item .txt {
    margin-top: 8px;
    font-size: 16px;
    line-height: 24px;
    color: #0a0a0a;
}

.comment .comment-item .btn_wrap {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment .comment-item .btn_wrap .date {
    font-size: 12px;
    line-height: 16px;
    color: #8b8b8b;
}

.comment .comment-item .btn_wrap .btn {
    padding: 6px 8px;
    height: auto;
    font-size: 12px;
}

.comment .comment-item .btn_wrap .btn.btn_remove {
    background: transparent;
    color: #41414C;
    border-color: transparent;
}

.comment .comment_sub {
    margin-top: 16px;
    padding: 12px;
    background-color: #fcfcff;
}

.comment .comment_sub .comment-item {
    margin-top: 12px;
}

@media (max-width: 767px) {

    .community_wrap .brand_profile.border {
        align-items: flex-start;
    }

    .community_wrap .brand_profile.border .profile_box .tit {
        align-items: center;
        justify-content: flex-start;
    }

    .comment .comment_total {
        margin-bottom: 32px;
    }

    .comment .comment_profile {
        width: 44px;
        height: 44px;
        border-radius: 44px;
    }

    .comment .comment_input {
        gap: 16px;
    }

    .comment .comment_input .ipt_style {
        width: calc(100% - 60px - 44px - 32px);
    }

    .comment .comment_area {
        margin-top: 5vh;
    }

    .comment .comment-item {
        gap: 16px;
    }

    .comment .comment-item .comment_box {
        width: calc(100% - 60px);
    }

    .comment .comment-item .comment_box .comment_sub_input {
        margin-top: 2.5vh;
    }

    .comment .comment_sub {
        padding: 20px 24px;
    }

    .comment .comment_sub .comment-item {
        margin-top: 2vh;
    }
}

/* 게시판 댓글 디자인 끝 */

/* 게시판 추천 리스트 모아보기 시작 */
.list_card.type4 li {
    width: 25%;
}

.list_card.type4 li .img_box {
    padding-top: 68.38%;
}

.list_card li .mark {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 12px;
    color: #fff;
    padding: 2px 8px;
    text-align: center;
    border-radius: 4px;
    background-color: rgba(10, 10, 12, 0.52);
    z-index: 1;
}


@media (max-width: 767px) {
    .list_card.type4 li {
        width: 50%;
    }

    .list_card.type4.big li .img_box {
        padding-top: 100%;
    }
}

@media (max-width: 575px) {
    .list_card.type4 li {
        width: 100%;
    }

    .list_card li .mark {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .list_card li .txt_box .txt {
        font-size: 1rem;
        line-height: 1.3;
    }
}
/* 게시판 추천 리스트 모아보기 끝 */