a {
    text-decoration: none;
    color: inherit;
}

.news {
    background: #FFFEF9;
    color: #281D18;
    padding: 0 20px;
}

.news__breadcrumbs {
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(40, 29, 24, 0.5);
}

.news__breadcrumbs a {
    color: rgba(40, 29, 24, 0.8);
}

.news__title {
    margin: 35px 0 0;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 22px;
    line-height: 22px;
}

.news__tabs {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 45px;
}

.news__tab {
    position: relative;
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
}

.news__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.news__tab:hover::after,
.news__tab--active::after {
    transform: scaleX(1);
}

.news__grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 20px;
    width: 100%;
}

.news-card {
    display: block;
}

.news-card:first-of-type {
    grid-column: span 2;
}

.news-card__link {
    display: block;
}   

.news-card__media {
    position: relative;
    width: 100%;
    background: none;
    overflow: hidden;
}

.news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card__media:hover img {
    transform: scale(1.06);
}

.news-card__title {
    margin: 15px 0 10px;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    color: #281D18;
}

.news-card__date {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: rgba(40, 29, 24, 0.5);
}

.news__add-more {
    width: 295px;
    height: 47px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    text-transform: uppercase;
    background: none;
    border: 1px solid #281D18;
    margin: 40px auto 100px;
    cursor: pointer;
}

.news__add-more:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #281D18;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.4s ease;
}

.news__add-more span {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.news__add-more:hover:after {
    transform: scaleX(1);
}

.news__add-more:hover span {
    color: #FFFEF9;
}

@media (max-width: 1024px) {

    .news {
        padding: 0;
    }

    .news__breadcrumbs {
        margin-top: 15px;
        padding:0 15px;
        font-size: 10px;
    }

    .news__title {
        margin-top: 25px;
        font-size: 16px;
        padding: 0 15px;
    }

    .news__tabs {
        margin-top: 25px;
        gap: 25px;
        overflow-x: auto;
        padding-left: 15px;
        padding-right: 0;
        scrollbar-width: none;
    }

    .news__grid {
        margin-top: 40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
        padding: 0 15px;
        width: auto;
    }

    .news-card--large {
        grid-column: 1 / -1;
    }

    .news-card__title {
        font-size: 14px;
    }

    .news__add-more {
        margin: 35px auto 60px;
        width: 210px;
        height: 40px;
        font-size: 12px;
    }
}