.top-block {
    margin-top: 52px;
    margin-bottom: 120px;
}

.top-block .breadcrumbs {
    margin-bottom: 32px;
    font-size: 12px;
    line-height: 16px;
}

.top-block .breadcrumb_last {
    color: var(--se-text-color-disabled);
}

.top-block .breadcrumbs a {
    color: var(--se-heading-color);
}

.top-block__site-link {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    color: var(--se-accent-blue);
    gap: 4px;
}

.top-block__site-link-icon {
    display: flex;
}

.top-block__logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--se-stroke-color);
    border-radius: 5px;
}

.top-block__logo-wrapper img {
    max-height: 100%;
    margin: 0 auto;
}

.top-block__site-link span {
    padding: 0 10px;
}

.top-block__main-title {
    margin-bottom: 16px;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    color: var(--se-heading-color);
    text-align: start;
    letter-spacing: -0.4px;
}

.top-block__inner {
    display: grid;
    grid-template-columns: 679px auto;
    grid-gap: 97px;
    gap: 80px;
}

.top-block__left {
    display: grid;
    grid-gap: 32px;
}

.top-block__left-content {
    display: grid;
    justify-content: start;
    padding: 24px;
    background-color: #fff;
    border: 1px solid var(--se-stroke-color);
    border-radius: 5px;
    grid-template-columns: 100px auto;
    grid-gap: 32px;
}

.top-block__right {
    display: grid;
    align-content: start;
    gap: 12px;
}

.top-block__description {
    overflow: hidden;
    font-size: 16px;
    line-height: 22px;
    color: var(--se-text-color);
    transition: max-height 0.3s ease-in-out;
}

.top-block__agency-item {
    display: flex;
    align-items: center;
    border-radius: 5px;
    gap: 12px;
}

.top-block__agency-item-left {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid var(--se-stroke-color);
    border-radius: 5px;
}

.top-block__agency-item-left svg {
    width: 24px;
    height: 24px;
}

.top-block__agency-item-right {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--se-heading-color);
}

.top-block__agency-item-right-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--se-text-color);
}

.top-block__form-container-wrapper {
    min-width: 750px;
    padding: 40px;
    background-color: #fff;
    border-radius: 5px;
}

.limit-height {
    max-height: 133px;
}

.hidden {
    display: none;
}

.top-block__show-more-button-block {
    display: flex;
    align-items: center;
    margin-top: -16px;
    gap: 24px;
    overflow: hidden;
}

.top-block__button-show-more,
.top-block__button-show-less {
    position: relative;
    width: 148px;
    padding: 0 25px 0 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--se-heading-color);
    text-align: left;
    cursor: pointer;
    background: no-repeat;
    border: none;
}

.top-block__button-show-more > img,
.top-block__button-show-less > img {
    position: absolute;
    top: 2px;
    right: 0;
}

.top-block__button-stroke {
    width: 100%;
    height: 1px;
    background-color: var(--se-stroke-color);
}

.top-block__agency-button.se-btn {
    min-width: 180px;
}

.top-block__button-show-more {
    width: 148px;
}
.top-block__button-show-less {
    width: 148px;
}

html:lang(de) .top-block__button-show-more {
    width: 160px;
}

html:lang(de) .top-block__button-show-less {
    width: 212px;
}

html:lang(es) .top-block__button-show-more {
    width: 164px;
}

html:lang(es) .top-block__button-show-less {
    width: 172px;
}

html:lang(fr) .top-block__button-show-more {
    width: 152px;
}

html:lang(fr) .top-block__button-show-less {
    width: 170px;
}

html:lang(nl) .top-block__button-show-more {
    width: 140px;
}

html:lang(nl) .top-block__button-show-less {
    width: 212px;
}

.top-block__agency-button-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-block_agency-button-wrapper-certified {
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-block_agency-button-wrapper-certified-icon {
    display: flex;
}

.top-block_agency-button-wrapper-certified-icon svg {
    height: 20px;
    width: 20px;
}

.top-block__title-wrapper {
    min-width: 200px;
}

@media screen and (max-width: 1199px) {
    .top-block {
        margin-top: 32px;
        margin-bottom: 80px;
    }

    .top-block .breadcrumbs {
        margin-bottom: 32px;
    }

    .top-block__site-link,
    .top-block__main-title {
        text-align: center;
    }

    .top-block__main-title {
        font-size: 44px;
        line-height: 52px;
        letter-spacing: -0.44px;
    }

    .top-block__inner {
        gap: 40px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .top-block__site-link {
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 175px;
    }
}

@media screen and (max-width: 991px) {
    .top-block__right {
        grid-template-columns: 1fr 1fr;
        grid-gap: 16px;
    }

    .top-block__inner {
        grid-template-columns: 100%;
        grid-gap: 32px;
    }
}

@media screen and (max-width: 991px) {
    .top-block__form-container-wrapper {
        min-width: 645px;
        max-width: 645px;
    }

    .modal-window__close-button {
        position: absolute;
        top: 16px;
        right: 16px;
    }
}

@media screen and (max-width: 767px) {
    .top-block {
        margin-top: 32px;
        margin-bottom: 48px;
    }

    .top-block .breadcrumbs {
        margin-bottom: 24px;
    }

    .top-block__title-wrapper {
        width: 100%;
    }

    .top-block__inner {
        grid-gap: 24px;
    }

    .top-block__left {
        max-width: 100%;
        gap: 24px;
    }

    .top-block__left-content {
        padding: 0;
        background-color: transparent;
        border: none;
        grid-template-columns: 100%;
        grid-gap: 24px;
    }

    .top-block__logo-wrapper {
        width: 84px;
        height: 84px;
        padding: 12px;
    }

    .top-block__site-link,
    .top-block__main-title {
        text-align: left;
    }

    .top-block__main-title {
        margin-bottom: 24px;
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -0.32px;
    }

    .top-block__agency-item {
        width: 100%;
    }

    .top-block__agency-item-left {
        display: none;
    }

    .top-block__right {
        row-gap: 8px;
        grid-template-columns: 100%;
    }

    .top-block__form-container-wrapper {
        min-width: 100%;
        border-radius: 0;
    }

    .top-block__button-show-more {
        width: 182px;
    }
    .top-block__button-show-less {
        width: 184px;
    }

    html:lang(de) .top-block__button-show-more {
        width: 200px;
    }

    html:lang(de) .top-block__button-show-less {
        width: 386px;
    }

    html:lang(es) .top-block__button-show-more {
        width: 240px;
    }

    html:lang(es) .top-block__button-show-less {
        width: 240px;
    }

    html:lang(fr) .top-block__button-show-more {
        width: 200px;
    }

    html:lang(fr) .top-block__button-show-less {
        width: 234px;
    }

    html:lang(nl) .top-block__button-show-more {
        width: 180px;
    }

    html:lang(nl) .top-block__button-show-less {
        width: 356px;
    }
}

@media screen and (max-width: 475px) {
    .top-block__agency-button-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .top-block__agency-button.se-btn.se-btn_default.se-btn_medium.triger-modal-button {
        width: 100%;
    }
}