.banner-pb-half {
    padding-bottom: 0;
}

.bx-breadcrumb {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #111;
    font-size: 16px;
}

.bx-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.bx-breadcrumb-separator {
    font-size: 28px;
    line-height: 1;
}

.heading {
    margin-top: 36px;
}

.heading h1 {
    margin: 0;
    color: #000;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.1;
}

.projects-container {
    width: min(calc(100% - 32px), 1190px);
    margin: 0 auto;
}

.projects-hero {
    position: relative;
    min-height: 493px;
    overflow: hidden;
    color: #fff;
    font-family: "Aeonik Pro Trial", Arial, sans-serif;
    background:
        linear-gradient(90deg, rgba(29, 33, 70, .98) 0%, rgba(35, 47, 116, .92) 33%, rgba(33, 61, 160, .91) 100%),
        url("/upload/whitebyte/okompanii_banner_img.png") center / cover no-repeat;
}

.projects-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/upload/whitebyte/okompanii_banner_img.png") center / cover no-repeat;
    opacity: .18;
    mix-blend-mode: screen;
    pointer-events: none;
}

.projects-hero #main-header.header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: min(calc(100% - 32px), 1190px);
    height: 48px;
    margin: 52px auto 0;
    padding: 0;
    color: #fff;
    background: transparent;
    box-shadow: none;
}

.projects-hero .inn_main_header.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.projects-hero .header-logo,
.projects-hero .header-logo svg {
    display: block;
    width: 188px;
    height: auto;
}

.projects-hero .h_menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    white-space: nowrap;
}

.projects-hero .h_menu_el {
    position: relative;
}

.projects-hero .h_menu_el + .h_menu_el {
    margin-left: 0 !important;
}

.projects-hero .h_me_title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-weight: 300 !important;
    cursor: pointer;
    transition: opacity .2s ease;
}

.projects-hero .h_me_title:hover {
    opacity: .7;
}

.projects-hero .h_me_title.is-active {
    font-weight: 400 !important;
}

.projects-hero .h_me_list {
    position: absolute;
    top: calc(100% + 16px);
    left: -12px;
    min-width: 276px;
    padding: 12px;
    border-radius: 8px;
    color: #303030;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: .2s;
}

.projects-hero .h_menu_el:hover .h_me_list {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.projects-hero .h_mel_el {
    display: block;
    padding: 9px 10px;
    border-radius: 5px;
}

.projects-hero .h_mel_el:hover {
    color: #2a2d7d;
    background: #eaecf7;
}

.projects-hero .header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 0;
}

.projects-hero .header-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 300 !important;
    line-height: 1;
    white-space: nowrap;
}

.projects-hero .header-btn-phone span {
    margin-left: 0 !important;
}

.projects-hero .header-btn {
    display: none;
}

.projects-hero .mobile-header-data {
    display: none;
}

.projects-hero .hero-content {
    position: relative;
    z-index: 1;
    padding: 88px 0 58px;
}

.projects-hero .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    font-weight: 400 !important;
    line-height: 1.35;
}

.projects-hero .breadcrumbs > * + * {
    margin-left: 18px;
}

.projects-hero .breadcrumbs a {
    color: inherit;
    font-weight: 400 !important;
    text-decoration: none;
}

.projects-hero .breadcrumbs span {
    font-weight: 400 !important;
}

.projects-hero h1 {
    width: min(100%, 980px);
    margin: 54px 0 0;
    color: #fff;
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
}

.projects-hero p {
    width: min(100%, 670px);
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .96);
    font-family: "Aeonik Pro Trial", Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.18;
}

.projects-hero .hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    margin-top: 31px;
    padding: 0 20px;
    border: 0;
    border-radius: 15px;
    color: #2a2d7d;
    background: #fff;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
}

.project_list {
    margin-top: 56px;
}

.project_list.mt162 {
    margin-top: 72px;
}

.project_sections {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.project_section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    max-width: 260px;
    height: 52px;
    padding: 0 12px;
    border-radius: 60px;
    background-color: #c8c8c8;
    color: #fff;
    cursor: pointer;
    transition: background-color .3s ease;
}

.project_section.active {
    background-color: #213da0;
}

.project_elems {
    --elems: 3;
    --gap: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 35px var(--gap);
    margin-top: 24px;
}

@keyframes projectFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.project_elem {
    position: relative;
    width: calc((100% - var(--gap) * (var(--elems) - 1)) / var(--elems));
    height: 330px;
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    animation: projectFadeIn .4s ease-out;
}

.project_elem_pic {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project_elem:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.project_elem_info {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
    color: #fff;
}

.project_ei_body {
    display: flex;
    align-items: flex-end;
    gap: 50px;
    margin-top: auto;
    padding: 0 10px 12px 25px;
}

.project_eib_ctx {
    margin-bottom: 17px;
}

.project_eib_ctx_title,
.project_eib_ctx_text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
}

.project_eib_ctx_title,
.project_elem .project_eib_ctx_title.bl_inn_title {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.12 !important;
}

.project_eib_ctx_text {
    margin-top: 22px;
    line-height: 1.42 !important;
}

.project_eib_btn {
    display: none;
}

.project_empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 180px;
    padding: 32px;
    border: 1px solid #e5e9f3;
    border-radius: 14px;
    background: #f7f9fe;
    color: #5f6b7a;
    text-align: center;
}

.project_pag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 54px;
}

.project_pag_prev,
.project_pag_next,
.project_pag_span {
    cursor: pointer;
}

.project_pag_spans {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project_pag_span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d9d9d9;
}

.project_pag_span.active {
    background: #213da0;
}

.header.default-dark {
    color: #1a1919;
}

.header.default-dark .h_search svg path {
    fill: #1a1919;
}

body > .page_form {
    display: none;
}

@media (hover: hover) {
    .project_section:hover {
        background-color: #213da0;
    }
}

@media (max-width: 1920px) and (min-width: 1361px) {
    .projects-hero {
        min-height: 430px;
    }

    .projects-hero #main-header.header {
        margin-top: 36px;
    }

    .projects-hero .header-logo,
    .projects-hero .header-logo svg {
        width: 176px;
    }

    .projects-hero .h_menu {
        gap: 20px;
        font-size: 15px;
    }

    .projects-hero .header-actions {
        gap: 14px;
    }

    .projects-hero .hero-content {
        padding: 68px 0 48px;
    }

    .projects-hero h1 {
        margin-top: 42px;
        font-size: 48px;
    }

    .projects-hero p {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.24;
    }

    .projects-hero .hero-button {
        min-height: 44px;
        border-radius: 13px;
        font-size: 16px;
    }
}

@media (max-width: 1360px) and (min-width: 1025px) {
    .projects-container,
    .projects-hero #main-header.header {
        width: min(calc(100% - 40px), 1080px);
    }

    .projects-hero {
        min-height: 400px;
    }

    .projects-hero #main-header.header {
        margin-top: 30px;
    }

    .projects-hero .inn_main_header.container {
        gap: 18px;
    }

    .projects-hero .header-logo,
    .projects-hero .header-logo svg {
        width: 160px;
    }

    .projects-hero .h_menu {
        gap: 16px;
        font-size: 14px;
    }

    .projects-hero .header-actions {
        gap: 12px;
    }

    .projects-hero .header-btn-phone {
        font-size: 14px;
    }

    .projects-hero .hero-content {
        padding: 58px 0 44px;
    }

    .projects-hero .breadcrumbs {
        font-size: 14px;
    }

    .projects-hero h1 {
        margin-top: 34px;
        font-size: 42px;
    }

    .projects-hero p {
        max-width: 610px;
        margin-top: 18px;
        font-size: 17px;
        line-height: 1.26;
    }

    .projects-hero .hero-button {
        min-height: 42px;
        border-radius: 12px;
        font-size: 15px;
    }
}

@media (max-width: 1279px) {
    .project_elems {
        --elems: 2;
        --gap: 20px;
    }
}

@media (max-width: 1024px) {
    .projects-hero .h_menu,
    .projects-hero .header-actions {
        display: none;
    }

    .projects-hero .mobile-header-data {
        display: inline-flex;
    }

    .projects-hero h1 {
        font-size: 52px;
    }
}

@media (max-width: 990px) {
    .project_list {
        margin-top: 40px;
    }

    .project_elems {
        --elems: 1;
        margin-top: 20px;
    }

    .project_section {
        min-width: 120px;
        height: 38px;
    }
}

@media (max-width: 640px) {
    .projects-container,
    .projects-hero #main-header.header {
        width: min(calc(100% - 32px), 100%);
    }

    .projects-hero #main-header.header {
        margin-top: 26px;
    }

    .projects-hero .hero-content {
        padding: 56px 0 46px;
    }

    .projects-hero h1 {
        margin-top: 34px;
        font-size: 38px;
    }

    .projects-hero p {
        font-size: 17px;
    }

    .project_list.mt162 {
        margin-top: 42px;
    }
}

@media (max-width: 575px) {
    .heading h1 {
        font-size: 34px;
    }

    .project_sections {
        gap: 10px;
    }

    .project_section {
        min-width: unset;
        height: 32px;
        font-size: 14px;
    }

    .project_elem {
        height: 384px;
    }

    .project_ei_body {
        padding: 0 14px 27px;
    }

    .project_eib_ctx {
        margin-bottom: 0;
    }

    .project_eib_ctx_title,
    .project_elem .project_eib_ctx_title.bl_inn_title {
        font-size: 16px !important;
        line-height: 1.12 !important;
    }
}

@media (max-width: 407px) {
    .project_eib_ctx_title {
        -webkit-line-clamp: 2;
    }

    .project_elem {
        height: calc(100vw * 354 / 375);
    }
}
