/* /categories — browse hub. Loaded only on this page. */
:root {
    --c-ivory: #fbf6ef;
    --c-ivory-2: #f6ede2;
    --c-gold: #c9a24b;
    --c-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"] { --c-ivory: #1d1219; --c-ivory-2: #24161f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --c-ivory: #1d1219; --c-ivory-2: #24161f; } }

.c-hero { background: var(--c-jaali), linear-gradient(180deg, var(--c-ivory), var(--c-ivory-2)); border-bottom: 1px solid var(--line); padding: 20px 0 40px; }
.c-hero-grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .c-hero-grid { grid-template-columns: 1fr 380px; gap: 56px; } }
.c-hero .breadcrumbs { margin-bottom: 24px; }
.c-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); }
.c-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.c-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 14px; max-width: 760px; }
.c-title em { color: var(--brand); }
.c-lede { color: var(--ink-500); font-size: 1.08rem; max-width: 600px; margin: 0 0 22px; line-height: 1.7; }
.c-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.c-stats li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; color: var(--ink-500); }
.c-stats strong { color: var(--ink-900); margin-right: 4px; }
.c-stats li:has(a) { padding: 0; }
.c-stats a { display: block; padding: 8px 14px; border-radius: inherit; color: inherit; }
.c-stats a:hover { text-decoration: none; color: var(--brand); }
.c-stats li:hover { border-color: var(--brand-200); }
.c-all-btn { margin-top: 18px; }
.c-quick { padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 48px -26px rgba(80, 10, 40, .35); display: grid; gap: 14px; }
.c-quick h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }

.c-jump { position: sticky; top: var(--header-h); z-index: 40; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.c-jump .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.c-jump .container::-webkit-scrollbar { display: none; }
.c-jump a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: var(--ink-700); font-weight: 600; font-size: .88rem; border: 1px solid var(--line); background: var(--surface); }
.c-jump a i { color: var(--brand); }
.c-jump a span { font-size: .72rem; padding: 1px 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink-500); }
.c-jump a:hover { border-color: var(--brand-200); text-decoration: none; color: var(--ink-900); }
.c-jump a.c-jump-all { background: var(--brand); border-color: var(--brand); color: #fff; }
.c-jump a.c-jump-all i { color: #fff; }
.c-jump a.c-jump-all span { background: rgba(255, 255, 255, .22); color: #fff; }
.c-jump a.c-jump-all:hover { color: #fff; filter: brightness(1.05); }

.c-body { padding-top: 36px; padding-bottom: 56px; }
.c-section, .c-card { scroll-margin-top: calc(var(--header-h) + 70px); }
.c-section { margin-bottom: 40px; }
.c-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.c-section-head h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.c-section-head p { margin: 2px 0 0; color: var(--ink-500); font-size: .9rem; }
.c-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 999px 999px 12px 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); border: 1.5px solid var(--c-gold); }

.c-cities { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .c-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .c-cities { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.c-city { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 18px 8px 14px; border-radius: 120px 120px 18px 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-900); transition: transform .2s, box-shadow .2s, border-color .2s; }
.c-city:hover { text-decoration: none; color: var(--ink-900); transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--brand-200); }
.c-city-arch { display: grid; place-items: center; width: 54px; height: 66px; margin-bottom: 8px; padding-top: 6px; border-radius: 999px 999px 10px 10px; background: linear-gradient(160deg, var(--brand-50), var(--brand-100)); border: 1.5px solid var(--c-gold); font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--brand); }
.c-city:hover .c-city-arch { background: var(--brand); color: #fff; }
.c-city-name { font-weight: 700; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.c-city-count { font-size: .8rem; color: var(--ink-500); }
.c-more-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.c-cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .c-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .c-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.c-card { padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); align-self: start; }
.c-card .c-section-head h2 { font-size: 1.2rem; }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.c-list a { display: grid; grid-template-columns: minmax(0, 1fr) 70px 34px; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink-800); font-weight: 600; font-size: .93rem; }
.c-list a:hover { background: var(--surface-2); color: var(--brand); text-decoration: none; }
.c-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.c-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--c-gold)); }
.c-count { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-500); font-size: .85rem; }
.c-all { margin-top: 6px; }
.c-all > summary { list-style: none; cursor: pointer; padding: 8px 10px; font-weight: 700; font-size: .88rem; color: var(--brand); }
.c-all > summary::-webkit-details-marker { display: none; }
.c-all > summary::after { content: " +"; }
.c-all[open] > summary::after { content: " –"; }
@media (min-width: 960px) { body.hdr-blend .c-jump { top: 68px; } }
