/* Ghidurile pe cartiere (/orase/<oraș>/cartiere); se încarcă după orase.css și folosește variabilele lui */
.ct .or-hero__title { max-width: 26ch; }
.ct-brief { background: #fff; border: 1px solid var(--or-line); border-left: 4px solid var(--or-primary); border-radius: var(--or-radius); padding: 16px 20px; margin: 0 0 24px; box-shadow: var(--or-shadow); }
.ct-brief__k { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--or-primary-700); }
.ct-brief__q { margin: 4px 0 8px; font-size: 1.1rem; font-weight: 800; color: var(--or-ink); }
.ct-brief ul { margin: 0; padding-left: 18px; }
.ct-brief li { margin: 4px 0; }
.ct-h3 { font-size: 1.05rem; font-weight: 700; color: var(--or-ink); margin: 18px 0 8px; }

/* hartă */
.ct-map { height: 440px; border-radius: var(--or-radius); border: 1px solid var(--or-line); background: #e5e7eb; z-index: 0; }
.ct-map--city { height: 560px; }
@media (max-width: 640px) { .ct-map { height: 360px; } .ct-map--city { height: 440px; } }
.ct-legend { list-style: none; margin: 10px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--or-text); }
.ct-legend li { display: inline-flex; align-items: center; gap: 6px; }
.ct-key { display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; }
.ct-key--zone { border-radius: 3px; background: rgba(37, 99, 235, .15); border: 2px solid #2563eb; }
.ct-key--metro { width: 18px; height: 18px; background: #b91c1c; color: #fff; font-size: 11px; font-weight: 800; }
.ct-key--school { background: #0f766e; }
.ct-key--risk { background: #dc2626; border: 2px solid #fff; box-shadow: 0 0 0 1px #94a3b8; }
.ct-key--listing { background: #f59e0b; border: 2px solid #fff; box-shadow: 0 0 0 1px #94a3b8; }
.ct-metro { background: #b91c1c; color: #fff; border: 2px solid #fff; border-radius: 50%; font: 800 11px/18px system-ui, sans-serif; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.ct-metric { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.ct-metric label { position: relative; }
.ct-metric input { position: absolute; opacity: 0; inset: 0; }
.ct-metric span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--or-line); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; }
.ct-metric input:checked + span { background: var(--or-primary); border-color: var(--or-primary); color: #fff; }
.ct-metric input:focus-visible + span { outline: 3px solid rgba(147, 197, 253, .9); outline-offset: 2px; }
.ct-scale { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; font-size: .82rem; color: var(--or-muted); }
.ct-scale__bar { flex: 0 1 260px; height: 10px; border-radius: 6px; }
.ct-tip { font-size: .85rem; line-height: 1.4; }
.ct-tip strong { display: block; color: var(--or-ink); }

/* risc seismic */
.ct-classes { list-style: none; margin: 8px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-classes li { background: #fff; border: 1px solid var(--or-line); border-radius: 10px; padding: 6px 10px; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.ct-classes small { color: var(--or-muted); }
.ct-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; flex-shrink: 0; }
.ct-tablewrap { max-height: 420px; overflow: auto; border: 1px solid var(--or-line); border-radius: 12px; background: #fff; -webkit-overflow-scrolling: touch; }
.ct-tablewrap--tall { max-height: 640px; }
.ct-tablewrap .or-table { margin: 0; }
.ct-table { width: 100%; font-size: .9rem; }
.ct-table th { position: sticky; top: 0; background: #f8fafc; z-index: 1; white-space: nowrap; }
.ct-table td { white-space: nowrap; }
.ct-table td:first-child { white-space: normal; min-width: 160px; }
.ct-table th:first-child, .ct-table td:first-child { text-align: left; }
.ct-table td a { color: var(--or-primary-700); text-decoration: underline; text-underline-offset: 2px; }
.ct-sortable th[data-sort] { cursor: pointer; user-select: none; }
.ct-sortable th[aria-sort="ascending"]::after { content: " ▲"; font-size: .7em; }
.ct-sortable th[aria-sort="descending"]::after { content: " ▼"; font-size: .7em; }

/* liste */
.ct-list { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.ct-list--cols { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ct-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; }
.ct-list li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--or-primary); margin-top: 3px; }
.ct-list small { color: var(--or-muted); margin-left: 4px; }
.ct-near { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ct-near a { text-decoration: none !important; color: inherit !important; display: block; background: #fff; border: 1px solid var(--or-line); border-radius: 12px; padding: 10px 14px; }
.ct-near a:hover { border-color: var(--or-primary); }
.ct-near strong { display: block; color: var(--or-ink); }
.ct-near span { font-size: .84rem; color: var(--or-muted); }

/* lista orașului */
.ct-tops { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ct-top { background: #fff; border: 1px solid var(--or-line); border-radius: var(--or-radius); padding: 14px 16px; }
.ct-top h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 800; color: var(--or-ink); }
.ct-top ol { margin: 0; padding-left: 20px; }
.ct-top li { margin: 4px 0; }
.ct-top li span { color: var(--or-muted); font-size: .86rem; }
.ct-others a { color: var(--or-primary-700); }
