/*
 * DJJC Contact: the thank-you and the error after Send.
 *
 * Colours and fonts come from the site kit (Site Settings), so a change there
 * follows here. The fallbacks are the kit's values on 2026-10-13.
 */
.djjc-after {
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    outline: none;
}

.djjc-after[hidden] {
    display: none !important;
}

.djjc-after:focus-visible {
    outline: 2px solid var(--e-global-color-djjclb, #8FD0DA);
    outline-offset: 6px;
}

.djjc-after .djjc-after__head {
    margin: 0 0 12px;
    font-family: var(--e-global-typography-primary-font-family, "obviously-narrow"), sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight, 900);
    font-size: clamp(30px, 14px + 2vw, 44px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--e-global-color-djjctx, #F0DCCD);
}

.djjc-after .djjc-after__line {
    margin: 0;
    font-family: var(--e-global-typography-text-font-family, "space-grotesk-variable"), sans-serif;
    font-weight: 400;
    font-size: var(--e-global-typography-text-font-size, 21px);
    line-height: 1.5;
    color: var(--e-global-color-djjctx, #F0DCCD);
}

.djjc-after a,
.djjc-after .djjc-after__again {
    color: var(--e-global-color-djjcac, #C8683F);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.djjc-after a:hover,
.djjc-after .djjc-after__again:hover {
    color: var(--e-global-color-djjclb, #8FD0DA);
}

/* "Send another message" is a button that looks like a link. */
.djjc-after .djjc-after__again {
    display: inline-block;
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font: inherit;
    font-family: var(--e-global-typography-text-font-family, "space-grotesk-variable"), sans-serif;
    font-size: var(--e-global-typography-text-font-size, 21px);
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.djjc-after .djjc-after__again:hover,
.djjc-after .djjc-after__again:focus {
    background: none;
}

/* The error sits in the form's own row of fields, full width, above Send. */
.elementor-form-fields-wrapper > .djjc-after--fail {
    flex: 0 0 100%;
    padding: 4px 5px 14px;
}

.djjc-after--fail .djjc-after__head {
    color: #F2A65A;
}

/* While ours is set, Elementor's own small line after a send is hidden. */
.djjc-hide-sent > .elementor-message-success,
.djjc-hide-fail > .elementor-message-danger:not(.elementor-help-inline) {
    display: none !important;
}
