.home-news__title,
.home-news__read {
    display: none;
}

.m-section .home-news {
    width: 100%;
    margin: 0;
    padding: 42px 0;
}

.m-section .home-news .news-featured-title {
    display: none;
}

.m-section .home-news .home-news__title {
    display: inline-flex;
    gap: 20px;
    margin: 0;
    color: #0C0C0C;
    font-family: 'SouthGhetto', sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    padding: 0;
}

.m-section .home-news__dot {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    background: #CD171A;
}

.m-section .home-news__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 50px;
}

.m-section .home-news__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 15px 30px;
    color: #FFF;
    font-family: 'Involve', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 120%;
    text-decoration: none;
    border-radius: 16px;
    background: #0C0C0C;
    transition: all 0.2s ease;
}

.m-section .home-news__all:hover,
.m-section .home-news__all:focus {
    text-decoration: none;
    background: #8E0002;
}

.m-section .home-news__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 50px;
}

.m-section .home-news__card {
    display: flex;
    overflow: hidden;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    border-radius: 32px;
    background: #EEEFF5;
}

.m-section .home-news__image {
    display: block;
    aspect-ratio: 276 / 175;
    overflow: hidden;
    background: #f1f2f4;
}

.m-section .home-news__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.m-section .home-news__body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

.m-section .home-news__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #414142;
    font-size: 14px;
    line-height: 140%;
}

.m-section .home-news__meta span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    white-space: nowrap;
}

.m-section .home-news__meta svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.m-section .home-news__name {
    margin: 0;
    color: #0C0C0C;
    font-family: 'Involve';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    display: flex;
    align-items: center;
    min-height: 81px;
}

.m-section .home-news__name a {
    color: #0C0C0C;
    text-decoration: none;
}

.m-section .home-news__name a:hover,
.m-section .home-news__name a:focus {
    color: #4f5f7f;
    text-decoration: none;
}

.m-section .home-news__description {
    margin: 0;
    color: #0C0C0C;
    font-family: 'Involve', sans-serif;
    font-size:  18px;
    font-weight: 400;
    line-height: 140%;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.m-section .home-news__read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 10px 18px;
    color: #fff;
    font-family: 'Involve', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    text-align: center;
    text-decoration: none;
    border-radius: 16px;
    background: #0C0C0C;
    transition: all 0.2s ease;
}

.m-section .home-news__read:hover,
.m-section .home-news__read:focus {
    text-decoration: none;
    background: #8E0002;
}

.m-section .home-news__scrollbar {
    display: none;
}


@media (min-width: 1300px) {
    .m-section .home-news__list {
        overflow: visible;
    }
}

@media (max-width: 1639px) {
    .m-section .home-news__list {
        gap: 30px;
    }
}
@media (max-width: 1439px) {
    .m-section .home-news__name {
        font-size: 18px;
        min-height: 65px;
    }
    .m-section .home-news__description {
        font-size: 16px;
    }
    .m-section .home-news__read {
        min-height: 40px;
        font-size: 16px;
    }
}
@media (max-width: 1299px) {
    .m-section .home-news {
        padding: 34px 0;
    }

    .m-section .home-news__header {
        flex-wrap: wrap;
    }

    .m-section .home-news .home-news__title {
        font-size: 40px;
    }
    .m-section .home-news__list {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 50px;
    }

    .m-section .home-news__list::-webkit-scrollbar {
        display: none;
    }

    .m-section .home-news__card {
        flex: 0 0 330px;
        max-width: 82vw;
        scroll-snap-align: start;
    }

    .m-section .home-news__scrollbar {
        display: block;
        position: relative;
        width: 318px;
        height: 10px;
        margin: 0 auto;
        border-radius: 60px;
        background: #E1E3EB;
    }

    .m-section .home-news__scrollbar .news-featured-scrollbar__thumb {
        display: block;
        width: 42px;
        height: 10px;
        border-radius: inherit;
        background: #1C1C1C;
        transition: transform 0.1s linear, width 0.1s linear;
    }
}
@media (max-width: 992px) {
    .m-section .home-news__scrollbar {
        height: 6px;
    }
    .m-section .home-news__scrollbar .news-featured-scrollbar__thumb {
        height: 6px;
    }
}
@media (max-width: 767px) {
    .m-section .home-news {
        padding: 28px 0;
    }

    .m-section .home-news__header {
        gap: 10px;
    }

    .m-section .home-news .home-news__title {
        font-size: 36px;
        align-items: baseline;
    }
    .m-section .home-news__dot {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }
    .m-section .home-news__all {
        font-size: 18px;
    }

    .m-section .home-news__card {
        flex-basis: 78%;
        max-width: 300px;
    }
    .m-section .home-news__name {
        font-size: 16px;
        min-height: 55px;
    }
    .m-section .home-news__description {
        font-size: 14px;
    }
    .m-section .home-news__read {
        display: none;
    }
}
@media (max-width: 569px) {
    .m-section .home-news {
        display: flex;
        flex-direction: column;
    }
    .m-section .home-news__meta {
        font-size: 10px;
    }
    .m-section .home-news__meta svg {
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }
    .m-section .home-news__meta span,
    .m-section .home-news__meta span {
        gap: 5px;
    }
    .m-section .home-news__header {
        display: contents;
    }

    .m-section .home-news .home-news__title {
        order: 1;
        margin-bottom: 20px;
        font-size: 26px;
        gap: 10px;
    }

    .m-section .home-news__list {
        order: 2;
        margin-bottom: 20px;
        gap: 10px;
    }
    .m-section .home-news__card {
        border-radius: 16px;
    }
    .m-section .home-news__body {
        padding: 10px;
        gap: 10px;
    }
    .m-section .home-news__scrollbar {
        order: 3;
        width: 100%;
    }

    .m-section .home-news__all {
        order: 4;
        margin-top: 20px;
        font-size: 22px;
    }
}
