@charset "utf-8";

.news-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
}

.news-list li {
    background: #fff;
    min-width: 0;
}

.news-list li a {
    display: block;
    padding: 3.5rem;
    min-width: 0;
}

.news-list li h3 {
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 1rem;
}

.news-list li p {
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 1.7rem;
    color: #777;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    min-height: 5.1rem;
}

.news-list li time {
    display: block;
    margin-top: 2.5rem;
    font-size: 1.6rem;
    font-weight: 400;
    color: #999;
}

.empty_li {
    width: 100%;
    padding: 10rem 0;
    text-align: center;
    font-size: 1.8rem;
    color: #fff;
}

@media all and (max-width:1560px) {
    .news-list {
        gap: 2.5rem;
    }
}
@media all and (max-width:1024px) {
    .news-list li a {
        padding:2.5rem;
    }
}
@media all and (max-width:786px) {
    .news-list {
        gap: 1.5rem;
    }
}
@media all and (max-width:530px) {
    .news-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 1.5rem;
    }
    .news-list li a {
        padding: 2rem;
    }
}