/* FZT CF7 stepped nomination form */

.fzt-cf7-form {
    max-width: 980px;
    margin: 0 auto;
    color: #062a49;
}

.fzt-cf7-form *,
.fzt-cf7-form *::before,
.fzt-cf7-form *::after {
    box-sizing: border-box;
}

.fzt-cf7-form .fzt-form-head {
    margin-bottom: 32px;
    text-align: center;
}

.fzt-cf7-form .fzt-form-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #b98b28;
}

.fzt-cf7-form .fzt-form-title {
    margin: 0;
    font-family: Lora, Georgia, serif;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.1;
    font-weight: 600;
    color: #071d38;
}

.fzt-cf7-form .fzt-form-intro {
    max-width: 720px;
    margin: 18px auto 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(6, 42, 73, .78);
}

.fzt-cf7-form .fzt-form-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 0 0 28px;
}

.fzt-cf7-form .fzt-form-progress span {
    height: 4px;
    border-radius: 999px;
    background: rgba(6, 42, 73, .14);
}

.fzt-cf7-form .fzt-form-progress span.is-active,
.fzt-cf7-form .fzt-form-progress span.is-complete {
    background: #c8a85a;
}

.fzt-cf7-form .fzt-form-step {
    display: none;
    border: 1px solid rgba(6, 42, 73, .10);
    border-radius: 26px;
    background: rgba(255, 255, 255, .68);
    padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 18px 48px rgba(6, 42, 73, .08);
}

.fzt-cf7-form .fzt-form-step.is-active {
    display: block;
}

.fzt-cf7-form .fzt-step-label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #b98b28;
}

.fzt-cf7-form .fzt-step-title {
    margin: 0;
    font-family: Lora, Georgia, serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.18;
    font-weight: 600;
    color: #071d38;
}

.fzt-cf7-form .fzt-step-subtitle {
    margin: 24px 0 16px;
    font-family: Lora, Georgia, serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    color: #071d38;
}

.fzt-cf7-form .fzt-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.fzt-cf7-form .fzt-field,
.fzt-cf7-form .fzt-field-full {
    min-width: 0;
}

.fzt-cf7-form .fzt-field-full {
    grid-column: 1 / -1;
}

.fzt-cf7-form label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    color: #062a49;
}

.fzt-cf7-form .fzt-required {
    color: #b98b28;
}

.fzt-cf7-form input[type="text"],
.fzt-cf7-form input[type="email"],
.fzt-cf7-form input[type="tel"],
.fzt-cf7-form input[type="file"],
.fzt-cf7-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(6, 42, 73, .18);
    border-radius: 12px;
    background: #fff;
    padding: 13px 15px;
    color: #062a49;
    font-size: 16px;
    line-height: 1.45;
    outline: none;
}

.fzt-cf7-form textarea {
    min-height: 170px;
    resize: vertical;
}

.fzt-cf7-form input:focus,
.fzt-cf7-form textarea:focus {
    border-color: #c8a85a;
    box-shadow: 0 0 0 3px rgba(200, 168, 90, .18);
}

.fzt-cf7-form .wpcf7-list-item {
    margin: 0;
}

.fzt-cf7-form .fzt-choice-list .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fzt-cf7-form .fzt-choice-list .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: 100%;
    border: 1px solid rgba(6, 42, 73, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(6, 42, 73, .84);
}

.fzt-cf7-form .fzt-choice-list input {
    margin-right: 8px;
}

.fzt-cf7-form .fzt-file-note {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(6, 42, 73, .62);
}

.fzt-cf7-form .fzt-step-error {
    display: none;
    margin: 20px 0 0;
    border: 1px solid rgba(185, 40, 40, .22);
    border-radius: 12px;
    background: rgba(185, 40, 40, .07);
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #8b1f1f;
}

.fzt-cf7-form .fzt-step-error.is-visible {
    display: block;
}

.fzt-cf7-form .fzt-step-invalid input,
.fzt-cf7-form .fzt-step-invalid textarea,
.fzt-cf7-form .fzt-step-invalid .wpcf7-list-item-label {
    border-color: #b92828;
}

.fzt-cf7-form .fzt-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 30px;
}

.fzt-cf7-form .fzt-form-prev,
.fzt-cf7-form .fzt-form-next,
.fzt-cf7-form .fzt-form-submit {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    padding: 15px 28px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.fzt-cf7-form .fzt-form-prev {
    background: rgba(6, 42, 73, .08);
    color: #062a49;
}

.fzt-cf7-form .fzt-form-next,
.fzt-cf7-form .fzt-form-submit {
    background: #062a49;
    color: #c8a85a;
    box-shadow: 0 14px 28px rgba(6, 42, 73, .12);
}

.fzt-cf7-form .fzt-form-next:hover,
.fzt-cf7-form .fzt-form-submit:hover {
    background: #0b365d;
}

.fzt-cf7-form .wpcf7-response-output {
    margin: 28px 0 0 !important;
    border: 1px solid rgba(200, 168, 90, .55) !important;
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    padding: 22px 24px !important;
    color: #062a49;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}

.fzt-cf7-form form.sent .fzt-form-progress,
.fzt-cf7-form form.sent .fzt-form-step {
    display: none !important;
}

@media (max-width: 767px) {
    .fzt-cf7-form .fzt-field-grid,
    .fzt-cf7-form .fzt-choice-list .wpcf7-form-control {
        grid-template-columns: 1fr;
    }

    .fzt-cf7-form .fzt-form-actions {
        flex-direction: column;
    }

    .fzt-cf7-form .fzt-form-prev,
    .fzt-cf7-form .fzt-form-next,
    .fzt-cf7-form .fzt-form-submit {
        width: 100%;
    }
}

/* FZT nomination form page cleanup */

body.page-id-260 .wp-block-post-title,
body.page-id-260 .entry-title {
    display: none;
}

.fzt-cf7-form .fzt-form-progress p {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.fzt-cf7-form .fzt-form-progress br {
    display: none;
}

.fzt-cf7-form .fzt-form-progress {
    margin-bottom: 28px;
}

.fzt-cf7-form .fzt-form-progress p > span {
    display: block;
    height: 4px;
    border-radius: 999px;
    background: rgba(6, 42, 73, .14);
}

.fzt-cf7-form .fzt-form-progress p > span.is-active,
.fzt-cf7-form .fzt-form-progress p > span.is-complete {
    background: #c8a85a;
}


/* FZT nomination form page final cleanup */

body.page-id-260 .wp-block-post-title {
    display: none !important;
}

/* Center compact step indicator, even when CF7 wraps spans in p/br */
.fzt-cf7-form .fzt-form-progress {
    display: flex;
    justify-content: center;
    margin: 0 auto 34px;
}

.fzt-cf7-form .fzt-form-progress p {
    display: grid;
    grid-template-columns: repeat(5, 52px);
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 0;
}

.fzt-cf7-form .fzt-form-progress br {
    display: none;
}

.fzt-cf7-form .fzt-form-progress p > span,
.fzt-cf7-form .fzt-form-progress > span {
    display: block;
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: rgba(6, 42, 73, .14);
}

.fzt-cf7-form .fzt-form-progress p > span.is-active,
.fzt-cf7-form .fzt-form-progress p > span.is-complete,
.fzt-cf7-form .fzt-form-progress > span.is-active,
.fzt-cf7-form .fzt-form-progress > span.is-complete {
    background: #c8a85a;
}

/* Buttons like the site buttons */
.fzt-cf7-form .fzt-form-prev,
.fzt-cf7-form .fzt-form-next,
.fzt-cf7-form .fzt-form-submit {
    border-radius: 0 !important;
    gap: 14px;
}

.fzt-cf7-form .fzt-form-next::after,
.fzt-cf7-form .fzt-form-submit::after {
    content: "→";
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

.fzt-cf7-form .fzt-form-prev::before {
    content: "←";
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 767px) {
    .fzt-cf7-form .fzt-form-progress p {
        grid-template-columns: repeat(5, 34px);
        gap: 7px;
    }

    .fzt-cf7-form .fzt-form-progress p > span,
    .fzt-cf7-form .fzt-form-progress > span {
        width: 34px;
    }
}


/* FZT CF7 field spacing and input contrast refinement */

.fzt-cf7-form .fzt-field-grid {
    gap: 22px 24px;
}

.fzt-cf7-form .fzt-field p,
.fzt-cf7-form .fzt-field-full p {
    margin: 0;
}

.fzt-cf7-form label {
    margin-bottom: 6px;
    line-height: 1.35;
}

.fzt-cf7-form .wpcf7-form-control-wrap {
    display: block;
}

.fzt-cf7-form input[type="text"],
.fzt-cf7-form input[type="email"],
.fzt-cf7-form input[type="tel"],
.fzt-cf7-form input[type="file"],
.fzt-cf7-form textarea {
    min-height: 50px;
    border: 1px solid rgba(6, 42, 73, .28);
    background: #fbf8ef;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.fzt-cf7-form input[type="text"]:hover,
.fzt-cf7-form input[type="email"]:hover,
.fzt-cf7-form input[type="tel"]:hover,
.fzt-cf7-form input[type="file"]:hover,
.fzt-cf7-form textarea:hover {
    border-color: rgba(6, 42, 73, .42);
    background: #fffdf7;
}

.fzt-cf7-form input:focus,
.fzt-cf7-form textarea:focus {
    background: #ffffff;
    border-color: #c8a85a;
    box-shadow: 0 0 0 3px rgba(200, 168, 90, .18);
}

.fzt-cf7-form .fzt-form-step {
    background: rgba(255, 255, 255, .82);
}


/* Hide Contact Form 7 automatic br tags inside FZT stepped form */

.fzt-cf7-form br {
    display: none !important;
}

.fzt-cf7-form p {
    margin-top: 0;
    margin-bottom: 0;
}

.fzt-cf7-form .fzt-form-head p,
.fzt-cf7-form .fzt-file-note {
    margin-bottom: 0;
}


/* Global Contact Form 7 refinement */

.wpcf7 label {
    padding-left: 5px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 input[type="file"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7 .wpcf7-list-item-label,
.wpcf7 .wpcf7-response-output {
    border-radius: 6px !important;
}

.wpcf7 input[type="submit"],
.wpcf7 button,
.wpcf7 .fzt-form-prev,
.wpcf7 .fzt-form-next,
.wpcf7 .fzt-form-submit {
    border-radius: 0 !important;
}


/* CF7 radio and checkbox choice cards */

.wpcf7 .fzt-choice-list .wpcf7-form-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wpcf7 .fzt-choice-list .wpcf7-list-item {
    display: block;
    margin: 0;
}

.wpcf7 .fzt-choice-list .wpcf7-list-item label {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    width: 100%;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgba(6, 42, 73, .22);
    border-radius: 6px;
    background: #fbf8ef;
    color: rgba(6, 42, 73, .86);
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wpcf7 .fzt-choice-list .wpcf7-list-item label:hover {
    border-color: rgba(6, 42, 73, .42);
    background: #fffdf7;
}

.wpcf7 .fzt-choice-list input[type="radio"],
.wpcf7 .fzt-choice-list input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wpcf7 .fzt-choice-list .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: auto;
    width: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 15px;
    line-height: 1.45;
    color: inherit;
}

.wpcf7 .fzt-choice-list .wpcf7-list-item-label::before {
    content: "";
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border: 1.5px solid rgba(6, 42, 73, .45);
    background: #fff;
}

.wpcf7 .fzt-choice-list input[type="radio"] + .wpcf7-list-item-label::before {
    border-radius: 999px;
}

.wpcf7 .fzt-choice-list input[type="checkbox"] + .wpcf7-list-item-label::before {
    border-radius: 3px;
}

/* Selected state */
.wpcf7 .fzt-choice-list .wpcf7-list-item label:has(input:checked) {
    border-color: #5f8f49;
    background: #eef7ea;
    box-shadow: 0 0 0 2px rgba(95, 143, 73, .12);
    color: #062a49;
}

.wpcf7 .fzt-choice-list input:checked + .wpcf7-list-item-label::before {
    border-color: #5f8f49;
    background: #5f8f49;
}

.wpcf7 .fzt-choice-list input[type="radio"]:checked + .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 20px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #fff;
}

.wpcf7 .fzt-choice-list input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-52%);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 767px) {
    .wpcf7 .fzt-choice-list .wpcf7-form-control {
        grid-template-columns: 1fr;
    }
}


/* CF7 success state refinement */

.fzt-cf7-form form.sent .fzt-form-intro {
    display: none !important;
}

.fzt-cf7-form form.sent .fzt-form-head {
    margin-bottom: 26px;
}

.fzt-cf7-form form.sent .wpcf7-response-output {
    position: relative;
    max-width: 720px;
    margin: 34px auto 0 !important;
    border: 1px solid rgba(95, 143, 73, .38) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, .82);
    padding: 34px 34px 32px !important;
    color: #062a49;
    font-size: 19px;
    line-height: 1.75;
    text-align: center;
    box-shadow: 0 18px 48px rgba(6, 42, 73, .08);
    white-space: pre-line;
}

.fzt-cf7-form form.sent .wpcf7-response-output::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #eef7ea;
    border: 1px solid rgba(95, 143, 73, .40);
    color: #5f8f49;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}


/* FZT final CF7 success message */

.wpcf7 form.sent .fzt-form-intro,
.wpcf7 form.sent .fzt-form-progress,
.wpcf7 form.sent .fzt-form-step {
    display: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    max-width: 760px !important;
    margin: 44px auto 0 !important;
    padding: 38px 44px !important;
    border: 1px solid rgba(95, 143, 73, .35) !important;
    border-radius: 6px !important;
    background: #edf7e9 !important;
    color: #062a49 !important;
    font-family: Inter, system-ui, sans-serif;
    font-size: 20px !important;
    font-weight: 600;
    line-height: 1.65 !important;
    text-align: center !important;
    box-shadow: 0 18px 48px rgba(6, 42, 73, .08);
}

.wpcf7 form.sent .wpcf7-response-output::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: #5f8f49;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

@media (max-width: 767px) {
    .wpcf7 form.sent .wpcf7-response-output {
        padding: 30px 22px !important;
        font-size: 18px !important;
    }
}


/* FZT structured success message content */

.wpcf7 form.sent .wpcf7-response-output .fzt-success-main,
.wpcf7 form.sent .wpcf7-response-output .fzt-success-text,
.wpcf7 form.sent .wpcf7-response-output .fzt-success-contact {
    display: block;
}

.wpcf7 form.sent .wpcf7-response-output .fzt-success-main {
    margin-bottom: 10px;
    font-family: Lora, Georgia, serif;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    color: #062a49;
}

.wpcf7 form.sent .wpcf7-response-output .fzt-success-text {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
}

.wpcf7 form.sent .wpcf7-response-output .fzt-success-contact {
    padding-top: 18px;
    border-top: 1px solid rgba(95, 143, 73, .22);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 600;
}

.wpcf7 form.sent .wpcf7-response-output .fzt-success-contact a {
    color: #062a49;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.wpcf7 form.sent .wpcf7-response-output .fzt-success-contact a:hover {
    color: #5f8f49;
}


/* FZT success message spacing correction */

.wpcf7 form.sent .wpcf7-response-output .fzt-success-text {
    margin-bottom: 0 !important;
}

.wpcf7 form.sent .wpcf7-response-output .fzt-success-contact {
    padding-top: 0 !important;
}


/* Visible program name inside CF7 application form */

.wpcf7 .fzt-visible-program-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 0;
    padding: 9px 18px;
    border: 1px solid rgba(200, 168, 90, .42);
    border-radius: 6px;
    background: #fbf8ef;
    color: #062a49;
    font-family: Lora, Georgia, serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 767px) {
    .wpcf7 .fzt-visible-program-name {
        font-size: 21px;
        padding: 8px 14px;
    }
}


/* CF7 date field visual fix */

.wpcf7 input[type="date"],
.wpcf7 .wpcf7-date {
    display: block !important;
    width: 100% !important;
    min-height: 50px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(6, 42, 73, .28) !important;
    border-radius: 6px !important;
    background-color: #fbf8ef !important;
    color: #062a49 !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75) !important;
    appearance: none;
    -webkit-appearance: none;
}

.wpcf7 input[type="date"]:hover,
.wpcf7 .wpcf7-date:hover {
    border-color: rgba(6, 42, 73, .42) !important;
    background-color: #fffdf7 !important;
}

.wpcf7 input[type="date"]:focus,
.wpcf7 .wpcf7-date:focus {
    outline: none !important;
    background-color: #ffffff !important;
    border-color: #c8a85a !important;
    box-shadow: 0 0 0 3px rgba(200, 168, 90, .18) !important;
}

.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .65;
}

.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}


/* Force light native date picker */

.wpcf7,
.wpcf7 form,
.wpcf7 input[type="date"],
.wpcf7 .wpcf7-date {
    color-scheme: light !important;
}

.wpcf7 input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none !important;
}


/* Full-width confirmation choices on the last step */

.wpcf7 .fzt-form-step[data-step="5"] .fzt-field-grid {
    max-width: none;
}

.wpcf7 .fzt-form-step[data-step="5"] .fzt-field-full,
.wpcf7 .fzt-form-step[data-step="5"] .fzt-choice-list,
.wpcf7 .fzt-form-step[data-step="5"] .wpcf7-form-control-wrap,
.wpcf7 .fzt-form-step[data-step="5"] .wpcf7-form-control,
.wpcf7 .fzt-form-step[data-step="5"] .wpcf7-list-item,
.wpcf7 .fzt-form-step[data-step="5"] .wpcf7-list-item label {
    width: 100% !important;
    max-width: none !important;
}

.wpcf7 .fzt-form-step[data-step="5"] .fzt-choice-list .wpcf7-form-control {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px;
}

.wpcf7 .fzt-form-step[data-step="5"] .fzt-choice-list .wpcf7-list-item label {
    min-height: 50px;
    padding: 12px 16px !important;
}

.wpcf7 .fzt-form-step[data-step="5"] .fzt-choice-list .wpcf7-list-item-label {
    white-space: normal;
    max-width: none !important;
}


/* Hide page title on application form pages */
body.page-id-267 .wp-block-post-title,
body.page-id-268 .wp-block-post-title {
    display: none !important;
}

/* Keep CF7 step buttons on one row */
.wpcf7 .fzt-form-actions {
    display: flex !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    flex-wrap: nowrap !important;
}

.wpcf7 .fzt-form-actions p {
    display: contents !important;
    margin: 0 !important;
}

.wpcf7 .fzt-form-actions .fzt-form-prev,
.wpcf7 .fzt-form-actions .fzt-form-next,
.wpcf7 .fzt-form-actions .fzt-form-submit,
.wpcf7 .fzt-form-actions input[type="submit"] {
    width: auto !important;
    min-width: 150px;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.wpcf7 .fzt-form-actions .fzt-form-submit,
.wpcf7 .fzt-form-actions input[type="submit"] {
    min-width: 180px;
}

@media (max-width: 520px) {
    .wpcf7 .fzt-form-actions {
        flex-wrap: wrap !important;
    }

    .wpcf7 .fzt-form-actions .fzt-form-prev,
    .wpcf7 .fzt-form-actions .fzt-form-next,
    .wpcf7 .fzt-form-actions .fzt-form-submit,
    .wpcf7 .fzt-form-actions input[type="submit"] {
        flex: 1 1 auto !important;
        min-width: 140px;
    }
}


/* Fix CF7 step action buttons and hide empty response output */

/* Hide empty CF7 response box */
.wpcf7 .wpcf7-response-output[aria-hidden="true"],
.wpcf7 .wpcf7-response-output:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Keep navigation buttons compact and on one row */
.wpcf7 .fzt-form-actions {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: auto !important;
    max-width: 100% !important;
}

/* CF7 often wraps submit in <p> */
.wpcf7 .fzt-form-actions p {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Previous / next buttons */
.wpcf7 .fzt-form-actions .fzt-form-prev,
.wpcf7 .fzt-form-actions .fzt-form-next {
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    margin: 0 !important;
}

/* Submit button */
.wpcf7 .fzt-form-actions input[type="submit"].fzt-form-submit,
.wpcf7 .fzt-form-actions .fzt-form-submit {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
    margin: 0 !important;
}

/* Prevent CF7 spinner from pushing / breaking the row */
.wpcf7 .fzt-form-actions .wpcf7-spinner {
    align-self: center;
    flex: 0 0 auto !important;
    margin: 0 0 0 12px !important;
}

@media (max-width: 520px) {
    .wpcf7 .fzt-form-actions {
        width: 100% !important;
    }

    .wpcf7 .fzt-form-actions .fzt-form-prev {
        flex: 0 0 42% !important;
        width: 42% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .wpcf7 .fzt-form-actions input[type="submit"].fzt-form-submit,
    .wpcf7 .fzt-form-actions .fzt-form-submit {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }
}


/* Responsive gap between CF7 action buttons */

.wpcf7 .fzt-form-actions,
.wpcf7 .fzt-form-actions p {
    gap: clamp(10px, 2vw, 20px) !important;
}

