@charset "UTF-8";

.top-news__wrap{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.top-news__content{
    width: 100%;
    height: auto;
}
.top-news__content img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 320/180;
    object-fit: cover;
    border: 2px solid #253956;
}

.top-news__content .date{
    margin-top: 0.5em;
    font-size: 12px;
}
.top-news__content p{
    color: #000;
    margin: 0;
}
.top-news__content h3{
    font-size: 18px;
    line-height: 1.5;
    color: #18354C;
    font-weight: bold;
    margin: 0;
}
.top-news__content p:not(.date){
    font-size: 14px;
    line-height: 1.5;
}

.top-news__link{
    margin: 18px auto 0;
    max-width: 180px;
    width: 100%;
    display: block;
}
.top-news__link img{
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 959px){
    .top-news__wrap{
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 15%;
    }
    
    .top-news__content{
        width: 100%;
        height: auto;
    }
    .top-news__content img{
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 320/180;
        object-fit: cover;
    
    }
    
    .top-news__content .date{
        margin-top: 0.5em;
        font-size: 12px;
    }
    .top-news__content h3{
        font-size: 18px;
    }
}