/*Avarius Capital – Search dropdown & highlight*/

.navbar-search .search-inner {
    position: relative;
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    max-height: 480px;
    overflow-y: auto;
    z-index: 100;
}

.search-dropdown.visible {
    display: block;
}

.search-result {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #2A2A2A;
    transition: background 0.15s;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: #f8f6f2;
}

.search-result-page {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #D2AB67;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.search-result-heading {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
    line-height: 1.3;
}

.search-result-text {
    display: block;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.search-no-results {
    padding: 24px 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* Highlight in dropdown results */
.search-dropdown .search-hl {
    background: none;
    color: #D2AB67;
    font-weight: 700;
}

/* Highlight on page */
mark.search-hl {
    background: none;
    color: #D2AB67;
    font-weight: inherit;
    border: none;
    box-shadow: none;
    outline: none;
    padding: 0;
}

/* When a search result target is focused programmatically we add this class
   briefly to avoid showing a focus border around the element. Cleared on blur. */
.search-focused,
.search-focused * {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
