.gform-theme--api, .gform-theme--foundation {
    --gf-form-gap-x: 25px;
    --gf-form-gap-y: 25px;
    --gf-field-gap-x: 12px;
	--gf-font-size-primary: 16px;
    --gf-field-gap-y: 12px;
    --gf-label-width: 30%;
    --gf-label-req-gap: 6px;
    --gf-form-footer-margin-y-start: 24px;
    --gf-form-footer-gap: 8px;
    --gf-field-date-width: 168px;
    --gf-field-time-width: 110px;
    --gf-field-list-btns-gap: 8px;
    --gf-field-list-btns-width: calc(32px + var(--gf-field-list-btns-gap) + var(--gf-field-gap-x));
    --gf-field-pg-steps-gap-y: 8px;
    --gf-field-pg-steps-gap-x: 24px;
}
.gform-theme--api, .gform-theme--foundation {
    /* Error styling is built from the brand palette (theme.json) */
    --gf-error-color: var(--wp--preset--color--secondary);   /* #234D52 dark teal */
    --gf-error-tint: rgba(35, 77, 82, 0.06);                 /* secondary @ 6%  */
    --gf-error-ring: rgba(35, 77, 82, 0.20);                 /* secondary @ 20% */
}

/* ---- Form-level validation summary (top of form) ---- */
.gform_validation_errors {
    padding: var(--wp--preset--spacing--small);
    border-radius: var(--wp--custom--border--radius--medium);
    background: var(--gf-error-color);
    color: var(--wp--preset--color--white);
    margin-bottom: 24px;
}
.gform_validation_errors h2 {
    font-size: var(--wp--preset--font-size--small);
    color: var(--wp--preset--color--white);
    margin: 0;
}
.gform_validation_errors ol {margin: 8px 0 0;padding: 0 0 0 1.25em;list-style:decimal;}
.gform_validation_errors ol li {color: var(--wp--preset--color--white);margin-bottom: 4px;}
.gform_validation_errors ol li:last-child {margin:0;}
.gform_validation_errors a,
.gform_validation_errors a:link,
.gform_validation_errors a:visited,
a.gform_validation_error_link {color:var(--wp--preset--color--white) !important;text-decoration:underline;}
.gform_validation_errors a:hover {color:var(--wp--preset--color--white) !important;opacity:.8;}

.gfield_required {
    font-size: 14px;
    position: static;
    margin: 0;
}
.gfield_required_text {margin-left:5px;}

.gfield_label {
    display: flex;
    align-items: center;
}

.gform_button {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--white);
    width: 100%;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
    padding: 10px;
}

.gform-body p, .gform-footer br, .gform-footer p {
    display: none;
}

.gform-footer {
    text-align: right;
    margin-top: 16px;
}

/* ---- Per-field inline error ---- */
.gfield_error .gfield_label,
.gfield_error legend.gfield_label {
    color: var(--gf-error-color);
}

/* Highlight every input type a field can hold */
.gfield_error input,
.gfield_error select,
.gfield_error textarea,
.gfield_error .ginput_container input {
    border: 1px solid var(--gf-error-color) !important;
    background: var(--gf-error-tint);
}

.gfield_error input:focus,
.gfield_error select:focus,
.gfield_error textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--gf-error-ring);
}

/* The message shown beneath an invalid field */
.validation_message,
.gfield_validation_message {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 0;
    background: none;
    border: none;
    color: #ff0000;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}

/* Small warning glyph before the message */
.validation_message::before,
.gfield_validation_message::before {
    content: "!";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gf-error-color);
    color: var(--wp--preset--color--white);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}


textarea.small {
    height: 150px;
}

textarea.medium {
    height: 250px;
}
textarea.large {
    height: 350px;
}


fieldset#field_13_1 .ginput_container {
    display: flex;
    gap: 30px;
}



fieldset#field_13_1 {
    padding: 0;
}

#gform_13 input, #gform_13 textarea {
    border: 1px solid #00000042;
    border-radius: 8px;
}
