.tabs {
    margin-top: 100px;
    /*margin-top: -50px;*/
    margin-bottom: 100px;
}

.main:has(> .info__section:last-child) + .tabs,
.main:has(> .contentBlock:last-child) + .tabs,
.formatedText.contentBlock + .tabs { margin-top: -50px; }

/*.formatedText + .tabs,*/
/*.main + .tabs { margin-top: 0; }*/
/*
.tabs .swiper-wrapper,
.tabs .swiper-slide { height: auto; }

.tabs .swiper-slide {
    display: inline-block;
    width: auto;
}

.tabs .swiper-scrollbar { display: none; height: 1px; }

.tabs .swiper-scrollbar-drag {
    top: -2px;
    height: 3px;
    background-color: #009cff;
}
*/

.tabs__labelGroup {
    display: flex;
    border-bottom: 1px solid #d6d6d6;
    position: relative;
}

.tabs__label {
    padding: 20px 30px;
    margin-bottom: -1px;
    color: rgba(32, 32, 32, .8);
    font-size: 18px;
    font-weight: 900;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}
.tabs__label:hover { opacity: 1; }
.tabs__label.tabs__label--current { opacity: 1; color: #009cff; }

.tabs__labelCurrentLine {
    width: 0;
    height: 3px;
    overflow: hidden;
    background: #009cff;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease, left 0.3s ease;
}

.tabs__contentGroup {
    transition: height 0.3s ease;
    position: relative;
}

.tabs__content {
    width: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
}
.tabs__content.none { display: none; opacity: 0; }

.tabs__contentWrap { padding: 40px 0 0; }
.tabs__contentWrap > :first-child { margin-top: 0; }
.tabs__contentWrap > :last-child  { margin-bottom: 0; }
.tabs__contentWrap .container { width: 100%; padding-left: 0; padding-right: 0; }
.tabs__contentWrap .pageTags { margin-bottom: 0; }
.tabs__contentWrap .news__array {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
}
.tabs__contentWrap .additionMaterial__array {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
}
.tabs__contentWrap .contentTab > :first-child { margin-top: 0; }
.tabs__contentWrap .contentTab > :last-child  { margin-bottom: 0; }
.tabs__contentWrap p { line-height: 1.7; }

.mobile .tabs__contentWrap { padding-top: 20px; }
.mobile .tabs { margin: 50px 0 50px; }
/*.mobile .tabs__labelGroup.swiper-container { position: relative; }
.mobile .tabs__labelGroup.swiper-container:before,
.mobile .tabs__labelGroup.swiper-container:after {
    content: '';
    display: block;
    width: 30px;
    height: 100%;
    position: absolute;
    bottom: 3px;
    z-index: 2;
}
.mobile .tabs__labelGroup.swiper-container:before {
    left: 0;
    background: linear-gradient(to left, transparent, white);
}
.mobile .tabs__labelGroup.swiper-container:after {
    right: 0;
    background: linear-gradient(to right, transparent, white);
}
.mobile .tabs__labelGroup.swiper-container .swiper-wrapper { z-index: 1; }

@media (max-width: 991px) {
    .mobile .swiper-scrollbar { display: block; }
}*/

@media (max-width: 478px) {
    .mobile .tabs { margin: 30px 0 30px; }
    .mobile .tabs__contentWrap { padding-top: 20px; }
    .main:has(> .info__section:last-child) + .tabs,
    .main:has(> .contentBlock:last-child) + .tabs,
    .formatedText.contentBlock + .tabs { margin-top: 0; }
    /*.mobile .tabs__contentWrap .additionMaterial__array {
        margin-left: 0;
        margin-right: 0;
    }
    .mobile .tabs__contentWrap .additionMaterial__array .additionMaterial__item:first-child { margin-top: 0; }
    .mobile .tabs__contentWrap p { margin: 1em 0; }
    .mobile .tabs__contentWrap p:first-child { margin-top: 0; }
    .mobile .tabs__contentWrap p:last-child { margin-bottom: 0; }*/
}

.formatedText .tabs ul li { padding: 0; }
.formatedText .tabs ul li:before { content: none; }
.formatedText .tabs a {
    color: inherit!important;
    text-decoration: none;
    transition: color 0.2s ease;
}