/* BLOCK: Text & Image (Sticky) */

.block-text-image .content-wrapper {
    display: flex;
    gap: 7.125rem;
}

.block-text-image .image-content {
    flex-basis: 55.35%;
}

.block-text-image .image-content img {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    width: calc(100% + var(--offset, 0px));
    object-fit: cover;
    max-width: unset;
    margin-left: calc(-1 * var(--offset, 0px));
}

.block-text-image .text-content {
    flex-basis: 44.65%;
    padding-block: 18.25rem 10.8125rem;
}

.block-text-image .text-content :where(h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5).cursive {
    margin-bottom: 0.3em;
}

.block-text-image .text-content :is(.wpcf7, .gform_wrapper):not(:first-child) {
    margin-top: 7.5rem;
}

@media screen and (width <= 620px) {
    .block-text-image .content-wrapper {
        flex-direction: column;
        gap: 5rem;
    }

    .block-text-image .image-content {
        flex-basis: 100%;
    }

    .block-text-image .image-content img {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        height: auto;
        aspect-ratio: 1.39;
    }

    .block-text-image .text-content {
        padding-block: 0;
    }

    .block-text-image .text-content .wpcf7:not(:first-child) {
        margin-top: 3.75rem;
    }

    .block-text-image .wpcf7 .gbwp-field-wrap {
        gap: 1.25rem;
    }

    .block-text-image .wpcf7-form :is(input:not([type=radio],[type=checkbox],[type=submit]), textarea) {
        padding-bottom: 1.125rem;
    }

    .block-text-image .wpcf7 .gbwp-form-wrapper {
        gap: 2.5rem;
    }

    .block-text-image .wpcf7-form .wpcf7-radio {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .block-text-image .wpcf7-form textarea {
        --lines: 6;
    }
    
}