/*
Theme Name: Olivin Child
Description: Child theme for Olivin. You can now safely customize it and not risk losing your customizations.
Author: Shentaweb
Author URI: https://shentaweb.com
Template: olivin
Version: 1.0
*/
.swt-ajax-search-container {
    position: relative;
    margin: 20px auto;
}
.swt-ajax-search-input {
    width: 100%;
    padding: 1.2rem !important;
    font-size: 16px;
    border: 1px solid var(--olivin_border_1);
    border-radius: var(--olivin_radius) !important;
    box-sizing: border-box;
}
.swt-ajax-search-results {
    background: #fff;
    border: 1px solid var(--olivin_border_1);
    border-top: none;
    border-radius: 0 0 5px 5px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
}

[data-theme="dark"] .swt-ajax-search-results {
    background-color: var(--olivin_dark_1)
}

.swt-ajax-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--olivin_border_1);
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}
.swt-ajax-result-item:last-child {
    border-bottom: none;
}
.swt-ajax-result-item:hover {
    background-color: var(--olivin_dark_2);
}
.swt-ajax-result-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}
.swt-ajax-result-content {
    display: flex;
    flex-direction: column;
}
.swt-ajax-result-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
}
.swt-ajax-result-date {
    font-size: 12px;
    color: #777;
    margin: 0;
}
.swt-ajax-no-results {
    padding: 20px;
    text-align: center;
    color: #888;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}