.pk-page .flex-layout.form-locations-image-layout .pk-row {
    max-width: 1294px;
    padding-block: 80px 0;
}

.flex-layout.form-locations-image-layout:has(+ .flex-layout.team_slider-layout) {
    margin-bottom: -330px;
}

.flex-content:has(.flex-layout.form-locations-image-layout + .flex-layout.team_slider-layout) .flex-layout.team_slider-layout {
    padding-top: 510px;
}

.pk-page .flex-layout.form-locations-image-layout .pk-row .form-locations-image-wrapper {
    gap: 0;
}

.pk-page .flex-layout.form-locations-image-layout .form-locations-image-form-wrapper {
    border: 0.5px solid var(--blue-500);
    background: var(--white);
    padding: 90px 60px 60px;
}

.pk-page .flex-layout.form-locations-image-layout .form-locations-image-form-wrapper .heading-wrapper {
    padding-bottom: 3rem;
}

.pk-page .flex-layout.form-locations-image-layout form {
    max-width: 630px;
    width: fit-content;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0.5px solid var(--blue-500);
    background: var(--blue-400);
}

.flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper .form-locations-image-locations {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
    gap: 40px;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations .location-item {
    min-width: 330px;
    width: fit-content;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations .location-name,
.flex-layout.form-locations-image-layout .form-locations-image-locations .location-address {
    color: var(--white);
}

.flex-layout.form-locations-image-layout .form-locations-image-locations .location-name {
    padding-bottom: 1rem;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper .pk-image {
    min-height: 330px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations .location-address-wrapper {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations .location-address-wrapper .location-map {
    padding-top: 1rem;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations .location-address-wrapper .location-map a {
    color: var(--white);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.flex-layout.form-locations-image-layout .form-locations-image-locations .location-address-wrapper .location-map a:hover {
    color: var(--blue-500);
}


.flex-layout.form-locations-image-layout .pk-row {
    position: relative;
}

.flex-layout.form-locations-image-layout .pk-row::before {
    position: absolute;
    content: '';
    height: 185px;
    width: 1095px;
    z-index: 0;
    pointer-events: none;
    background-image: url('/wp-content/uploads/2026/01/contact_form_shape.svg');
    right: -556px;
    top: 0;
}

.flex-layout.form-locations-image-layout .pk-row .form-locations-image-wrapper {
    position: relative;
}

@media screen and (max-width: 1200px) {
    /* .flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper {
        height: fit-content;
    } */

    .flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper .form-locations-image-locations {
        align-items: flex-start;
    }

    .flex-layout.form-locations-image-layout .form-locations-image-locations .location-item {
        min-width: unset;
        max-width: 300px;
    }

    .flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper .pk-image {
        min-height: unset;
        max-height: 330px;
    }

    .flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper .ani-image {
        height: unset;
    }
}

@media screen and (max-width: 992px) {
    .flex-content:has(.flex-layout.form-locations-image-layout + .flex-layout.team_slider-layout) .flex-layout.team_slider-layout {
        padding-top: 400px;
    }

    .flex-layout.form-locations-image-layout:has(+ .flex-layout.team_slider-layout) {
        margin-bottom: -390px;
    }

    .pk-page .flex-layout.form-locations-image-layout .pk-row {
        padding-block: 60px;
    }

    .pk-page .flex-layout.form-locations-image-layout .form-locations-image-wrapper {
        flex-direction: column;
        gap: 4rem;
    }

    .pk-page .flex-layout.form-locations-image-layout .form-locations-image-form-wrapper {
        padding: 60px 40px;
    }
}

@media screen and (max-width: 767px) {
    .flex-layout.form-locations-image-layout:has(+ .flex-layout.team_slider-layout) {
        margin-bottom: -367px;
    }

    .pk-page .flex-layout.form-locations-image-layout .pk-row {
        padding-block: 40px;
    }

    .pk-page .flex-layout.form-locations-image-layout .form-locations-image-form-wrapper {
        padding: 40px 20px;
    }

    .flex-layout.form-locations-image-layout .form-locations-image-locations-wrapper .form-locations-image-locations {
        padding: 40px 20px;
    }
}