.horizon-news {
    background-color: #181818;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.horizon-news .horizon-news-inner {
    min-height: 0;
    padding-top: clamp(235px, 21vw, 296px);
    padding-bottom: 60px;
}

.horizon-news #horizon-news-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.12;
    margin: 0 0 20px;
    overflow-wrap: anywhere;
    text-shadow: 0 2px 12px #000;
}

.horizon-news .horizon-news-topics ul,
.horizon-news .horizon-news-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.horizon-news .horizon-news-topics ul,
.horizon-news .horizon-news-topics li {
    list-style: none;
}

.horizon-news .horizon-news-topics a,
.horizon-news .horizon-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 16px;
    border-radius: 10px;
    background: #fff;
    color: #212121;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.horizon-news .horizon-news-topics a:hover,
.horizon-news .horizon-news-topics a[aria-current="page"],
.horizon-news .horizon-news-pagination a:hover,
.horizon-news .horizon-news-pagination .current {
    background: var(--palette-2-base, #ff5d1c);
    color: #171717;
}

.horizon-news a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #171717, 0 0 0 5px #171717;
}

.horizon-news .horizon-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: 22px;
    min-height: 0;
    margin-top: 24px;
}

.horizon-news .u-repeater-item {
    --radius: 25px;
    min-width: 0;
}

.horizon-news .u-repeater-item .u-container-layout {
    padding: 30px 20px 15px;
}

.horizon-news .horizon-news-card-title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.horizon-news .horizon-news-card-image {
    --radius: 16px;
    display: block;
    height: 222px;
    margin-top: 17px;
    margin-bottom: 0;
    object-fit: cover;
}

.horizon-news img.horizon-news-card-image {
    width: 100%;
    margin-top: 0;
}

.horizon-news .horizon-news-card-more {
    margin: 17px auto 0;
}

.horizon-news .horizon-news-pagination {
    margin: 26px 0 0;
}

.horizon-news .horizon-news-pagination .nav-links {
    justify-content: center;
}

.horizon-news .horizon-news-empty {
    margin: 24px 0 0;
    padding: 24px;
    border-radius: 16px;
    color: #212121;
    background: #fff;
}

@media (max-width: 991px) {
    .horizon-news .horizon-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .horizon-news .horizon-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .horizon-news .u-repeater-item .u-container-layout {
        padding-inline: 14px;
    }

    .horizon-news .horizon-news-card-image {
        height: 278px;
    }
}
