.top-mini-nav {
    margin-top: 40px;
}

.team-top-menu {
    margin-bottom: 40px;
}


.team-top {
    height: 336px;
    border-radius: 20px;
    background: #f6f6f6;
    position: relative;
}

.team-h {
    width: 141px;
    position: absolute;
    bottom: 0;
    right: 48px;
    transform: scaleX(-1);
}

.team-ellipse-img {
    width: 40px;
    height: 40px;
}


.avatar-container {
    width: auto;
    height: 40px;
    margin-top: 80px;
}

.team-img-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: -20px;
    overflow: hidden;
}

.team-img-container:nth-child(1) {
    z-index: 1;
}

.team-img-container:nth-child(2) {
    z-index: 2;
}

.team-img-container:nth-child(3) {
    z-index: 3;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
}

.avatar-img:first-child {
    margin-left: 0;
}

.bordered {
    border: 1px solid #F6F6F6;
}

.avatar-placeholder {
    z-index: 4;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    outline: 2px solid transparent;
    margin-left: -20px;
}

.dots-container svg {
    position: absolute;
    top: 0;
}

.specialists-text {
    color: #636363;
    font-size: 12px;
    font-family: Inter;
    font-weight: 500;
    line-height: 20px;
}

.team-header {
    margin: 0 auto;
    text-align: center;
}

.team-header h2 {
    margin: 20px auto 0 auto;
    width: 80%;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 60px;
}

.team-header h2 > span {
    color: #0156CD;
}

@media (max-width: 992px) {
    .team-header h2 {
        width: 60%;
        font-size: 36px;
        line-height: 36px;
    }
}

.running-line{
    margin: 40px auto 60px auto;
    width: 100%;
    max-width: 1440px;
    white-space: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(
            90deg,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
    );
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.running-line ul {
    display: flex;
    list-style-image: url("/local/templates/inevrika/assets/icons/star.svg");
    animation: ticker 20s linear infinite;
}

.running-line ul li {
    white-space: nowrap;
    margin: 0 20px 0 20px;
}

@keyframes ticker {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-58.75%);
    }
}

.team-body-haeder {
    margin-bottom: 20px;
}

.team-body-haeder h3 {
    margin: 0 0 20px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 72px;
}
