.top-block__container {
    padding-top: var(--spacing-half-of-v1);
    padding-bottom: 24px;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    grid-gap: var(--spacing-half-of-v1);
}

.top-block__subtitle {
    margin-bottom: 32px;
    text-align: center;
}

.top-block__avatars-block {
    display: grid;
    align-items: center;
    justify-content: start;
    --avatar-size: 58px;
    grid-template-columns: auto auto;
    grid-gap: 24px;
}

.top-block__avatars-wrapper {
    position: relative;
    min-width: 142px;
    max-width: 142px;
    height: var(--avatar-size);
    overflow: hidden;
    transform: translateX(-2px);
}

.top-block__avatars.first {
    transform: translateX(-138px);
}

.top-block__avatars {
    position: absolute;
    top: 0;
    z-index: 2;
    display: flex;
    background-color: #fff;
    transition-timing-function: ease-out;
    transition-duration: 300ms;
    transition-property: transform;
}

.top-block__avatars.hidden {
    top: -100px;
    z-index: 1;
}

.top-block__avatar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    background-color: #fff;
    transition-timing-function: ease-out;
    transition-duration: 300ms;
    transition-property: opacity;
}

.top-block__avatar-wrapper.hidden {
    opacity: 0;
}

.top-block__avatar-wrapper:not(:first-child) {
    margin-left: -12px;
}

.top-block__avatar-wrapper img {
    width: var(--avatar-size);
    transform: translateX(-4px);
}

.se-text_hero span {
    font-weight: 600;
    color: var(--main-colors-black);
}

@media screen and (max-width: 1535px) {
    .top-block__container {
        padding-bottom: 20px;
    }

    .top-block__subtitle {
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 1023px) {
    .top-block__avatars-block {
        grid-template-columns: 100%;
        justify-items: center;
        grid-gap: 20px;
    }
}

@media screen and (max-width: 767px) {
    .top-block__container {
        padding-bottom: 8px;
    }

    .top-block__title,
    .top-block__subtitle {
        text-align: start;
    }

    .top-block__button-block {
        width: 100%;
        max-width: none;
    }

    .top-block__avatars-block {
        grid-gap: 12px;
    }
}