/* News */

.news {
    padding: 100px 0;
}

.news__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.news__card {
    width: 380px;
    background: #F9F9F9;
}

.news__card:nth-child(1) {
    margin-top: 20px;
    margin-left: 20px;
}

.news__card+.news__card {
    margin-top: 20px;
    margin-left: 20px;
}

.news__imgWrapper {
    width: 380px;
    height: 254px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news__imgWrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news__content {
    padding: 20px;
}

.news__title {
    font-weight: bold;
    font-size: 16px;
    line-height: 142.7%;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 20px;
}

.news__text {
    font-size: 16px;
    line-height: 142.7%;
    color: #aa8d8d;
    margin-bottom: 30px;
}

.news__btn {
    font-size: 16px;
    line-height: 142.7%;
    color: #FF7A00;
    text-decoration: none;
}

.news__list-wrapper {
    margin: 100px 0 50px;
}

/* News Detail */

.newsDetail__content {
    margin: 100px 0;
}

.newsDetail__img {
    width: 380px;
    height: 254px;
}

.newsDetail__img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.newsDetail__wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    column-gap: 20px;
    margin-bottom: 10px;
}

.newsDetail__title {
    font-weight: bold;
    font-size: 30px;
    line-height: 142.7%;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 20px;
}

.newsDetail__text {
    font-size: 16px;
    line-height: 142.7%;
    color: #000000;
}

.newsDetail__text p {
    margin-bottom: 15px;
}

/* Media Query */

@media (max-width: 1000px) {
    .newsDetail__wrapper {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .newsDetail__content {
        margin: 50px 0;
    }

    .newsDetail__wrapper-text {
        margin-top: 20px;
    }

    .newsDetail__title {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .news {
        padding: 50px 0;
    }
}

@media (max-width: 500px) {
    .news__card {
        margin-left: 0;
        width: 306px;
    }

    .news__imgWrapper {
        width: 306px;
        height: 190px;
    }

    .news__card:nth-child(1) {
        margin-left: 0;
    }

    .news__title {
        text-align: center;
    }

    .news__text {
        text-align: center;
    }

    .news__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .newsDetail__title {
        font-size: 16px;
        line-height: 142.7%;
    }

    .newsDetail__text {
        width: 100%;
    }

    .newsDetail__img {
        width: 350px;
        height: 240px;
    }
}