/* peak static fixes */
.elementor-element[data-id="2792777"].elementor-sticky--active {
    width: 100% !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}

.peak-turnstile-wrap {
    margin-top: 8px;
    margin-bottom: 14px;
}

.peak-form-status {
    display: none;
    width: 100%;
    margin: 10px 0 0;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.45;
}

.peak-form-status.is-visible { display: block; }
.peak-form-status.is-success { background: #edf8ef; color: #174f24; }
.peak-form-status.is-error { background: #fff0f0; color: #8b1e1e; }

form[data-peak-static-form].is-submitting button[type="submit"] {
    opacity: .65;
    pointer-events: none;
}

/* =========================================================
   Peak static UI fixes — 2026-09-10
   ========================================================= */

/* Unlimited Elements can append a second pointer at runtime. */
.uc-list-menu a > .uc-menu-item-pointer ~ .uc-menu-item-pointer {
    display: none !important;
}

/* Homepage: keep the mobile hero below the fixed header and stop the
   Elementor sticky spacer from duplicating/competing with the hero. */
@media (max-width: 767px) {
    .elementor-6 .elementor-element.elementor-element-7a5f62f {
        min-height: max(720px, 100svh) !important;
        padding-top: 0 !important;
    }

    .elementor-6 .elementor-element.elementor-element-882594a:not(.elementor-sticky__spacer) {
        position: absolute !important;
        top: 105px !important;
        right: 15px !important;
        bottom: 18px !important;
        left: 15px !important;
        inset-inline-start: 15px !important;
        inset-inline-end: 15px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 0 10px !important;
        transform: none !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .elementor-6 .elementor-element.elementor-element-882594a.elementor-sticky__spacer {
        display: none !important;
    }

    .elementor-6 .elementor-element.elementor-element-dfac44f,
    .elementor-6 .elementor-element.elementor-element-dfac44f .p1 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .elementor-6 .elementor-element.elementor-element-0bcdad5 {
        margin-top: 24px !important;
        margin-bottom: 28px !important;
    }
}

@media (max-width: 767px) and (max-height: 700px) {
    .elementor-6 .elementor-element.elementor-element-7a5f62f {
        min-height: 760px !important;
    }

    .elementor-6 .elementor-element.elementor-element-882594a:not(.elementor-sticky__spacer) {
        top: 92px !important;
        bottom: 12px !important;
    }
}

/* Static leadership bio modal. */
.peak-bio-trigger {
    cursor: pointer !important;
    outline: none;
}

.peak-bio-trigger .elementor-heading-title {
    transition: opacity .2s ease;
}

.peak-bio-trigger:hover .elementor-heading-title,
.peak-bio-trigger:focus-visible .elementor-heading-title {
    opacity: .72;
}

.peak-bio-trigger:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
    border-radius: 3px;
}

.peak-bio-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.peak-bio-modal.is-open {
    display: flex;
}

.peak-bio-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .68);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.peak-bio-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(800px, 100%);
    max-height: min(82vh, 760px);
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    color: #202020;
    -webkit-overflow-scrolling: touch;
}

.peak-bio-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #202020;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.peak-bio-modal__close:hover,
.peak-bio-modal__close:focus-visible {
    background: rgba(0, 0, 0, .07);
}

.peak-bio-modal__name {
    margin: 0 42px 6px 0;
    font: inherit;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    color: #202020;
}

.peak-bio-modal__role {
    margin: 0 42px 24px 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    opacity: .7;
}

.peak-bio-modal__body {
    font-size: 17px;
    line-height: 1.65;
}

.peak-bio-modal__body p {
    margin: 0 0 1em;
}

.peak-bio-modal__body p:last-child {
    margin-bottom: 0;
}

body.peak-bio-modal-open {
    overflow: hidden !important;
}

/* Profile biographies use a fully local static modal on both leadership pages. */
@media (max-width: 767px) {
    .peak-bio-modal {
        padding: 14px;
    }

    .peak-bio-modal__dialog {
        max-height: 88svh;
        padding: 30px 24px 26px;
    }

    .peak-bio-modal__close {
        top: 8px;
        right: 8px;
    }

    .peak-bio-modal__body {
        font-size: 16px;
        line-height: 1.58;
    }
}
