.tabs__links.links {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    /*grid-template-columns: repeat(4, auto);*/
    width: 100%;
    margin: 65px 0;
    /*justify-items: start;*/
    /*justify-content: start;*/
}

@media screen and (max-width: 991px) {
    .tabs__links.links {
        grid-template-columns: repeat(2, auto); /* 2 колонки по содержимому */
        row-gap: 20px;
    }

    /* Четные элементы по правому краю */
    .tabs__links.links .links__item:nth-child(even) {
        /*justify-self: end;*/
    }

    .tabs__links.links .links__item:nth-child(odd) {
        justify-self: end;
    }
}

@media screen and (max-width: 574px) {
    .tabs__links.links {
        grid-template-columns: 1fr; /* 2 колонки по содержимому */
        row-gap: 10px;
    }

    .tabs__links.links .links__item {
        justify-self: center;
    }

    .tabs__links.links .links__item:nth-child(odd) {
        justify-self: center;
    }


}

.links__item {
    color: #000;
    font-weight: 200;
    font-size: clamp(0.875rem, 1.126vw + 0.515rem, 1.5rem);
    text-decoration: none;
    white-space: nowrap;
}

.links__item::after {
    content: '|';
    padding-inline: 23px;
}

@media screen and (max-width: 574px) {
    /*.links__item::after {*/
    /*    content: '';*/
    /*    padding-inline:0;*/
    /*}*/
}

.links__item:last-child::after{
    display: none;
}

.tabs__content.content {

}

.item__center {
    display: flex;
    justify-content: center;
    margin: 65px 0;
}
.item__img-box {
    max-width: 900px;
}
.item__img-box img {
    width: 100%;
}

.content__item {
    display: none;
}

.content__item.active {
    display: block;
}
.content__item h2,
.content__item p {
    font-size: clamp(1.125rem, 0.676vw + 0.909rem, 1.5rem);
    margin-bottom: 40px;
}

.content__item h2 {
    font-weight: 400;
}

.content__item p {
    font-weight: 200;
}
.item__links-box {
    display: flex;
    flex-direction: column;
}
.item__links-box a {
    color: #000;
    text-decoration: none;
    font-size: clamp(1rem, 0.676vw + 0.784rem, 1.375rem);
    font-weight: 200;
    margin-bottom: 30px;
}
