/* No-fault search page (page-no-fault-search.php, assets/js/search.js). Own classes only (.bls-*): main.css is
   compiled Tailwind with a fixed set of utilities. Palette as elsewhere on the site: #751314 dark red, #dfbf8f gold. */

.bls {
    --bls-ink: #1f2937;
    --bls-muted: #4b5563;
    --bls-line: #e5e7eb;
    --bls-soft: #f3f4f6;
    --bls-red: #751314;
    --bls-red-soft: #fdf2f2;
    --bls-gold: #dfbf8f;
    --bls-mark: #f6e3b8;
    --bls-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    color: var(--bls-ink);
    margin-bottom: 40px;
}

.bls *,
.bls *::before,
.bls *::after {
    box-sizing: border-box;
}

.bls-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bls-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 0 22px;
}

.bls-kicker {
    max-width: 760px;
    margin: 0;
    text-align: center;
    font-size: 16px;
    color: var(--bls-muted);
}

.bls-offline {
    max-width: 760px;
    margin: 20px auto;
    padding: 14px 18px;
    background: var(--bls-soft);
    border-left: 4px solid var(--bls-red);
}

.bls a {
    color: var(--bls-red);
}

.bls button {
    font: inherit;
    cursor: pointer;
}

.bls :focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

/* ---------- the search box ---------- */

.bls-form {
    max-width: 980px;
    margin: 0 auto 20px;
}

.bls-box {
    position: relative;
    display: flex;
    gap: 0;
}

.bls-box input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    border: 2px solid var(--bls-ink);
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: #fff;
    font: 18px/1.2 var(--bls-serif);
    color: var(--bls-ink);
    -webkit-appearance: none;
    appearance: none;
}

.bls-box input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.bls-box input[type="search"]:focus {
    outline: 3px solid #2563eb;
    outline-offset: 0;
    border-color: var(--bls-ink);
}

.bls-go {
    flex: 0 0 auto;
    height: 56px;
    padding: 0 26px;
    border: 2px solid var(--bls-red);
    border-radius: 0 6px 6px 0;
    background: var(--bls-red);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.bls-go:hover {
    background: #5a0e0f;
    border-color: #5a0e0f;
}

.bls-suggest {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    margin: 4px 0 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #9ca3af;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    max-height: 420px;
    overflow-y: auto;
}

.bls-suggest li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 16px;
    cursor: pointer;
    line-height: 1.3;
}

.bls-suggest li[aria-selected="true"],
.bls-suggest li:hover {
    background: var(--bls-red-soft);
}

.bls-suggest .t {
    flex: 0 0 auto;
    min-width: 74px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bls-muted);
}

.bls-suggest .l {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--bls-serif);
    overflow-wrap: anywhere;
}

.bls-suggest .s {
    flex: 0 1 auto;
    font-size: 13px;
    color: var(--bls-muted);
    text-align: right;
}

.bls-scopebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin-top: 12px;
}

.bls-scope {
    display: inline-flex;
    border: 1px solid #9ca3af;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.bls-scope button {
    padding: 7px 16px;
    border: 0;
    background: transparent;
    color: var(--bls-ink);
    font-size: 15px;
    white-space: nowrap;
}

.bls-scope button + button {
    border-left: 1px solid #d1d5db;
}

.bls-scope button[aria-pressed="true"] {
    background: var(--bls-ink);
    color: #fff;
}

.bls-scope button .n {
    margin-left: 6px;
    font-size: 13px;
    opacity: 0.8;
}

.bls-tools {
    display: flex;
    gap: 18px;
}

.bls-link {
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--bls-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 15px;
}

.bls-link:hover {
    text-decoration-thickness: 2px;
}

/* ---------- advanced search and tips ---------- */

.bls-panel {
    max-width: 980px;
    margin: 0 auto 24px;
    padding: 20px 22px;
    background: var(--bls-soft);
    border-radius: 6px;
}

.bls-panel[hidden] {
    display: none;
}

.bls-panel h2 {
    margin: 0 0 12px;
    font: 700 20px/1.3 var(--bls-serif);
    color: var(--bls-red);
}

.bls-adv {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
}

.bls-adv label,
.bls-adv .lbl {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

.bls-adv .hint {
    display: block;
    font-weight: 400;
    color: var(--bls-muted);
}

.bls-adv input[type="text"],
.bls-adv input[type="number"],
.bls-adv select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    color: var(--bls-ink);
}

.bls-adv .wide {
    grid-column: 1 / -1;
}

.bls-adv .near {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.8fr) minmax(0, 1fr);
    gap: 8px;
    align-items: end;
}

.bls-adv .row2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bls-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.bls-btn {
    padding: 9px 20px;
    border: 2px solid var(--bls-red);
    border-radius: 4px;
    background: var(--bls-red);
    color: #fff;
    font-weight: 600;
}

.bls-btn:hover {
    background: #5a0e0f;
}

.bls-btn.ghost {
    background: #fff;
    color: var(--bls-red);
}

.bls-btn.ghost:hover {
    background: var(--bls-red-soft);
}

.bls-tipgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 28px;
    margin: 0;
    font-size: 15px;
}

.bls-tipgrid dt {
    margin-top: 8px;
    font-weight: 700;
}

.bls-tipgrid dd {
    margin: 0 0 4px;
    color: var(--bls-muted);
}

.bls-tipgrid code,
.bls-panel code {
    padding: 1px 5px;
    border-radius: 3px;
    background: #fff;
    border: 1px solid var(--bls-line);
    font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--bls-ink);
    overflow-wrap: anywhere;
}

/* ---------- layout ---------- */

.bls-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.bls-rail {
    display: none;
}

@media (min-width: 1024px) {
    .bls-layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 36px;
    }

    .bls-layout.no-rail {
        grid-template-columns: minmax(0, 1fr);
    }

    .bls-layout.no-rail .bls-rail {
        display: none;
    }

    .bls-rail {
        display: block;
        position: sticky;
        top: 96px;
        max-height: calc(100vh - 112px);
        overflow-y: auto;
        padding-right: 8px;
    }

    .bls-rail-close,
    .bls-rail-done {
        display: none !important;
    }

    .bls-filter-open {
        display: none !important;
    }
}

@media (max-width: 1023.98px) {
    .bls-rail.is-open {
        display: block;
        position: fixed;
        z-index: 70;
        inset: 0;
        padding: 16px 18px 90px;
        overflow-y: auto;
        background: #fff;
    }
}

.bls-rail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.bls-rail-head h2 {
    margin: 0;
    font: 700 20px/1.3 var(--bls-serif);
    color: var(--bls-red);
}

.bls-rail-close {
    padding: 6px 12px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
}

.bls-rail-done {
    position: fixed;
    z-index: 71;
    left: 18px;
    right: 18px;
    bottom: 16px;
    padding: 14px;
    border: 0;
    border-radius: 6px;
    background: var(--bls-red);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.bls-facet {
    margin: 0 0 16px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid var(--bls-line);
}

.bls-facet legend {
    float: left;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bls-muted);
}

.bls-facet > :not(legend) {
    clear: both;                                 /* the legend floats (so it can span the fieldset border) */
}

.bls-facet ul {
    clear: both;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bls-facet li {
    margin: 0;
}

.bls-facet label {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    line-height: 1.3;
    font-size: 15px;
}

.bls-facet input[type="checkbox"] {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--bls-red);
    transform: translateY(3px);
}

.bls-facet .lab {
    flex: 1 1 auto;
    min-width: 0;
}

.bls-facet .n {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--bls-muted);
    font-variant-numeric: tabular-nums;
}

.bls-facet .more {
    margin-top: 4px;
    font-size: 14px;
}

.bls-years {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 54px;
    margin-bottom: 8px;
}

.bls-years button {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: flex-end;
}

.bls-years button span {
    display: block;
    width: 100%;
    min-height: 2px;
    background: var(--bls-red);
    border-radius: 1px 1px 0 0;
}

.bls-years button.off span {
    background: #d1d5db;
}

.bls-years button:hover span {
    background: #000;
}

.bls-yearsel {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.bls-yearsel select,
.bls-select {
    width: 100%;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
    color: var(--bls-ink);
}

.bls-reset {
    margin-top: 4px;
}

/* ---------- main column ---------- */

.bls-main {
    min-width: 0;
}

.bls-main[aria-busy="true"] .bls-results {
    opacity: 0.45;
    transition: opacity 0.15s;
}

.bls-read {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--bls-muted);
    line-height: 1.5;
}

.bls-read b {
    font-weight: 600;
    color: var(--bls-ink);
}

.bls-note {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-left: 4px solid var(--bls-gold);
    background: #fbf6ec;
    font-size: 15px;
}

.bls-note.err {
    border-color: var(--bls-red);
    background: var(--bls-red-soft);
}

.bls-context {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 0 0 14px;
    padding: 12px 16px;
    background: var(--bls-soft);
    border-left: 4px solid var(--bls-red);
}

.bls-context .t {
    font: 600 18px/1.35 var(--bls-serif);
}

.bls-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.bls-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 12px;
    border: 1px solid #9ca3af;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.bls-chip button {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--bls-soft);
    color: var(--bls-ink);
    line-height: 22px;
    font-size: 16px;
}

.bls-chip button:hover {
    background: var(--bls-red);
    color: #fff;
}

.bls-lookup {
    margin: 0 0 18px;
    padding: 14px 18px;
    border: 1px solid var(--bls-gold);
    border-left-width: 6px;
    border-radius: 4px;
    background: #fffdf8;
}

.bls-lookup h2,
.bls-lookup .h {
    margin: 0 0 4px;
    font: 700 20px/1.3 var(--bls-serif);
}

.bls-lookup .kind {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bls-muted);
}

.bls-lookup p {
    margin: 4px 0;
    font-size: 15px;
}

.bls-lookup .bls-card {
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.bls-relied {
    margin: 0 0 18px;
    padding: 12px 16px;
    background: var(--bls-soft);
    border-radius: 4px;
}

.bls-relied summary {
    cursor: pointer;
    margin: 0 0 2px;
    font: 700 16px/1.3 var(--bls-serif);
    color: var(--bls-red);
}

.bls-relied[open] summary {
    margin-bottom: 10px;
}

.bls-relied ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bls-relied li {
    display: inline-flex;
    align-items: center;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    font-size: 14px;
}

.bls-relied li > button {
    padding: 5px 10px;
    border: 0;
    background: none;
    text-align: left;
    line-height: 1.3;
}

.bls-relied li > button:hover {
    background: var(--bls-red-soft);
}

.bls-relied li > a {
    padding: 5px 9px;
    border-left: 1px solid var(--bls-line);
    text-decoration: none;
    line-height: 1.3;
}

.bls-relied small {
    color: var(--bls-muted);
}

.bls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin: 0 0 14px;
    padding: 10px 0;
    border-top: 1px solid var(--bls-line);
    border-bottom: 1px solid var(--bls-line);
}

.bls-count {
    margin: 0;
    font: 600 18px/1.3 var(--bls-serif);
}

.bls-count small {
    font: 400 15px/1.3 system-ui, sans-serif;
    color: var(--bls-muted);
}

.bls-sortbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 15px;
}

.bls-sortbox select {
    height: 36px;
    padding: 0 8px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    font-size: 15px;
}

.bls-sortbox label.chk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.bls-sortbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--bls-red);
}

.bls-filter-open {
    padding: 7px 14px;
    border: 1px solid var(--bls-ink);
    border-radius: 4px;
    background: #fff;
    font-weight: 600;
}

/* ---------- result cards ---------- */

.bls-results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bls-card {
    padding: 18px 0 20px;
    border-bottom: 1px solid var(--bls-line);
}

.bls-card:first-child {
    padding-top: 6px;
}

.bls-card h3 {
    margin: 0 0 4px;
    font: 700 21px/1.3 var(--bls-serif);
    overflow-wrap: anywhere;
}

.bls-card h3 a {
    text-decoration: none;
}

.bls-card h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.bls-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--bls-muted);
}

.bls-meta .cite {
    color: var(--bls-ink);
    font-weight: 600;
}

.bls-pill {
    display: inline-block;
    padding: 2px 9px;
    border: 1px solid #9ca3af;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bls-ink);
    white-space: nowrap;
}

.bls-pill.lvl1 {
    background: var(--bls-red);
    border-color: var(--bls-red);
    color: #fff;
}

.bls-pill.lvl2 {
    border-color: var(--bls-red);
    color: var(--bls-red);
}

.bls-pill.lvl3 {
    background: var(--bls-soft);
}

.bls-pill.won-provider {
    background: #e6f4ea;
    border-color: #2f7a46;
    color: #14532d;
}

.bls-pill.won-insurer {
    background: #e8eefb;
    border-color: #3b5aa8;
    color: #1e3a8a;
}

.bls-pill.won-split {
    background: #fdf3dc;
    border-color: #b7791f;
    color: #7a4b05;
}

.bls-pill.unchecked {
    background: #fff4e5;
    border-color: #b45309;
    color: #7c2d12;
    font-weight: 600;
}

.bls-pill.why {
    background: #fbf6ec;
    border-color: var(--bls-gold);
    font-weight: 500;
    color: var(--bls-ink);
}

.bls-flag {
    margin: 0 0 8px;
    padding: 6px 10px;
    border-left: 4px solid #b45309;
    background: #fff4e5;
    font-size: 14px;
}

.bls-flag.reversed,
.bls-flag.overruled {
    border-color: #b91c1c;
    background: #fdecec;
}

.bls-head-note {
    margin: 0 0 8px;
    font-family: var(--bls-serif);
    font-size: 17px;
    line-height: 1.5;
}

.bls-pass {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.bls-pass li {
    margin: 0 0 6px;
    padding: 2px 0 2px 12px;
    border-left: 3px solid var(--bls-gold);
    font-family: var(--bls-serif);
    font-size: 15.5px;
    line-height: 1.5;
    color: #374151;
}

.bls mark {
    padding: 0 1px;
    background: var(--bls-mark);
    color: inherit;
    border-radius: 2px;
}

.bls-card-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 8px;
    font-size: 14px;
}

.bls-card-foot .lab {
    color: var(--bls-muted);
}

.bls-tag {
    padding: 2px 8px;
    border: 1px solid var(--bls-line);
    border-radius: 4px;
    background: var(--bls-soft);
    font-size: 13px;
    color: var(--bls-ink);
}

.bls-tag:hover {
    border-color: var(--bls-red);
    background: var(--bls-red-soft);
}

.bls-act {
    padding: 2px 0;
    border: 0;
    background: none;
    color: var(--bls-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
}

.bls-comp {
    margin-top: 8px;
    font-size: 14px;
}

.bls-comp summary {
    cursor: pointer;
    color: var(--bls-red);
}

.bls-comp ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.bls-divider {
    margin: 22px 0 4px;
    padding: 10px 14px;
    border-left: 4px solid var(--bls-gold);
    background: #fbf6ec;
    font-size: 15px;
}

/* regulation hits */

.bls-regs {
    margin: 0 0 22px;
}

.bls-regs > h2 {
    margin: 0 0 8px;
    font: 700 20px/1.3 var(--bls-serif);
    color: var(--bls-red);
}

.bls-reg {
    margin: 0 0 10px;
    padding: 12px 16px;
    border: 1px solid var(--bls-line);
    border-left: 5px solid var(--bls-red);
    border-radius: 4px;
    background: #fff;
}

.bls-reg h3 {
    margin: 0 0 2px;
    font: 700 18px/1.35 var(--bls-serif);
}

.bls-reg h3 a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bls-reg h3 a:hover {
    text-decoration: underline;
}

.bls-reg h3 span {
    font-weight: 400;
}

.bls-reg .bls-meta {
    margin-bottom: 6px;
}

.bls-reg ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bls-reg li {
    margin: 0 0 6px;
    font-family: var(--bls-serif);
    font-size: 15.5px;
    line-height: 1.5;
}

.bls-reg li a {
    margin-right: 6px;
    font-family: system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.bls-reg details > summary {
    cursor: pointer;
    font-size: 14px;
    color: var(--bls-red);
}

/* pagination */

.bls-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 26px 0 8px;
}

.bls-pages button {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    color: var(--bls-ink);
}

.bls-pages button[aria-current="page"] {
    background: var(--bls-ink);
    border-color: var(--bls-ink);
    color: #fff;
    cursor: default;
}

.bls-pages button:disabled {
    opacity: 0.4;
    cursor: default;
}

.bls-pages .gap {
    padding: 0 4px;
    color: var(--bls-muted);
}

/* empty states */

.bls-empty {
    padding: 22px 24px;
    background: var(--bls-soft);
    border-radius: 6px;
}

.bls-empty h2 {
    margin: 0 0 8px;
    font: 700 22px/1.3 var(--bls-serif);
}

.bls-empty ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.bls-empty li {
    margin: 4px 0;
}

.bls-home h2 {
    margin: 26px 0 10px;
    font: 700 22px/1.3 var(--bls-serif);
    color: var(--bls-red);
}

.bls-home h2:first-child {
    margin-top: 0;
}

.bls-examples {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bls-examples button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    border: 1px solid #9ca3af;
    border-radius: 6px;
    background: #fff;
    text-align: left;
}

.bls-examples button:hover {
    border-color: var(--bls-red);
    background: var(--bls-red-soft);
}

.bls-examples .q {
    display: block;
    font: 600 16px/1.35 var(--bls-serif);
    color: var(--bls-red);
    overflow-wrap: anywhere;
}

.bls-examples .d {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--bls-muted);
}

.bls-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bls-pills button {
    padding: 6px 12px;
    border: 1px solid #9ca3af;
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
}

.bls-pills button:hover {
    border-color: var(--bls-red);
    background: var(--bls-red-soft);
}

.bls-fine {
    margin: 26px 0 0;
    font-size: 14px;
    color: var(--bls-muted);
}

.bls-railnote {
    margin: 0 0 12px;
}

@media (max-width: 640px) {
    .bls-head {
        padding-top: 16px;
    }

    .bls-box input[type="search"] {
        height: 52px;
        font-size: 17px;
        padding: 0 12px;
    }

    .bls-go {
        height: 52px;
        padding: 0 16px;
    }

    .bls-scope button {
        padding: 7px 11px;
        font-size: 14px;
    }

    .bls-adv,
    .bls-tipgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bls-adv .near {
        grid-template-columns: minmax(0, 1fr);
    }

    .bls-card h3 {
        font-size: 19px;
    }

    .bls-suggest li {
        flex-wrap: wrap;
    }

    .bls-suggest .s {
        flex-basis: 100%;
        text-align: left;
        padding-left: 84px;
    }
}

@media print {
    .bls-form,
    .bls-panel,
    .bls-rail,
    .bls-pages,
    .bls-card-foot .bls-act,
    .bls-filter-open,
    .bls-sortbox {
        display: none !important;
    }
}
