.brandpage {
    padding-top: 14px;
}

.brandpage .brandpage-top-block-table {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 40px 0;
}

.brandpage .brandpage-top-block-table > .cell {
    display: block;
    flex: 0 0 220px;
    min-width: 0;
    padding: 0;
}

.brandpage .brandpage-top-block-table > .cell.full {
    flex: 1 1 0;
    width: auto;
}

.brandpage .brandpage-top-block-table > .cell:last-child:not(.full) {
    flex-basis: 260px;
    padding-left: 32px;
}

.brandpage .brandpage-top-block__logo {
    min-width: 0;
    padding: 0;
    text-align: center;
}

.brandpage .brandpage-top-block__logo img {
    max-width: 100%;
    height: auto;
}

.brandpage .contact_brand {
    padding: 24px 0 12px;
}

.brandpage .contact_site {
    overflow-wrap: anywhere;
}

.brandpage .phone_brand > span {
    display: block;
}

.brandpage .brandpage-top-block__text {
    min-width: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

.brandpage .brandpage-top-block__text > :first-child {
    margin-top: 0;
}

.brandpage .brandpage-top-block__text img,
.brandpage .brandpage-top-block__text video,
.brandpage .brandpage-top-block__text iframe,
.brandpage .brandpage-top-block__text table {
    max-width: 100%;
}

.brandpage .brandpage-top-block__text img,
.brandpage .brandpage-top-block__text video {
    height: auto;
}

.brandpage .brandpage-top-block-certificate {
    padding: 0;
}

.brandpage .brandpage-top-block-certificate__img img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 992px) {
    .brandpage .brandpage-top-block-table {
        flex-direction: column;
        gap: 28px;
        padding: 28px 0;
    }

    .brandpage .brandpage-top-block-table > .cell,
    .brandpage .brandpage-top-block-table > .cell.full,
    .brandpage .brandpage-top-block-table > .cell:last-child:not(.full) {
        flex: none;
        width: 100%;
        padding: 0;
        border-left: 0;
    }

    .brandpage .brandpage-top-block__logo {
        max-width: 220px;
        margin: 0 auto;
    }

    .brandpage .brandpage-top-block__text {
        margin: 0;
        padding: 0;
        border-bottom: 0;
    }

    .brandpage .brandpage-top-block-certificate-table {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 28px;
    }

    .brandpage .brandpage-top-block-certificate-table > .cell {
        display: block;
        width: auto;
        min-width: 0;
    }

    .brandpage .brandpage-top-block-certificate__title {
        text-align: center;
    }

    .brandpage .brandpage-top-block-certificate__img {
        max-width: 230px;
        margin: 0;
    }

    .brandpage .brandpage-top-block-certificate-download {
        margin: 0;
    }
}

@media (max-width: 460px) {
    .brandpage .brandpage-top-block-certificate-table {
        flex-direction: column;
        align-items: center;
    }
}
