.about-page-block .top-wrapper {
    display: flex;
    gap: 80px;
    margin-bottom: 40px;
}
.about-page-block .block-text {
    width: calc(100% - 520px);
    flex-grow: 1;
}
.about-page-block .certs-holder {
    display: flex;
    gap: 30px;
    align-items: center;
    width: 440px;
    min-width: 440px;
}
.about-page-block .certs-holder .nav {
    margin-top: unset;
}
.about-page-block .certs-holder .nav .nav-btns {
    flex-direction: column;
}
.about-page-block .certs {
    width: calc(100% - 80px);
}
.about-page-block .cert-img {
    display: flex;
    height: auto;
    max-height: 490px;
    width: 100%;
    cursor: pointer;
}
.about-page-block .cert-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.about-page-block .about-main-img {
    width: 100%;
    display: flex;
    height: auto;
}
.about-page-block .about-main-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.about-page-block .about-gallery-holder {
    padding-left: calc((100% - 1530px) / 2);
    margin-bottom: 10px;
}
.about-page-block .gallery-img {
    width: 100%;
    display: flex;
    height: auto;
    max-height: 390px;
    cursor: pointer;
}
.about-page-block .gallery-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1/1;
}

@media (max-width: 1600px) {
    .about-page-block .top-wrapper {
        gap: 20px;
    }
    .about-page-block .block-text {
        width: calc(100% - 460px);
    }
    .about-page-block .about-gallery-holder {
        padding-left: 15px;
    }
    .about-page-block .about-gallery-holder .nav {
        padding-right: 15px;
    }
}

@media (max-width: 1400px) {
    .about-page-block .certs-holder {
        gap: 10px;
    }
    .about-page-block .certs {
        width: calc(100% - 60px);
    }
}

@media (max-width: 996px) {
    .about-page-block .top-wrapper {
        flex-direction: column;
    }
    .about-page-block .block-text {
        width: 100%;
    }
    .about-page-block .certs-holder {
        width: 100%;
        min-width: unset;
    }
}