/*common*/
.inner-grid{
    display: grid;
    grid-template-columns: 1fr 7fr 2fr 2fr;
    align-items: center;
    column-gap: 5%;
}
.new::before{
    content: 'NEW';
    color: var(--main-color);
    text-shadow: 1px 1px 4px rgba(0,0,0, .2);
    display: block;
    position: absolute;
    left: 9%;
    top: 50%;
    transform: translate(0 , -50%);
    font-size: 1.2rem;
}

section{
    font-family: 'pretendard';
}
section h2{
    font-weight: 700;
    font-size: 3rem;
    line-height: 3;
}

/*------------------------------------------------------------------------------------*/


section ol.noti-head{
    border-top: 2px solid #9c9c9c;
    text-align: center;
    font-size: 2rem;
    color: #888;
    line-height: 4;
    background: #f8f8f8;
}


section ul.noti-body{
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid #9c9c9c;
}
section ul.noti-body > li{
    border-top: 1px solid #c4c4c4;
    box-sizing: border-box;
    line-height: 5;
    position: relative;
}

section ul.noti-body > li a{
    display: block;
}

section ul.noti-body > li ol .num,
section ul.noti-body > li ol .date,
section ul.noti-body > li ol .seq{
    text-align: center;
    word-break: break-all;
}
section ul.noti-body > li ol .title{
    font-size: 1.6rem;
    line-height: 1.6;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

section ul.noti-body > li:hover ol .title{
    text-decoration: underline;
}



@media (max-width:960px) { /* 모바일용 */


    .new::before{
        left: 10%;;
        top: 20%;
        font-size: 2rem;
    }

    section ol.noti-head{
        font-size: 3rem;
        line-height: 3;
    }
    
    section ul.noti-body{
        font-size: 2.3rem;
    }

    section ul.noti-body > li{
        border-top: 1px solid #c4c4c4;
        box-sizing: border-box;
        line-height: 5;
        position: relative;
    }

    section ol.noti-head,
    section ul.noti-body > li ol{
        gap: 10px;
        grid-template-columns: 1fr 5fr 3fr 2fr;
    }

    section ul.noti-body > li ol .title{
        font-size: 2.5rem;
        line-height: 1.6;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}