/* ==========================================================================
   Intelio - Search Company Insights page (/search-company-insights/)
   Page-scoped stylesheet, loaded only by search-company-insights/index_tpl.php.

   Previously these rules were split between the page's inline <style> block and
   appended blocks in the global /css/styles.css. They now live here so the
   global stylesheet stays untouched by this route.
   ========================================================================== */

/* ---- Search tab styling (red active tab, grey inactive) ---- */
.search-tabs-row {
    display: flex;
    flex-wrap: wrap;
}
.search-tab {
    font-family: var(--font-mono) !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5a6572 !important;
    background: #f1f4f7 !important;
    border: 1px solid #dfe4ea !important;
    border-bottom: none !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    cursor: pointer;
}
.search-tab.active {
    background: #c92f33 !important;
    border-color: #c92f33 !important;
    color: #fff !important;
}

/* ---- Mobile: keep the three search tabs in one horizontal row ---- */
@media (max-width: 640px) {
    .search-tabs-row {
        flex-wrap: nowrap;
    }
    .search-tab {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
        white-space: nowrap;
        padding: 10px 6px !important;
        font-size: 10px;
        letter-spacing: .04em;
    }
}

/* ---- FAQ accordion icon toggle ---- */
.faq-item {
    background: #fff;
}
.faq-item summary {
    list-style: none;
    position: relative;
    padding-right: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #c92f33;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}
.faq-item[open] summary::after {
    content: '\2212';
}

/* ---- Search autocomplete dropdown list ---- */
.dropdown-list-container {
    max-height: 20rem;
    overflow-y: auto;
    width: 100%;
}