.wp-block-perron-contact-form {
    margin-block: 2rem;
    scroll-margin-top: calc(var(--hh, 0px) + var(--pad, 0px) + 5px);
}

.wp-block-perron-contact-form__inner {
    display: grid;
    gap: 1rem;
}

.wp-block-perron-contact-form__heading {
    margin-block: 0;
}

.wp-block-perron-contact-form__form {
    display: grid;
    gap: 1rem;
}

.wp-block-perron-contact-form__field {
    display: grid;
    gap: 0.35rem;
}

.wp-block-perron-contact-form__field label {
    font-weight: 700;
    padding-left: 1em;
}

.wp-block-perron-contact-form__field input,
.wp-block-perron-contact-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 1em;
    border: 1px solid currentColor;
    border-radius: 0.25rem;
    background: transparent;
    color: inherit;
    font: inherit;
    corner-shape: bevel square bevel square;
    border-radius: 1em;
}

.wp-block-perron-contact-form__field textarea {
    resize: vertical;
}

.wp-block-perron-contact-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wp-block-perron-contact-form__notice {
    padding: 0.75rem 1rem;
    border: 1px solid currentColor;
    border-radius: 0.25rem;
}

.wp-block-perron-contact-form__notice--success {
    color: #146c2e;
}

.wp-block-perron-contact-form__notice--error {
    color: #b42318;
}

.wp-block-perron-contact-form__turnstile-error {
    margin: 0;
    font-size: 0.875em;
    color: #b42318;
}