.top_page {
    background: rgba(233, 237, 253, 0.5);
}

.top_page_title {
    font-weight: 700;
    font-size: 40px;
}

.top_page_description {
    font-weight: 400;
    font-size: 24px;
}

.top-page__block {
    background-image: url('assets/portal-top-bg.png');
    background-repeat: no-repeat;
    min-height: 460px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}

@media(max-width: 993px) {
    .top-page__block {
        flex-direction: column;
        gap: 30px;
        background-size: cover;
    }

    .top_page .container {
        padding: 0;
    }

    .top_page .top_page_content {
        padding: 15px;
    }
}

.top_page_content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 420px;
    z-index: 1;
}

@media(max-width: 993px) {
    .top_page_content {
        width: 100%;
    }
}

.top_page_img {
    position: relative;
    bottom: 0;
    height: auto;
    display: flex;
    align-items: flex-end;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
}

@media(max-width: 1200px) {
    .top_page_img {
        max-width: 670px;
    }
}

@media(max-width: 1024px) {
    .top-page__block {
        background-position: center;
    }
}

@media(max-width: 993px) {
    .top_page_img  {
        position: relative;
    }
}


.top_page_img img {
    display: block;
    max-width: 100%;
}

.portal-blue {
    background-color: #E9EDFD;
    padding: 50px 0;
    margin-bottom: 60px;
}

.portal-block {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.portal-text, .portal-img {
    display: flex;
    flex: 1 1 50%;
    min-width: 0;
    border-radius: 16px;
}

.portal-text {
    font-weight: 400;
    font-size: 18px;
}

.portal-img {
    justify-content: flex-end;
}

.portal-img img {
    max-width: 100%;
}

@media(max-width: 768px) {
    .portal-block {
        flex-direction: column;
    }

    .portal-text, .portal-img {
        display: flex;
        flex: 1 1 100%;
        min-width: 0;
    }
}

.portal-section-title {
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    padding-bottom: 30px;
}

.portal-section-text {
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    padding-bottom: 50px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 50px;
}

@media(max-width: 960px) {
    .portal-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media(max-width: 600px) {
    .portal-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(280px, 1fr));
        gap: 20px;
    }
}

.portal-item {
    border: 1px solid #D9D9D9;
    border-radius: 16px;
    padding: 40px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.portal-icon {
    max-height: 60px;
    height: 100%;
}

.portal-icon img {
    max-width: 100%;
}

.portal-title {
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    min-height: 50px;
}

.portal-ecosystem img {
    max-width: 100%;
}

.portal-functional {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 30px;
}

@media(max-width: 768px) {
    .portal-functional {
        display: grid;
        grid-template-columns: repeat(1, minmax(280px, 1fr));
        gap: 30px;
    }
}

.functional-item {
    display: flex;
    gap: 30px;
    border: 1px solid #D9D9D9;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 0 30px 30px;
    position: relative;
    align-items: center;
}

@media(max-width: 1024px) {
    .functional-item {
        flex-direction: column;
        gap: 20px;
        padding: 30px 30px 0 30px;
    }
}

.functional-item__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 50%;
}

@media(max-width: 1024px) {
    .functional-item__text {
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex: 1 1 100%;
    }
}

.functional-item__title {
    font-weight: 700;
    font-size: 24px;
    color: #EA6806;
}

.functional-item__description {
    font-weight: 400;
    font-size: 16px;
}

.functional-item__img {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    height: 100%;
}

@media(max-width: 1024px) {
    .functional-item__img {
        flex: 1 1 100%;
        position: relative;
        display: flex;
        max-height: 140px;
    }
}


.functional-item__img.img-base {
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #D9D9D9;
    border-right: 0;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    width: 100%;
    height: 100%;
    min-height: 280px;
}

@media(max-width: 1024px) {
    .functional-item__img.img-base {
        background-image: url(assets/block-1.png);
        background-repeat: no-repeat;
        background-size: cover;
        border: 1px solid #D9D9D9;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
        border-bottom-left-radius: 0;
        width: 100%;
        min-height: 180px;
    }
}

.functional-item__img.img-base.img-1 {
    background-image: url(assets/block-1.png);
}
.functional-item__img.img-base.img-2 {
    background-image: url(assets/block-2.png);
}
.functional-item__img.img-base.img-3 {
    background-image: url(assets/block-3.png);
}
.functional-item__img.img-base.img-4 {
    background-image: url(assets/block-4.png);
}

.functional-item__img img {
    max-width: 100%;
    width: 100%;
    border: 1px solid #D9D9D9;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.portal-ecosystem {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
}

.external__block .b24-form-header {
    display: none;
}

.inner__info_title_sec {
    margin-bottom: 30px;
}

.external__block .b24-form-control-list .b24-form-control, .external__block .b24-form-control-string .b24-form-control {
    background-color: #ffffff;
    border: 1px solid #E2E1E1;
}

.b24-form-control-list .b24-form-control, .b24-form-control-select .field-item, .b24-form-control-string .b24-form-control, .b24-form-control-text .b24-form-control {
    height: 46px;
}

.b24-form-wrapper {
    max-width: 570px;
}