/* Keep the menu-sized widget and Elementor's fullscreen overlay untouched. */
.lc-static-search-popup.ssp-search form.elementor-search-form {
    width: 100%;
}

.lc-static-search-popup .lc-static-search-popup__field {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.lc-static-search-popup.ssp-search .search-input-container > .search-auto-complete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    max-height: 50vh;
    overflow-y: auto;
    padding: 8px 0;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
}

.lc-static-search-popup .search-auto-complete a { color: #333; }
.lc-static-search-popup .search-auto-complete a:hover,
.lc-static-search-popup .search-auto-complete a:focus { color: #a36f00; }
.lc-static-search-popup .search-auto-complete ul { margin: 0; }

.lc-static-search-popup .result:empty { display: none; }
.lc-static-search-popup .result:not(:empty) {
    max-height: 50vh;
    overflow-y: auto;
    padding: 16px;
    background: #fff;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

/* Results belong in the Elementor archive, never in a header search widget. */
[data-lc-native-search-results] { display: none !important; }
.lc-search-results-page { width: 100%; color: #333; text-align: left; }
.lc-search-results-page .lc-search-results-title { font-size: clamp(26px, 3vw, 40px); margin: 0 0 24px; }
.lc-search-results-form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.lc-search-results-label { flex-basis: 100%; }
.lc-search-results-page .lc-search-results-input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid #bbb; border-radius: 4px; background: #fff; color: #333; }
.lc-search-results-page button { padding: 12px 20px; border: 1px solid #d19000; border-radius: 4px; background: #d19000; color: #fff; cursor: pointer; }
.lc-search-results-page :focus-visible { outline: 2px solid #a36f00; outline-offset: 3px; }
.lc-search-results-page [hidden] { display: none !important; }
.lc-search-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lc-search-result-card { margin: 0; padding: 24px; border: 1px solid #e5e5e5; border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.lc-search-result-card h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.35; }
.lc-search-result-card h2 a { color: #333; text-decoration: none; }
.lc-search-result-card p { font-size: 16px; line-height: 1.6; }
.lc-search-result-card .lc-search-result-more { color: #a36f00; }
.lc-search-results-page .lc-search-results-more { margin-top: 24px; }
@media (max-width: 1024px) { .lc-search-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .lc-search-results-grid { grid-template-columns: minmax(0, 1fr); } }
