@charset "utf-8";

/*=================== visual 시작 ===================*/
.visual{
    background-image: url("/public/assets/renewal/images/bg_notice.png");
}


/*=================== //visual 끝 ===================*/

/*=================== section style 시작 ===================*/
/* 공통 */
.section{
    min-height: 100vh;
    padding: 76px 0 96px 0;
}

.section .inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 54px;
}

.sec_tx_wrap{
    width: 100%;
    text-align: center;
    align-items: center;
}

.tab_wrap{
    display: flex;
    width: 80%;
    padding: 6px;
    margin-top: 20px;
    border-radius: 20px;
    background-color: #F8F8F8;
}

.tab{
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: 50%;
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 20px;
    color: var(--color-gray-500);
    cursor: pointer;
    transition: all 0.4s;
}

.tab.on{
    color: var(--semantic-text-primary);
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0 0 10px 0;
}

.sec_content{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.content_area{
    width: 100%;
    display: flex;
    justify-content: center;
}

.content_wrap{
    position: relative;
    display: none;
    width: 100%;
}

.content_wrap.on{
    display: block;
}

/* 이벤트 */
.grid_container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
}

.grid_row{
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.grid_img{
    width: 100%;
    height: 272px;
    margin-bottom: 16px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
}

.grid_tit{
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    cursor: pointer;
}

.grid_txt{
    font-size: 14px;
    line-height: 20px;
    color: var(--semantic-text-subtler);
}
/* //이벤트 */


/* 공지사항 */
.dropdown{
    position: absolute;
    top: 56px;
    left: 100px;
    background-color: #fff;
    width: 105px;
    padding: 8px 4px;
    border-radius: 12px;
    z-index: 1;
    border: 1px solid var(--semantic-border-border);
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
}

.dropdown li{
    width: 100%;
    padding: 6px 16px;
    font-size: 18px;
    line-height: 1.4em;
    border-radius: 8px;
    cursor: pointer;
}

.dropdown li.on{
    color: var(--semantic-text-primary);
}

.dropdown li:hover{
    background-color: var(--semantic-background-default-subtle);
}


.li_board{
    position: relative;
    display: table;
    width: 100%;
    border-top: 2px solid var(--semantic-border-border);
    border-bottom: 2px solid var(--semantic-border-border);
}

.li_board ul{
    list-style: none;
    margin-bottom: 0;
    clear: both;
    display: table-row-group;
}

.li_board ul li {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    padding: 14px 7px;
}

.li_board ul li.num {
    width: 10%;
}

.li_board ul li.cate {
    width: 15%;
}

.li_board ul li.title {
    width: auto;
}

.li_board ul li.date {
    width: 14%;
}

.li_header{
    background-color: #fff;
}

.li_header li{
    height: 64px;
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 400;
    text-align: center;
}

.li_body{
    cursor: pointer;
}

.li_body:hover{
    background: var(--semantic-surface-default-subtle);
}

.li_body.fix{
    background-color: var(--semantic-surface-primary-lighter);
}

.li_body.fix:hover{
    background: var(--color-vivid-blue-100);
}

.li_body li{
    font-size: 18px;
    line-height: 1.4em;
    font-weight: 400;
    text-align: center;
}

.li_body .num{
    font-size: 16px;
}

.li_body .title{
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.li_body .date{
    font-size: 16px;
    color: var(--semantic-text-subtle);
    white-space: nowrap;
}

.fix .title{
    color: var(--semantic-text-primary);
    font-weight: 600;
}

.category_filter{
    position: relative;
    cursor: pointer;
    padding-right: 25px !important;
}

.category_filter:after{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    content: "";
    width: 25px;
    height: 25px;
    background-image: url("/public/assets/renewal/images/dropdown_chevron.svg");
    background-position: right center;
    background-repeat: no-repeat;
    vertical-align: top;
}

/* 공지사항 */
/*=================== //section style 끝 ===================*/


/*=================== media query 시작 ===================*/
/*======= tab size =======*/
@media screen and (max-width: 978px){
    .tab{
        font-size: 16px;
        line-height: 24px;
        gap: 4px;
    }

    .grid_container{
        grid-template-columns: 1fr 1fr;
    }

    .li_header{
        display: none !important;
    }
}
/*======= //tab size =======*/

/*======= mobile size =======*/
@media screen and (max-width: 600px){
    .visual{
        display: none;
        background-image: url("/public/assets/renewal/images/bg_notice_mo.png");
    }

    .section .inner{
        gap: 36px;
    }

    .sec_content{
        gap: 20px;
    }

    .tab_wrap{
        width: 100%;
    }

    .tab{
        font-size: 14px;
        line-height: 20px;
        gap: 4px;
    }

    .grid_container {
        grid-template-columns: 1fr;
    }

    .dropdown li {
        font-size: 16px;
    }

    .li_board ul{
        display: block;
        padding: 14px;
        cursor: pointer;
    }

    .li_board ul:after{
        display: block;
        content: '';
        clear: both;
    }

    .li_board ul li{
        float: left;
        display: inline-block;
        padding: 4px 0;
    }

    .li_body li{
        float: left;
        font-size: 14px;
        height: auto;
        text-align: left;
    }

    .li_body .num{
        display: none;
        font-size: 14px;
    }

    .li_body .date{
        font-size: 14px;
    }

    .li_board ul li.cate{
        width: auto;
        color: #666;
        padding-right: 10px;
    }

    .li_board ul li.date{
        width: 100%;
        text-align: left;
        color: #666;
    }
}
/*======= //mobile size =======*/
/*=================== //media query 끝 ===================*/