/*
 * Mandsaur City Portal — design system v2
 * Desktop (>= 992px): editorial magazine layout with a single sticky glass header.
 * Phone / small tablet (< 992px): app-style layout with an app bar and bottom tab bar (PWA).
 * No build step: this file is served as-is.
 */
:root {
    /* Brand: saffron from the temple town */
    --brand-50: #fff7ed;
    --brand-100: #ffedd5;
    --brand-200: #fed7aa;
    --brand-400: #fb923c;
    --brand: #ea580c;
    --brand-dark: #c2410c;
    --brand-soft: var(--brand-50);
    --brand-grad: linear-gradient(135deg, #fb923c 0%, #f97316 38%, #ea580c 72%, #c2410c 100%);

    /* Neutrals with a slight cool bias */
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e7ebf0;
    --line-2: #f1f4f7;
    --canvas: #f6f7f9;
    --surface: #ffffff;
    --soft: #f1f5f9;
    --night: #0b1626;
    --night-2: #13223a;
    --app-bg: #f4f5f8;

    /* Status */
    --up: #15803d;
    --up-soft: #ecfdf3;
    --down: #dc2626;
    --down-soft: #fef2f2;
    --star: #f59e0b;
    --wa: #16a34a;
    --wa-soft: #ecfdf3;

    /* Shape */
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --radius: var(--r);

    /* Depth */
    --sh-1: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 1px rgba(15, 23, 42, .03);
    --sh-2: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -14px rgba(15, 23, 42, .22);
    --sh-3: 0 2px 6px rgba(15, 23, 42, .05), 0 24px 48px -20px rgba(15, 23, 42, .32);
    --sh-brand: 0 10px 24px -10px rgba(234, 88, 12, .6);
    --ring: 0 0 0 4px rgba(249, 115, 22, .18);

    --font-head: "Mukta", "Hind", "Nirmala UI", system-ui, sans-serif;
    --font-body: "Hind", "Mukta", "Nirmala UI", system-ui, sans-serif;
    --tabbar-h: 64px;
    --header-h: 72px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ============ Base ============ */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font-body); color: var(--ink-2); background: var(--surface); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, .font-head { font-family: var(--font-head); font-weight: 700; line-height: 1.28; color: var(--ink); letter-spacing: -.005em; }
a { color: inherit; text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--brand); }
img { max-width: 100%; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(249, 115, 22, .55); outline-offset: 2px; border-radius: 6px; }
.text-muted-2 { color: var(--muted) !important; }
.text-brand { color: var(--brand) !important; }
.bg-soft { background: var(--canvas); }
.tabular { font-variant-numeric: tabular-nums; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--sh-2); }
.skip-link:focus { left: 8px; }
.container { --bs-gutter-x: 2rem; }
.sample-tag { font-size: 10.5px; letter-spacing: .08em; font-weight: 700; color: #92400e; background: #fef3c7; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }

/* ============ Buttons ============ */
.btn {
    --bs-btn-border-radius: 12px;
    --bs-btn-font-weight: 600;
    --bs-btn-padding-y: .62rem;
    --bs-btn-padding-x: 1.1rem;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font-head); letter-spacing: .005em; line-height: 1.2;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn i { font-size: 1.05em; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { --bs-btn-border-radius: 10px; --bs-btn-padding-y: .42rem; --bs-btn-padding-x: .8rem; font-size: .875rem; }
.btn-lg { --bs-btn-border-radius: 14px; --bs-btn-padding-y: .85rem; --bs-btn-padding-x: 1.45rem; font-size: 1.02rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; flex: 0 0 44px; border-radius: 12px; font-size: 1.15rem; }

.btn-brand { background: var(--brand-grad); border: 0; color: #fff; box-shadow: var(--sh-brand); }
.btn-brand:hover, .btn-brand:focus-visible { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(234, 88, 12, .7); filter: saturate(1.08); }
.btn-brand:active, .btn-brand.active { color: #fff !important; background: var(--brand-dark) !important; }
.btn-soft, .btn-outline-brand { background: var(--brand-50); color: var(--brand-dark); border: 1px solid var(--brand-100); }
.btn-soft:hover, .btn-outline-brand:hover { background: var(--brand-100); color: var(--brand-dark); border-color: var(--brand-200); }
.btn-outline-brand:active { background: var(--brand-100) !important; color: var(--brand-dark) !important; }
.btn-wa { background: var(--wa-soft); color: var(--up); border: 1px solid #c7f0d6; }
.btn-wa:hover, .btn-wa:focus-visible { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:active { background: #15803d !important; color: #fff !important; }
.btn-outline-secondary, .btn-neutral { background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.btn-outline-secondary:hover, .btn-neutral:hover { background: var(--soft); color: var(--ink); border-color: #dbe2ea; }
.btn-outline-secondary:active { background: var(--soft) !important; color: var(--ink) !important; border-color: #dbe2ea !important; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-link { color: var(--muted); }

/* Forms */
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .62rem .95rem; color: var(--ink); background-color: #fff; }
.form-control-lg, .form-select-lg { border-radius: 14px; padding: .8rem 1.05rem; font-size: 1.02rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand-400); box-shadow: var(--ring); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { box-shadow: var(--ring); border-color: var(--brand-400); }

.pagination { --bs-pagination-border-radius: 12px; gap: 6px; }
.pagination .page-link { border-radius: 12px !important; border: 1px solid var(--line); color: var(--ink); min-width: 42px; text-align: center; font-weight: 600; }
.pagination .page-link:hover { background: var(--brand-50); color: var(--brand-dark); border-color: var(--brand-100); }
.pagination .active > .page-link, .pagination .page-link.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-link:focus { box-shadow: var(--ring); }

/* ============ Desktop chrome ============ */
.topbar { background: var(--night); color: #9fb1c4; font-size: 13px; }
.topbar .container { min-height: 36px; }
.topbar i { margin-right: 4px; opacity: .8; }
.topbar a { color: #dbe5ef; }
.topbar a:hover { color: #fff; }
.topbar .sep { width: 1px; height: 12px; background: #2a3c52; display: inline-block; }
.topbar-rate b { color: #fff; margin-left: 2px; }
.topbar .rate-up { color: #4ade80; font-weight: 600; }
.topbar .rate-down { color: #fb7185; font-weight: 600; }
.lang-switch { display: inline-flex; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 2px; }
.lang-switch > * { padding: 0 8px; border-radius: 999px; }
.lang-switch b { background: #fff; color: var(--night); }

.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(15, 23, 42, .06); }
.site-header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { width: 44px; height: 44px; border-radius: 13px; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 25px; line-height: 1; padding-top: 4px; flex: 0 0 auto; box-shadow: var(--sh-brand); }
.logo-text b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 25px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.logo-text small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.logo:hover .logo-text b { color: var(--ink); }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .dropdown-menu { list-style: none; }
.nav-pill { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink-2); }
.nav-pill:hover { background: var(--soft); color: var(--ink); }
.nav-pill.active { background: var(--brand-50); color: var(--brand-dark); }
.nav-pill.dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: 11px; vertical-align: 0; margin-left: 2px; opacity: .6; }
.main-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 8px; margin-top: 10px !important; min-width: 220px; }
.main-nav .dropdown-item { border-radius: 10px; padding: 8px 12px; display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink-2); }
.main-nav .dropdown-item:hover, .main-nav .dropdown-item:focus { background: var(--brand-50); color: var(--brand-dark); }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cat); flex: 0 0 8px; }
.mega { width: min(780px, calc(100vw - 32px)); padding: 18px !important; position: absolute; top: calc(100% - 6px) !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; margin: 0 !important; }
.mega-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 6px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.mega-head b { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.mega-head small { color: var(--muted); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-cat { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; }
.mega-cat i { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); font-size: 18px; flex: 0 0 38px; transition: background .15s, color .15s; }
.mega-cat span { font-weight: 600; color: var(--ink); line-height: 1.3; }
.mega-cat small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.mega-cat:hover { background: var(--soft); }
.mega-cat:hover i { background: var(--brand); color: #fff; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-search { position: relative; display: flex; align-items: center; }
.header-search i { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.header-search input { width: 230px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); padding: 0 16px 0 40px; color: var(--ink); transition: width .25s var(--ease), background .2s, box-shadow .2s, border-color .2s; outline: none; }
.header-search input:focus { width: 300px; background: #fff; border-color: var(--brand-400); box-shadow: var(--ring); }
.icon-pill { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--soft); color: var(--ink); font-size: 17px; flex: 0 0 44px; }
.icon-pill.sos { background: var(--down-soft); color: var(--down); }
.icon-pill.sos:hover, .icon-pill.sos.active { background: var(--down); color: #fff; }

/* Ticker */
.ticker { background: var(--surface); border-bottom: 1px solid var(--line-2); font-size: 14.5px; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.ticker-label { display: inline-flex; align-items: center; gap: 8px; background: var(--down-soft); color: var(--down); font-family: var(--font-head); font-weight: 700; font-size: 13.5px; padding: 3px 12px 2px; border-radius: 999px; white-space: nowrap; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--down); box-shadow: 0 0 0 0 rgba(220, 38, 38, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); } }
.ticker-window { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: ticker 50s linear infinite; padding-left: 16px; }
.ticker-track a { color: var(--ink-2); font-weight: 500; }
.ticker-track a::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-right: 12px; vertical-align: 3px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Section heads ============ */
.section { padding-block: 64px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-dark); font-weight: 700; margin-bottom: 6px; }
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px var(--brand-100); }
.sec-head .sec-title { font-size: 32px; margin: 0; font-weight: 800; letter-spacing: -.02em; }
.sec-more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .15s, color .15s, gap .15s; }
.sec-more:hover { background: var(--ink); color: #fff; gap: 10px; }
.bg-night { background: radial-gradient(900px 400px at 10% 0%, rgba(234, 88, 12, .18), transparent 60%), var(--night); color: #d6e0ea; }
.bg-night .sec-title { color: #fff; }
.bg-night .kicker { color: #fdba74; }
.bg-night .kicker-dot { box-shadow: 0 0 0 4px rgba(249, 115, 22, .25); }
.bg-night .sec-more { background: rgba(255, 255, 255, .1); color: #fff; }
.bg-night .sec-more:hover { background: #fff; color: var(--ink); }

/* Category badge & meta */
.cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--cat, #475569); background: color-mix(in srgb, var(--cat, #475569) 12%, #fff); padding: 3px 10px 2px; border-radius: 999px; line-height: 1.5; }
.cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cat, #475569); }
.overlay .cat { background: rgba(255, 255, 255, .92); color: var(--ink); }
.meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.meta i { margin-right: 4px; }
.overlay .meta { color: rgba(255, 255, 255, .86); }

/* Media */
.thumb { display: block; overflow: hidden; border-radius: var(--r); background: var(--soft); position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
a:hover .thumb img, a.thumb:hover img { transform: scale(1.05); }
.thumb .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 46px; color: var(--brand); background: radial-gradient(circle at 30% 20%, #fff, var(--brand-100)); }
.ratio-16x10 { aspect-ratio: 16 / 10; } .ratio-4x3 { aspect-ratio: 4 / 3; } .ratio-1x1 { aspect-ratio: 1; }

.overlay { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); color: #fff; background: var(--night); isolation: isolate; }
.overlay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.overlay img, .thumb img, .biz-media img, .event-media img, .detail-hero img { color: transparent; }
.overlay:hover { color: #fff; }
.overlay:hover img { transform: scale(1.045); }
.overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 15, 26, 0) 30%, rgba(8, 15, 26, .55) 62%, rgba(8, 15, 26, .92) 100%); }
.overlay .ov-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 1; }
.overlay h2, .overlay h3, .overlay h4 { color: #fff; margin: 12px 0 8px; text-wrap: balance; }

/* Hero */
.hero { padding-top: 28px; }
.hero-main { height: 500px; border-radius: var(--r-xl); }
.hero-main .ov-body { padding: 34px; }
.hero-main h2 { font-size: 36px; font-weight: 800; max-width: 760px; letter-spacing: -.02em; line-height: 1.2; }
.hero-side { height: 242px; }
.hero-side h4 { font-size: 19px; }
.hero .carousel-indicators { position: static; margin: 14px 0 0; justify-content: flex-start; gap: 12px; }
.hero .carousel-indicators [data-bs-target] { width: auto; height: auto; text-indent: 0; border: 0; margin: 0; opacity: 1; background: none; flex: 1; text-align: left; font-size: 13.5px; line-height: 1.4; padding: 0; color: var(--muted); font-family: var(--font-head); font-weight: 600; position: relative; }
.hero .carousel-indicators [data-bs-target]::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--line); margin-bottom: 8px; }
.hero .carousel-indicators .active { color: var(--ink); }
.hero .carousel-indicators .active::before { background: var(--brand-grad); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 46px; height: 46px; top: 24px; bottom: auto; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); opacity: 1; }
.hero .carousel-control-prev:hover, .hero .carousel-control-next:hover { background: rgba(255, 255, 255, .3); }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }
.hero .carousel-control-prev { left: auto; right: 78px; } .hero .carousel-control-next { right: 24px; }

/* Quick services */
.services { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.service { --hue: #ea580c; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px 18px; border-radius: var(--r-lg); text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 15px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.service i { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; font-size: 24px; color: var(--hue); background: color-mix(in srgb, var(--hue) 11%, #fff); transition: transform .25s var(--ease), background .2s, color .2s; }
.service small { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: -6px; }
.service:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; color: var(--ink); }
.service:hover i { background: var(--hue); color: #fff; transform: scale(1.06) rotate(-4deg); }
.services .service:nth-child(1) { --hue: #e11d48; }
.services .service:nth-child(2) { --hue: #0891b2; }
.services .service:nth-child(3) { --hue: #7c3aed; }
.services .service:nth-child(4) { --hue: #2563eb; }
.services .service:nth-child(5) { --hue: #16a34a; }
.services .service:nth-child(6) { --hue: #0d9488; }
.services .service:nth-child(7) { --hue: #ea580c; }
.services .service.sos { --hue: #dc2626; }

/* Tabs */
.pill-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; border: 0; background: var(--soft); padding: 4px; border-radius: 999px; }
.pill-tabs .nav-link { border: 0; border-radius: 999px; padding: 6px 16px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; background: transparent; white-space: nowrap; font-family: var(--font-head); }
.pill-tabs .nav-link:hover { color: var(--ink); }
.pill-tabs .nav-link.active { background: #fff; color: var(--ink); box-shadow: var(--sh-1), 0 2px 6px -2px rgba(15, 23, 42, .15); }
.line-tabs { border-bottom: 1px solid var(--line); gap: 6px; flex-wrap: nowrap; overflow-x: auto; }
.line-tabs .nav-link { border: 0; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 3px solid transparent; border-radius: 0; background: none; white-space: nowrap; font-family: var(--font-head); }
.line-tabs .nav-link.active { color: var(--ink); border-bottom-color: var(--brand); }

/* Post blocks */
.post-big .thumb { border-radius: var(--r-lg); }
.post-big h3 { font-size: 26px; font-weight: 800; margin: 14px 0 8px; letter-spacing: -.015em; }
.post-big p { color: var(--ink-2); }
.post-mini { display: flex; gap: 14px; align-items: flex-start; padding: 10px; margin: 0 -10px; border-radius: var(--r); transition: background .15s; }
.post-mini:hover { background: var(--canvas); color: inherit; }
.post-mini:hover h6 { color: var(--brand-dark); }
.post-mini .thumb { flex: 0 0 108px; height: 78px; border-radius: 12px; }
.post-mini h6 { font-size: 15.5px; margin: 0 0 6px; line-height: 1.4; transition: color .15s; }
.post-mini + .post-mini { margin-top: 4px; }
.post-row { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: center; padding: 14px; margin: 0 -14px; border-radius: var(--r-lg); transition: background .2s, box-shadow .2s; }
.post-row:hover { background: #fff; box-shadow: var(--sh-2); }
.post-row + .post-row { margin-top: 10px; }
.post-row .thumb { border-radius: var(--r); }
.post-row h4 { font-size: 22px; margin: 10px 0 8px; font-weight: 700; letter-spacing: -.01em; }
.post-row h4 a:hover { color: var(--brand-dark); }
.post-row p { color: var(--ink-2); margin-bottom: 8px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--brand-dark); }
.read-more:hover { gap: 10px; }

/* Widgets */
.widget { border-radius: var(--r-lg); padding: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.widget + .widget { margin-top: 22px; }
.widget-title { font-family: var(--font-head); font-size: 18px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.widget-title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--brand-grad); flex: 0 0 10px; transform: rotate(45deg); }
.widget-title .push { margin-left: auto; }
.mandi-mini { width: 100%; font-size: 15px; border-collapse: separate; border-spacing: 0 4px; }
.mandi-mini td { padding: 9px 10px; background: var(--canvas); }
.mandi-mini td:first-child { border-radius: 10px 0 0 10px; }
.mandi-mini td:last-child { border-radius: 0 10px 10px 0; }
.up { color: var(--up); font-weight: 600; } .down { color: var(--down); font-weight: 600; } .flat { color: var(--muted); }
.sos-list a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; }
.sos-list a:hover { background: var(--down-soft); color: inherit; }
.sos-list a + a { margin-top: 2px; }
.sos-list i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--down-soft); color: var(--down); flex: 0 0 38px; }
.sos-list b { font-family: var(--font-head); font-size: 18px; margin-left: auto; color: var(--down); font-variant-numeric: tabular-nums; }
.ad-box { border-radius: var(--r-lg); background: repeating-linear-gradient(135deg, var(--canvas) 0 12px, #eef1f5 12px 24px); border: 1px dashed #cfd6df; text-align: center; padding: 36px 16px; color: var(--muted); }
.ad-box b { display: block; font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid .thumb { aspect-ratio: 1; border-radius: 12px; }
.event-item { display: flex; gap: 14px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 12px; }
.event-item:hover { background: var(--canvas); }
.event-item + .event-item { margin-top: 4px; }
.event-date { flex: 0 0 54px; text-align: center; border-radius: 14px; overflow: hidden; background: var(--brand-50); color: var(--brand-dark); padding: 6px 0 4px; }
.event-date b { display: block; font-family: var(--font-head); font-size: 22px; line-height: 1.05; }
.event-date small { display: block; font-size: 12px; font-weight: 600; }

/* Explore band */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.hscroll > * { scroll-snap-align: start; }
.place-card { height: 360px; }
.place-card h4 { font-size: 22px; }
.km-tag { position: absolute; top: 16px; right: 16px; z-index: 1; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 11px; }

/* Business cards */
.biz-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.biz-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }
.biz-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.biz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.biz-card:hover .biz-media img { transform: scale(1.06); }
.biz-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 15, 26, .25) 0%, transparent 28%, transparent 62%, rgba(8, 15, 26, .45) 100%); pointer-events: none; }
.biz-media .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; color: var(--brand); background: radial-gradient(circle at 30% 25%, #fff 0%, var(--brand-100) 70%, var(--brand-200) 100%); }
.featured-tag { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: rgba(15, 23, 42, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fde68a; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; }
.biz-cat { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; box-shadow: var(--sh-1); }
.biz-cat i { color: var(--brand); }
.biz-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.biz-name { font-size: 18px; margin: 0; line-height: 1.35; }
.biz-name a:hover { color: var(--brand-dark); }
.biz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; color: var(--muted); }
.biz-meta i { margin-right: 3px; }
.rate-pill { display: inline-flex; align-items: center; gap: 4px; background: #fffbeb; color: #b45309; border: 1px solid #fde68a; font-weight: 700; padding: 1px 8px; border-radius: 999px; font-size: 13px; }
.rate-pill i { color: var(--star); margin: 0; font-size: 12px; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.open-state { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--up); }
.open-state .pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.open-state.is-closed { color: var(--down); }
.biz-actions-row { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.biz-actions-row .btn-brand { flex: 1; }
.stars { color: var(--star); font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.verified { color: #2563eb; font-size: .85em; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; border-radius: 999px; padding: 3px 11px; color: var(--ink-2); background: var(--soft); font-weight: 500; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chips a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 600; font-size: 14.5px; background: #fff; color: var(--ink); box-shadow: var(--sh-1); font-family: var(--font-head); transition: background .15s, color .15s, border-color .15s, transform .15s; }
.cat-chips a i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin: 0; font-size: 15px; transition: background .15s, color .15s; }
.cat-chips a:hover { border-color: var(--brand-200); color: var(--brand-dark); transform: translateY(-1px); }
.cat-chips a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chips a.active i { background: rgba(255, 255, 255, .14); color: #fff; }
.cat-chips a:not(:has(i)) { padding-left: 16px; }
.rating-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--up); color: #fff; border-radius: 8px; padding: 1px 9px; font-weight: 700; font-size: 14px; }

/* Directory list */
.biz-row { display: grid; grid-template-columns: 230px 1fr 180px; gap: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; background: #fff; box-shadow: var(--sh-1); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .2s; }
.biz-row:hover { box-shadow: var(--sh-3); border-color: transparent; transform: translateY(-2px); }
.biz-row + .biz-row { margin-top: 16px; }
.biz-row .thumb { height: 158px; border-radius: var(--r); }
.biz-row .featured-tag { top: 10px; left: 10px; }
.biz-row h3 { font-size: 21px; margin: 4px 0; }
.biz-row h3 a:hover { color: var(--brand-dark); }
.biz-row .actions { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.biz-row.is-featured { background: linear-gradient(180deg, #fffaf3, #fff 40%); border-color: #fde7c7; }
.open-now { color: var(--up); font-weight: 600; }
.open-now.is-closed { color: var(--down); }
.filter-box .form-check { margin-bottom: 8px; }
.filter-box h6 { font-size: 14px; margin: 20px 0 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.filter-box h6:first-child { margin-top: 0; }

/* Page header */
.page-head { background: var(--night); color: #d6e0ea; padding-block: 56px; position: relative; overflow: hidden; isolation: isolate; }
.page-head .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: -1; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 300px at 0% 0%, rgba(234, 88, 12, .28), transparent 60%), linear-gradient(180deg, rgba(11, 22, 38, .2), rgba(11, 22, 38, .85)); }
.page-head h1, .page-head .h1 { color: #fff; font-size: 44px; font-weight: 800; margin: 8px 0 10px; letter-spacing: -.02em; }
.page-head .crumb { font-size: 14px; color: #9fb0c2; }
.page-head .crumb a { color: #dbe5ef; }
.page-head .crumb i { font-size: 10px; margin: 0 6px; }
.page-head p { color: #c3cfdb; max-width: 640px; margin: 0; font-size: 17px; }
.page-head form .form-control, .page-head form .form-select { border: 0; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--brand-dark); }
.crumbs i { font-size: 10px; margin: 0 6px; }

/* Article */
.article h1 { font-size: 40px; font-weight: 800; line-height: 1.22; margin: 16px 0; letter-spacing: -.02em; text-wrap: balance; }
.article .lead-text { font-size: 19px; color: var(--ink-2); border-left: 4px solid var(--brand); padding: 4px 0 4px 18px; background: linear-gradient(90deg, var(--brand-50), transparent 60%); border-radius: 0 12px 12px 0; }
.article .body { color: var(--ink); }
.article .body p { font-size: 18.5px; line-height: 1.9; margin-bottom: 1.2em; }
.article .body ul, .article .body ol { font-size: 18px; line-height: 1.85; padding-left: 1.3em; margin-bottom: 1.2em; }
.article .body li { margin-bottom: 6px; }
.article .body li::marker { color: var(--brand); }
.article .body h3 { font-size: 25px; margin: 34px 0 12px; }
.article figure .thumb { border-radius: var(--r-lg); }
.article figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.share-row a, .share-row button { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--ink); background: #fff; padding: 0; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.share-row a:hover, .share-row button:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-grad); color: #fff; font-family: var(--font-head); font-weight: 800; flex: 0 0 46px; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 18px); }

/* Listing detail */
.gallery-main { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 440px; }
.gallery-main .thumb { height: 100%; border-radius: var(--r-lg); }
.gallery-main .thumb:first-child { grid-row: 1 / 3; }
.gallery-main.single { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 380px; }
.biz-title h1 { font-size: 36px; font-weight: 800; margin: 4px 0 8px; letter-spacing: -.02em; }
.biz-actions .btn-lg { padding-inline: 1.3rem; }
.hours-table td { padding: 8px 6px; }
.hours-table tr + tr td { border-top: 1px dashed var(--line); }
.hours-table tr.today td { font-weight: 700; color: var(--brand-dark); background: var(--brand-50); }
.hours-table tr.today td:first-child { border-radius: 10px 0 0 10px; }
.hours-table tr.today td:last-child { border-radius: 0 10px 10px 0; }
.review + .review { border-top: 1px solid var(--line-2); margin-top: 18px; padding-top: 18px; }
.rating-bars .bar { height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; flex: 1; }
.rating-bars .bar span { display: block; height: 100%; background: linear-gradient(90deg, #fbbf24, var(--star)); border-radius: 8px; }
.map-frame { border: 0; width: 100%; height: 230px; border-radius: var(--r); background: var(--soft); }

/* Mandi */
.mandi-select { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.mandi-select::-webkit-scrollbar { display: none; }
.mandi-select a { white-space: nowrap; border-radius: 999px; padding: 8px 18px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-family: var(--font-head); box-shadow: var(--sh-1); }
.mandi-select a:hover { border-color: var(--brand-200); color: var(--brand-dark); }
.mandi-select a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.stat-tile { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; background: #fff; height: 100%; box-shadow: var(--sh-1); }
.stat-tile .lbl { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.stat-tile .val { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; }
.rate-table { margin: 0; }
.rate-table thead th { background: var(--canvas); color: var(--muted); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding: 14px 16px; white-space: nowrap; }
.rate-table td { padding: 14px 16px; vertical-align: middle; font-variant-numeric: tabular-nums; border-color: var(--line-2); }
.rate-table tbody tr { transition: background .15s; }
.rate-table tbody tr:hover > * { background: #fffaf5; }
.crop-name { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.crop-dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); font-size: 14px; font-weight: 800; flex: 0 0 38px; }
.spark { width: 100%; height: 160px; display: block; }
.accordion { --bs-accordion-border-radius: var(--r-lg); --bs-accordion-inner-border-radius: var(--r-lg); --bs-accordion-border-color: var(--line); --bs-accordion-active-bg: var(--brand-50); --bs-accordion-active-color: var(--brand-dark); --bs-accordion-btn-focus-box-shadow: var(--ring); }
.accordion-button { font-weight: 700; color: var(--ink); }

/* Places */
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; gap: 18px; }
.place-grid .overlay:first-child { grid-column: span 2; grid-row: span 2; }
.place-grid .overlay:first-child h3 { font-size: 34px; }
.info-box { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-lg); padding: 20px 22px; color: var(--ink-2); }

/* Error pages */
.error-code { font-family: var(--font-head); font-weight: 800; font-size: 120px; line-height: 1; letter-spacing: -.04em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-search { max-width: 460px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 6px 6px 16px; box-shadow: var(--sh-2); }
.error-search input { border: 0; flex: 1; outline: none; min-width: 0; padding: 8px 0; }
.error-search button { border: 0; background: var(--brand-grad); color: #fff; width: 40px; height: 40px; border-radius: 12px; }

/* Footer */
.site-footer { background: var(--night); color: #9fb1c4; font-size: 15px; margin-top: 72px; padding-top: 1px; }
.footer-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: -1px; transform: translateY(-50%); margin-bottom: -40px; padding: 34px 38px; border-radius: var(--r-xl); background: radial-gradient(500px 200px at 100% 0%, rgba(255, 255, 255, .18), transparent 70%), var(--brand-grad); color: #fff; box-shadow: 0 30px 60px -30px rgba(194, 65, 12, .8); }
.footer-cta h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 2px 0 6px; letter-spacing: -.015em; }
.footer-cta p { margin: 0; color: #ffedd5; }
.footer-cta .btn-brand { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.footer-cta .btn-brand:hover { color: var(--brand-dark); }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kicker-light { color: #fff7ed; }
.kicker-light .kicker-dot { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 24px 48px; }
.footer-brand p { margin: 16px 0 18px; max-width: 360px; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer a { color: #cbd7e3; }
.site-footer a:hover { color: #fff; }
.site-footer .links { padding: 0; list-style: none; margin: 0; display: grid; gap: 10px; }
.site-footer .logo-text b { color: #fff; }
.site-footer .logo-text small { color: #7f93a8; }
.site-footer .social { display: flex; gap: 8px; }
.site-footer .social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--night-2); border: 1px solid #1d3048; transition: background .15s, transform .15s; }
.site-footer .social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.footer-sos { display: grid; gap: 8px; }
.footer-sos a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--night-2); border: 1px solid #1d3048; }
.footer-sos a:hover { border-color: #f87171; }
.footer-sos i { color: #f87171; }
.footer-sos b { margin-left: auto; color: #fff; font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.footer-bottom { border-top: 1px solid #1a2c42; font-size: 13.5px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ============ Mobile app chrome (hidden on desktop) ============ */
.appbar, .tabbar, .install-banner { display: none; }

/* Events */
.event-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }
.event-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.06); }
.event-media .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; color: #fff; background: radial-gradient(400px 200px at 80% 0%, rgba(255, 255, 255, .25), transparent 60%), var(--brand-grad); }
.event-badge { position: absolute; left: 14px; top: 14px; width: 56px; text-align: center; border-radius: 14px; background: #fff; color: var(--brand-dark); padding: 6px 0 5px; box-shadow: var(--sh-2); }
.event-badge b { display: block; font-family: var(--font-head); font-size: 24px; line-height: 1; color: var(--ink); }
.event-badge small { display: block; font-size: 12px; font-weight: 700; margin-top: 2px; }
.event-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.event-when, .event-where { display: flex; gap: 7px; align-items: baseline; font-size: 14px; color: var(--muted); }
.event-when { color: var(--brand-dark); font-weight: 600; }
.event-title { font-size: 19px; font-weight: 800; margin: 0; line-height: 1.35; }
.event-title a { color: var(--ink); }
.event-title a:hover { color: var(--brand-dark); }
.chip i { font-size: 12px; }
.chip-free { color: #15803d; background: #dcfce7; }
.chip-pay { color: #15803d; background: #f0fdf4; }
.chip-type { color: #1d4ed8; background: #eff6ff; }
.event-past { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink); height: 100%; }
.event-past:hover { border-color: var(--brand-200); }
.event-past .event-date { background: var(--soft); color: var(--muted); }

/* Detail pages (event, job) */
.detail-hero { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); box-shadow: var(--sh-2); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero .noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 72px; color: #fff; background: radial-gradient(600px 300px at 80% 0%, rgba(255, 255, 255, .25), transparent 60%), var(--brand-grad); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.facts li + li { border-top: 1px dashed var(--line); }
.facts i { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: var(--brand-dark); background: var(--brand-50); }
.facts small { display: block; font-size: 13px; color: var(--muted); }
.facts b { font-family: var(--font-head); color: var(--ink); font-size: 16px; }
.status-banner { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--r); background: #fef2f2; color: #b91c1c; font-weight: 600; border: 1px solid #fecaca; }
.sticky-aside { position: sticky; top: 96px; }

/* Jobs */
.job-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: transparent; }
.job-head { display: flex; gap: 14px; align-items: center; }
.job-logo { flex: 0 0 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--brand-dark); background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); }
.job-title { font-size: 19px; font-weight: 800; margin: 0; line-height: 1.3; }
.job-title a { color: var(--ink); }
.job-title a:hover { color: var(--brand-dark); }
.job-org { color: var(--muted); font-size: 14.5px; }
.job-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.job-dates { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.min-w-0 { min-width: 0; }

/* Pagination */
.site-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-btn, .page-num { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; min-width: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 15px; transition: border-color .15s, background .15s, color .15s; }
.page-btn i, .page-num i { font-size: 13px; }
a.page-btn:hover, a.page-num:hover { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-dark); }
.page-num.is-current { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: var(--sh-brand); }
.page-num.is-gap { border-color: transparent; background: transparent; min-width: 24px; padding: 0; }
.page-btn.is-disabled { opacity: .45; }
.site-pagination-info { text-align: center; color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.page-compact { display: none; font-family: var(--font-head); font-weight: 600; color: var(--ink-2); padding: 0 6px; }
@media (max-width: 575.98px) {
    .page-numbers { display: none; }
    .page-compact { display: inline-block; }
    .site-pagination { justify-content: space-between; }
    .footer-cta-actions { flex-direction: column; }
    .footer-cta-actions .btn { width: 100%; white-space: nowrap; }
}

.nav-pill, .logo-text, .header-actions .btn { white-space: nowrap; }
.header-search-icon { display: none; }

@media (max-width: 1399.98px) {
    .site-header-inner { gap: 14px; }
    .nav-pill { padding: 8px 10px; font-size: 15.5px; }
    .header-search input { width: 170px; }
    .header-search input:focus { width: 220px; }
}

@media (max-width: 1199.98px) {
    .header-search { display: none; }
    .header-search-icon { display: grid; }
    .header-actions .btn-brand .cta-label { display: none; }
    .header-actions .btn-brand { padding-inline: .75rem; }
    .nav-pill { padding: 8px 9px; font-size: 15px; }
    .logo-text small { display: none; }
}

@media (max-width: 991.98px) {
    body { background: var(--app-bg); padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }
    .topbar, .site-header { display: none !important; }

    .appbar { display: block; position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 12px; border-bottom: 1px solid rgba(15, 23, 42, .06); }
    .appbar-row { display: flex; align-items: center; gap: 10px; }
    .appbar .loc i { color: var(--brand); font-size: 20px; }
    .appbar .loc small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.1; }
    .appbar .loc b { font-family: var(--font-head); font-size: 18px; font-weight: 800; line-height: 1.1; color: var(--ink); }
    .appbar .icon-btn { margin-left: auto; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); border: 0; font-size: 18px; color: var(--ink); }
    .appbar .icon-btn + .icon-btn { margin-left: 0; }
    .appbar .avatar-btn { width: 42px; height: 42px; border-radius: 14px; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--sh-brand); }
    .appbar .back { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); font-size: 18px; color: var(--ink); }
    .appbar .title { font-family: var(--font-head); font-weight: 800; font-size: 19px; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
    .app-search { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 16px; padding: 5px 6px 5px 14px; margin-top: 10px; border: 1px solid transparent; transition: border-color .2s, box-shadow .2s, background .2s; }
    .app-search:focus-within { background: #fff; border-color: var(--brand-400); box-shadow: var(--ring); }
    .app-search input { border: 0; background: transparent; flex: 1; padding: 6px 0; min-width: 0; outline: none; color: var(--ink); }
    .app-search button { border: 0; background: var(--brand-grad); color: #fff; width: 36px; height: 36px; border-radius: 12px; }

    .ticker { font-size: 13.5px; background: transparent; border: 0; }
    .ticker-inner { min-height: 40px; }

    .tabbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 1040; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border: 1px solid rgba(15, 23, 42, .08); border-radius: 22px; padding: 6px; box-shadow: 0 18px 40px -16px rgba(15, 23, 42, .35); }
    .tabbar a { flex: 1; display: grid; justify-items: center; gap: 1px; font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 0 5px; border-radius: 16px; transition: background .15s, color .15s; }
    .tabbar a i { font-size: 20px; line-height: 1.1; }
    .tabbar a.active { color: var(--brand-dark); background: var(--brand-50); }
    .tabbar a.sos { color: var(--down); }
    .tabbar a.sos.active { background: var(--down-soft); }

    .install-banner:not([hidden]) { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 12px 14px; border-radius: 18px; background: var(--night); color: #fff; box-shadow: var(--sh-2); }
    .install-banner .logo-mark { width: 40px; height: 40px; font-size: 22px; border-radius: 12px; }
    .install-banner small { display: block; color: #a9b7c6; font-size: 12.5px; line-height: 1.3; }

    .section { padding-block: 30px; }
    .sec-head { margin-bottom: 16px; }
    .sec-head .sec-title { font-size: 23px; }
    .kicker { font-size: 10.5px; margin-bottom: 2px; }
    .sec-more { padding: 6px 12px; font-size: 13.5px; }
    .widget { border-radius: 20px; border: 0; box-shadow: var(--sh-2); }
    .hero { padding-top: 14px; }
    .hero-main { height: 380px; border-radius: 24px; }
    .hero-main .ov-body { padding: 22px; }
    .hero-main h2 { font-size: 25px; }
    .hero-side { height: 200px; border-radius: 20px; }
    .hero .carousel-indicators { display: none; }
    .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }

    /* App-style blocks only on mobile */
    .m-stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; }
    .m-stories::-webkit-scrollbar { display: none; }
    .m-stories a { flex: 0 0 66px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--ink); }
    .m-stories .ring { display: block; width: 64px; height: 64px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 200deg, #fbbf24, var(--brand), #c2410c, #fbbf24); margin-bottom: 6px; }
    .m-stories .ring span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: var(--brand-50); color: var(--brand); font-size: 22px; overflow: hidden; }
    .m-stories .ring img { width: 100%; height: 100%; object-fit: cover; }
    .m-mandi { display: block; position: relative; overflow: hidden; border-radius: 24px; padding: 18px; background: radial-gradient(300px 160px at 100% 0%, rgba(255, 255, 255, .25), transparent 70%), var(--brand-grad); color: #fff; box-shadow: 0 20px 36px -22px rgba(154, 52, 18, .95); }
    .m-mandi:hover { color: #fff; }
    .m-mandi small { opacity: .9; }
    .m-mandi .big { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 4px; }
    .m-mandi .row-mini { display: flex; gap: 8px; margin-top: 14px; }
    .m-mandi .row-mini span { flex: 1; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 7px 10px; font-size: 12px; line-height: 1.3; }
    .m-mandi .row-mini b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
    .m-mandi .sample-tag { background: rgba(255, 255, 255, .22); color: #fff; }

    .services { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .service { padding: 14px 4px 12px; font-size: 13px; border-radius: 20px; border: 0; box-shadow: var(--sh-1); gap: 8px; }
    .service i { width: 46px; height: 46px; font-size: 20px; border-radius: 15px; }
    .service small { display: none; }
    .pill-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; background: transparent; padding: 0; gap: 6px; }
    .pill-tabs::-webkit-scrollbar { display: none; }
    .pill-tabs .nav-link { background: #fff; box-shadow: var(--sh-1); }
    .pill-tabs .nav-link.active { background: var(--ink); color: #fff; }

    .post-mini { margin: 0; background: #fff; }
    .post-mini + .post-mini { margin-top: 8px; }
    .post-row { grid-template-columns: 112px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: 20px; padding: 10px; margin: 0; box-shadow: var(--sh-1); }
    .post-row + .post-row { margin-top: 10px; }
    .post-row .thumb { aspect-ratio: 1; border-radius: 14px; }
    .post-row h4 { font-size: 16px; margin: 4px 0; }
    .post-row p, .post-row .read-more, .post-row .meta .hide-m { display: none; }
    .post-row .cat { font-size: 11px; padding: 1px 8px; }
    .bg-soft { background: transparent; }

    .biz-row { grid-template-columns: 112px 1fr; gap: 14px; border: 0; border-radius: 22px; padding: 10px; box-shadow: var(--sh-2); }
    .biz-row .thumb { height: 112px; border-radius: 16px; }
    .biz-row h3 { font-size: 17px; }
    .biz-row .chip-row { display: none; }
    .biz-row .actions { grid-column: 1 / -1; flex-direction: row; }
    .biz-row .actions .btn { flex: 1; font-size: 14px; padding: 8px 4px; }
    .biz-row .actions .btn-dir { display: none; }
    .biz-card { border: 0; border-radius: 22px; box-shadow: var(--sh-2); }

    .page-head { padding-block: 26px; }
    .page-head h1, .page-head .h1 { font-size: 28px; }
    .page-head .crumb { display: none; }

    .gallery-main, .gallery-main.single { display: block; height: 250px; margin: -16px -12px 0; }
    .gallery-main .thumb { border-radius: 0; }
    .gallery-main .thumb:not(:first-child) { display: none; }
    .biz-sheet { background: #fff; border-radius: 28px 28px 0 0; margin: -30px -12px 0; padding: 20px 16px 4px; position: relative; }
    .biz-title h1 { font-size: 24px; }
    .biz-actions { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .biz-actions .btn { border-radius: 16px; padding: 10px 4px; font-size: 13.5px; display: grid; justify-items: center; gap: 3px; }
    .biz-actions .btn i { font-size: 19px; margin: 0 !important; }
    .biz-actions .btn-review { display: none; }
    .sticky-call { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom, 0px)); z-index: 1035; display: flex; gap: 8px; padding: 8px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border: 1px solid rgba(15, 23, 42, .08); border-radius: 20px; box-shadow: var(--sh-3); }
    .sticky-call .btn { flex: 1; border-radius: 14px; }
    .has-sticky-call { padding-bottom: calc(var(--tabbar-h) + 90px + env(safe-area-inset-bottom, 0px)); }

    .article h1 { font-size: 27px; }
    .article .body p, .article .body ul, .article .body ol { font-size: 17px; }
    .article .lead-text { font-size: 17px; }

    .m-crop { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: var(--sh-1); font-variant-numeric: tabular-nums; }
    .m-crop + .m-crop { margin-top: 8px; }
    .m-crop b { display: block; font-family: var(--font-head); font-size: 16.5px; line-height: 1.2; color: var(--ink); }
    .m-crop small { color: var(--muted); font-size: 12px; }
    .m-crop .price { margin-left: auto; text-align: right; }
    .m-crop .price b { font-size: 17px; }
    .stat-tile { border: 0; border-radius: 18px; box-shadow: var(--sh-1); }
    .stat-tile .val { font-size: 22px; }

    .place-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 270px; grid-auto-rows: 200px; gap: 10px; }
    .place-grid .overlay { border-radius: 20px; }
    .place-grid .overlay:first-child { grid-column: 1 / -1; grid-row: span 1; }
    .place-grid .overlay:first-child h3 { font-size: 25px; }
    .place-grid .overlay h3 { font-size: 17px; }
    .place-grid .ov-body { padding: 14px; }
    .place-card { height: 280px; border-radius: 22px; }
    .hscroll { grid-auto-columns: 74%; }

    .site-footer { margin-top: 90px; }
    .footer-cta { padding: 24px 22px; transform: none; margin: 0 0 32px; }
    .site-footer { margin-top: 40px; padding-top: 24px; }
    .footer-cta h2 { font-size: 22px; }
    .footer-cta-actions { width: 100%; }
    .footer-cta-actions .btn { flex: 1; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
    .post-mini .thumb { flex-basis: 96px; height: 72px; }
    .place-grid { grid-template-columns: 1fr; }
    .hero-main { height: 330px; }
    .hero-main h2 { font-size: 22px; }
    .footer-cols > div:last-child { grid-column: 1 / -1; }
}

@media (min-width: 992px) {
    .m-only { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
    .appbar, .tabbar, .site-header, .topbar, .ticker, .site-footer, .sticky-call { display: none !important; }
}
