.prev{
    align-items: center;
}
#coupon{
    padding: 10px;
}
#coupon .notice_inner{
    gap: 16px;
    height: 37px;
    margin-top: 26px;
}
#coupon button{
    border-radius: 5px;
}
#coupon .notice_inner button{
    height: 100%;
    width: 65px;
}
#coupon .card,
.event_tab2 .card{
    margin-top: 14px;
    padding: 21px;
    font-size: 14px;
}
#coupon .date,
.event_tab2 .date{
    gap: 32px;
    margin-bottom: 12px;
}
#coupon .content{
    margin-top: 8px;
}
#coupon .detail,
.event_tab2 .detail{
    display: flex;
    justify-content: flex-end;
}
#coupon .detail button,
.event_tab2 .detail button{
    font-weight: bold;
    width: 106px;
    height: 38px;
    margin-top: 20px;
    border-radius: 5px !important;
}
#coupon .empty{
    text-align: center;
    margin-top: 35px;
    font-size: 14px;
}
/* 공지사항 디테일 */
#coupon_detail{
    padding: 10px;
}
#coupon_detail .card{
    margin-top: 19px;
    padding: 22px;
    font-size: 14px;
}
#coupon_detail img{
    width: 100%;
}
#coupon_detail .date{
    margin: 24px 0 0 10px;
    font-size: 14px;
    gap: 32px;
}
#coupon_detail .truncate{
    max-width: 90%;
}
select[name='notice_type']{
    width: 125px;
    min-width: 125px;
    padding: inherit;
    padding-left:17px;
}
.notice_list .date,
.notice_contents,
.event_tab2 .date{
    gap: 75px !important;
}
.notice_list .date .flex,
.notice_contents .flex,
.event_tab2 .date .flex{
    gap: 20px;
}
.card table{
    width: 100% !important;
}
.related_product_wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.related_product b{
    display: block;
    margin: 15px 0;
}
/* 이벤트 공지 */
.related_product .product_list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    width: 47%;
    }
.related_product .related_product_card{
    border-radius: 15px;
    cursor: pointer;
    width: 233px;
}
.related_product img {
    width: 100%;
    height: 188px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}
.related_product .card_down {
    padding: 8px 12px;
    background: #19191E;
    border-radius: 0 0 15px 15px;
    color: #fff;
}
.related_product .card_down > p:nth-of-type(1) {
    font-size: 13px;
    margin-bottom: 26px;
}
.related_product .card_down > p:nth-of-type(2),
.related_product .card_down > p:nth-of-type(3) {
    font-size: 12px;
}
.pre_wrap pre{
    white-space: pre-wrap;
}
.pre_wrap table{
    table-layout: initial !important;
}

/* 이벤트 */
#event_noti{
    padding: 0 12px;
}
#event_noti a{
    margin-bottom: 20px;
}
#event_noti .event_tab button{
    background: transparent;
    font-size: 12px;
    border-color: transparent;
    font-weight: bold;
    width: 32%;
    height: 36px;
    margin-bottom: 40px;
    cursor: pointer;
}
#event_noti .event_tab .active{
    border-bottom: 1px solid #fff;
}
#event_noti .event_noti_search > input{
    width: 235px;
    height: 38px;
    border-radius: 5px;
    font-size: 12px;
}
#event_noti .event_noti_search > button{
    width: 65px;
    height: 38px;
    border-radius: 5px;
}
#event_noti .event_noti_search{
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
}
#event_noti .event_empty{
    margin-top: 254px;
    text-align: center;
    font-size: 14px;
}
#event_noti .card_wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
#event_noti .event_tab2 .card_wrap{
    display: initial !important;
    grid-template-columns: initial !important;
}

#event_noti .event_list_wrap{
    width: 100%;
    max-width: 233px;
}
#event_noti img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}
#event_noti .card_down{
    height: 68px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 499px){
    .notice_list .date,
    .event_tab2 .date{
        gap: 25px !important;
    }
    .notice_contents {
        gap: 25px !important;
    }
    #coupon .notice_inner{
        gap: 10px !important;
    }
    .related_product_card{
        width: 100% !important;
    }
}