
.tabler-ta {
    position: relative;
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
}
.tabler-ta * { box-sizing: border-box; }
.tabler-ta input { width: 100%; min-width: 0; }

.tabler-ta .tabler-ta-dd {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    width: min(calc(100% + 180px), calc(100vw - 40px));
    max-height: 480px;
    overflow: auto;
    display: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    z-index: 99999;
    font-size: 14px;
    line-height: 1.25;
    box-sizing: border-box;
}
.tabler-ta .tabler-ta-dd.is-open { display: block; }

.tabler-ta .tabler-ta-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    text-decoration: none;
    color: #111 !important;
    border-top: 1px solid rgba(0,0,0,.06);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.tabler-ta .tabler-ta-item:first-child { border-top: none; }
.tabler-ta .tabler-ta-item:hover,
.tabler-ta .tabler-ta-item.is-active { background: rgba(0,0,0,.08); }

.tabler-ta .tabler-ta-thumb {
    width: 44px; height: 44px; flex: 0 0 44px;
    border-radius: 6px; object-fit: cover;
    background: #f2f4f7;
}

.tabler-ta .tabler-ta-title {
    font-weight: 600;
    color: #111 !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tabler-ta .tabler-ta-title-qualifier {
    color: #777d84;
    font-size: .8em;
    font-weight: 600;
    white-space: nowrap;
}
.tabler-ta .tabler-ta-meta {
    font-size: 12px;
    color: rgba(0,0,0,.72) !important;
    opacity: 1 !important;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-top: 2px;
}

.tabler-ta .tabler-ta-empty { padding: 10px 12px; font-size: 13px; opacity: .7; }
.tabler-ta .tabler-ta-banner { padding: 10px 10px 0 10px; }

.tabler-ta-bannerbox {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    background: #fff8e1;
    margin-bottom: 8px;
}

@media (max-width: 640px) {
    .tabler-ta .tabler-ta-dd {
        width: calc(100vw - 40px);
        left: -8px;
    }
}

@media (min-width: 641px) {
    #secondary .wp-block-search,
    #secondary .wp-block-search__inside-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    #secondary .wp-block-search__inside-wrapper {
        display: flex !important;
    }
    .site-content,
    #content {
        position: relative !important;
        overflow: visible !important;
    }
    #primary,
    #main,
    article.hentry,
    article.page {
        position: relative !important;
        z-index: 1 !important;
    }
    #sidebar,
    #secondary {
        position: relative !important;
        z-index: 100001 !important;
        isolation: isolate !important;
        overflow: visible !important;
    }
    #secondary .widget_search,
    #secondary .wp-block-search,
    #secondary .tabler-ta {
        position: relative !important;
        z-index: 100002 !important;
    }
    #secondary .wp-block-search__inside-wrapper > .tabler-ta {
        min-width: 0 !important;
    }
    .wp-block-search__inside-wrapper {
        display: flex !important;
        align-items: stretch !important;
        gap: 0 !important;
        column-gap: 0 !important;
    }
    .wp-block-search__inside-wrapper > .tabler-ta {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .wp-block-search__inside-wrapper > .tabler-ta > .wp-block-search__input,
    .wp-block-search__inside-wrapper > .wp-block-search__button {
        height: 40px !important;
        min-height: 40px !important;
        box-sizing: border-box !important;
    }
    .wp-block-search__inside-wrapper > .tabler-ta > .wp-block-search__input {
        width: 100% !important;
        padding: 0 12px !important;
        border-radius: 2px 0 0 2px !important;
        border-right: 0 !important;
    }
    .wp-block-search__inside-wrapper > .wp-block-search__button {
        margin: 0 !important;
        padding: 0 16px !important;
        line-height: 40px !important;
        border-radius: 0 2px 2px 0 !important;
        background: #fec640 !important;
        color: #000 !important;
        border-color: #fec640 !important;
        border-left: 0 !important;
    }
    .wp-block-search__inside-wrapper > .wp-block-search__button:hover,
    .wp-block-search__inside-wrapper > .wp-block-search__button:focus,
    .wp-block-search__inside-wrapper > .wp-block-search__button:active {
        color: #000 !important;
    }
}
