/* Contact Form 7 controls; scoped away from checkout, search and account forms. */
.wpcf7 {
    width: 100%;
    min-width: 0;
    color: var(--paper, #f0f0ec);
    font-family: var(--font, Arial, sans-serif);
}

.wpcf7 .wpcf7-form {
    margin: 0;
    padding: clamp(22px, 3vw, 42px);
    border: 1px solid var(--line, #343635);
    border-top: 3px solid var(--orange, #ff650b);
    border-radius: 4px;
    background: var(--panel, #1b1d1d);
    box-shadow: 0 18px 55px #00000012;
}

.wpcf7 .wpcf7-form > p {
    margin: 0 0 23px;
    min-width: 0;
}

.wpcf7 .wpcf7-form > p:last-of-type {
    margin-bottom: 0;
}

.wpcf7 .wpcf7-form label {
    display: block;
    color: var(--paper, #f0f0ec);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    min-width: 0;
    margin-top: 9px;
}

.wpcf7 .wpcf7-form input[type="text"],
.wpcf7 .wpcf7-form input[type="email"],
.wpcf7 .wpcf7-form input[type="tel"],
.wpcf7 .wpcf7-form input[type="url"],
.wpcf7 .wpcf7-form input[type="number"],
.wpcf7 .wpcf7-form input[type="date"],
.wpcf7 .wpcf7-form select,
.wpcf7 .wpcf7-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #515553;
    border-radius: 3px;
    background: var(--ink, #121313);
    color: var(--paper, #f0f0ec);
    font-family: var(--font, Arial, sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color .18s, background-color .18s, box-shadow .18s;
}

.wpcf7 .wpcf7-form textarea {
    height: 180px;
    min-height: 180px;
    resize: vertical;
}

.wpcf7 .wpcf7-form input::placeholder,
.wpcf7 .wpcf7-form textarea::placeholder {
    color: var(--muted, #a6a7a4);
    opacity: 1;
}

.wpcf7 .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.wpcf7 .wpcf7-form textarea:focus,
.wpcf7 .wpcf7-form select:focus {
    border-color: var(--orange, #ff650b);
    outline: 2px solid var(--orange, #ff650b);
    outline-offset: 2px;
    box-shadow: none;
}

.wpcf7 .wpcf7-form input[type="checkbox"],
.wpcf7 .wpcf7-form input[type="radio"] {
    accent-color: var(--orange, #ff650b);
}

.wpcf7 .wpcf7-form .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 170px;
    max-width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 15px 36px;
    border: 1px solid var(--orange, #ff650b);
    border-radius: 3px;
    background: var(--orange, #ff650b);
    color: var(--ink, #121313);
    font-family: var(--font, Arial, sans-serif);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .18s, border-color .18s;
}

.wpcf7 .wpcf7-form .wpcf7-submit:hover {
    background: var(--orange-hover, #ff7a2d);
    border-color: var(--orange-hover, #ff7a2d);
    color: var(--ink, #121313);
}

.wpcf7 .wpcf7-form .wpcf7-submit:focus-visible {
    outline: 2px solid var(--orange, #ff650b);
    outline-offset: 4px;
}

.wpcf7 .wpcf7-form .wpcf7-submit:disabled,
.wpcf7 .wpcf7-form.submitting .wpcf7-submit {
    opacity: .65;
    cursor: wait;
}

.wpcf7 .wpcf7-spinner {
    vertical-align: middle;
    margin: 0 0 0 15px;
    background-color: #4b4f4b;
    opacity: 1;
}

.wpcf7 .wpcf7-spinner::before {
    background-color: var(--orange, #ff650b);
}

.wpcf7 .wpcf7-not-valid-tip {
    display: block;
    margin-top: 8px;
    color: #ffb0a8;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.wpcf7 .wpcf7-form .wpcf7-not-valid,
.wpcf7 .wpcf7-form [aria-invalid="true"] {
    border-color: #e77d73;
}

.wpcf7 form .wpcf7-response-output {
    margin: 24px 0 0;
    padding: 14px 16px;
    border: 1px solid #a88743;
    border-radius: 3px;
    background: #2c281f;
    color: #eed8a7;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
    border-color: #a4554d;
    background: #302220;
    color: #ffbbb4;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #5c8064;
    background: #202d23;
    color: #c5dfc8;
}

/* The current Contact page has an Elementor intro section followed by the form. */
.ft-contact-page .content-area {
    padding-top: 66px;
    padding-bottom: 88px;
}

.ft-contact-page .content-area article > h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 27px;
    color: var(--orange, #ff650b);
    font-family: var(--font, Arial, sans-serif);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2.3px;
    text-transform: uppercase;
}

.ft-contact-page .content-area article > h1::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: currentColor;
}

.ft-contact-page .content-area .entry-content {
    max-width: none;
}

.ft-contact-page .content-area .entry-content > .elementor {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: start;
    column-gap: clamp(38px, 6vw, 82px);
    row-gap: 32px;
    width: 100%;
    min-width: 0;
}

.ft-contact-page .content-area .entry-content > .elementor > .elementor-section {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.ft-contact-page .content-area .entry-content > .elementor > .elementor-section:nth-child(n+3) {
    grid-column: 1 / -1;
}

.ft-contact-page .content-area .entry-content > .elementor > .elementor-section > .elementor-container {
    max-width: none;
    min-width: 0;
}

.ft-contact-page .content-area .entry-content > .elementor > .elementor-section .elementor-top-column,
.ft-contact-page .content-area .entry-content > .elementor > .elementor-section .elementor-widget-wrap {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.ft-contact-page .content-area .entry-content > .elementor > .elementor-section:first-child .elementor-heading-title {
    margin: 0 0 26px;
    color: var(--paper, #f0f0ec);
    font-family: var(--display, 'Arial Narrow', Impact, sans-serif);
    font-size: clamp(48px, 5.6vw, 76px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.5px;
    text-transform: uppercase;
}

.ft-contact-page .content-area .entry-content > .elementor > .elementor-section:first-child .elementor-widget-text-editor {
    max-width: 395px;
    color: #b9bcb9;
    font-family: var(--font, Arial, sans-serif);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
}

.ft-contact-page .content-area .entry-content > .elementor > .elementor-section:first-child .elementor-widget-text-editor p {
    margin: 0;
}

.ft-contact-page .wpcf7 .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 23px;
}

.ft-contact-page .wpcf7 .wpcf7-form > * {
    grid-column: 1 / -1;
    min-width: 0;
}

.ft-contact-page .wpcf7 .wpcf7-form > p {
    margin: 0;
}

.ft-contact-page .wpcf7 .wpcf7-form > p:first-of-type,
.ft-contact-page .wpcf7 .wpcf7-form > p:nth-of-type(2) {
    grid-column: auto;
}

.ft-contact-page .wpcf7 .wpcf7-form > .wpcf7-response-output {
    margin: 0;
}

@media (max-width: 980px) {
    .ft-contact-page .content-area .entry-content > .elementor {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 34px;
    }

    .ft-contact-page .content-area .entry-content > .elementor > .elementor-section:first-child .elementor-widget-text-editor {
        max-width: 640px;
    }
}

@media (max-width: 600px) {
    .ft-contact-page .content-area {
        padding-top: 36px;
        padding-bottom: 50px;
    }

    .ft-contact-page .content-area article > h1 {
        margin-bottom: 19px;
    }

    .ft-contact-page .content-area .entry-content > .elementor > .elementor-section:first-child .elementor-heading-title {
        margin-bottom: 19px;
        font-size: 48px;
    }

    .ft-contact-page .content-area .entry-content > .elementor > .elementor-section:first-child .elementor-widget-text-editor {
        font-size: 16px;
    }

    .wpcf7 .wpcf7-form {
        padding: 23px 20px;
    }

    .ft-contact-page .wpcf7 .wpcf7-form {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 21px;
    }

    .ft-contact-page .wpcf7 .wpcf7-form > p:first-of-type,
    .ft-contact-page .wpcf7 .wpcf7-form > p:nth-of-type(2) {
        grid-column: 1 / -1;
    }

    .wpcf7 .wpcf7-form .wpcf7-submit {
        width: 100%;
        min-width: 0;
        padding-right: 48px;
        padding-left: 48px;
    }

    .wpcf7 .wpcf7-form > p:last-of-type {
        position: relative;
    }

    .wpcf7 .wpcf7-form > p:last-of-type .wpcf7-spinner {
        position: absolute;
        top: 16px;
        right: 14px;
        margin: 0;
    }
}
