/* Search field: based on the supplied Divi search design.
   --bg-search-bar is inherited from the site's existing theme (including dark mode).
   Do not define it locally; white is used only when the theme variable is absent. */
.sheer-search {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
}
.sheer-search .sheer-search-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 49px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #4F4B7F;
    border-radius: 12px;
    background: var(--bg-search-bar, #fff);
    position: relative;
}
.sheer-search .sheer-search-form .screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.sheer-search .sheer-search-form .sheer-search-input {
    flex: 1 1 0%;
    display: block;
    width: 0;
    min-width: 0;
    min-height: 47px;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 0 8px 21px;
    border: 0 !important;
    border-radius: 11px 0 0 11px;
    background: transparent !important;
    box-shadow: none;
    color: #4F4B7F !important;
    font: inherit;
    font-size: 22px;
    line-height: 1.25;
    appearance: none;
    -webkit-appearance: none;
}
.sheer-search .sheer-search-form .sheer-search-input::placeholder {
    color: #4F4B7F !important;
    opacity: 1;
}
.sheer-search .sheer-search-form .sheer-search-input::-webkit-search-decoration,
.sheer-search .sheer-search-form .sheer-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.sheer-search .sheer-search-form .sheer-search-submit {
    flex: 0 0 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 44px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0 11px 11px 0;
    background: transparent !important;
    box-shadow: none;
    color: #4F4B7F;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.sheer-search .sheer-search-form .sheer-search-submit svg {
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}
.sheer-search .sheer-search-form .sheer-search-input:focus {
    outline: none;
}
.sheer-search .sheer-search-form:focus-within {
    outline: 2px solid #4F4B7F;
    outline-offset: 2px;
}
.sheer-search .sheer-search-form .sheer-search-submit:focus-visible {
    outline: 2px solid #4F4B7F;
    outline-offset: -4px;
}
@media (max-width: 479px) {
    .sheer-search .sheer-search-form .sheer-search-input {
        font-size: 18px;
        padding-left: 14px;
    }
    .sheer-search .sheer-search-form .sheer-search-submit {
        flex-basis: 48px;
    }
    .sheer-search .sheer-search-form .sheer-search-submit svg {
        width: 24px;
        height: 24px;
    }
}

/* Live suggestions and results retain their 1.0.1 styles. */
.sheer-search-suggestions{position:absolute;z-index:9999;top:calc(100% + 5px);left:0;right:0;background:#fff;border:1px solid #d9dde2;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.12);overflow:hidden}.sheer-search-suggestion,.sheer-search-view-all{display:block;padding:11px 14px;text-decoration:none;border-bottom:1px solid #eceff1;color:inherit}.sheer-search-suggestion:hover,.sheer-search-view-all:hover{background:#f5f6f7}.sheer-search-suggestion-title,.sheer-search-suggestion-snippet{display:block}.sheer-search-suggestion-title{font-weight:600}.sheer-search-suggestion-snippet{margin-top:4px;font-size:.88em;opacity:.78}.sheer-search-view-all{font-weight:600;text-align:center}.sheer-search-results{max-width:900px}.sheer-search-results-heading{margin-top:28px}.sheer-search-count{opacity:.7}.sheer-search-result-list{padding-left:22px}.sheer-search-result{margin:0 0 22px}.sheer-search-result-title{font-weight:700;font-size:1.08em}.sheer-search-result p{margin:6px 0 0}.sheer-search-pagination{display:flex;gap:8px;margin:25px 0}.sheer-search-pagination a,.sheer-search-pagination span{padding:7px 11px;border:1px solid #ddd;border-radius:4px;text-decoration:none}.sheer-search-pagination [aria-current=page]{font-weight:700;background:#f1f1f1}.sheer-search mark{background:#fff0a8;color:inherit}

.sheer-search-suggestions[hidden]{display:none!important}.sheer-search-results mark,.sheer-search-suggestions mark{background:#fff0a8;color:inherit}.sheer-search-message{margin:0;padding:12px 14px}.sheer-search-suggestions{color:#222}.sheer-search-results-heading{margin-top:0}
