/* Delhi Travel Help – theme */
:root {
    --brand: #0b6e4f;
    --brand-600: #095c42;
    --brand-50: #e8f5ef;
    --accent: #f97316;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f6f8fa;
    --card: #ffffff;
    --ac: #0284c7;
    --ac-50: #e0f2fe;
    --radius: 16px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
    --shadow-lg: 0 20px 50px rgba(11, 110, 79, .18);
}

@media (prefers-color-scheme: dark) {
    :root {
        --brand: #34d399;
        --brand-600: #10b981;
        --brand-50: rgba(52, 211, 153, .12);
        --ink: #e2e8f0;
        --ink-2: #cbd5e1;
        --muted: #94a3b8;
        --line: #1e293b;
        --bg: #0b1220;
        --card: #111a2e;
        --ac: #38bdf8;
        --ac-50: rgba(56, 189, 248, .14);
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
        --shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
    }
}

html { scroll-behavior: smooth; }
body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); text-decoration: underline; }
h1, h2, h3 { letter-spacing: -.02em; font-weight: 800; }
.text-brand { color: var(--brand) !important; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: var(--card); padding: .5rem 1rem; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: color-mix(in srgb, var(--card) 88%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header .navbar { padding: .65rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .55rem; color: var(--ink) !important; font-weight: 500; }
.brand-mark {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--brand); color: #fff; font-size: 1.15rem;
}
.brand-text strong { color: var(--brand); font-weight: 800; }
.navbar-toggler { border: 0; color: var(--ink); font-size: 1.6rem; }
.navbar-toggler:focus { box-shadow: none; }
.nav-link { color: var(--ink-2) !important; font-weight: 500; border-radius: 10px; padding: .45rem .8rem !important; }
.nav-link:hover, .nav-link.active { color: var(--brand) !important; background: var(--brand-50); text-decoration: none; }
.bus-quick-search { position: relative; }
.bus-quick-search i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.bus-quick-search input {
    border: 1px solid var(--line); background: var(--bg); color: var(--ink);
    border-radius: 999px; padding: .45rem .9rem .45rem 2.1rem; width: 190px; outline: none;
}
.bus-quick-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
@media (max-width: 767.98px) { .bus-quick-search input { width: 100%; margin: .5rem 0; } }

/* ---------- Buttons / badges ---------- */
.btn-brand {
    --bs-btn-color: #fff; --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
    --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600);
    --bs-btn-active-bg: var(--brand-600);
    font-weight: 600; border-radius: 12px; padding: .7rem 1.2rem;
}
@media (prefers-color-scheme: dark) { .btn-brand { --bs-btn-color: #04261b; --bs-btn-hover-color: #04261b; } }
.badge-ac { background: var(--ac-50); color: var(--ac); font-weight: 700; border-radius: 6px; font-size: .7rem; padding: .25em .5em; }
.bus-badge {
    display: inline-flex; align-items: center; justify-content: center; min-width: 64px;
    padding: .45rem .7rem; border-radius: 10px; font-weight: 800; font-size: 1rem;
    background: var(--brand); color: #fff !important; letter-spacing: -.01em; text-decoration: none !important;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15);
}
@media (prefers-color-scheme: dark) { .bus-badge { color: #04261b !important; } }
.bus-badge--ac { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff !important; }
.bus-badge--xl { font-size: 1.8rem; min-width: 110px; padding: .7rem 1.1rem; border-radius: 16px; }
.count-pill { font-size: .8rem; background: var(--brand-50); color: var(--brand); border-radius: 999px; padding: .15rem .6rem; vertical-align: middle; font-weight: 700; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .35rem; }
.dot--from { background: var(--brand); }
.dot--to { background: var(--accent); }

/* ---------- Hero ---------- */
.hero {
    padding: 4.5rem 0 5rem;
    background:
        radial-gradient(1200px 400px at 10% -10%, var(--brand-50), transparent 60%),
        radial-gradient(800px 300px at 100% 0%, rgba(249, 115, 22, .10), transparent 60%);
}
.eyebrow { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .85rem; color: var(--brand); background: var(--brand-50); padding: .35rem .75rem; border-radius: 999px; }
.hero__title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.05; margin: 1rem 0; }
.hero__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34rem; }
.hero__points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ink-2); font-weight: 500; }
.hero__points i { color: var(--brand); }

/* ---------- Search card & route form ---------- */
.search-card { background: var(--card); border-radius: 22px; padding: 1.75rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.search-card--inline { box-shadow: var(--shadow); }
.search-card__title { font-size: 1.25rem; margin-bottom: 1.1rem; }
.route-form { display: flex; flex-direction: column; gap: 1rem; }
.route-form__fields { position: relative; display: flex; flex-direction: column; gap: .75rem; }
.ac-field { position: relative; }
.ac-field:focus-within { z-index: 5; }
.ac-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .3rem; display: flex; align-items: center; }
.ac-input-wrap { position: relative; }
.ac-input {
    width: 100%; font-size: 1.05rem; padding: .85rem 3rem .85rem 1rem; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.ac-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); background: var(--card); }
.ac-locate { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font-size: 1.15rem; padding: .35rem .5rem; border-radius: 8px; }
.ac-locate:hover { color: var(--brand); background: var(--brand-50); }
.ac-locate.busy i { animation: spin 1s linear infinite; display: inline-block; }
.ac-note { font-size: .85rem; color: var(--accent); margin-top: .3rem; }
.swap-btn {
    position: absolute; right: 3.4rem; top: 50%; transform: translateY(-15%); z-index: 3;
    width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--brand);
    display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .25s;
}
.swap-btn.flipped { transform: translateY(-15%) rotate(180deg); }
.route-form__submit { font-size: 1.05rem; padding: .9rem; }

.ac-list {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1050; display: none;
    list-style: none; margin: 0; padding: .35rem; background: var(--card); border: 1px solid var(--line);
    border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 320px; overflow-y: auto;
}
.ac-list.open { display: block; }
.ac-item { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 10px; cursor: pointer; color: var(--ink); }
.ac-item i { color: var(--brand); }
.ac-item small { margin-left: auto; color: var(--muted); font-size: .75rem; }
.ac-item.active, .ac-item:hover { background: var(--brand-50); }
.ac-item mark { background: none; color: var(--brand); font-weight: 700; padding: 0; }
.ac-empty { padding: .7rem; color: var(--muted); }

/* compact (results page) */
@media (min-width: 992px) {
    .route-form--compact { flex-direction: row; align-items: flex-end; }
    .route-form--compact .route-form__fields { flex-direction: row; flex: 1; gap: 3.2rem; }
    .route-form--compact .ac-field { flex: 1; }
    .route-form--compact .swap-btn { position: absolute; left: 50%; right: auto; top: auto; bottom: 8px; transform: translateX(-50%) rotate(90deg); }
    .route-form--compact .swap-btn.flipped { transform: translateX(-50%) rotate(270deg); }
    .route-form--compact .route-form__submit { white-space: nowrap; }
}

.shake { animation: shake .35s; border-color: var(--accent) !important; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.section-title { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.page-head { padding: 2.25rem 0 1.75rem; background: var(--card); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-head__lead { color: var(--muted); font-size: 1.05rem; }
.page-head--search { padding: 1.5rem 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.crumbs i { font-size: .7rem; }

.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; }

.cta-strip {
    margin-top: 2.5rem; padding: 1.75rem; border-radius: 20px; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, var(--brand), #064e3b); color: #fff;
}
.cta-strip h2 { font-size: 1.4rem; margin: 0 0 .2rem; }
.cta-strip__form { display: flex; gap: .5rem; flex: 1; max-width: 420px; }
.cta-strip__form .form-control { border-radius: 12px; border: 0; padding: .7rem 1rem; }
.cta-strip .btn-brand { --bs-btn-bg: #fff; --bs-btn-color: var(--brand-600); --bs-btn-border-color: #fff; --bs-btn-hover-bg: #ecfdf5; --bs-btn-hover-color: #064e3b; white-space: nowrap; }

/* ---------- Results ---------- */
.journey-title { margin-bottom: 2rem; }
.journey-title h1 { font-size: clamp(1.4rem, 3vw, 2rem); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.journey-title__arrow { color: var(--muted); }
.journey-title__links { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }

.route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.route-card {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow);
    transition: transform .15s, border-color .15s;
}
.route-card:hover { transform: translateY(-2px); border-color: var(--brand); text-decoration: none; color: var(--ink); }
.route-card__body { display: flex; flex-direction: column; flex: 1; }
.route-card__main { font-weight: 700; }
.route-card__sub { font-size: .85rem; color: var(--muted); }
.route-card__chev { color: var(--muted); }

.interchange-list { display: flex; flex-direction: column; gap: .8rem; }
.interchange {
    display: grid; grid-template-columns: auto 1fr auto auto; gap: .5rem 1.25rem; align-items: center;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow);
}
.interchange__leg { display: flex; align-items: center; gap: .6rem; }
.interchange__stops { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.interchange__change { display: flex; align-items: center; gap: .5rem; color: var(--ink-2); }
.interchange__change i { color: var(--accent); font-size: 1.2rem; }
.interchange__total { font-weight: 700; font-size: .9rem; color: var(--muted); text-align: right; }
@media (max-width: 767.98px) {
    .interchange { grid-template-columns: 1fr; }
    .interchange__total { text-align: left; }
}

.empty-state { text-align: center; padding: 3rem 1rem; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state i { font-size: 2.5rem; color: var(--muted); }
.hint { color: var(--muted); font-size: .9rem; }
.alert-brand { background: var(--brand-50); color: var(--ink); border: 0; border-radius: 12px; }

.pick-list { display: flex; flex-direction: column; gap: .4rem; }
.pick { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pick:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pick input { accent-color: var(--brand); }

/* ---------- Bus pages ---------- */
.bus-head__row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.stat-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .7rem 1.1rem; display: flex; flex-direction: column; min-width: 110px; }
.stat__v { font-weight: 800; font-size: 1.25rem; }
.stat__l { font-size: .8rem; color: var(--muted); }
.stat--hl { background: var(--brand-50); border-color: transparent; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; counter-reset: stop; }
.timeline__item {
    position: relative; padding: .55rem 0 .55rem 2.6rem; counter-increment: stop;
}
.timeline__item::before {
    content: ""; position: absolute; left: .95rem; top: 0; bottom: 0; width: 3px; background: var(--line);
}
.timeline__item:first-child::before { top: 50%; }
.timeline__item:last-child::before { bottom: 50%; }
.timeline__item::after {
    content: counter(stop); position: absolute; left: .2rem; top: 50%; transform: translateY(-50%);
    width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--card); border: 2px solid var(--line);
    font-size: .68rem; font-weight: 700; color: var(--muted); display: grid; place-items: center;
}
.timeline__item a { color: var(--ink); font-weight: 500; }
.timeline__item a:hover { color: var(--brand); }
.timeline__item.is-trip::before { background: var(--brand); }
.timeline__item.is-trip::after { border-color: var(--brand); color: var(--brand); }
.timeline__item.is-end::after { background: var(--brand); color: #fff; border-color: var(--brand); }
.timeline__item.is-end a { font-weight: 800; }

.map-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); top: 90px; }
.map { height: 520px; }
.map--small { height: 300px; }
@media (max-width: 991.98px) { .map { height: 340px; } }

.bus-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .7rem; }
.bus-tile {
    display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem; border-radius: 14px;
    background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: border-color .15s, transform .15s;
}
.bus-tile:hover { border-color: var(--brand); transform: translateY(-2px); text-decoration: none; color: var(--ink); }
.bus-tile__no { font-weight: 800; font-size: 1.15rem; }
.bus-tile__meta { font-size: .8rem; color: var(--muted); }

.filter-box { position: relative; max-width: 420px; margin-top: 1rem; }
.filter-box i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-box .form-control { padding: .7rem 1rem .7rem 2.4rem; border-radius: 12px; background: var(--bg); border-color: var(--line); color: var(--ink); }

/* ---------- Stop pages ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-list .bus-badge { min-width: 58px; font-size: .95rem; padding: .4rem .65rem; }
.nearby-list { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.nearby-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.nearby-list li:last-child { border-bottom: 0; }
.nearby-list span { color: var(--muted); font-size: .85rem; white-space: nowrap; }

.letters { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.letters a { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.letters a:hover { border-color: var(--brand); text-decoration: none; }
.letters a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.stop-columns { columns: 3 260px; column-gap: 2rem; }
.stop-link { display: block; padding: .45rem 0; color: var(--ink); break-inside: avoid; border-bottom: 1px solid var(--line); }
.stop-link i { color: var(--brand); }
[hidden] { display: none !important; }

/* ---------- Type of service ---------- */
.svc { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px;
       background: var(--svc-bg, var(--brand-50)); color: var(--svc-fg, var(--brand)); white-space: nowrap; }
.svc--sm { font-size: .68rem; padding: .1rem .45rem; }
.svc--devi { --svc-bg: #e0f2fe; --svc-fg: #0369a1; }
.svc--night-service { --svc-bg: #1e1b4b; --svc-fg: #c7d2fe; }
.svc--ladies-special, .svc--u-special-ladies { --svc-bg: #fce7f3; --svc-fg: #be185d; }
.svc--u-special { --svc-bg: #ede9fe; --svc-fg: #6d28d9; }
.svc--airport-express { --svc-bg: #fef3c7; --svc-fg: #b45309; }
.svc--ncr { --svc-bg: #ffedd5; --svc-fg: #c2410c; }
.svc--short-trip, .svc--special { --svc-bg: #f1f5f9; --svc-fg: #475569; }
@media (prefers-color-scheme: dark) {
    .svc--devi { --svc-bg: rgba(56,189,248,.15); --svc-fg: #7dd3fc; }
    .svc--ladies-special, .svc--u-special-ladies { --svc-bg: rgba(244,114,182,.15); --svc-fg: #f9a8d4; }
    .svc--u-special { --svc-bg: rgba(167,139,250,.15); --svc-fg: #c4b5fd; }
    .svc--airport-express { --svc-bg: rgba(251,191,36,.15); --svc-fg: #fcd34d; }
    .svc--ncr { --svc-bg: rgba(251,146,60,.15); --svc-fg: #fdba74; }
    .svc--short-trip, .svc--special { --svc-bg: rgba(148,163,184,.15); --svc-fg: #cbd5e1; }
}
.svc-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-left: 3px; background: var(--svc-fg, #fff); vertical-align: super; }
.svc-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.svc-chip { border: 1px solid var(--line); background: var(--card); color: var(--ink-2); border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; font-weight: 600; }
.svc-chip span { color: var(--muted); font-weight: 500; margin-left: .2rem; }
.svc-chip:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
.svc-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.svc-chip.active span { color: rgba(255,255,255,.8); }
.bus-tile.svc-hidden { display: none; }
.bus-tile .svc { align-self: flex-start; }
.bus-tile__meta i { color: var(--brand); }

/* ---------- Timetable ---------- */
.tt-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.tt-tab { border: 1px solid var(--line); background: var(--card); color: var(--ink-2); border-radius: 10px; padding: .45rem .8rem; font-size: .85rem; font-weight: 600; text-align: left; }
.tt-tab.active { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.tt-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.tt-summary { margin-bottom: .8rem; }
.tt-route { font-size: 1.02rem; margin-bottom: .35rem; }
.tt-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .9rem; }
.tt-facts i { color: var(--brand); }
.tt-facts strong { color: var(--ink); }
.tt-grid { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tt-grid th { width: 3rem; padding: .35rem .6rem .35rem 0; color: var(--brand); font-weight: 800; vertical-align: top; border-right: 2px solid var(--brand-50); }
.tt-grid td { padding: .3rem .6rem; border-bottom: 1px solid var(--line); }
.tt-grid tr:last-child td { border-bottom: 0; }
.tt-min { display: inline-block; min-width: 2.1rem; padding: .1rem .3rem; margin: .1rem; border-radius: 6px; text-align: center; font-size: .9rem; color: var(--ink-2); }
.tt-min--note { background: #fef3c7; color: #92400e; font-weight: 700; }
@media (prefers-color-scheme: dark) { .tt-min--note { background: rgba(251,191,36,.18); color: #fcd34d; } }

/* ---------- Misc ---------- */
.prose { max-width: 760px; font-size: 1.05rem; line-height: 1.7; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.status-page__code { font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--card); border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; color: var(--muted); }
.site-footer h6 { color: var(--ink); font-weight: 700; margin-bottom: .8rem; }
.site-footer li { margin-bottom: .35rem; }
.site-footer a { color: var(--ink-2); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; }

.leaflet-container { font-family: inherit; }

/* ---------- SEO link lists ---------- */
.link-columns { columns: 3 240px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.link-columns li { break-inside: avoid; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.link-columns a { color: var(--ink-2); }
.link-columns a:hover { color: var(--brand); }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.type-card { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.type-card:hover { border-color: var(--brand); text-decoration: none; color: var(--ink); }
.type-card span { color: var(--muted); font-size: .85rem; }
.intro { font-size: 1.05rem; line-height: 1.7; color: var(--ink-2); max-width: 820px; }
.faq { margin-top: 2.5rem; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; margin-bottom: .6rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .6rem 0 0; color: var(--ink-2); }

/* ---------- Ads ---------- */
.ad-slot { margin: 2rem 0; min-height: 120px; text-align: center; }
.ad-slot__label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .3rem; }
