/* Sticky apply action for small screens; reuses Everest's featureQuote colors. */
.mobile-apply {
    display: none;
}

.mobile-apply[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    /* Constrain historical floated policy rows and wrap long contact URLs. */
    .wrapperPrivacyPolicy,
    .wrapperPrivacyPolicy > .row {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.has-mobile-apply {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    }

    body.has-mobile-apply::after {
        content: "";
        display: block;
        clear: both;
    }

    a.mobile-apply:not([hidden]) {
        position: fixed;
        z-index: 1000;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
        left: 12px;
        box-sizing: border-box;
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        border: 2px solid #fff;
        border-radius: 3px;
        background: #efb031;
        box-shadow: 0 2px 8px rgba(14, 26, 52, .28);
        color: #fff;
        font: inherit;
        font-size: 1.1em;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    a.mobile-apply:not([hidden]):hover,
    a.mobile-apply:not([hidden]):active {
        background: #2f71c6;
        color: #fff;
        text-decoration: none;
    }

    a.mobile-apply:focus-visible {
        outline: 3px solid #0e1a34;
        outline-offset: 2px;
    }
}
