/* BizCart 2026-06-25: collapse empty header/search ad slots so they don't render an empty bordered box. A real ad (img/iframe/ins) still shows with spacing. */
.ads_header, .ads-headers, .ads_search_top, .ads_search_bottom {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}
.ads_header:has(img), .ads_header:has(iframe), .ads_header:has(ins),
.ads-headers:has(img), .ads-headers:has(iframe), .ads-headers:has(ins),
.ads_search_top:has(img), .ads_search_top:has(iframe), .ads_search_top:has(ins),
.ads_search_bottom:has(img), .ads_search_bottom:has(iframe), .ads_search_bottom:has(ins) {
  margin: 10px auto 25px !important;
  padding: 5px !important;
}


/* ===== BizCart job listing fields & badges ===== */
.bc-job-fields { margin: 6px 0 10px; }
.bc-job-meta { font-size: 14px; color: #1a1a1a; margin-bottom: 6px; line-height: 1.4; }
.bc-job-meta-item { font-weight: 600; margin-right: 12px; }
.bc-job-meta-item:last-child { margin-right: 0; }
.bc-job-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-job-badge {
    display: inline-block;
    background: #e7f6ec;
    color: #1f7a42;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 14px;
    white-space: nowrap;
}
.bc-job-badge + .bc-job-badge { margin-left: 0; }
/* ===== end BizCart job badges ===== */


/* ===== BizCart advanced-search filter toggle ===== */
.bc-filter-toggle {
    display: block;
    width: 100%;
    background: #2b4a9b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
    text-align: left;
}
.bc-filter-toggle:hover { background: #24407f; }
.bc-filter-toggle .fa { margin-right: 8px; }
/* Hide all sidebar contents except the toggle button by default */
.sidebar_search > *:not(.bc-filter-toggle):not(script) { display: none; }
/* When open, reveal the filter contents (high specificity to beat :not() hide + mobile_hide) */
.sidebar_search.bc-filters-open > *:not(script):not(.bc-filter-toggle) { display: block !important; }
.sidebar_search.bc-filters-open > script { display: none !important; }
/* ===== end BizCart filter toggle ===== */

/* Hide the theme's legacy mobile filter heading - replaced by bc-filter-toggle */
.sidebar_search #show_filters,
.sidebar_search.bc-filters-open > #show_filters { display: none !important; }
