/* /city/{slug}, /profession/{slug} and other tag listings. Loaded only there. */
:root {
    --l-ivory: #fbf6ef;
    --l-ivory-2: #f4e9dc;
    --l-gold: #c9a24b;
    --l-plum: #26101c;
    --l-jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23b0124a' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M28 4l24 24-24 24L4 28z'/%3E%3Ccircle cx='28' cy='28' r='9'/%3E%3Cpath d='M0 0l56 56M56 0L0 56'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme="dark"] { --l-ivory: #1d1219; --l-ivory-2: #241520; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --l-ivory: #1d1219; --l-ivory-2: #241520; } }

/* ---------------------------------------------------------------- Hero */
.l-hero { position: relative; overflow: hidden; padding: 20px 0 44px; border-bottom: 1px solid var(--line);
    background: var(--l-jaali), radial-gradient(700px 320px at 90% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%), linear-gradient(180deg, var(--l-ivory), var(--l-ivory-2)); }
.l-hero .breadcrumbs { margin-bottom: 26px; }
.l-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .l-hero-grid { grid-template-columns: 1fr 360px; gap: 56px; } }
.l-hero-main { display: grid; gap: 22px; align-items: center; }
@media (min-width: 640px) { .l-hero-main { grid-template-columns: auto 1fr; gap: 32px; } }

.l-arch { position: relative; display: grid; place-items: center; width: 128px; height: 160px; border-radius: 999px 999px 22px 22px; flex-shrink: 0;
    background: radial-gradient(120px 90px at 50% 20%, #7a1c47, transparent 75%), var(--l-plum); border: 2px solid var(--l-gold);
    box-shadow: inset 0 0 0 6px var(--l-plum), inset 0 0 0 7px rgba(201, 162, 75, .55), 0 24px 40px -22px rgba(60, 8, 32, .6); }
.l-arch > span { font-family: var(--font-display); font-weight: 600; font-size: 4rem; line-height: 1; color: #f3dfae; transform: translateY(6px); }
.l-arch > i { position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; display: grid; place-items: center;
    border-radius: 999px; background: var(--brand); color: #fff; font-size: .8rem; box-shadow: 0 0 0 4px var(--l-ivory); }
@media (max-width: 639px) { .l-arch { width: 92px; height: 116px; } .l-arch > span { font-size: 2.8rem; } }

.l-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.l-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.l-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 14px; }
.l-title em { font-style: italic; color: var(--brand); }
.l-lede { color: var(--ink-500); font-size: 1.05rem; line-height: 1.7; margin: 0 0 20px; max-width: 620px; }
.l-lede strong { color: var(--ink-800); }
.l-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.l-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-500); }
.l-facts i { color: var(--l-gold); }
.l-facts strong { color: var(--ink-900); }

.l-cross { padding: 22px 22px 14px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(80, 10, 40, .35); }
.l-cross h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.l-cross ul { list-style: none; margin: 0; padding: 0; }
.l-cross li + li { border-top: 1px dashed var(--line); }
.l-cross a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; color: var(--ink-800); font-weight: 600; }
.l-cross a:hover { text-decoration: none; color: var(--brand); }
.l-cross a > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-cross-n { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: .78rem; font-weight: 700; text-align: center; }
.l-cross-go { color: var(--ink-400); font-size: .75rem; transition: transform .2s; }
.l-cross a:hover .l-cross-go { transform: translateX(3px); color: var(--brand); }

/* ------------------------------------------------------- Sticky toolbar */
.l-bar { position: relative; background: var(--surface);
    border-bottom: 1px solid var(--line); }
.l-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.l-seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface-2, var(--l-ivory)); border: 1px solid var(--line); }
.l-seg a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink-600, var(--ink-500)); }
.l-seg a:hover { text-decoration: none; color: var(--ink-900); }
.l-seg a span { font-size: .75rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--line); color: var(--ink-500); }
.l-seg a[aria-current] { background: var(--brand); color: #fff; box-shadow: 0 6px 14px -8px var(--brand); }
.l-seg a[aria-current] span { background: rgba(255, 255, 255, .22); color: #fff; }
.l-count { margin: 0; font-size: .9rem; color: var(--ink-500); }
.l-count strong { color: var(--ink-900); }
@media (max-width: 520px) { .l-count { display: none; } .l-seg { width: 100%; } .l-seg a { flex: 1; justify-content: center; padding-inline: 10px; } }

/* ------------------------------------------------------------- Results */
.l-results { padding-top: 28px; }

.l-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 36px; }
.l-pg { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-800); font-weight: 700; font-size: .92rem; }
a.l-pg:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
.l-pg[aria-current] { background: var(--l-plum); border-color: var(--l-plum); color: #f3dfae; }
:root[data-theme="dark"] .l-pg[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .l-pg[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; } }
.l-pg-gap { border: 0; background: none; min-width: 20px; padding: 0; color: var(--ink-400); }
.l-pg-step { padding: 0 18px; }
@media (max-width: 520px) { .l-pg-step span { display: none; } .l-pg-step { padding: 0 12px; } }

.l-empty { text-align: center; padding: 48px 20px 56px; border-radius: 28px; border: 1px dashed var(--line); background: var(--l-jaali), var(--surface); }
.l-empty .l-arch { margin: 0 auto 22px; }
.l-arch-sm { width: 80px; height: 100px; }
.l-arch-sm > span { font-size: 2.4rem; }
.l-empty h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin: 0 0 8px; }
.l-empty p { color: var(--ink-500); max-width: 460px; margin: 0 auto 20px; }

/* ------------------------------------------------------------- Related */
.l-related { padding-bottom: 56px; }
.l-related .container { padding-top: 28px; border-top: 1px solid var(--line); }
.l-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.l-related-head h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.l-related-head a { font-weight: 700; font-size: .9rem; }
.l-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.l-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 10px 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-800); font-weight: 600; font-size: .92rem; transition: border-color .2s, transform .2s; }
.l-chips a:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.l-chips span { padding: 1px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: .75rem; font-weight: 700; }
@media (max-width: 979px) { .l-cross li:nth-child(n+5) { display: none; } }
