/* @group contact-form
------------------------------------ */

.hero-form {}

.hero-form .col-content {
    display: flex;
    flex-direction: column;
}

.hero-form .col-content a {
    padding-top: .8rem;
    text-decoration: none;
}

.hero-form .frm_forms .frm_submit {
    margin-top: 0;
}

@media only screen and (min-width : 961px) {

    .hero-form .col-content>div {
        margin: 0 !important;
    }
    .hero-form .col-form>p:last-of-type {
        padding-top: .1rem;
        padding-bottom: 5.9rem;
    }

    .hero-form .col-content {
        padding-top: 2.6rem;
    }
    .hero-form.reverse .col-content>.wp-block-heading{
        position: relative;
        top: 1.5rem;
    }

    .hero-form .col-content {
        gap: 3.1rem;
    }

    

    .hero-form .col-content a:hover {
        text-decoration: underline;
    }

    .hero-form:not(.reverse) .frm_forms {
        margin-top: 5rem;
    }
    .hero-form.reverse .frm_forms {
        margin-top: 3rem;
    }
    .hero-form .frm_forms .frm_form_field:not(:last-of-type) {
        margin-bottom: .9rem;
    }
}

@media only screen and (min-width : 0) and (max-width : 960px) {

    .hero-form {
        padding-inline: 1.4rem
    }

    .hero-form header {
        text-align: center;
        padding-bottom: 2.8rem;
    }

    .hero-form.reverse header {
        padding-bottom: 4rem;
    }

    .hero-form .col-form>.wp-block-heading{
        text-align: center;
    }

    .hero-form header,
    .hero-form .col-form>.wp-block-heading {
        max-width: 33.9rem;
        margin: auto;
    }

    .hero-form:not(.reverse) form {
        margin-top: 4.1rem;
    }
    .hero-form.reversed form {
        margin-top: 5.9rem;
    }
    .hero-form .col-content {
        row-gap: 3rem;
    }
    .hero-form.reverse .col-content {
        text-align: center;
    }
    .hero-form .col-content>p:last-of-type {
        margin-top: 4.1rem;
        margin-bottom: 1.5rem;
    }
    .hero-form.reverse .col-content>.wp-block-heading {
        order: 1;
        margin-top: 3rem;
    }
    .hero-form.reverse .col-content .wp-block-group {
        order: 0;
        align-items: center;
    }
}

/* @end */

/* CMS */


.editor-styles-wrapper .hero-form {
    color: var(--marron);
}
