* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    width: 100%;
}

/*Блок с 3 картинками*/

.til-gallery__wrap {
    margin-top: 20px;
    padding-bottom: 20px;
}
.til-gallery {
    display: flex;
    gap: 20px;
}
.til-gallery__img {
    width: 100%;
    /*height: 100%;*/
    object-fit: cover;
}

.til-gallery__nav {
    display: none;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 20px;
    margin-right: 15px;
}
.til-gallery__nav-btn {
    background: url('https://cdn.finnflare.com/upload/content/prm/sprite.svg');
    width: 41px;
    height: 18px;
    border: none;
    cursor: pointer;
}
.til-gallery__nav-btn.prev {
    background-repeat: no-repeat;
    background-position-x: -629px;
    background-position-y: -174px;
    transform: rotate(180deg);
}
.til-gallery__nav-btn.next {
    background-position-x: -629px;
    background-position-y: -174.8px;
}
.til-gallery__item {
    display: flex!important;
    flex-direction: column;
    width: 33%;
    max-width: 100%;
    max-height: 685px;
}
.til-gallery__link {
    color: #232332!important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 7px;
    font-family: 'Manrope';
}
/**/

/*Навигация слайдера*/
.til-gallery__nav {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 20px;
    margin-right: 15px;
}
.til-gallery__nav-btn {
    background: url('https://cdn.finnflare.com/upload/content/prm/sprite.svg');
    width: 41px;
    height: 18px;
    border: none;
    cursor: pointer;
}
.til-gallery__nav-btn.prev {
    background-repeat: no-repeat;
    background-position-x: -629px;
    background-position-y: -174px;
    transform: rotate(180deg);
}
.til-gallery__nav-btn.next {
    background-position-x: -629px;
    background-position-y: -174.8px;
}
/**/


/*Скрываем ненужные элементы слайдера*/
.tns-liveregion.tns-visually-hidden {
    display: none!important;
}
.tns-nav {
    display: none!important;
}
/**/

@media screen and (max-width: 900px) {
    .til-gallery__nav {
        display: flex;
    }
}
@media screen and (max-width: 450px) {
    .til-gallery__link {
        font-size: 9px;
    }
}