/* Privacy consent and captcha wrap together according to the available space. */
form .form-verification {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    clear: both;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0;
}

form .form-verification > .checkbox,
form .form-verification > .checkbox.privacy_checkbox {
    flex: 0 1 auto;
    float: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

form .form-verification > .checkbox.privacy_checkbox > div {
    float: none;
    width: auto;
    max-width: 100%;
}

form .form-verification > .frc-captcha,
.contacts form .form-verification > .frc-captcha {
    flex: 0 1 auto;
    float: none;
    clear: none;
    width: fit-content;
    max-width: 100%;
    margin: 0;
}

form .form-verification + input[type="submit"],
.form .form-verification + input.right[type="submit"],
.contacts form .form-verification + button[type="submit"] {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

/* The contacts page needs enough space for consent and the captcha widget. */
@media (min-width: 1201px) {
    .contacts_block .design > .left.half {
        width: 40%;
    }

    .contacts_block .design > .form.right.half {
        width: 55%;
    }

    .contacts_hp .design > .form.right {
        width: 55%;
        max-width: none;
    }
}

@media (max-width: 600px) {
    form .form-verification {
        flex-direction: column;
        align-items: flex-start;
    }
}
