/* Contact page details card */
html body .ikui-contact-card,
html body .ikui-contact-card * {
    box-sizing: border-box;
}

html body .ikui-contact-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 100%;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #dedbd1;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(240, 122, 31, 0.15), transparent 31%),
        linear-gradient(145deg, #f8f6f0 0%, #eeece3 100%);
    box-shadow: 0 18px 52px rgba(28, 52, 46, 0.12);
    color: #263a34;
}

html body .ikui-contact-card::before {
    position: absolute;
    z-index: -1;
    top: -104px;
    right: -80px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(41, 72, 63, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

html body .ikui-contact-card::after {
    position: absolute;
    z-index: -1;
    top: -62px;
    right: -38px;
    width: 166px;
    height: 166px;
    border: 1px solid rgba(240, 122, 31, 0.22);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

html body .ikui-contact-card__header {
    max-width: 590px;
    margin-bottom: 24px;
}

html body .ikui-contact-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 7px !important;
    color: #b84f00 !important;
    font-size: 1rem !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

html body .ikui-contact-card__eyebrow::before {
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: #d85f07;
    content: "";
}

html body .ikui-contact-card h2 {
    margin: 0 !important;
    color: #18352e !important;
    font-size: clamp(2rem, 3vw, 2.65rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
    line-height: 1.08 !important;
}

html body .ikui-contact-card__lead {
    max-width: 560px;
    margin: 12px 0 0 !important;
    color: #53615c !important;
    font-size: 1.06rem !important;
    line-height: 1.55 !important;
}

html body .ikui-contact-card__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

html body .ikui-contact-card__item,
html body .ikui-contact-card__item:visited {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 78px;
    padding: 13px 14px;
    border: 1px solid rgba(37, 66, 58, 0.12);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 18px rgba(26, 50, 43, 0.055);
    color: #1c342e !important;
    text-decoration: none !important;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

html body .ikui-contact-card__item--address {
    grid-column: 1 / -1;
}

html body .ikui-contact-card__item:hover,
html body .ikui-contact-card__item:focus-visible {
    border-color: rgba(216, 95, 7, 0.56);
    box-shadow: 0 10px 24px rgba(26, 50, 43, 0.11);
    color: #1c342e !important;
    outline: 0;
    transform: translateY(-2px);
}

html body .ikui-contact-card__item:focus-visible {
    box-shadow: 0 0 0 3px rgba(240, 122, 31, 0.24), 0 10px 24px rgba(26, 50, 43, 0.11);
}

html body .ikui-contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #24463d;
    color: #fff;
}

html body .ikui-contact-card__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

html body .ikui-contact-card__copy {
    display: block;
    min-width: 0;
}

html body .ikui-contact-card__label {
    display: block;
    margin-bottom: 2px;
    color: #67726e !important;
    font-size: 0.99rem !important;
    line-height: 1.25;
}

html body .ikui-contact-card__copy strong {
    display: block;
    overflow-wrap: anywhere;
    color: #1c342e !important;
    font-size: 1.08rem !important;
    font-weight: 700;
    line-height: 1.3;
}

html body .ikui-contact-card__arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #ba5a16;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 180ms ease;
}

html body .ikui-contact-card__item:hover .ikui-contact-card__arrow,
html body .ikui-contact-card__item:focus-visible .ikui-contact-card__arrow {
    transform: translateX(3px);
}

html body .ikui-contact-card__details {
    margin-top: 12px;
    padding: 20px;
    border-radius: 14px;
    background: #1d3932;
    color: rgba(255, 255, 255, 0.78);
}

html body .ikui-contact-card__details h3 {
    margin: 0 0 13px !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

html body .ikui-contact-card__details dl {
    display: grid;
    grid-template-columns: 0.8fr 1.45fr 1fr;
    gap: 0;
    margin: 0;
}

html body .ikui-contact-card__details dl > div {
    min-width: 0;
    padding: 0 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

html body .ikui-contact-card__details dl > div:first-child {
    padding-left: 0;
    border-left: 0;
}

html body .ikui-contact-card__details dl > div:last-child {
    padding-right: 0;
}

html body .ikui-contact-card__details dt,
html body .ikui-contact-card__details dd {
    margin: 0;
}

html body .ikui-contact-card__details dt {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.99rem !important;
    line-height: 1.25;
}

html body .ikui-contact-card__details dd {
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 1.02rem !important;
    font-weight: 700;
    line-height: 1.35;
}

html body .ikui-contact-card__privacy {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
    margin-top: 17px;
    color: #596660;
}

html body .ikui-contact-card__privacy-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(36, 70, 61, 0.1);
    color: #24463d;
}

html body .ikui-contact-card__privacy-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

html body .ikui-contact-card__privacy p {
    margin: 2px 0 0 !important;
    color: inherit !important;
    font-size: 0.99rem !important;
    line-height: 1.5 !important;
}

html body .ikui-contact-card__privacy a {
    color: #9d4200 !important;
    font-weight: 700;
    text-underline-offset: 3px;
}

html body .ikui-contact-card__privacy a:hover,
html body .ikui-contact-card__privacy a:focus-visible {
    color: #17362e !important;
}

/* The legacy theme hid the details column on phones. Keep the redesigned
 * contact information available to every visitor. */
html body .contact-col {
    display: block !important;
}

html body #pg-651-0 > .panel-row-style {
    align-items: stretch !important;
}

@media (min-width: 781px) {
    html body #pg-651-0 > .panel-row-style > #pgc-651-0-0,
    html body #pg-651-0 > .panel-row-style > #pgc-651-0-1 {
        flex: 0 0 calc(50% - 15px);
        width: calc(50% - 15px) !important;
    }
}

html body #pgc-651-0-1 > .contact-col {
    height: 100%;
    padding: 0 !important;
    border-radius: 20px !important;
    background: transparent !important;
}

html body #pgc-651-0-1 > .contact-col > .so-panel,
html body #pgc-651-0-1 > .contact-col > .so-panel > .ikui-contact-card-widget,
html body #pgc-651-0-1 > .contact-col > .so-panel > .ikui-contact-card-widget > .so-widget-sow-editor,
html body #pgc-651-0-1 > .contact-col > .so-panel > .ikui-contact-card-widget > .so-widget-sow-editor > .siteorigin-widget-tinymce {
    height: 100%;
}

/* Keep both shared contact forms visually aligned with the contact details
 * card. */
html body .contact-form,
html body .contact-form * {
    box-sizing: border-box;
}

html body #pgc-651-0-0 > .panel-cell-style,
html body #panel-651-0-0-0,
html body #panel-651-0-0-0 > .contact-form,
html body .contact-form {
    height: 100%;
}

html body .contact-form > [class*="so-widget-sow-contact-form"] {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid #dedbd1;
    border-top: 4px solid #d85f07;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(28, 52, 46, 0.1);
}

html body .contact-form .sow-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body .contact-form .sow-contact-form > p:first-child {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f5f3ec;
    color: #52615c !important;
    font-size: 0.99rem !important;
    font-style: normal;
    line-height: 1.45;
}

html body .contact-form .sow-contact-form > p:first-child em {
    color: inherit !important;
    font-style: normal;
}

html body .contact-form .sow-form-field {
    min-width: 0;
    margin: 0 !important;
}

html body .contact-form .sow-form-field-subject,
html body .contact-form .sow-form-field-textarea {
    grid-column: 1 / -1;
}

html body .contact-form .sow-form-field label {
    display: block;
    margin: 0 0 7px !important;
    color: #203b33 !important;
    font-size: 1rem !important;
    line-height: 1.3;
    text-align: left !important;
}

html body .contact-form .sow-form-field label strong {
    font-weight: 700;
}

html body .contact-form .sow-form-field-required {
    color: #b84f00 !important;
}

html body .contact-form .sow-field-container {
    overflow: visible !important;
    width: 100%;
    margin: 0 !important;
}

html body .contact-form .sow-contact-form input.sow-text-field,
html body .contact-form .sow-contact-form textarea {
    width: 100%;
    min-height: 50px;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #9eafa9 !important;
    border-radius: 10px !important;
    background: #fbfcfb !important;
    color: #263a34 !important;
    line-height: 1.4;
}

html body .contact-form .sow-contact-form textarea {
    height: 164px !important;
    min-height: 164px;
    resize: vertical;
}

html body .contact-form .sow-contact-form input::placeholder,
html body .contact-form .sow-contact-form textarea::placeholder {
    color: #78847f;
    opacity: 1;
}

html body .contact-form .sow-contact-form .sow-error {
    margin: 0 0 8px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 0.99rem !important;
    line-height: 1.4;
}

html body .contact-form .ikui-recaptcha {
    grid-column: 1 / -1;
    justify-self: center;
    margin: 2px auto 0;
}

html body .contact-form .ikui-recaptcha__help {
    text-align: center;
}

html body .contact-form .sow-submit-wrapper {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0 !important;
}

html body .contact-form .sow-submit {
    width: 100%;
    min-height: 50px;
    padding: 11px 18px !important;
}

@media (max-width: 1120px) {
    html body .ikui-contact-card__links {
        grid-template-columns: 1fr;
    }

    html body .ikui-contact-card__item--address {
        grid-column: auto;
    }

    html body .ikui-contact-card__details dl {
        grid-template-columns: 1fr;
    }

    html body .ikui-contact-card__details dl > div,
    html body .ikui-contact-card__details dl > div:first-child,
    html body .ikui-contact-card__details dl > div:last-child {
        padding: 11px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-left: 0;
    }

    html body .ikui-contact-card__details dl > div:first-child {
        padding-top: 0;
        border-top: 0;
    }

    html body .ikui-contact-card__details dl > div:last-child {
        padding-bottom: 0;
    }
}

@media (max-width: 780px) {
    html body.page-id-789 #pgc-651-0-1 {
        margin-top: 24px;
    }

    html body .ikui-contact-card {
        padding: 26px 20px;
        border-radius: 16px;
    }

    html body .ikui-contact-card__header {
        margin-bottom: 20px;
    }

    html body .ikui-contact-card__item {
        grid-template-columns: 42px minmax(0, 1fr) 16px;
        gap: 10px;
        padding: 12px;
    }

    html body .ikui-contact-card__icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 639px) {
    html body.home #pg-66-4 #pg-651-0 > .panel-row-style > .panel-grid-cell {
        width: calc(100% - 30px) !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    html body .contact-form > [class*="so-widget-sow-contact-form"] {
        padding: 20px 18px;
        border-radius: 16px;
    }

    html body .contact-form .sow-contact-form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    html body .contact-form .sow-contact-form > * {
        grid-column: 1 !important;
    }

    html body .contact-form .sow-contact-form textarea {
        height: 150px !important;
        min-height: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .ikui-contact-card__item,
    html body .ikui-contact-card__arrow {
        transition: none;
    }
}
