.home-news-block {
    margin: 0 0 24px;
}

.home-news-block__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-news-block__card {
    min-width: 0;
    margin: 0;
}

.home-news-block__link {
    display: grid;
    grid-template-columns: minmax(0, 68%) minmax(0, 32%);
    min-height: 350px;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #24262e;
    color: #fff;
    text-decoration: none;
}

.home-news-block__link--no-image {
    grid-template-columns: 1fr;
}

.home-news-block__link:hover,
.home-news-block__link:focus-visible {
    color: #fff;
    text-decoration: none;
}

.home-news-block__link:focus-visible {
    outline: 3px solid #04c6a3;
    outline-offset: 3px;
}

.home-news-block__content {
    position: relative;
    min-width: 0;
    padding: 42px 48px 60px;
}

.home-news-block__rule {
    display: block;
    width: 24px;
    height: 2px;
    margin-bottom: 28px;
    background: currentColor;
    transition: width 0.25s ease;
}

.home-news-block__link:hover .home-news-block__rule,
.home-news-block__link:focus-visible .home-news-block__rule {
    width: 50px;
}

.home-news-block__category {
    display: block;
    margin-bottom: 28px;
    color: #fff;
    font-family: 'Moderat_Regular', sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.home-news-block__title {
    margin: 0;
    color: #fff;
    font-family: 'Moderat_Regular', sans-serif;
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 400;
    line-height: 1.18;
}

.home-news-block__arrow {
    position: absolute;
    left: 48px;
    bottom: 28px;
    font-size: 28px;
    line-height: 1;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-news-block__link:hover .home-news-block__arrow,
.home-news-block__link:focus-visible .home-news-block__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.home-news-block__image-wrap {
    min-width: 0;
    overflow: hidden;
}

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

.home-news-block__link:hover .home-news-block__image-wrap img,
.home-news-block__link:focus-visible .home-news-block__image-wrap img {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .home-news-block__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .home-news-block__link {
        grid-template-columns: 1fr;
    }

    .home-news-block__content {
        min-height: 290px;
        padding: 30px 28px 58px;
    }

    .home-news-block__category {
        font-size: 18px;
    }

    .home-news-block__title {
        font-size: 25px;
    }

    .home-news-block__arrow {
        left: 28px;
    }

    .home-news-block__image-wrap {
        height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news-block__rule,
    .home-news-block__arrow,
    .home-news-block__image-wrap img {
        transition: none;
    }
}
