.news-content {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 5% calc(10% - 15px);
    z-index: 2;
}

.news-carousel {
    overflow: hidden;
}

.news-carousel .tns-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.news-carousel .tns-controls>button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.66);
    opacity: 0.9;
    margin-top: calc((((100% / 4) - 30px) * (228 / 278) / 2) - 35px);
    border: none;
    border-radius: 50%;
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    background-image: url("../../../images/ui-line-icons/arrow-angle.svg");
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    color: transparent;
    cursor: pointer;
}

.news-carousel .tns-controls>button:first-child {
    left: -20px;
}

.news-carousel .tns-controls>button:last-child {
    transform: rotateY(180deg);
    right: -20px;
}

.news-carousel-hidden {
    visibility: hidden;
    height: 0;
}

.news-posts {
    display: flex;
    justify-content: space-between;
}

.news-post {
    display: block;
    margin: 0 15px;
}

.news-post-thumbnail {
    display: block;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 278/228;
    background-color: var(--color-gallery-a63);
}

.news-post-title-wrapper {
    padding-top: 16px;
    min-height: 105px;
}

.news-post-title {
    margin: 0;
    font-family: var(--font-Futura-Cyrillic-Demi);
    font-size: 18px;
    line-height: 100%;
    color: var(--color-gray-dark);
}

@media (min-width: 768px) and (max-width: 1279px) {
    .news-post {
        margin: 0 12px;
    }

    .news-content {
        margin: 5% calc(10% - 12px);
    }

    .news-carousel .tns-controls>button {
        width: 60px;
        height: 60px;
        margin-top: calc((((100% / 3) - 24px) * (228 / 278) / 2) - 30px)
    }

    .news-carousel .tns-controls>button:first-child {
        left: -15px;
    }

    .news-carousel .tns-controls>button:last-child {
        transform: rotateY(180deg);
        right: -15px;
    }
}

@media (max-width: 767.98px) {
    .news-content {
        margin: 10% 0;
    }

    .news-carousel {
        margin-left: 5%;
    }

    .news-carousel .tns-inner {
        transform: translate(-7.5px, 0);
        margin-right: 80px;
    }

    .news-carousel .tns-controls {
        display: none;
    }

    .news-post {
        margin: 0 7.5px;
    }

    .news-post-title-wrapper {
        min-height: 88px;
    }
}