/* 이벤트 리스트 페이지 */

.event_wrap .list_card {
    margin: 0;
}

.event_wrap .list_card.type2 li {
    margin-top: 0;
    padding: 0;
    width: 48%;
    margin: 0 2% 20px 0;
}

.event_wrap .list_card.type2 li:nth-child(even) {
    margin-left: 0;
}

.event_wrap .list_card.type2 li .img_box {
    padding-top: 28.05%;
}

.event_wrap .list_card.type2 li .txt_box {
    display: flex;
    align-items: center;
    gap: 8px
}

.list_card.type2 .mark {
    background-color: #A6A6B3;
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 700;
    color:#ffffff;
    position: static;
    margin: 0;
}

.event_wrap .list_card.type2 .mark.new {
    background: #ff6f6f !important;
}

.event_wrap .list_card.type2 .mark.primary {
    background: #7064FE !important;
}

.event_wrap .list_card.type2 .mark.sub {
    background: #EFEFF2 !important;
    color: #8B8B9B !important;
}

.event_wrap .list_card.type2 li .date {
    font-size: 14px;
    line-height: 100%;
    color: #A6A6B3;
}

@media (max-width: 767px) {
    .event_wrap.list_card.type2 li .img_box {
        padding-top: 27.93%
    }
    .event_wrap .list_card.type2 li {
        width: 100%;
        margin: 0 0% 3vh 0;

    }
}

@media (max-width: 535px) {

    .event_wrap .list_card.type2 .mark {
        padding: 2px 7px;
    }
    
    .event_wrap .list_card.type2 li .date {
        font-size: 0.9rem;
        line-height: 1.3;
    }
}

/* 이벤트 디테일 페이지 */

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

.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;
    }
}

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


/* 이벤트 댓글 디자인 시작 */

.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_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) {

    .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;
    }
}


/* 이벤트 댓글 디자인 끝 */