.home-news-tabs {
    padding: 0 0 68px;
}

.home-news-tabs .container {
    max-width: 1320px;
}

.home-news-tabs__head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 22px;
}

.home-news-tabs__title {
    margin: 0;
    color: #000;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
}

.home-news-tabs__switch {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-news-tabs__tab {
    min-height: 38px;
    padding: 0 22px;
    border: 1px solid #df0014;
    border-radius: 22px;
    background: #fff;
    color: #df0014;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.home-news-tabs__tab:hover,
.home-news-tabs__tab.is-active {
    background: #df0014;
    color: #fff;
    box-shadow: 0 8px 18px rgba(223, 0, 20, .18);
}

.home-news-tabs__panel[hidden] {
    display: none !important;
}

.home-news-tabs__slider {
    margin: -4px;
    padding: 4px 4px 48px;
    overflow: hidden;
}

.home-news-tabs__grid {
    display: flex;
}

.home-news-tabs .home-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 380px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    color: #111;
    text-decoration: none;
    box-shadow: 0 10px 24px -7px rgba(0, 0, 0, .1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-news-tabs .home-news-card:hover {
    transform: translateY(-3px);
    color: #111;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}

.home-news-card__image {
    display: block;
    height: 200px;
    overflow: hidden;
    background: #f1f1f1;
}

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

.home-news-tabs .home-news-card:hover .home-news-card__image img {
    transform: scale(1.04);
}

.home-news-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #df0014;
    font-size: 54px;
    font-weight: 700;
}

.home-news-card__body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 12px 16px 52px;
}

.home-news-card__date {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 3px 7px;
    border-radius: 8px;
    background: #f1f1f1;
    color: #8b8b8b;
    font-size: 11px;
    line-height: 1;
}

.home-news-card__name {
    display: -webkit-box;
    overflow: hidden;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-news-card__text {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0 0;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-news-card__more {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #df0014;
}

.home-news-card__more:after {
    content: "";
    position: absolute;
    top: 11px;
    left: 10px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.home-news-tabs__all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 150px;
    min-height: 42px;
    margin: 0 auto;
    padding: 0 28px;
    border-radius: 24px;
    background: #df0014;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.home-news-tabs__pagination {
    bottom: 12px !important;
}

.home-news-tabs__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px !important;
    background: #d9d9d9;
    opacity: 1;
}

.home-news-tabs__pagination .swiper-pagination-bullet-active {
    background: #df0014;
}

.home-news-tabs__all:hover {
    background: #c90012;
    color: #fff;
    box-shadow: 0 8px 18px rgba(223, 0, 20, .22);
}

.home-news-tabs__empty {
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    color: #777;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

@media (max-width: 1199px) {
    .home-news-tabs .home-news-card {
        min-height: 380px;
    }

    .home-news-card__image {
        height: 210px;
    }
}

@media (max-width: 999px) {
    .home-news-tabs {
        padding-bottom: 56px;
    }
}

@media (max-width: 767px) {
    .home-news-tabs {
        padding-bottom: 48px;
    }

    .home-news-tabs__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
    }

    .home-news-tabs__title {
        font-size: 28px;
    }

    .home-news-tabs__tab {
        min-height: 34px;
        padding: 0 17px;
        font-size: 14px;
    }

    .home-news-card__name {
        font-size: 15px;
    }

    .home-news-card__text {
        font-size: 12px;
    }

    .home-news-tabs__all {
        min-width: 138px;
        min-height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 539px) {
    .home-news-tabs__slider {
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-news-tabs .home-news-card {
        width: min(320px, calc(100vw - 48px));
        max-width: 320px;
    }
}
