/* main.built.css — GENERATED by scripts-local/build-css.sh 2026-10-01 14:11 */
/* Edit the source files + main.css, then rebuild. Do not edit this file. */

/* ══════════ design-system/_variables.css ══════════ */
:root {
    --color-peach: #ffcba4;
    --color-gold: #f5c518;
    --color-black: #0a0a0a;
    --color-red: #ce1141;
    --color-green: #00a651;
    --color-sky: #4da8da;
    --color-white: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #ece4d9;
    --color-gray-300: #d1d1d1;
    --color-gray-600: #6b6b6b;
    --color-ink-soft: #1b1d22;
    --color-panel: rgba(250, 250, 250, 0.88);
    --color-panel-strong: rgba(255, 248, 240, 0.95);
    --gradient-brand: linear-gradient(135deg, rgba(206, 17, 65, 0.9), rgba(245, 197, 24, 0.86) 48%, rgba(0, 166, 81, 0.88));
    --gradient-tricolor: linear-gradient(90deg,
        var(--color-red)  0%,
        var(--color-red)  30%,
        var(--color-gold) 36.5%,
        var(--color-gold) 63.5%,
        var(--color-green) 70%,
        var(--color-green) 100%);
    --gradient-dark: radial-gradient(circle at top left, rgba(0, 166, 81, 0.18), transparent 36%), linear-gradient(180deg, #0b0f14 0%, #121a24 46%, #17212c 100%);
    --gradient-soft: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "Public Sans", "Segoe UI", sans-serif;
    --red-text-border: 0.4px 0 0 rgba(0,0,0,0.4), -0.4px 0 0 rgba(0,0,0,0.4), 0 0.4px 0 rgba(0,0,0,0.4), 0 -0.4px 0 rgba(0,0,0,0.4);
    --step--1: clamp(0.9rem, 0.84rem + 0.2vw, 1rem);
    --step-0: clamp(1rem, 0.94rem + 0.32vw, 1.125rem);
    --step-1: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
    --step-2: clamp(1.6rem, 1.3rem + 1.1vw, 2.25rem);
    --step-3: clamp(2.2rem, 1.75rem + 2vw, 3.5rem);
    --step-4: clamp(3rem, 2.2rem + 3.2vw, 5rem);
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --space-7: 4rem;
    --space-8: 6rem;
    --radius-sm: 0.8rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.8rem;
    --radius-pill: 999px;
    --shadow-card: 0 24px 70px rgba(10, 10, 10, 0.12);
    --shadow-soft: 0 18px 40px rgba(10, 10, 10, 0.08);
    --border-soft: 1px solid rgba(10, 10, 10, 0.08);
    --container-width: min(1200px, calc(100vw - 3rem));
    --transition-base: 220ms ease;
}

/* ── Breakpoint scale (reference — 2026-08-31) ───────────────────────────
   CSS custom properties CANNOT be used inside @media queries, so these are
   documentation, not tokens. Use these literal values; do not invent new ones.

     380px   max-width   smallest phones (iPhone SE and older Android)
     767px   max-width   PHONE  — the dominant mobile boundary (18 rules)
     768px   min-width   TABLET and up — the dominant desktop boundary (20 rules)
     1023px  max-width   below small desktop
     1024px  min-width   SMALL DESKTOP and up
     1280px  min-width   WIDE desktop (nav countdown rings appear here)

   Deliberate per-component exceptions (leave alone unless revisiting that
   component): 640px directory-alpha spacing; 840/900/959/960px map layout.
   Normalized 2026-08-31: shop cart 760 -> 767; .form-row 600 -> 767 (forms
   were rendering 2-up between 601-767px on large phones and small tablets).
   ──────────────────────────────────────────────────────────────────────── */

/* ══════════ design-system/_reset.css ══════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
    margin: 0;
}

body {
    min-height: 100vh;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    padding: 0;
}
/* ══════════ design-system/_grid.css ══════════ */
.container {
    width: var(--container-width);
    margin-inline: auto;
}

.card-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.card-grid > * {
    grid-column: span 12;
}

.card-grid--compact {
    gap: var(--space-3);
}

.split-layout {
    display: grid;
    gap: var(--space-5);
}

.metric-grid {
    display: grid;
    gap: var(--space-3);
}

@media (min-width: 768px) {
    .card-grid > * {
        grid-column: span 6;
    }

    .split-layout {
        grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.9fr);
        align-items: start;
    }

    /* split-layout--equal */
    .split-layout.split-layout--equal {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .card-grid > * {
        grid-column: span 3;
    }

    .card-grid--compact > * {
        grid-column: span 4;
    }
}
/* ══════════ design-system/_typography.css ══════════ */
body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--color-ink-soft);
    background: linear-gradient(180deg, #081018 0%, #0e1722 42%, #152131 100%);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.96;
    color: var(--color-black);
}

h1 {
    font-size: var(--step-4);
    max-width: 12ch;
}

h2 {
    font-size: var(--step-3);
}

h3 {
    font-size: var(--step-1);
}

p {
    max-width: 65ch;
}

.lede {
    font-size: var(--step-1);
    color: rgba(27, 29, 34, 0.8);
}

.lede--small {
    font-size: var(--step-0);
}

.eyebrow,
.section-heading,
.panel__eyebrow,
.feature-card__eyebrow,
.callout-card__eyebrow,
.auth-card__eyebrow,
.site-footer__heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow,
.feature-card__eyebrow,
.callout-card__eyebrow,
.auth-card__eyebrow,
.site-footer__heading {
    color: var(--color-red);
}

/* ── Thin black border on all red text ──────────────────────────────────────── */

.eyebrow,
.feature-card__eyebrow,
.callout-card__eyebrow,
.auth-card__eyebrow,
.site-footer__heading,
.site-logo__wordmark strong,
.button--primary,
.feature-card__link,
.form-error,
.auth-helper-links a,
.cms-page-body a,
.event-day-dialog__eyebrow,
.event-day-dialog__time,
.event-detail-fact__label,
.home-live-feature__eyebrow,
.home-live-queue__eyebrow {
    text-shadow: var(--red-text-border);
}

/* Dark mode: nav items that switch to red */
:root[data-theme="dark"] .site-nav__links a:hover,
:root[data-theme="dark"] .site-nav__links a.is-active,
[data-theme="dark"] .nav-dropdown-toggle,
[data-theme="dark"] .nav-dropdown-toggle:hover,
[data-theme="dark"] .nav-dropdown-toggle.is-active {
    text-shadow: var(--red-text-border);
}

.section-heading {
    color: var(--color-black);
    margin-bottom: var(--space-3);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ══════════ design-system/_components.css ══════════ */
body {
    position: relative;
    background: linear-gradient(180deg, #081018 0%, #0e1722 42%, #152131 100%);
    min-height: 100vh;
}

@keyframes skyline-drift {
    0%   { background-position: 46% center; }
    50%  { background-position: 54% center; }
    100% { background-position: 46% center; }
}

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 8%, rgba(0, 166, 81, 0.2), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(206, 17, 65, 0.18), transparent 26%),
        radial-gradient(circle at 50% 65%, rgba(245, 197, 24, 0.06), transparent 32%),
        linear-gradient(180deg, rgba(7, 12, 18, 0.68), rgba(7, 12, 18, 0));
    z-index: -1;
}

.site-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/Background_Atlanta_Skyline.png');
    background-repeat: no-repeat;
    background-position: 46% center;
    background-size: auto 100%;
    mix-blend-mode: screen;
    opacity: 0.62;
    pointer-events: none;
    animation: skyline-drift 35s ease-in-out infinite;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(220, 220, 220, 0.88);
    box-shadow: inset 5px 0 0 var(--color-red), inset -5px 0 0 var(--color-green);
}

.site-header::before,
.site-header::after {
    content: "";
    display: block;
    height: 4px;
    background: var(--gradient-tricolor);
}

.site-header::before {
    opacity: 0.9;
}

.site-header::after {
    opacity: 0.75;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-block: 0.1rem;
    padding-left: var(--space-4);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

@keyframes logo-rise {
    0%   { transform: translateY(110%); }
    65%  { transform: translateY(-4%); }
    80%  { transform: translateY(2%); }
    100% { transform: translateY(0); }
}

@keyframes signal-pulse {
    0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
    60%  { opacity: 0.55; }
    100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

.site-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: calc(100% + 0.5rem);
    width: auto;
    overflow: visible;
    flex-shrink: 0;
}

.site-logo__mark img {
    height: 7rem;
    width: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    animation: logo-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-logo__riser {
    display: block;
    overflow: hidden;
    height: 7rem;
    line-height: 0;
}

.site-logo__signal {
    position: absolute;
    /* antenna ball sits ~12% down from top-center of the image */
    top: calc(12% + 4px);
    left: 50%;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    /* ring — no fill */
    background: transparent;
    border: 2px solid var(--color-red);
    box-shadow: 0 0 5px 1px rgba(166, 0, 0, 0.6);
    opacity: 0;
    animation: signal-pulse 2.8s ease-out infinite;
    animation-delay: 1.36s;
}

.site-logo__signal::before,
.site-logo__signal::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: transparent;
    opacity: 0;
    animation: signal-pulse 2.8s ease-out infinite;
}

/* middle ring — gold/yellow */
.site-logo__signal::before {
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 5px 1px rgba(245, 197, 24, 0.65);
    animation-delay: 0.92s;
}

/* outer ring — green */
.site-logo__signal::after {
    border: 2px solid var(--color-green);
    box-shadow: 0 0 5px 1px rgba(0, 166, 81, 0.6);
    animation-delay: 1.43s;
}

.site-logo__wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-logo__wordmark strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-red);
}

.site-logo__wordmark small {
    color: var(--color-gray-600);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    list-style: none;
}

.site-nav__links a {
    padding: 0.4rem 0.1rem;
    color: rgba(0, 120, 60, 0.88);
    font-family: var(--font-display);
    font-weight: 700;
    transition: color var(--transition-base);
}

.site-nav__links a:hover,
.site-nav__links a.is-active {
    color: var(--color-green);
}

.site-nav__links a.is-active {
    border-bottom: 2px solid var(--color-green);
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ── Explore dropdown ──────────────────────────────────────────────────────── */

.has-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0, 120, 60, 0.88);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: inherit;
    transition: color var(--transition-base);
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-active {
    color: var(--color-green);
}

.nav-dropdown-toggle.is-active {
    border-bottom: 2px solid var(--color-green);
}

.nav-dropdown-icon {
    width: 0.6rem;
    height: 0.6rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.has-dropdown.is-open .nav-dropdown-icon,
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    list-style: none;
    background: rgba(255, 249, 242, 0.98);
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 0.5rem 1.1rem;
    color: rgba(0, 120, 60, 0.88);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background var(--transition-base), color var(--transition-base);
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
    background: rgba(0, 120, 60, 0.07);
    color: var(--color-green);
}

[data-theme="dark"] .nav-dropdown {
    background: rgba(18, 28, 20, 0.98);
}

[data-theme="dark"] .nav-dropdown a:hover,
[data-theme="dark"] .nav-dropdown a.is-active {
    background: rgba(0, 166, 81, 0.12);
}

/* ── Nav user badge ─────────────────────────────────────────────────────────── */

.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
}

.nav-user__name {
    color: var(--color-gray-600);
}

.nav-user__badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-sm);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-gray-300);
    color: var(--color-black);
}

.nav-user__badge--admin   { background: var(--color-red);   color: #fff; }
.nav-user__badge--editor  { background: var(--color-gold);  color: var(--color-black); }
.nav-user__badge--business { background: var(--color-sky);  color: #fff; }

[data-theme="dark"] .nav-dropdown-toggle {
    color: rgba(206, 17, 65, 0.9);
}

[data-theme="dark"] .nav-dropdown-toggle:hover,
[data-theme="dark"] .nav-dropdown-toggle.is-active {
    color: var(--color-red);
}

[data-theme="dark"] .nav-dropdown-toggle.is-active {
    border-bottom-color: var(--color-red);
}

.nav-rings {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.nav-rings__label {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--color-gray-600);
    margin-left: 0.15rem;
}

.nav-rings .countdown-ring__dial {
    width: 3rem;
    height: 3rem;
}

.nav-rings .countdown-ring__value {
    font-size: 0.82rem;
}

.nav-rings .countdown-ring__unit {
    font-size: 0.44rem;
}

.countdown-ring {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.countdown-ring__dial {
    position: relative;
    width: 4.2rem;
    height: 4.2rem;
    flex-shrink: 0;
}

.countdown-ring__dial svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-ring__track {
    fill: none;
    stroke: rgba(10, 10, 10, 0.1);
    stroke-width: 8;
}

.countdown-ring__arc {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 263.9;
    stroke-dashoffset: 263.9;
    transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.countdown-ring--days .countdown-ring__arc    { stroke: var(--color-red); }
.countdown-ring--hours .countdown-ring__arc   { stroke: var(--color-gold); }
.countdown-ring--minutes .countdown-ring__arc { stroke: var(--color-green); }

.countdown-ring__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.countdown-ring__value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1;
}

.countdown-ring__unit {
    font-family: var(--font-display);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-600);
    margin-top: 0.2rem;
}

.site-frame {
    width: min(1260px, calc(100vw - 1rem));
    margin-inline: auto;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    box-shadow:
        inset  5px 0 0 var(--color-red),
        inset -5px 0 0 var(--color-green),
        -8px 0 22px rgba(206, 17, 65, 0.09),
         8px 0 22px rgba(0, 166, 81, 0.09);
}

#content {
    background: rgba(245, 245, 245, 0.97);
    margin-inline: 5px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-inline-form {
    display: inline-flex;
}

.nav-toggle {
    display: none;
    width: 3rem;
    aspect-ratio: 1;
    border: 0;
    border-radius: 1rem;
    background: rgba(10, 10, 10, 0.06);
    padding: 0.75rem;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--color-black);
    margin-block: 4px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        background var(--transition-base),
        border-color var(--transition-base);
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: transparent;
    color: var(--color-red);
    border: 2px solid var(--color-red);
}

.button--primary:hover {
    background: rgba(206, 17, 65, 0.06);
}

.button--secondary {
    background: transparent;
    border-color: rgba(10, 10, 10, 0.18);
    color: var(--color-gray-700);
}

.button--secondary:hover {
    border-color: rgba(10, 10, 10, 0.36);
}

.button--ghost {
    border-color: rgba(10, 10, 10, 0.16);
    background: transparent;
}

.button--ghost-dark {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.button--sm {
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.button--full {
    width: 100%;
}

.section,
.page-hero,
.auth-shell {
    padding-block: var(--space-7);
}

.section--tight {
    padding-top: 0;
    padding-bottom: var(--space-6);
}

.section--muted {
    background: rgba(255, 255, 255, 0.45);
    border-top: var(--border-soft);
    border-bottom: var(--border-soft);
}

.section--timeline {
    padding-top: var(--space-2);
}

.feature-card,
.panel,
.metric-card,
.district-card,
.track-card,
.callout-card,
.auth-card {
    position: relative;
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--gradient-soft);
    box-shadow: var(--shadow-card);
}

.feature-card,
.track-card,
.district-card,
.metric-card {
    padding: 1.5rem;
}

.panel,
.callout-card,
.auth-card {
    padding: 1.75rem;
}

.feature-card--lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card--lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(10, 10, 10, 0.14);
}

.feature-card h2,
.feature-card h3,
.track-card h3,
.district-card h3,
.auth-card h2,
.callout-card__title,
.panel__title {
    margin-bottom: 0.75rem;
}

.feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.83rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-red);
}

.callout-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 240, 229, 0.9));
}

.callout-card--accent {
    background: var(--gradient-brand);
    color: var(--color-black);
}

/* eyebrow-outline-accent */
.callout-card--accent .callout-card__eyebrow {
    text-shadow:
        -1px -1px 0 #ffffff,
         1px -1px 0 #ffffff,
        -1px  1px 0 #ffffff,
         1px  1px 0 #ffffff,
         0    0   6px rgba(255, 255, 255, 0.55);
    paint-order: stroke fill;
}

/* Newsletter card on the red→gold→green gradient: near-black text reads on every stop
   (red/off-white/green text measured ~1.1–3:1 there). Accessibility pass P7, Erich OK 2026-10-01. */
.callout-card--accent .callout-card__eyebrow,
.callout-card--accent .callout-card__title,
:root[data-theme="dark"] .callout-card--accent .callout-card__eyebrow,
:root[data-theme="dark"] .callout-card--accent .callout-card__title {
    color: #0a0a0a;
}

.callout-card--accent .button--primary,
:root[data-theme="dark"] .callout-card--accent .button--primary {
    color: #0a0a0a;
    border-color: #0a0a0a;
}

.callout-card--hero {
    background: var(--gradient-dark);
    color: var(--color-white);
}

.callout-card--hero .callout-card__title,
.callout-card--hero .callout-card__body,
.callout-card--hero .callout-card__eyebrow {
    color: inherit;
}

.metric-card {
    text-align: left;
}

.metric-card__value {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 700;
    color: var(--color-black);
}

.metric-card__label {
    color: rgba(27, 29, 34, 0.74);
}

.timeline-list {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-4);
    list-style: none;
}

.timeline-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-2);
    align-items: start;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    border: var(--border-soft);
}

.timeline-list__step {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-red), var(--color-gold));
}

.stack-form,
.inline-form {
    display: grid;
    gap: var(--space-2);
}

.stack-form label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
}

.stack-form input,
.stack-form textarea,
.stack-form select,
.inline-form input {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(10, 10, 10, 0.12);
    background: rgba(255, 255, 255, 0.86);
}

.stack-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.stack-form select {
    appearance: none;
}

.form-error {
    color: var(--color-red);
    font-size: var(--step--1);
}

.form-note {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(77, 168, 218, 0.1);
    border: 1px solid rgba(77, 168, 218, 0.18);
    color: var(--color-black);
}

.form-error--block {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(206, 17, 65, 0.08);
    border: 1px solid rgba(206, 17, 65, 0.16);
}

.flash-stack {
    padding-top: var(--space-4);
}

.flash-stack__inner {
    display: grid;
    gap: var(--space-2);
}

.flash-message {
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
}

.flash-message--success {
    border-color: rgba(57, 120, 87, 0.2);
    background: rgba(225, 246, 233, 0.95);
}

.flash-message--error {
    border-color: rgba(206, 17, 65, 0.18);
    background: rgba(255, 237, 241, 0.95);
}

.site-footer {
    position: relative;
    padding-block: 1.35rem;
    background: rgba(220, 220, 220, 0.88);
    backdrop-filter: blur(14px);
    color: rgba(27, 29, 34, 0.85);
    margin-inline: 5px;
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-tricolor);
    pointer-events: none;
}

.site-footer::before {
    top: 0;
    opacity: 0.9;
}

.site-footer::after {
    bottom: 0;
    opacity: 0.75;
}

.site-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.site-footer__brand-mark {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    aspect-ratio: 1;
    border-radius: 0.95rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.site-footer__brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-footer__brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    line-height: 1.05;
}

.site-footer__brand-copy strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-white);
}

.site-footer__brand-copy small {
    color: rgba(250, 250, 250, 0.58);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__nav,
.site-footer__meta {
    display: inline-flex;
    align-items: center;
    gap: 1.15rem;
}

.site-footer__nav a,
.site-footer__meta a,
.site-footer__meta span {
    color: rgba(250, 250, 250, 0.82);
    font-size: 0.92rem;
    white-space: nowrap;
}

.site-footer__nav a:hover,
.site-footer__meta a:hover {
    color: var(--color-white);
}

/* Progressive enhancement (2026-08-30): only hide content when JS is
   confirmed running — no JS means fully visible page, never blank. */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

html.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Above the fold never waits for JavaScript (SEO #10, Erich OK 2026-09-13): the
   first section and every hero render immediately; only lower sections fade in. */
html.js main > [data-reveal]:first-child,
html.js main > :first-child [data-reveal],
html.js .page-hero[data-reveal],
html.js .hero [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Intermediate: countdown disappears, footer stacks; full nav stays horizontal */
@media (max-width: 1023px) {
    .nav-rings {
        display: none;
    }

    .site-footer__bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__nav,
    .site-footer__meta {
        flex-wrap: wrap;
        gap: 0.8rem 1rem;
    }
}

/* Mobile: hamburger nav */
@media (max-width: 767px) {
    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        inset: calc(100% + 0.75rem) 1rem auto 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: var(--border-soft);
        border-radius: var(--radius-lg);
        background: rgba(255, 249, 242, 0.98);
        box-shadow: var(--shadow-card);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__links,
    .site-nav__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-inline-form {
        display: block;
    }

    .site-nav__links a {
        display: block;
        padding: 0.55rem 0;
    }

    /* Mobile dropdown: inline accordion */
    .has-dropdown {
        position: static;
    }

    .nav-dropdown-toggle {
        display: flex;
        width: 100%;
        padding: 0.55rem 0;
        justify-content: space-between;
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0 0 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .has-dropdown.is-open .nav-dropdown {
        max-height: 300px;
        transform: none;
    }

    /* a11y 2026-10 N1: a collapsed (max-height: 0) dropdown kept its links in the Tab
       order. Hide it from focus and screen readers until opened. The visibility delay
       matches the collapse transition, so nothing changes visually. */
    .has-dropdown:not(.is-open) .nav-dropdown {
        visibility: hidden;
        transition: max-height 0.25s ease, visibility 0s linear 0.25s;
    }

    .nav-dropdown a {
        padding: 0.4rem 0;
        font-size: 0.88rem;
    }

    .site-frame {
        box-shadow:
            inset  3px 0 0 var(--color-green),
            inset -3px 0 0 var(--color-red),
            -5px 0 14px rgba(0, 166, 81, 0.09),
             5px 0 14px rgba(206, 17, 65, 0.09);
    }
}

@media (min-width: 1280px) {
    .inline-form {
        grid-template-columns: minmax(240px, 1fr) auto;
        align-items: center;
    }
}
/* Mobile-only line break utility (2026-08-30): <br class="br-mobile"> renders
   only under 768px; on larger screens it collapses (the &#32; keeps a space). */
.br-mobile { display: none; }
@media (max-width: 767px) {
    .br-mobile { display: inline; }
}

/* ══════════ pages/home.css ══════════ */
.hero {
    padding-block: clamp(1.25rem, 2vw, 2rem) var(--space-3);
}

.home-shell {
    display: grid;
    gap: var(--space-5);
}

.home-shell--hero {
    justify-items: center;
}

.hero-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: clamp(260px, 34vh, 420px);
    padding: clamp(1.5rem, 2.5vw, 2.75rem) clamp(1.5rem, 4vw, 4.5rem);
    border: 1px solid rgba(10, 10, 10, 0.06);
    border-radius: 2.4rem;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(246, 238, 227, 0.84)),
        radial-gradient(circle at 12% 20%, rgba(206, 17, 65, 0.14), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(0, 166, 81, 0.18), transparent 24%),
        radial-gradient(circle at 50% 82%, rgba(245, 197, 24, 0.08), transparent 26%);
    box-shadow: 0 28px 80px rgba(10, 10, 10, 0.06);
    overflow: hidden;
}

.hero-stage::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    pointer-events: none;
}

.hero-stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 6px;
    background: var(--gradient-tricolor);
}

.hero__content {
    display: grid;
    gap: 1.35rem;
}

.hero__content--center {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    justify-items: center;
    align-content: center;
    text-align: center;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.pill {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(10, 10, 10, 0.08);
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 700;
}

.home-quicklinks {
    align-items: center;
}

.page-home h1,
.page-home h2,
.page-home h3,
.page-home p,
.page-home .lede,
.page-home .section-header__copy,
.page-home .callout-card__body,
.page-home .panel__copy {
    margin-inline: auto;
}

.page-home h1 {
    max-width: none;
    font-size: clamp(3.2rem, 2.3rem + 3.4vw, 5.25rem);
    line-height: 1.1;
}

.page-home .hero .eyebrow,
.page-home .hero h1,
.page-home .hero .lede {
    width: 100%;
    max-width: none;
}

.page-home .hero .lede {
    font-size: clamp(1.08rem, 0.98rem + 0.55vw, 1.4rem);
    color: rgba(27, 29, 34, 0.78);
}

.section-header {
    display: grid;
    gap: var(--space-3);
    margin-bottom: -0.5rem;
}

.section-header--center,
.home-stack,
.home-stack__intro,
.home-cta-band,
.page-home .feature-card,
.page-home .district-card,
.page-home .callout-card,
.page-home .event-widget {
    text-align: center;
}

.section-header--center,
.home-stack,
.home-stack__intro,
.home-cta-band {
    justify-items: center;
}

.home-chip-carousel,
.home-district-grid {
    width: 100%;
}

.home-chip-carousel {
    display: grid;
    gap: var(--space-3);
    justify-items: center;
}

.home-chip-carousel__viewport {
    position: relative;
    display: grid;
    align-items: center;
    width: min(100%, 72rem);
}

.home-chip-carousel__controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* 30px per the original June spec — the chips are the primary control */
    gap: 30px;
    width: 100%;
}

.home-chip-carousel__chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.85rem 1.6rem;
    border: 2px solid var(--chip-color, var(--color-red));
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--chip-color, var(--color-red));
    box-shadow: 0 10px 24px rgba(10, 10, 10, 0.04);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        background var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base);
}

.home-chip-carousel__chip:hover,
.home-chip-carousel__chip:focus-visible {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--chip-color, var(--color-red)) 12%, transparent);
}

.home-chip-carousel__chip.is-active {
    background: var(--chip-color, var(--color-black));
    border-color: var(--chip-color, var(--color-black));
    box-shadow: 0 18px 34px rgba(10, 10, 10, 0.12);
    color: var(--chip-text, var(--color-white));
}

.home-chip-carousel__stage {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 13rem;
    justify-items: center;
}

.home-chip-carousel__panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-content: center;
    justify-items: stretch;
    gap: 0.75rem;
    width: min(100%, 62rem);
    min-height: 11rem;
    padding: clamp(1.8rem, 3vw, 2.8rem);
    border-radius: 2rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 233, 0.9));
    box-shadow: 0 24px 50px rgba(10, 10, 10, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateX(48px) scale(0.985);
    transition:
        opacity 320ms ease,
        transform 420ms ease,
        box-shadow 320ms ease;
}

.home-chip-carousel__panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.home-chip-carousel[data-direction="prev"] .home-chip-carousel__panel {
    transform: translateX(-48px) scale(0.985);
}

.home-chip-carousel[data-direction="prev"] .home-chip-carousel__panel.is-active {
    transform: translateX(0) scale(1);
}

.home-chip-carousel__panel > * {
    width: 100%;
    max-width: none;
}

.home-chip-carousel__panel h3 {
    max-width: none;
}

.home-chip-carousel__panel p {
    max-width: none;
}

.home-chip-carousel__panel .feature-card__link {
    width: auto;
    justify-self: center;
    align-self: end;
    margin-inline: auto;
}

/* The "3 / 5" counter is redundant once the chips are full size — the lit chip
   already says where you are. Hidden VISUALLY only: it is aria-live, so screen
   readers still get the panel-change announcement. Do not switch to display:none. */
.home-chip-carousel__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-chip-carousel__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 30px rgba(10, 10, 10, 0.08);
    color: var(--color-black);
    font-size: 1.2rem;
    transform: translateY(-50%);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base),
        background var(--transition-base);
}

.home-chip-carousel__nav:hover,
.home-chip-carousel__nav:focus-visible {
    background: var(--color-white);
    box-shadow: 0 22px 36px rgba(10, 10, 10, 0.12);
}

.home-chip-carousel__nav--prev {
    left: clamp(0.15rem, 1vw, 0.85rem);
}

.home-chip-carousel__nav--next {
    right: clamp(0.15rem, 1vw, 0.85rem);
}

.page-home .pill {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(10, 10, 10, 0.06);
    box-shadow: 0 8px 20px rgba(10, 10, 10, 0.04);
}

.home-stack {
    gap: var(--space-4);
}

.home-actions-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
}

.home-live-stage {
    display: grid;
    gap: var(--space-4);
    width: 100%;
    justify-items: center;
}

.home-live-feature {
    display: grid;
    width: min(100%, 72rem);
    overflow: hidden;
    border: var(--border-soft);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-card);
}

.home-live-feature__media-link,
.home-live-feature__media-placeholder {
    display: block;
    width: 100%;
    min-height: 17rem;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 12% 24%, rgba(255, 203, 164, 0.5), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(77, 168, 218, 0.35), transparent 24%),
        linear-gradient(180deg, rgba(21, 26, 33, 0.92), rgba(31, 41, 55, 0.82));
}

.home-live-feature__media-placeholder {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.7rem;
    padding: 1.5rem;
    text-align: center;
}

.home-live-feature__placeholder-kicker,
.home-live-feature__media-placeholder span,
.home-live-feature__media-placeholder strong {
    color: rgba(255, 255, 255, 0.92);
}

.home-live-feature__placeholder-kicker {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.78;
}

.home-live-feature__media-placeholder strong {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 2rem + 2vw, 4.4rem);
    line-height: 0.92;
}

.home-live-feature__media-placeholder span:last-child {
    max-width: 16rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
}

.home-live-feature__media {
    width: 100%;
    height: 100%;
    min-height: 17rem;
    object-fit: cover;
    display: block;
}

.home-live-feature__content {
    display: grid;
    gap: 1rem;
    justify-items: center;
    padding: clamp(1.6rem, 3vw, 2.6rem);
    text-align: center;
}

.home-live-feature__eyebrow,
.home-live-queue__eyebrow,
.home-live-item__meta {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-live-feature__eyebrow,
.home-live-queue__eyebrow {
    color: var(--color-red);
}

.home-live-feature__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.home-live-feature__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(250, 245, 236, 0.96);
    border: 1px solid rgba(10, 10, 10, 0.07);
    color: rgba(27, 29, 34, 0.74);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
}

.home-live-feature__date {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.home-live-feature__content h3 {
    max-width: 18ch;
}

.home-live-feature__content h3 a,
.home-live-item h3 a {
    color: inherit;
}

.home-live-feature__summary {
    max-width: 38rem;
    color: rgba(27, 29, 34, 0.78);
}

.home-live-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
}

.home-live-queue {
    display: grid;
    gap: var(--space-3);
    width: min(100%, 72rem);
}

.home-live-queue__grid {
    display: grid;
    gap: var(--space-3);
}

.home-live-item {
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    padding: 1.35rem;
    border: var(--border-soft);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.home-live-item__meta {
    color: rgba(27, 29, 34, 0.55);
}

.home-live-item h3 {
    max-width: 18ch;
    font-size: var(--step-0);
}

.home-live-item__venue {
    color: rgba(27, 29, 34, 0.64);
}

.page-home .event-widget {
    width: min(100%, 980px);
}

.page-home .event-widget .button,
.page-home .feature-card__link {
    margin-inline: auto;
}

.page-home .event-widget-list,
.page-home .home-cta-links {
    justify-items: center;
}

.page-home .home-cta-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.section-header__copy {
    color: rgba(27, 29, 34, 0.78);
}

.district-grid,
.track-grid {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.district-card {
    overflow: hidden;
}

.district-card::before,
.track-card::before {
    content: "";
    position: absolute;
    inset: auto -10% -30% auto;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 203, 164, 0.55), transparent 72%);
}

.cta-band {
    display: grid;
    gap: var(--space-4);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 2rem;
    background: var(--gradient-dark);
    color: var(--color-white);
    box-shadow: var(--shadow-card);
}

.cta-band h2,
.cta-band .eyebrow {
    color: inherit;
}

.cta-band .inline-form input {
    background: rgba(255, 255, 255, 0.92);
}

.home-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

@media (min-width: 768px) {
    .hero-stage {
        padding-inline: clamp(2.25rem, 5vw, 5rem);
    }

    .home-live-feature {
        grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
        align-items: stretch;
    }

    .home-live-feature__media-link,
    .home-live-feature__media-placeholder,
    .home-live-feature__media {
        min-height: 100%;
    }

    .home-live-queue__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-district-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-cta-links .button {
        width: 100%;
    }

    .hero-stage {
        border-radius: 1.65rem;
        min-height: auto;
        padding: 2.35rem 1.25rem 2.6rem;
    }

    .hero-stage::before {
        inset: 0.7rem;
        border-radius: 1.2rem;
    }

    .home-live-feature {
        border-radius: 1.5rem;
    }

    .home-live-feature__media-link,
    .home-live-feature__media-placeholder,
    .home-live-feature__media {
        min-height: 13rem;
    }

    .home-live-item {
        border-radius: 1.2rem;
    }

    .home-chip-carousel__controls {
        /* 30px would push 5 chips onto 3 rows on a phone — stay tight here */
        gap: 0.7rem;
    }

    .home-chip-carousel__chip {
        font-size: 0.95rem;
        min-height: 3rem;
        padding-inline: 1.15rem;
    }

    .home-chip-carousel__panel {
        min-height: auto;
        border-radius: 1.5rem;
        padding: 1.5rem 1.2rem;
    }

    .home-chip-carousel__stage {
        min-height: 17rem;
    }

    .home-chip-carousel__nav {
        position: static;
        transform: none;
    }

    .home-chip-carousel__viewport {
        gap: 0.9rem;
        justify-items: center;
    }

    .page-home h1 {
        max-width: none;
    }
}
.pill--lg {
    padding: 0.7rem 1.4rem;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(10,10,10,0.06);
    transition: box-shadow 0.15s ease, background 0.15s ease;
}

a.pill--lg:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(10,10,10,0.1);
}

/* ══════════ pages/section.css ══════════ */
.page-hero__grid {

    display: grid;

    gap: var(--space-4);

    align-items: start;

}



.page-section .page-hero,

.page-admin .page-hero,

.page-auth .auth-shell {

    padding-top: clamp(3rem, 5vw, 5rem);

}



/* ── Full-height login shell ─────────────────────────────────────────────── */



.auth-shell--full {

    flex: 1;

    display: flex;

    align-items: stretch;

    padding-block: clamp(2rem, 4vw, 4rem);

}



.auth-shell--full .container {

    width: 100%;

}



.auth-login-grid {

    display: grid;

    gap: var(--space-5);

    align-items: start;

}



/* ── Register promo cards ────────────────────────────────────────────────── */



.auth-register-stack {

    display: flex;

    flex-direction: column;

    gap: var(--space-4);

}



.auth-promo-card {

    position: relative;

    padding: var(--space-4);

    border: var(--border-soft);

    border-radius: var(--radius-lg);

    background: var(--gradient-soft);

    box-shadow: var(--shadow-card);

}



.auth-promo-card--business {

    border-top: 3px solid var(--color-red);

}



.auth-promo-card--influencer {

    border-top: 3px solid var(--color-green);

}



.auth-promo-card__icon {

    font-size: 2rem;

    line-height: 1;

    margin-bottom: 0.75rem;

}



.auth-promo-card__title {

    font-family: var(--font-display);

    font-size: 1.15rem;

    font-weight: 700;

    margin-bottom: 0.5rem;

    color: var(--color-black);

}



.auth-promo-card__body {

    font-size: 0.9rem;

    color: var(--color-gray-600);

    margin-bottom: 1rem;

    line-height: 1.55;

}



.auth-promo-card__perks {

    list-style: none;

    padding: 0;

    margin: 0 0 1.25rem;

    display: flex;

    flex-direction: column;

    gap: 0.35rem;

}



.auth-promo-card__perks li {

    font-size: 0.82rem;

    font-weight: 600;

    color: var(--color-gray-600);

    padding-left: 1.1rem;

    position: relative;

}



.auth-promo-card__perks li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--color-green);

    font-weight: 700;

}



@media (min-width: 768px) {

    .auth-login-grid {

        grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.72fr);

        align-items: start;

    }

}



.auth-card__note {

    margin-top: var(--space-3);

    color: var(--color-gray-600);

}



.auth-helper-links {

    display: flex;

    flex-wrap: wrap;

    gap: 1rem;

    margin-top: var(--space-3);

}



.auth-helper-links a {

    color: var(--color-red);

    font-family: var(--font-display);

    font-weight: 700;

}



/* ── Registration pages ─────────────────────────────────────────────────── */



.register-hero {

    width: 100%;

    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 6vw, 6rem);

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 1rem;

}



.register-hero h1 {

    max-width: 16ch;

}



.register-hero .lede {

    max-width: 60ch;

}



.register-hero--business {

    background: linear-gradient(135deg, rgba(206, 17, 65, 0.07) 0%, transparent 55%);

    border-bottom: 1px solid rgba(206, 17, 65, 0.12);

}



.register-hero--influencer {

    background: linear-gradient(135deg, rgba(0, 166, 81, 0.07) 0%, transparent 55%);

    border-bottom: 1px solid rgba(0, 166, 81, 0.12);

}



.register-feature-list {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.5rem 2rem;

}



.register-feature-list li {

    font-size: 0.9rem;

    font-weight: 600;

    padding-left: 1.2rem;

    position: relative;

    color: var(--color-gray-600);

}



.register-feature-list li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--color-green);

    font-weight: 700;

}



.register-card {

    max-width: 640px;

    margin-inline: auto;

}



.admin-form {

    gap: var(--space-2);

}



/* ── Admin dashboard ─────────────────────────────────────────────────────── */



.admin-dashboard {

    display: grid;

    gap: var(--space-6);

    align-items: start;

}



@media (min-width: 900px) {

    .admin-dashboard {

        grid-template-columns: 220px 1fr;

    }

}



/* Sidebar */

.admin-sidebar {

    display: flex;

    flex-direction: column;

    gap: 0.15rem;

    position: sticky;

    top: 5rem;

}



.admin-sidebar__group {

    font-family: var(--font-display);

    font-size: 0.68rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--color-gray-500);

    padding: 1rem 0.75rem 0.4rem;

    margin-top: 0.5rem;

}



.admin-sidebar__group:first-child {

    margin-top: 0;

    padding-top: 0;

}



.admin-sidebar__link {

    display: flex;

    align-items: center;

    gap: 0.6rem;

    padding: 0.55rem 0.75rem;

    border-radius: var(--radius-md);

    font-family: var(--font-display);

    font-size: 0.875rem;

    font-weight: 600;

    color: inherit;

    text-decoration: none;

    transition: background 0.12s ease, color 0.12s ease;

}



.admin-sidebar__link:hover {

    background: rgba(206, 17, 65, 0.08);

    color: var(--color-red);

}



.admin-sidebar__link--disabled {

    opacity: 0.45;

    cursor: default;

    pointer-events: none;

}



.admin-sidebar__icon {

    font-size: 1rem;

    flex-shrink: 0;

}



.admin-sidebar__badge {

    margin-left: auto;

    font-size: 0.68rem;

    font-weight: 700;

    padding: 0.15rem 0.45rem;

    border-radius: var(--radius-pill);

    background: var(--color-gray-200);

    color: var(--color-gray-600);

}



.admin-sidebar__badge--alert {

    background: var(--color-red);

    color: #fff;

}



/* Main content */

.admin-main__section-title {

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--color-gray-500);

    margin-bottom: var(--space-3);

}



.admin-quick-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));

    gap: var(--space-3);

}



.admin-quick-card {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 0.5rem;

    padding: 1.25rem;

    border: var(--border-soft);

    border-radius: var(--radius-lg);

    background: var(--gradient-soft);

    box-shadow: var(--shadow-card);

    text-decoration: none;

    color: inherit;

    transition: box-shadow 0.15s ease, border-color 0.15s ease;

    position: relative;

}



.admin-quick-card:hover {

    border-color: var(--color-red);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);

}



.admin-quick-card--alert {

    border-top: 2px solid var(--color-red);

}



.admin-quick-card__icon {

    font-size: 1.5rem;

    line-height: 1;

}



.admin-quick-card__label {

    font-family: var(--font-display);

    font-size: 0.875rem;

    font-weight: 700;

}



.admin-quick-card__badge {

    font-size: 0.68rem;

    font-weight: 700;

    padding: 0.15rem 0.45rem;

    border-radius: var(--radius-pill);

    background: var(--color-red);

    color: #fff;

}



.metric-card--alert .metric-card__value {

    color: var(--color-red);

}



.admin-form__actions {

    display: flex;

    flex-wrap: wrap;

    gap: var(--space-2);

    margin-top: var(--space-3);

}



.inline-delete-form {

    display: inline-flex;

}



.admin-table-wrap {

    overflow-x: auto;

    border-radius: var(--radius-lg);

    border: var(--border-soft);

    background: rgba(255, 255, 255, 0.85);

    box-shadow: var(--shadow-card);

}



.admin-table {

    width: 100%;

    border-collapse: collapse;

}



.admin-table th,

.admin-table td {

    padding: 1rem;

    text-align: left;

    border-bottom: 1px solid rgba(10, 10, 10, 0.08);

    vertical-align: middle;

}



.admin-table th {

    font-family: var(--font-display);

    font-size: 0.82rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: var(--color-gray-600);

}



.admin-table__actions {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

}



.status-badge {

    display: inline-flex;

    align-items: center;

    padding: 0.35rem 0.7rem;

    border-radius: var(--radius-pill);

    font-family: var(--font-display);

    font-size: 0.75rem;

    font-weight: 700;

    text-transform: uppercase;

}



.status-badge--draft {

    background: rgba(10, 10, 10, 0.08);

}



.status-badge--published {

    background: rgba(0, 166, 81, 0.18);

}



.status-badge--archived {

    background: rgba(245, 197, 24, 0.22);

}



.admin-list {

    display: grid;

    gap: var(--space-3);

    margin-top: var(--space-3);

}



.admin-list__item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: var(--space-3);

    padding: 1rem 1.1rem;

    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, 0.78);

    border: var(--border-soft);

}



.callout-list {

    margin-top: var(--space-3);

    padding-left: 1.1rem;

}



.callout-list li + li {

    margin-top: 0.75rem;

}



.section-heading--small {

    margin-top: var(--space-4);

}



.media-grid {

    align-items: stretch;

}



.media-card {

    display: grid;

    gap: 0.9rem;

}



.media-thumb {

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    border-radius: var(--radius-md);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: rgba(255, 255, 255, 0.9);

}



.media-thumb--file {

    display: grid;

    place-items: center;

    font-family: var(--font-display);

    font-size: var(--step-2);

    font-weight: 700;

    background: linear-gradient(135deg, rgba(255, 203, 164, 0.32), rgba(77, 168, 218, 0.18));

}



.media-card__meta {

    color: var(--color-gray-600);

    font-size: var(--step--1);

}



.cms-page-body {

    display: grid;

    gap: 1.25rem;

}



.cms-page-body p {

    font-size: var(--step-0);

    line-height: 1.8;

}



.cms-page-body h2,

.cms-page-body h3,

.cms-page-body ul,

.cms-page-body ol,

.cms-page-body blockquote {

    margin-top: 0.5rem;

}



.cms-page-body ul,

.cms-page-body ol {

    padding-left: 1.25rem;

}



.cms-page-body li + li {

    margin-top: 0.45rem;

}



.cms-page-body a {

    color: var(--color-red);

}



.cms-page-body blockquote {

    padding-left: 1rem;

    border-left: 3px solid rgba(206, 17, 65, 0.22);

    color: var(--color-gray-600);

}



.news-layout,

.news-article-layout,

.news-article-hero {

    display: grid;

    gap: var(--space-4);

    align-items: start;

}



.filter-chip-row,

.taxonomy-cloud {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

    margin-top: var(--space-3);

}



.taxonomy-cloud--compact {

    gap: 0.6rem;

}



.filter-chip {

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

    padding: 0.6rem 0.9rem;

    border-radius: var(--radius-pill);

    border: 1px solid rgba(10, 10, 10, 0.12);

    background: rgba(255, 255, 255, 0.78);

    font-family: var(--font-display);

    font-size: 0.84rem;

    font-weight: 700;

    color: var(--color-black);

}



.filter-chip span {

    opacity: 0.68;

}



.filter-chip--active {

    background: var(--gradient-brand);

    border-color: rgba(10, 10, 10, 0.08);

}



/* ── News page layout ─────────────────────────────────────────────────── */



.news-page-header {

    display: flex;

    align-items: baseline;

    gap: var(--space-3);

    flex-wrap: wrap;

    margin-bottom: var(--space-4);

    max-width: 1100px;

    margin-inline: auto;

    margin-bottom: var(--space-4);

}



.news-page-header__title {

    font-family: var(--font-display);

    font-size: clamp(1.75rem, 3vw, 2.5rem);

    font-weight: 900;

    line-height: 1.1;

}



.news-page-header__meta {

    color: var(--color-gray-500);

    font-size: 0.9rem;

}



.news-page-header__clear {

    color: var(--color-red);

    font-weight: 700;

    text-decoration: none;

}



.news-page-header__clear:hover {

    text-decoration: underline;

}



/* Category strip */

.news-cat-strip {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

    margin-bottom: var(--space-5);

    max-width: 1100px;

    margin-inline: auto;

    margin-bottom: var(--space-5);

}



.news-cat-chip {

    display: inline-flex;

    align-items: center;

    gap: 0.35rem;

    padding: 0.45rem 1rem;

    border-radius: var(--radius-pill);

    border: 1px solid rgba(10, 10, 10, 0.14);

    background: transparent;

    font-family: var(--font-display);

    font-size: 0.82rem;

    font-weight: 700;

    color: var(--color-gray-700);

    text-decoration: none;

    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;

}



.news-cat-chip:hover {

    border-color: var(--color-red);

    color: var(--color-red);

}



.news-cat-chip--active {

    background: var(--color-red);

    border-color: var(--color-red);

    color: #fff;

}



.news-cat-chip--active:hover {

    color: #fff;

}



.news-cat-chip__count {

    opacity: 0.7;

    font-size: 0.75rem;

}



.news-empty {

    color: var(--color-gray-500);

    padding: var(--space-6) 0;

}



/* Card grid — 3 col at wide, 2 at mid, 1 at mobile */

.news-card-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: var(--space-4);

    align-items: stretch;

    justify-content: center;

    max-width: 1100px;

    margin-inline: auto;

}



/* News card */

.news-card {

    display: flex;

    flex-direction: column;

    border: var(--border-soft);

    border-radius: var(--radius-lg);

    overflow: hidden;

    text-decoration: none;

    color: inherit;

    background: var(--gradient-soft);

    box-shadow: var(--shadow-card);

    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;

}



.news-card:hover {

    border-color: var(--color-red);

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    transform: translateY(-2px);

}



.news-card--external {

    border-top: 2px solid rgba(10, 10, 10, 0.1);

}



.news-card--external:hover {

    border-top-color: var(--color-red);

}



.news-card__media {

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    display: block;

    background: rgba(0, 0, 0, 0.05);

}



.news-card__body {

    display: flex;

    flex-direction: column;

    gap: 0.45rem;

    padding: 1rem 1.15rem 1.2rem;

    flex: 1;

}



.news-card__meta {

    font-size: 0.73rem;

    font-weight: 700;

    font-family: var(--font-display);

    letter-spacing: 0.07em;

    text-transform: uppercase;

    color: var(--color-gray-500);

}



.news-card__source-badge {

    display: inline-block;

    padding: 0.08rem 0.45rem;

    border-radius: var(--radius-sm);

    background: rgba(0, 0, 0, 0.07);

    font-size: 0.65rem;

    vertical-align: middle;

    margin-right: 0.3rem;

}



.news-card__title {

    font-family: var(--font-display);

    font-size: 1rem;

    font-weight: 800;

    line-height: 1.3;

}



.news-card__excerpt {

    font-size: 0.875rem;

    color: var(--color-gray-600);

    line-height: 1.55;

    flex: 1;

}



.news-card__cta {

    margin-top: 0.5rem;

    font-size: 0.78rem;

    font-weight: 700;

    font-family: var(--font-display);

    color: var(--color-red);

}



/* Tag section below cards */

.news-tag-section {

    margin-top: var(--space-6);

    padding-top: var(--space-4);

    border-top: 1px solid rgba(10, 10, 10, 0.08);

    max-width: 1100px;

    margin-inline: auto;

}



.news-tag-section__label {

    font-family: var(--font-display);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--color-gray-500);

    margin-bottom: var(--space-2);

}



.news-tag-cloud {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

}



.news-tag-chip {

    display: inline-block;

    padding: 0.3rem 0.75rem;

    border-radius: var(--radius-pill);

    border: 1px solid rgba(10, 10, 10, 0.12);

    font-size: 0.8rem;

    font-family: var(--font-display);

    font-weight: 600;

    color: var(--color-gray-700);

    text-decoration: none;

    transition: border-color 0.12s, color 0.12s;

}



.news-tag-chip:hover {

    border-color: var(--color-red);

    color: var(--color-red);

}



.news-tag-chip--active {

    border-color: var(--color-red);

    color: var(--color-red);

    font-weight: 700;

}



.news-card {

    display: flex;

    flex-direction: column;

    border: var(--border-soft);

    border-radius: var(--radius-lg);

    overflow: hidden;

    text-decoration: none;

    color: inherit;

    background: var(--gradient-soft);

    box-shadow: var(--shadow-card);

    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;

}



.news-card:hover {

    border-color: var(--color-red);

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    transform: translateY(-2px);

}



/* External / social card accent */

.news-card--external {

    border-top: 2px solid var(--color-gray-300);

}



.news-card--external:hover {

    border-top-color: var(--color-red);

}



.news-card__media {

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    display: block;

    background: rgba(0, 0, 0, 0.05);

}



.news-card__body {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

    padding: 1.1rem 1.25rem 1.25rem;

    flex: 1;

}



.news-card__meta {

    font-size: 0.75rem;

    font-weight: 700;

    font-family: var(--font-display);

    letter-spacing: 0.06em;

    text-transform: uppercase;

    color: var(--color-gray-500);

}



.news-card__source-badge {

    display: inline-block;

    padding: 0.1rem 0.4rem;

    border-radius: var(--radius-sm);

    background: rgba(0, 0, 0, 0.07);

    font-size: 0.65rem;

    vertical-align: middle;

    margin-right: 0.3rem;

}



.news-card__title {

    font-family: var(--font-display);

    font-size: clamp(0.95rem, 1.5vw, 1.05rem);

    font-weight: 800;

    line-height: 1.3;

}



.news-card__excerpt {

    font-size: 0.875rem;

    color: var(--color-gray-600);

    line-height: 1.55;

    flex: 1;

}



.news-card__cta {

    margin-top: auto;

    font-size: 0.8rem;

    font-weight: 700;

    font-family: var(--font-display);

    color: var(--color-red);

}



/* Sidebar */

.news-sidebar {

    align-self: start;

    position: sticky;

    top: 5rem;

}



.news-sidebar__heading {

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--color-gray-500);

    margin-bottom: var(--space-2);

    margin-top: var(--space-4);

}



.news-sidebar__heading:first-child {

    margin-top: 0;

}



.article-hero-media {

    width: 100%;

    border-radius: var(--radius-md);

    object-fit: cover;

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: rgba(255, 255, 255, 0.88);

}



.article-hero-media-wrap {

    min-width: 0;

}



.article-hero-media {

    aspect-ratio: 16 / 10;

}



.article-meta {

    color: var(--color-gray-600);

    font-size: var(--step--1);

    text-transform: uppercase;

    letter-spacing: 0.08em;

}



.article-meta--hero {

    margin-top: var(--space-3);

}



.news-sidebar {

    align-self: start;

}



.news-article-body {

    gap: 1.5rem;

}



.pagination {

    display: flex;

    flex-wrap: wrap;

    gap: 0.65rem;

    margin-top: var(--space-4);

}



.pagination__link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 2.8rem;

    min-height: 2.8rem;

    padding: 0.5rem 0.8rem;

    border-radius: 999px;

    border: 1px solid rgba(10, 10, 10, 0.12);

    background: rgba(255, 255, 255, 0.82);

    font-family: var(--font-display);

    font-weight: 700;

}



.pagination__link.is-active {

    background: var(--color-black);

    color: var(--color-white);

    border-color: var(--color-black);

}



.stack-form select[multiple] {

    min-height: 10rem;

}



.admin-form__inline-grid,

.events-layout,

.event-detail-layout,

.event-detail-hero,

.event-card--list {

    display: grid;

    gap: var(--space-3);

}



.checkbox-row {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    font-family: var(--font-display);

    font-weight: 700;

}



.checkbox-row input[type="checkbox"] {

    inline-size: 1.1rem;

    block-size: 1.1rem;

    accent-color: var(--color-red);

}



.event-view-toggle {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

}



.event-filter-form {

    margin-bottom: var(--space-4);

}



.events-card-grid,

.event-list-stack,

.event-sidebar-stack,

.event-widget-list {

    display: grid;

    gap: var(--space-3);

}



.event-card,

.event-widget-item,

.event-calendar-note,

.venue-card,

.event-widget {

    background: rgba(255, 255, 255, 0.9);

}



.event-card {

    display: grid;

    gap: 0.9rem;

}



.event-card--featured {

    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 220, 0.92));

}



.event-card__media,

.event-hero-media {

    width: 100%;

    border-radius: var(--radius-md);

    object-fit: cover;

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: rgba(255, 255, 255, 0.88);

}



.event-card__media {

    aspect-ratio: 16 / 10;

}



.event-card__content {

    display: grid;

    gap: 0.85rem;

}



.event-meta,

.event-submeta,

.event-price-note,

.venue-card__address {

    color: var(--color-gray-600);

}



.event-meta {

    font-size: var(--step--1);

    text-transform: uppercase;

    letter-spacing: 0.08em;

}



.event-submeta {

    font-size: 0.92rem;

}



.event-actions,

.event-share-row {

    display: flex;

    flex-wrap: wrap;

    gap: 0.85rem;

}



.event-actions--hero {

    margin-top: var(--space-3);

}



.event-calendar-shell,

.event-map-embed {

    padding: clamp(1rem, 2vw, 1.6rem);

    border-radius: var(--radius-lg);

    border: var(--border-soft);

    background: rgba(255, 255, 255, 0.9);

    box-shadow: var(--shadow-card);

}



.event-calendar-shell {

    margin-bottom: var(--space-3);

}



.event-calendar-shell .fc {

    --fc-border-color: rgba(10, 10, 10, 0.12);

    --fc-button-bg-color: var(--color-black);

    --fc-button-border-color: var(--color-black);

    --fc-button-hover-bg-color: #1d1d1d;

    --fc-button-hover-border-color: #1d1d1d;

    --fc-button-active-bg-color: var(--color-red);

    --fc-button-active-border-color: var(--color-red);

    --fc-event-bg-color: var(--color-red);

    --fc-event-border-color: var(--color-red);

    --fc-page-bg-color: rgba(255, 255, 255, 0.76);

}



.event-calendar-shell .fc .fc-toolbar-title {

    font-family: var(--font-display);

    font-size: clamp(1.1rem, 2vw, 1.5rem);

}



.event-calendar-shell .fc .fc-col-header-cell-cushion,

.event-calendar-shell .fc .fc-daygrid-day-number,

.event-calendar-shell .fc .fc-list-day-text,

.event-calendar-shell .fc .fc-list-day-side-text {

    color: var(--color-black);

}



.event-calendar-shell .fc .fc-scrollgrid {

    border-radius: calc(var(--radius-md) - 0.15rem);

    overflow: hidden;

}



.event-calendar-shell .fc .fc-daygrid-day-frame {

    min-height: 7.6rem;

    cursor: pointer;

}



.event-calendar-shell .fc .fc-daygrid-day-top {

    justify-content: flex-end;

}



.event-calendar-shell .fc .fc-daygrid-day-number {

    padding: 0.35rem 0.45rem 0 0;

    font-family: var(--font-display);

    font-size: 0.95rem;

    font-weight: 700;

}



.event-calendar-shell .fc .fc-daygrid-day-events {

    margin-top: 0.35rem;

    min-height: 0;

}



.event-calendar-shell .fc .fc-daygrid-day.has-events {

    background: linear-gradient(180deg, rgba(255, 249, 239, 0.72), rgba(255, 255, 255, 0.26));

}



.event-calendar-shell .fc .fc-daygrid-day.fc-day-today {

    background: rgba(255, 243, 190, 0.55);

}



.event-calendar-day-list {

    display: grid;

    gap: 0.35rem;

}



.event-calendar-day-chip,

.event-calendar-day-more {

    display: block;

    width: 100%;

    padding: 0.2rem 0.45rem;

    border: 0;

    border-radius: 999px;

    background: rgba(206, 17, 65, 0.12);

    color: #9c1036;

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 700;

    line-height: 1.2;

    text-align: left;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    cursor: pointer;

}



.event-calendar-day-more {

    background: rgba(10, 10, 10, 0.08);

    color: var(--color-black);

}



.event-calendar-day-chip:hover,

.event-calendar-day-chip:focus-visible,

.event-calendar-day-more:hover,

.event-calendar-day-more:focus-visible {

    transform: translateY(-1px);

    box-shadow: 0 0 0 2px rgba(206, 17, 65, 0.14);

}



.event-day-dialog {

    width: min(42rem, calc(100vw - 2rem));

    max-width: 42rem;

    padding: 0;

    border: 0;

    border-radius: calc(var(--radius-lg) + 0.15rem);

    background: rgba(255, 255, 255, 0.98);

    box-shadow: 0 2rem 4rem rgba(10, 10, 10, 0.22);

}



.event-day-dialog::backdrop {

    background: rgba(10, 10, 10, 0.55);

    backdrop-filter: blur(4px);

}



.event-day-dialog__inner {

    display: grid;

    gap: 1rem;

    padding: 1.25rem;

}



.event-day-dialog__header {

    display: flex;

    justify-content: space-between;

    align-items: start;

    gap: 1rem;

}



.event-day-dialog__eyebrow {

    color: var(--color-red);

    font-family: var(--font-display);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

}



.event-day-dialog__heading {

    margin-top: 0.35rem;

}



.event-day-dialog__close {

    padding: 0.65rem 1rem;

    border: 1px solid rgba(10, 10, 10, 0.12);

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.92);

    font-family: var(--font-display);

    font-weight: 700;

    cursor: pointer;

}



.event-day-dialog__list {

    display: grid;

    gap: 0.85rem;

    max-height: min(60vh, 30rem);

    overflow-y: auto;

    padding-right: 0.2rem;

}



.event-day-dialog__item {

    display: grid;

    gap: 0.4rem;

    padding: 1rem;

    border-radius: var(--radius-md);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 235, 0.92));

    color: var(--color-black);

}



.event-day-dialog__item:hover,

.event-day-dialog__item:focus-visible {

    border-color: rgba(206, 17, 65, 0.24);

    box-shadow: 0 0 0 2px rgba(206, 17, 65, 0.12);

}



.event-day-dialog__time {

    color: var(--color-red);

    font-family: var(--font-display);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}



.event-day-dialog__title {

    font-size: var(--step-0);

}



.event-day-dialog__meta,

.event-day-dialog__empty {

    color: var(--color-gray-600);

}



.page-events-index main .container {

    max-width: 1320px;

}



.events-index-shell,

.events-secondary-stack,

.events-support-grid,

.event-calendar-stage,

.event-filter-panel,

.event-calendar-stage__intro,

.event-guide-card {

    display: grid;

    gap: var(--space-3);

}



.event-calendar-stage {

    gap: var(--space-4);

    padding: clamp(1.25rem, 2vw, 1.8rem);

    border-radius: calc(var(--radius-lg) + 0.2rem);

    border: 1px solid rgba(10, 10, 10, 0.12);

    background: linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(255, 255, 255, 0.96));

    box-shadow: var(--shadow-card);

}



.event-calendar-stage__top {

    display: grid;

    gap: var(--space-3);

    justify-items: center;

}



.event-calendar-stage__top--split {

    grid-template-columns: 1fr;

    justify-items: stretch;

}



@media (min-width: 768px) {

    .event-calendar-stage__top--split {

        grid-template-columns: 1fr 1fr;

        align-items: stretch;

        gap: var(--space-4);

    }

}



.page-events-index .event-calendar-stage__intro {

    width: 100%;

    justify-items: center;

    text-align: center;

}



.event-calendar-stage__top--split .event-calendar-stage__intro {

    text-align: center;

    align-self: center;

    justify-self: center;

    width: 100%;

}



.page-events-index .event-calendar-stage h1 {

    max-width: none;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 0.98;

    width: 100%;

}



/* Submit an Event CTA frame */

.event-submit-cta {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    gap: var(--space-3);

    padding: clamp(1.25rem, 2vw, 1.75rem);

    border-radius: var(--radius-md);

    border: 2px solid #F5C518;

    background: linear-gradient(160deg, rgba(245, 197, 24, 0.10) 0%, rgba(245, 197, 24, 0.02) 100%);

}



.event-submit-cta__eyebrow {

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--color-red);

    margin: 0;

}



.event-submit-cta__heading {

    font-size: clamp(1.25rem, 2.5vw, 1.6rem);

    line-height: 1.1;

    margin: 0;

}



.event-submit-cta__body {

    font-size: 0.95rem;

    line-height: 1.55;

    color: rgba(255, 255, 255, 0.82);

    margin: 0;

}



.event-submit-cta .button,
.event-submit-cta__button {

    align-self: center;

    padding: 0.4rem 0.95rem;

    font-size: 0.85rem;

    font-weight: 600;

    border-radius: 999px;

    border-width: 2px;

}



/* Submit form page */

.event-submit-page {

    display: grid;

    gap: var(--space-5);

}



.event-submit-page__header {

    display: grid;

    gap: var(--space-2);

}



.event-submit-back {

    font-size: 0.875rem;

    color: var(--color-red);

    text-decoration: none;

    font-weight: 600;

}



.event-submit-back:hover {

    text-decoration: underline;

}



.event-submit-form {

    padding: clamp(1.5rem, 3vw, 2.5rem);

    border-radius: var(--radius-md);

    border: 1px solid rgba(10, 10, 10, 0.1);

    background: rgba(255, 255, 255, 0.9);

    box-shadow: var(--shadow-soft);

}



.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: var(--space-3);

}



@media (max-width: 767px) {

    .form-row {

        grid-template-columns: 1fr;

    }

}



.form-field {

    display: grid;

    gap: 0.4rem;

}



.form-field label {

    font-size: 0.875rem;

    font-weight: 600;

}



.form-field input,

.form-field textarea,

.form-field select {

    padding: 0.6rem 0.85rem;

    border: 1px solid rgba(10, 10, 10, 0.2);

    border-radius: var(--radius-sm);

    font-size: 0.95rem;

    background: #fff;

    width: 100%;

    box-sizing: border-box;

}



.form-field input:focus,

.form-field textarea:focus,

.form-field select:focus {

    outline: 2px solid var(--color-red);

    outline-offset: 1px;

    border-color: var(--color-red);

}



.form-field--error input,

.form-field--error textarea,

.form-field--error select {

    border-color: var(--color-red);

}



.form-field__error {

    font-size: 0.8rem;

    color: var(--color-red);

    font-weight: 600;

    margin: 0;

}



.form-field__hint {

    font-size: 0.8rem;

    color: rgba(10, 10, 10, 0.55);

    margin: 0;

}



.form-field__optional {

    font-weight: 400;

    color: rgba(10, 10, 10, 0.5);

    font-size: 0.8rem;

}



.page-events-index .event-filter-form,

.event-calendar-empty,

.event-guide-card,

.page-events-index .event-widget {

    padding: clamp(1rem, 1.8vw, 1.2rem);

    border-radius: var(--radius-md);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: rgba(255, 255, 255, 0.82);

}



.event-calendar-stage__active .filter-chip-row {

    margin-top: 0;

}



.page-events-index .event-filter-form {

    margin-bottom: 0;

}



.event-filter-panel {

    gap: var(--space-2);

    width: 100%;

}



.page-events-index .event-filter-form .admin-form__actions {

    margin-top: 0;

}



.event-calendar-shell--primary {

    margin-bottom: 0;

    padding: clamp(1rem, 2.1vw, 1.8rem);

    background: rgba(255, 255, 255, 0.96);

}



.events-secondary-header {

    display: grid;

    gap: 0.75rem;

}



.page-events-index .events-card-grid {

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

}



.page-events-index .event-card--list {

    padding: clamp(1rem, 1.8vw, 1.2rem);

}



.page-events-index .event-list-stack,

.page-events-index .event-widget-list {

    gap: var(--space-3);

}



.page-events-index .event-card,

.page-events-index .event-calendar-note,

.page-events-index .event-guide-card,

.page-events-index .event-widget {

    border-color: rgba(10, 10, 10, 0.1);

}



.page-events-index .event-view-toggle {

    gap: 0.6rem;

}



.page-events-index .event-view-toggle .filter-chip {

    justify-content: center;

}



.page-events-index .pagination {

    margin-top: var(--space-2);

}



.event-sidebar {

    display: grid;

    gap: var(--space-3);

    align-self: start;

}



.event-widget-item {

    padding-bottom: var(--space-2);

    border-bottom: 1px solid rgba(10, 10, 10, 0.08);

}



.event-widget-item:last-child {

    border-bottom: 0;

    padding-bottom: 0;

}



.event-widget-item h3 {

    font-size: var(--step-0);

}



.event-detail-shell,

.event-detail-stage,

.event-detail-stage__intro,

.event-detail-facts,

.event-detail-fact {

    display: grid;

    gap: var(--space-3);

}



.event-detail-shell {

    max-width: 960px;

}



.event-detail-stage {

    padding: clamp(1.4rem, 2.4vw, 2rem);

    border-radius: calc(var(--radius-lg) + 0.2rem);

    border: 1px solid rgba(10, 10, 10, 0.12);

    background: linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(255, 255, 255, 0.96));

    box-shadow: var(--shadow-card);

}



.event-detail-stage__intro {

    justify-items: center;

    text-align: center;

    padding-bottom: var(--space-2);

    border-bottom: 1px solid rgba(10, 10, 10, 0.08);

}



.event-detail-stage__intro h1 {

    width: 100%;

    max-width: none;

}



.event-detail-facts {

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    align-items: stretch;

}



.event-detail-fact {

    padding: 1rem 1.05rem;

    border-radius: var(--radius-md);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: rgba(255, 255, 255, 0.88);

}



.event-detail-fact__label {

    color: var(--color-red);

    font-family: var(--font-display);

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

}



.event-detail-fact__value {

    font-size: var(--step-0);

    line-height: 1.55;

}



.event-detail-fact__value--multiline {

    white-space: normal;

}



.event-detail-body {

    gap: 1.5rem;

}



.event-map-embed iframe {

    width: 100%;

    min-height: 420px;

    border: 0;

    border-radius: calc(var(--radius-lg) - 0.3rem);

}

/* Place-page Leaflet map. Same footprint the OSM iframe had, so the section's rhythm is
   unchanged; Leaflet paints its own tiles and controls, which read correctly on both
   themes, so this rule stays purely structural. */
.place-map {

    width: 100%;

    min-height: 420px;

    border-radius: calc(var(--radius-lg) - 0.3rem);

    z-index: 0;

}

/* Place-map frame + pins (Erich 2026-09-14: dark tiles were unreadable, green pins had
   no names). The frame follows the theme; the Voyager tiles are light on both. */
:root[data-theme="dark"] .event-map-embed {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Leaflet's own .leaflet-marker-icon rules force display:block, which pushed the number
   into the corner; the doubled class wins without !important. */
.leaflet-marker-icon.place-pin {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #00A651;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font: 700 12px/1 var(--font-display, system-ui, sans-serif);
    cursor: pointer;
}

/* 32px+ hit area without making the badge look bigger. */
.place-pin::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
}

.leaflet-marker-icon.place-pin--self {
    background: #F5C518; /* --color-gold: this Place, "X marks the spot" (Erich 2026-09-14) */
    border-width: 3px;
    color: #0a0a0a;
    font-size: 14px;
    font-weight: 900;
}

.place-pin:hover,
.place-pin:focus-visible {
    transform: scale(1.15);
}

.place-pin-popup__meta {
    color: #555555;
    font-size: 0.85em;
}

.place-pin-popup__link {
    display: inline-block;
    margin-top: 0.3rem;
    font-weight: 700;
    color: #00843f;
}

.place-map-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
}

/* Two rows of five on desktop (Erich 2026-09-14). */
@media (min-width: 1024px) {
    .place-map-list {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.place-map-list li {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    column-gap: 0.5rem;
    align-items: start;
}

.place-map-list li .place-map-list__meta {
    grid-column: 2;
}

.place-map-list__num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #00A651;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
}

.place-map-list a {
    font-weight: 700;
}

.place-map-list__meta {
    display: block;
    opacity: 0.7;
    font-size: 0.85rem;
}

.place-map__footnote {

    margin: 0.75rem 0 0;

    font-size: 0.9rem;

    opacity: 0.85;

}



.event-form-sidebar {

    align-self: start;

}



.page-events .callout-card {

    border-color: rgba(10, 10, 10, 0.12);

}



.page-events .page-hero,

.page-nightlife .page-hero,

.page-map .page-hero {

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));

}



.page-directory .callout-card,

.page-news .callout-card,

.page-shop .callout-card,

.page-admin .callout-card {

    border-color: rgba(10, 10, 10, 0.12);

}



.directory-layout,

.directory-detail-layout,

.directory-detail-hero,

.directory-list-stack,

.directory-sidebar-stack,

.directory-card-grid,

.directory-hours-editor {

    display: grid;

    gap: var(--space-3);

}



.directory-card {

    display: grid;

    grid-template-rows: auto 1fr;

    gap: 0.9rem;

    background: rgba(255, 255, 255, 0.92);

}



.directory-card__media,

.directory-hero-media,

.directory-gallery__item img,

.directory-gallery--admin img {

    width: 100%;

    border-radius: var(--radius-md);

    object-fit: cover;

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: rgba(255, 255, 255, 0.88);

}



.directory-card__media {

    aspect-ratio: 16 / 10;

}



.directory-card__content {

    display: flex;

    flex-direction: column;

    gap: 0.85rem;

}



.directory-card__content .event-actions {

    margin-top: auto;

}



.directory-card__submeta,

.directory-contact-list,

.directory-hours-list,

.directory-hours-editor label {

    color: var(--color-gray-600);

}



.directory-filter-form {

    margin-bottom: var(--space-4);

}



.directory-sidebar,

.directory-sidebar-stack {

    align-self: start;

}



.directory-detail-body {

    gap: 1.5rem;

}



.directory-contact-list,

.directory-hours-list {

    display: grid;

    gap: 1rem;

}



.directory-contact-list p {

    margin: 0;

}



.directory-hours-row {

    display: flex;

    justify-content: space-between;

    gap: 1rem;

    padding-bottom: 0.75rem;

    border-bottom: 1px solid rgba(10, 10, 10, 0.08);

}



.directory-hours-row:last-child {

    border-bottom: 0;

    padding-bottom: 0;

}



.directory-hours-row strong {

    color: var(--color-black);

}



.directory-hours-editor {

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

}



.directory-gallery {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 1rem;

    margin-top: var(--space-3);

}



.directory-gallery__item {

    display: block;

}



.directory-gallery__item img,

.directory-gallery--admin img {

    aspect-ratio: 1 / 1;

}



.directory-gallery--admin {

    grid-template-columns: repeat(2, minmax(0, 1fr));

}



.page-directory-index main .container {

    width: min(1320px, calc(100% - 2rem));

}



.directory-index-shell,

.directory-stage,

.directory-stage__intro,

.directory-filter-panel {

    display: grid;

    gap: var(--space-3);

}



.directory-index-shell,

.directory-stage > *,

.directory-filter-panel > * {

    min-width: 0;

}



.directory-stage__intro {

    grid-template-columns: minmax(0, 1fr);

    justify-items: center;

    align-content: center;

    text-align: center;

}



.directory-stage {

    gap: var(--space-3);

    padding: clamp(1.25rem, 2.1vw, 1.8rem);

    border-radius: calc(var(--radius-lg) + 0.2rem);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: linear-gradient(135deg, rgba(248, 243, 235, 0.98), rgba(234, 241, 236, 0.95));

    box-shadow: var(--shadow-card);

}



.page-directory-index .directory-stage__intro,

.page-directory-index .directory-stage__intro .eyebrow,

.page-directory-index .directory-stage__intro h1,

.page-directory-index .directory-stage__intro .lede {

    width: 100%;

    max-width: none;

}



.page-directory-index .directory-stage__intro h1 {

    font-size: clamp(2rem, 4vw, 3.1rem);

    line-height: 0.96;

}



.directory-filter-panel {

    padding: clamp(1rem, 1.8vw, 1.2rem);

    border-radius: var(--radius-md);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 239, 0.96));

}



.page-directory-index .directory-filter-form {

    margin-bottom: 0;

}



.page-directory-index .directory-filter-form .admin-form__actions {

    margin-top: 0;

}



.page-directory-index .directory-card-grid--index {

    grid-template-columns: 1fr;

    gap: var(--space-4);

}



.page-directory-index .directory-card {

    grid-template-columns: minmax(0, 1fr);

    padding: clamp(1.15rem, 2vw, 1.45rem);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 238, 229, 0.94));

    box-shadow: var(--shadow-card);

}



.page-directory-index .directory-card__content {

    gap: 1rem;

}



.directory-card__summary {

    margin: 0;

    color: var(--color-gray-700);

}



.directory-empty {

    padding: clamp(1rem, 1.8vw, 1.2rem);

}



.page-directory-index .pagination {

    margin-top: var(--space-2);

}



.nightlife-layout,

.nightlife-detail-layout,

.nightlife-detail-hero,

.nightlife-card-grid,

.nightlife-sidebar-stack,

.nightlife-hours-editor,

.nightlife-event-grid {

    display: grid;

    gap: var(--space-3);

}



.nightlife-card {

    display: grid;

    gap: 0.9rem;

    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(250, 238, 231, 0.92));

}



.nightlife-card__media,

.nightlife-hero-media,

.nightlife-gallery__item img,

.nightlife-gallery--admin img {

    width: 100%;

    border-radius: var(--radius-md);

    object-fit: cover;

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: rgba(255, 255, 255, 0.88);

}



.nightlife-card__media {

    aspect-ratio: 16 / 10;

}



.nightlife-card__content {

    display: grid;

    gap: 0.85rem;

}



.nightlife-card__submeta,

.nightlife-meta-list,

.nightlife-hours-list,

.nightlife-hours-editor label {

    color: var(--color-gray-600);

}



.nightlife-filter-form {

    margin-bottom: var(--space-4);

}



.nightlife-sidebar,

.nightlife-sidebar-stack {

    align-self: start;

}



.nightlife-detail-body {

    gap: 1.5rem;

}



.nightlife-meta-list,

.nightlife-hours-list {

    display: grid;

    gap: 1rem;

}



.nightlife-meta-list p {

    margin: 0;

}



.nightlife-hours-row {

    display: flex;

    justify-content: space-between;

    gap: 1rem;

    padding-bottom: 0.75rem;

    border-bottom: 1px solid rgba(10, 10, 10, 0.08);

}



.nightlife-hours-row:last-child {

    border-bottom: 0;

    padding-bottom: 0;

}



.nightlife-hours-row strong {

    color: var(--color-black);

}



.nightlife-hours-editor {

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

}



.nightlife-gallery {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

    gap: 1rem;

    margin-top: var(--space-3);

}



.nightlife-gallery__item {

    display: block;

}



.nightlife-gallery__item img,

.nightlife-gallery--admin img {

    aspect-ratio: 1 / 1;

}



.nightlife-gallery--admin {

    grid-template-columns: repeat(2, minmax(0, 1fr));

}



.page-nightlife-index main .container {

    width: min(1320px, calc(100% - 2rem));

}



.nightlife-index-shell,

.nightlife-stage,

.nightlife-stage__intro,

.nightlife-filter-panel,

.nightlife-type-cloud {

    display: grid;

    gap: var(--space-3);

}



.nightlife-index-shell,

.nightlife-stage > *,

.nightlife-filter-panel > * {

    min-width: 0;

}



.nightlife-stage__intro {

    grid-template-columns: minmax(0, 1fr);

    justify-items: center;

    align-content: center;

    text-align: center;

}



.nightlife-stage {

    gap: var(--space-3);

    padding: clamp(1.25rem, 2.2vw, 1.9rem);

    border-radius: calc(var(--radius-lg) + 0.2rem);

    border: 1px solid rgba(32, 20, 12, 0.18);

    background: linear-gradient(135deg, rgba(35, 23, 18, 0.98), rgba(106, 58, 31, 0.94));

    box-shadow: var(--shadow-card);

    color: rgba(255, 244, 235, 0.96);

}



.page-nightlife-index .nightlife-stage__intro,

.page-nightlife-index .nightlife-stage .eyebrow,

.page-nightlife-index .nightlife-stage h1,

.page-nightlife-index .nightlife-stage .lede {

    width: 100%;

    max-width: none;

}



.page-nightlife-index .nightlife-stage .eyebrow,

.page-nightlife-index .nightlife-stage .lede {

    color: rgba(255, 234, 220, 0.82);

}



.page-nightlife-index .nightlife-stage h1 {

    font-size: clamp(2.1rem, 4vw, 3.25rem);

    line-height: 0.96;

    color: var(--color-white);

}



.page-nightlife-index .nightlife-stage .filter-chip {

    border-color: rgba(255, 255, 255, 0.16);

    background: rgba(255, 255, 255, 0.08);

    color: rgba(255, 248, 241, 0.94);

}



.page-nightlife-index .nightlife-stage .filter-chip--active {

    border-color: rgba(255, 214, 166, 0.45);

    background: rgba(255, 214, 166, 0.18);

    color: var(--color-white);

}



.nightlife-filter-panel {

    padding: clamp(1rem, 1.8vw, 1.2rem);

    border-radius: var(--radius-md);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 244, 238, 0.96));

}



.page-nightlife-index .nightlife-filter-form {

    margin-bottom: 0;

}



.page-nightlife-index .nightlife-filter-form .admin-form__actions {

    margin-top: 0;

}



.nightlife-type-cloud,

.nightlife-filter-panel__active {

    display: flex;

    flex-wrap: wrap;

    gap: 0.75rem;

}



.nightlife-results-meta {

    margin: 0;

}



.page-nightlife-index .nightlife-card-grid--index {

    grid-template-columns: 1fr;

    gap: var(--space-4);

}



.page-nightlife-index .nightlife-card {

    grid-template-columns: minmax(0, 1fr);

    padding: clamp(1.15rem, 2vw, 1.45rem);

    border: 1px solid rgba(10, 10, 10, 0.08);

    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 238, 229, 0.94));

    box-shadow: var(--shadow-card);

}



.nightlife-card__header {

    display: grid;

    gap: 0.4rem;

}



.page-nightlife-index .nightlife-card__content {

    gap: 1.2rem;

}



.nightlife-card__summary {

    margin: 0;

    color: var(--color-gray-700);

}



.nightlife-card__facts {

    display: flex;

    flex-wrap: wrap;

    gap: 0.65rem;

}



.nightlife-card__fact {

    display: inline-flex;

    align-items: center;

    padding: 0.45rem 0.75rem;

    border-radius: 999px;

    border: 1px solid rgba(57, 37, 25, 0.1);

    background: rgba(255, 250, 245, 0.95);

    color: var(--color-gray-700);

}



.nightlife-empty {

    padding: clamp(1rem, 1.8vw, 1.2rem);

}



.page-nightlife-index .pagination {

    margin-top: var(--space-2);

}



@media (min-width: 900px) {

    .page-nightlife-index .nightlife-card-grid--index {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}



body.has-lightbox {

    overflow: hidden;

}



.lightbox-overlay[hidden] {

    display: none;

}



.lightbox-overlay {

    position: fixed;

    inset: 0;

    z-index: 1000;

    display: grid;

    place-items: center;

    padding: 2rem 1rem;

}



.lightbox-overlay__backdrop {

    position: absolute;

    inset: 0;

    background: rgba(10, 10, 10, 0.88);

    backdrop-filter: blur(6px);

}



.lightbox-overlay__inner {

    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns: auto minmax(0, 1fr) auto;

    align-items: center;

    gap: 1rem;

    width: min(1100px, 100%);

}



.lightbox-overlay__figure {

    margin: 0;

    display: grid;

    gap: 0.85rem;

}



.lightbox-overlay__image {

    width: 100%;

    max-height: 76vh;

    object-fit: contain;

    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.08);

}



.lightbox-overlay__caption {

    color: rgba(255, 255, 255, 0.82);

    text-align: center;

}



.lightbox-overlay__nav,

.lightbox-overlay__close {

    position: relative;

    z-index: 1;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.08);

    color: var(--color-white);

    cursor: pointer;

    font-family: var(--font-display);

    font-weight: 700;

}



.lightbox-overlay__nav {

    inline-size: 3rem;

    block-size: 3rem;

    border-radius: 999px;

}



.lightbox-overlay__close {

    position: absolute;

    inset: 1rem 1rem auto auto;

    padding: 0.7rem 1rem;

    border-radius: var(--radius-pill);

}



.lightbox-overlay__nav[hidden] {

    visibility: hidden;

}



@media (min-width: 768px) {

    .page-hero__grid,

    .auth-shell__grid {

        grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);

    }



    .events-support-grid {

        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);

        align-items: start;

    }



    .news-layout,

    .news-article-layout {

        grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);

    }



    .news-article-hero {

        grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.95fr);

    }



    .admin-form__inline-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }



    .admin-form__inline-grid--triple {

        grid-template-columns: repeat(3, minmax(0, 1fr));

    }



    .directory-filter-form--inline {

        grid-template-columns: repeat(4, minmax(0, 1fr)) auto;

        align-items: end;

    }



    .page-directory-index .directory-filter-form--inline .admin-form__actions {

        grid-column: auto;

    }



    .events-layout {

        grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);

        align-items: start;

    }



    .directory-layout {

        grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);

        align-items: start;

    }



    .page-directory-index .directory-card-grid--index {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }



    .nightlife-filter-form--inline {

        grid-template-columns: repeat(3, minmax(0, 1fr)) auto;

        align-items: end;

    }



    .page-nightlife-index .nightlife-filter-form--inline .admin-form__actions {

        grid-column: auto;

    }



    .nightlife-layout {

        grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);

        align-items: start;

    }



    .directory-card--list {

        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);

        align-items: start;

    }



    .nightlife-card--list {

        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);

        align-items: start;

    }



    .directory-detail-layout,

    .directory-detail-hero {

        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);

        align-items: start;

    }



    .nightlife-detail-layout,

    .nightlife-detail-hero {

        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);

        align-items: start;

    }



    .event-card--list {

        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);

        align-items: start;

    }



    .event-detail-layout,

    .event-detail-hero {

        grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);

        align-items: start;

    }



    .lightbox-overlay {

        padding-inline: 2rem;

    }

}



@media (max-width: 767px) {

    .event-calendar-shell .fc .fc-daygrid-day-frame {

        min-height: 6.6rem;

    }



    .event-day-dialog {

        width: calc(100vw - 1rem);

    }



    .page-events-index .event-calendar-shell .fc .fc-toolbar {

        display: grid;

        gap: 0.75rem;

    }



    .page-events-index .event-calendar-shell .fc .fc-toolbar-chunk {

        display: flex;

        flex-wrap: wrap;

        gap: 0.5rem;

    }



    .lightbox-overlay__inner {

        grid-template-columns: minmax(0, 1fr);

    }



    .lightbox-overlay__nav {

        display: none;

    }

}

/* ============================================

   A-Z chip strip for /places directory

   ============================================ */

.directory-alpha {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

    margin: 1.5rem 0 2rem;

    padding: 1rem;

    background: var(--surface-muted, #f5f3ed);

    border-radius: 0.75rem;

    align-items: center;

}

[data-theme="dark"] .directory-alpha {

    background: rgba(255, 255, 255, 0.04);

}

.directory-alpha__chip {

    display: inline-flex;

    align-items: center;

    gap: 0.35rem;

    min-width: 2.5rem;

    padding: 0.5rem 0.85rem;

    border: 1px solid var(--border-soft, rgba(0,0,0,0.12));

    border-radius: 999px;

    background: var(--surface, #fff);

    color: var(--text-strong, inherit);

    font-weight: 600;

    font-size: 0.95rem;

    text-decoration: none;

    line-height: 1;

    transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;

}

[data-theme="dark"] .directory-alpha__chip {

    background: rgba(255,255,255,0.06);

    border-color: rgba(255,255,255,0.12);

}

.directory-alpha__chip:hover {

    background: var(--accent, #f1604a);

    color: #fff;

    border-color: var(--accent, #f1604a);

    transform: translateY(-1px);

}

.directory-alpha__chip.is-active {

    background: var(--accent, #f1604a);

    color: #fff;

    border-color: var(--accent, #f1604a);

}

.directory-alpha__chip.is-disabled {

    opacity: 0.32;

    cursor: not-allowed;

    pointer-events: none;

}

.directory-alpha__count {

    display: inline-block;

    font-size: 0.72rem;

    font-weight: 500;

    padding: 0.1rem 0.4rem;

    border-radius: 999px;

    background: rgba(0,0,0,0.08);

    color: inherit;

}

.directory-alpha__chip.is-active .directory-alpha__count,

.directory-alpha__chip:hover .directory-alpha__count {

    background: rgba(255,255,255,0.22);

}

@media (max-width: 640px) {

    .directory-alpha { gap: 0.35rem; padding: 0.75rem; }

    .directory-alpha__chip { padding: 0.4rem 0.6rem; font-size: 0.85rem; min-width: 2rem; }

    .directory-alpha__count { font-size: 0.65rem; padding: 0.05rem 0.3rem; }

}



/* ── News page filter panel (inside page-hero) ────────────────────────── */



.news-filter-panel {

    align-self: end;

}



.news-filter-panel__label {

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--color-gray-600);

    margin-bottom: 0.6rem;

}



.news-filter-panel__chips {

    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;

}



/* ── Category badge inside cards ──────────────────────────────────────── */



.news-category-badge {

    display: inline-block;

    padding: 0.15rem 0.6rem;

    border-radius: var(--radius-pill);

    background: rgba(206, 17, 65, 0.1);

    color: var(--color-red);

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    text-decoration: none;

    align-self: flex-start;

    transition: background 0.12s ease;

}



.news-category-badge:hover {

    background: rgba(206, 17, 65, 0.18);

}



.news-category-badge--social {

    background: rgba(10, 10, 10, 0.07);

    color: var(--color-gray-600);

}



.news-category-badge--social:hover {

    background: rgba(10, 10, 10, 0.12);

}



/* ── Featured posts grid ──────────────────────────────────────────────── */



.news-featured-grid {

    display: grid;

    gap: var(--space-4);

}



@media (min-width: 768px) {

    .news-featured-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



.news-featured-card {

    display: flex;

    flex-direction: column;

    border: var(--border-soft);

    border-radius: var(--radius-lg);

    overflow: hidden;

    background: var(--gradient-soft);

    box-shadow: var(--shadow-card);

    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;

}



.news-featured-card:hover {

    border-color: var(--color-red);

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);

    transform: translateY(-2px);

}



.news-featured-card__media-link {

    display: block;

    overflow: hidden;

}



.news-featured-card__media {

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    display: block;

    transition: transform 0.25s ease;

}



.news-featured-card:hover .news-featured-card__media {

    transform: scale(1.02);

}



.news-featured-card__media-placeholder {

    width: 100%;

    aspect-ratio: 16 / 9;

    background: var(--color-gray-100);

    display: flex;

    align-items: center;

    justify-content: center;

}



.news-featured-card__placeholder-category {

    font-family: var(--font-display);

    font-weight: 800;

    font-size: 1.25rem;

    color: var(--color-gray-400);

    text-transform: uppercase;

    letter-spacing: 0.1em;

}



.news-featured-card__body {

    display: flex;

    flex-direction: column;

    gap: 0.5rem;

    padding: 1.25rem 1.4rem 1.4rem;

    flex: 1;

}



.news-featured-card__title {

    font-family: var(--font-display);

    font-size: clamp(1.1rem, 2vw, 1.35rem);

    font-weight: 800;

    line-height: 1.25;

}



.news-featured-card__title a {

    text-decoration: none;

}



.news-featured-card__title a:hover,

.news-featured-card__title a:focus {

    color: white;

    text-shadow: 0 0 7px var(--color-green) !important;

}

.news-featured-card__title a:active {

    color: var(--color-green);

    text-shadow: none;

}



/* ── News article hero image (above layout) ───────────────────────────── */



.news-article-hero-img {

    padding-top: clamp(1.5rem, 3vw, 3rem);

}



.news-article-hero-img .article-hero-media {

    aspect-ratio: 21 / 9;

    max-height: 520px;

}



/* ── News article header ──────────────────────────────────────────────── */



.news-article-header {

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

    margin-bottom: var(--space-4);

    padding-bottom: var(--space-4);

    border-bottom: 1px solid rgba(10, 10, 10, 0.08);

}



.news-article-header h1 {

    font-size: clamp(1.75rem, 3.5vw, 2.75rem);

    line-height: 1.15;

}



/* ── Prose body ───────────────────────────────────────────────────────── */



.prose {

    max-width: 70ch;

    line-height: 1.7;

    color: var(--color-black);

}



.prose h2 {

    font-family: var(--font-display);

    font-size: clamp(1.25rem, 2vw, 1.6rem);

    font-weight: 800;

    margin-top: var(--space-5);

    margin-bottom: var(--space-2);

}



.prose h3 {

    font-family: var(--font-display);

    font-size: 1.1rem;

    font-weight: 700;

    margin-top: var(--space-4);

    margin-bottom: var(--space-1);

}



.prose p {

    margin-bottom: var(--space-3);

}



.prose strong {

    font-weight: 700;

}



.prose a {

    color: var(--color-red);

    text-decoration: underline;

}



.prose ul,

.prose ol {

    margin: 0 0 var(--space-3) var(--space-4);

}



.prose li {


    margin-bottom: 0.35rem;

}



/* ── News article footer ──────────────────────────────────────────────── */



.news-article-footer {

    margin-top: var(--space-5);

    padding-top: var(--space-4);

    border-top: 1px solid rgba(10, 10, 10, 0.08);

}



.news-article-back {

    font-family: var(--font-display);

    font-weight: 700;

    font-size: 0.875rem;

    color: var(--color-gray-600);

    text-decoration: none;

}



.news-article-back:hover {

    color: var(--color-red);

}



/* ── Sidebar related items ────────────────────────────────────────────── */



.news-sidebar-stack {

    display: flex;

    flex-direction: column;

    gap: var(--space-3);

    margin-top: var(--space-2);

}



.news-sidebar-item {

    display: grid;

    gap: 0.6rem;

}



.news-sidebar-item__media {

    width: 100%;

    aspect-ratio: 16 / 9;

    object-fit: cover;

    border-radius: var(--radius-md);

}



.news-sidebar-item__title {

    font-family: var(--font-display);

    font-size: 0.9rem;

    font-weight: 700;

    line-height: 1.3;

}



.news-sidebar-item__title a {

    text-decoration: none;

}



.news-sidebar-item__title a:hover,

.news-sidebar-item__title a:focus {

    color: white;

    text-shadow: 0 0 7px var(--color-green) !important;

}

.news-sidebar-item__title a:active {

    color: var(--color-green);

    text-shadow: none;

}



/* ── Pagination status label ──────────────────────────────────────────── */



.pagination__status {

    display: inline-flex;

    align-items: center;

    font-family: var(--font-display);

    font-size: 0.84rem;

    font-weight: 600;

    color: var(--color-gray-500);

    padding: 0.5rem 0.25rem;

}



/* ── Numbered news pagination (SEO #3) ───────────────────────────────── */
.pagination__numbers {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}
.pagination .pagination__link--current,
html[data-theme] .pagination .pagination__link--current {
    background: #ffc52e;
    color: #0a0a0a;
    border-color: #ffc52e;
}
.pagination__gap {
    align-self: center;
    color: var(--color-gray-500);
    padding: 0 0.15rem;
}

/* ── News hero reduced title ─────────────────────────────────────────── */

.page-news .page-hero h1 {

    font-size: clamp(2.5rem, 1.9rem + 2.8vw, 4rem);

}



/* ── Pagination Older/Newer colors ───────────────────────────────────── */

.pagination {

    justify-content: center;

    align-items: center;

}



.pagination__link--newer {

    color: var(--color-green);

    border-color: rgba(0, 166, 81, 0.3);

}



.pagination__link--newer:hover {

    border-color: var(--color-green);

    background: rgba(0, 166, 81, 0.08);

}



.pagination__link--older {

    color: var(--color-red);

    border-color: rgba(206, 17, 65, 0.3);

}



.pagination__link--older:hover {

    border-color: var(--color-red);

    background: rgba(206, 17, 65, 0.08);

}



/* ── News article tags (yellow stoplight color) ──────────────────────── */

.news-article-tags {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 0.4rem;

    margin-top: 0.25rem;

}



.news-article-tags__label {

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;

    color: var(--color-gold);

}



.news-article-tag {

    display: inline-block;

    padding: 0.1rem 0.5rem;

    border-radius: var(--radius-pill);

    background: rgba(245, 197, 24, 0.1);

    color: var(--color-gold);

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 700;

    text-decoration: none;

    transition: background 0.12s ease;

}



.news-article-tag:hover {

    background: rgba(245, 197, 24, 0.22);

}



/* ── Full-width article body (no sidebar) ────────────────────────────── */

.news-article-body--full {

    max-width: 820px;

}



/* ── Related posts section below article ─────────────────────────────── */

.news-related-section {

    margin-top: var(--space-6);

    padding-top: var(--space-5);

    border-top: 1px solid rgba(10, 10, 10, 0.08);

}



.news-related-section__heading {

    font-family: var(--font-display);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    color: var(--color-gray-500);

    margin-bottom: var(--space-3);

}



/* ── Featured card placeholder branded gradient ──────────────────────── */

.news-featured-card__media-placeholder {

    background: linear-gradient(135deg, rgba(206, 17, 65, 0.08), rgba(245, 197, 24, 0.06) 50%, rgba(0, 166, 81, 0.08));

}



/* ── News hero: widen title column, reduce font ──────────────────────── */

@media (min-width: 768px) {

    .page-news .page-hero__grid {

        grid-template-columns: minmax(0, 2fr) minmax(240px, 0.7fr);

    }

}



.page-news .page-hero h1 {

    font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);

}



/* ── Tighten gap between featured cards and main grid ────────────────── */

.page-news .section--tight + .section {

    padding-top: var(--space-3);

}



/* ── Article hero grid: 2/3 header + 1/3 image ──────────────────────── */

.news-article-hero-grid {

    display: grid;

    gap: var(--space-4);

    align-items: start;

    margin-bottom: var(--space-4);

}



@media (min-width: 768px) {

    .news-article-hero-grid {

        grid-template-columns: minmax(0, 2fr) minmax(200px, 1fr);

    }

}



.news-article-hero-aside {

    align-self: center;

}



.news-article-hero-aside__img {

    width: 100%;

    height: auto; /* width/height attributes reserve the space; CSS keeps it fluid */

    border-radius: var(--radius-md);

    object-fit: cover;

}



/* ── Remove old full-width modifier, let body flow naturally ─────────── */

.news-article-body--full {

    max-width: none;

}



/* ── Featured card: contain logos, show gradient behind ───────────────── */

.news-featured-card__media-link {

    background: linear-gradient(135deg, rgba(206, 17, 65, 0.08), rgba(245, 197, 24, 0.06) 50%, rgba(0, 166, 81, 0.08));

}



.news-featured-card__media {

    object-fit: contain;

}



/* ── Inline filter panel (below hero h1, not in grid beside it) ──────── */

.news-filter-panel--inline {

    align-self: auto;

    margin-top: var(--space-3);

}



.news-filter-panel--inline .news-filter-panel__label {

    margin-bottom: 0.5rem;

}



/* ── News hero: let h1 + lede run full container width ───────────────── */

.page-news .page-hero h1 {

    max-width: none;

    font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);

}



.page-news .page-hero p {

    max-width: none;

}



/* ── News article: let h1 + text run full width ──────────────────────── */

.news-article-header h1 {

    max-width: none;

}



.news-article-header p {

    max-width: none;

}



.news-article-body p {

    max-width: none;

}



/* ── News article body: full width below the hero divider ────────────── */

.news-article-body .prose {

    max-width: none;

}



/* ── Reduce gap between hero and category/card grid on filtered pages ── */

.page-news .page-hero + .section {

    padding-top: var(--space-3);

}



/* ── Event calendar: stoplight count bar ─────────────────────────────── */

.event-calendar-day-bar {

    display: block;

    width: 100%;

    padding: 0.2rem 0.4rem;

    border: none;

    border-radius: var(--radius-sm, 4px);

    color: #fff;

    font-family: var(--font-display);

    font-size: 0.7rem;

    font-weight: 700;

    text-align: center;

    cursor: pointer;

    line-height: 1.4;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);

    transition: opacity 0.15s ease;

}



.event-calendar-day-bar:hover {

    opacity: 0.85;

}



/* Event detail: ticket button + body content */

.event-detail-actions {

    margin-top: var(--space-4);

}

.event-detail-body {

    margin-top: var(--space-5);

    border-top: 1px solid var(--color-border, rgba(255,255,255,0.12));

    padding-top: var(--space-4);

}

.event-detail-body__heading {

    font-family: var(--font-display);

    font-size: var(--step-1);

    margin-bottom: var(--space-3);

    max-width: none;

}

.event-detail-body .prose {

    max-width: none;

}

.event-detail-body .prose p {

    max-width: none;

}



/* Event detail: centered Learn More button at bottom */

.event-detail-actions--centered {

    margin-top: var(--space-4);

    text-align: center;

}



/* ── Tag chip (yellow/gold variant of news-cat-chip) ─────────────────── */

.news-tag-chip {

    display: inline-flex;

    align-items: center;

    gap: 0.35rem;

    padding: 0.45rem 1rem;

    border-radius: var(--radius-pill);

    border: 1px solid rgba(245, 197, 24, 0.3);

    background: transparent;

    font-family: var(--font-display);

    font-size: 0.82rem;

    font-weight: 700;

    color: var(--color-gold);

    text-decoration: none;

    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;

}



.news-tag-chip:hover {

    border-color: var(--color-gold);

    background: rgba(245, 197, 24, 0.08);

}



.news-tag-chip--active {

    background: var(--color-gold);

    border-color: var(--color-gold);

    color: #ffffff;

}



.news-tag-chip--active:hover {

    color: #ffffff;

}



.news-filter-panel__label--gold {

    color: var(--color-gold);

}



/* ── Event page topic/tag chip rows ──────────────────────────────────── */

.event-chip-filters {

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

    margin-bottom: var(--space-3);

}



/* ── Event detail page tags (centered, yellow) ───────────────────────── */

.event-detail-tags {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 0.5rem;

    margin-top: 0.75rem;

}





/* ── Places page: reduce hero gap by 70% ─────────────────────────────── */

.directory-alpha-section.section--tight {

    padding-bottom: 0;

}



.directory-stage-section {

    padding-top: 1.2rem;

    padding-bottom: 1.2rem;

}



.directory-alpha {

    margin: 0.5rem 0 0.6rem;

}




/* ── Places page: circled page-number pagination ─────────────────────── */

.directory-pagination {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 30px;

    margin-top: var(--space-5);

    padding-bottom: var(--space-3);

}



.directory-pagination__pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 4.08rem;

    height: 4.08rem;

    border-radius: 50%;

    border: 1px solid rgba(10, 10, 10, 0.14);

    background: transparent;

    font-family: var(--font-display);

    font-size: 1.45rem;

    font-weight: 700;

    color: var(--color-gray-600);

    text-decoration: none;

    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, transform 0.12s ease;

}



.directory-pagination__pill:hover {

    border-color: var(--color-green);

    color: var(--color-green);

    transform: translateY(-1px);

}



.directory-pagination__pill--active {

    background: var(--color-green);

    border-color: var(--color-green);

    color: #fff;

}



.directory-pagination__pill--active:hover {

    color: #fff;

}



.directory-pagination__pill--ellipsis {

    font-size: 1rem;

    letter-spacing: 0.1em;

}



:root[data-theme="dark"] .directory-pagination__pill {

    border-color: rgba(255, 255, 255, 0.15);

    color: var(--theme-dark-muted, #999);

}



:root[data-theme="dark"] .directory-pagination__pill:hover {

    border-color: var(--color-green);

    color: var(--color-green);

}





/* ── Directory detail: related grid ────────────────────────────────────── */



.page-directory-detail .directory-card-grid--related,
.page-directory-detail .directory-card-grid--nearby {

    grid-template-columns: repeat(3, minmax(0, 1fr));

}



.page-directory-detail .directory-card-grid--related,
.page-directory-detail .directory-card-grid--nearby > * {

    grid-column: span 1;

}



@media (max-width: 767px) {

    .page-directory-detail .directory-card-grid--related,
.page-directory-detail .directory-card-grid--nearby {

        grid-template-columns: 1fr;

    }

}



@media (min-width: 768px) and (max-width: 1023px) {

    .page-directory-detail .directory-card-grid--related,
.page-directory-detail .directory-card-grid--nearby {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}



/* ── Directory detail page: tighten spacing ───────────────────────────── */



.page-directory-detail .section {

    padding-block: var(--space-4);

}



.page-directory-detail .section--muted {

    padding-block: var(--space-3);

}



.page-directory-detail .page-hero {

    padding-bottom: var(--space-3);

}



/* ── Directory detail hero: eyebrow links + tags on dark background ──── */



.page-directory-detail .page-hero .eyebrow a {

    color: inherit;

    text-decoration: none;

}



.page-directory-detail .page-hero .eyebrow a:hover {

    text-decoration: underline;

}





/* ── Card-level tags (grid cards) ────────────────────────────────────── */

.news-card__tags {

    display: flex;

    flex-wrap: wrap;

    gap: 0.3rem;

    margin-top: 0.35rem;

}



.news-card__tag {

    display: inline-block;

    padding: 0.08rem 0.45rem;

    border-radius: var(--radius-pill);

    background: rgba(245, 197, 24, 0.1);

    color: var(--color-gold);

    font-family: var(--font-display);

    font-size: 0.65rem;

    font-weight: 700;

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: 0.04em;

    transition: background 0.12s ease;

}



.news-card__tag:hover {

    background: rgba(245, 197, 24, 0.22);

}



/* ── Event detail: tighten gap before Keep Exploring ───────────────── */

.page-events-detail .news-article-body {

    padding-bottom: 0;

}



.page-events-detail .news-article-footer {

    margin-top: var(--space-3);

    padding-top: var(--space-3);

    margin-bottom: 0;

}



.page-events-detail > .section:first-child {

    padding-bottom: var(--space-3);

}



/* Clickable eyebrow links */

.article-meta a {

    color: inherit;

    text-decoration: none;

    transition: color 0.12s ease;

}



.article-meta a:hover {

    color: var(--color-gold);

}

/* 1.3 Callout + disclaimer */
.event-calendar-callout {
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-red);
    background: rgba(206, 17, 65, 0.04);
    font-size: 0.875rem;
}

.event-calendar-callout a {
    color: var(--color-red);
    font-weight: 600;
}

.event-calendar-disclaimer {
    font-size: 0.78rem;
    color: rgba(10, 10, 10, 0.45);
    text-align: center;
    margin-top: var(--space-2);
    padding: 0 var(--space-3);
}

/* 1.4 Week view button styling */
.event-calendar-shell .fc .fc-dayGridWeek-button,
.event-calendar-shell .fc .fc-dayGridMonth-button {
    background: transparent;
    border: 1px solid rgba(10,10,10,0.15);
    color: rgba(10,10,10,0.65);
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.event-calendar-shell .fc .fc-dayGridWeek-button.fc-button-active,
.event-calendar-shell .fc .fc-dayGridMonth-button.fc-button-active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: #fff;
}


/* ── Events page: zone chip strip ───────────────────────────────── */
.news-filter-panel__label--zone {
    color: rgba(255,255,255,0.78);
}
.news-zone-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border: 2px solid;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    transition: transform 120ms ease, filter 120ms ease;
}
.news-zone-chip:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}
.news-zone-chip--active {
    color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.18);
}

/* ── Compact event filter form: search + date pair ──────────────── */
.event-filter-form--compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: end;
}
@media (min-width: 768px) {
    .event-filter-form--compact {
        grid-template-columns: 2fr 1fr 1fr auto;
    }
}
.event-filter-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.event-filter-form__field label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.event-filter-form__field input {
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.92rem;
}
.event-filter-form__actions {
    display: flex;
    gap: 0.5rem;
}

/* ── Calendar day preview list ──────────────────────────────────── */
.event-calendar-day-preview {
    list-style: none;
    margin: 0.3rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    font-size: 0.7rem;
    line-height: 1.25;
}
.event-calendar-day-preview__item {
    display: block;
    color: rgba(255,255,255,0.85);
    text-shadow:
        0 0 1px rgba(255,255,255,0.4),
        0 0 6px rgba(0,166,81,0.35);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0.06rem 0.22rem;
    border-radius: 3px;
    transition: color 0.18s ease, text-shadow 0.18s ease;
}
.event-calendar-day-preview__item:hover,
.event-calendar-day-preview__item:focus {
    color: #ffffff;
    text-shadow: 0 0 8px var(--color-green), 0 0 2px rgba(255,255,255,0.6);
}
.event-calendar-day-preview__item:active {
    color: var(--color-green);
    text-shadow: none;
}
.event-calendar-day-preview__more {
    color: rgba(255,255,255,0.6);
    font-style: italic;
    padding: 0.06rem 0.22rem;
    font-size: 0.66rem;
}

/* ── Callout full-width ─────────────────────────────────────────── */
.event-calendar-callout {
    width: 100%;
    max-width: none;
    text-align: left;
    line-height: 1.5;
}


/* ── Places page: form variant + zone utility chip + select styling ─── */
@media (min-width: 768px) {
    .event-filter-form--two {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
    }
}
.event-filter-form__field select {
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.92rem;
}
.news-zone-chip--utility {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.25) !important;
    color: rgba(255,255,255,0.8) !important;
    margin-left: auto;
}
/* cat active style moved to /places-scoped block */
/* tag active style moved to /places-scoped block */


/* ── Places page: h1 sized like events ──────────────────────────── */
.page-directory-index .event-calendar-stage h1 {
    max-width: none;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.98;
    width: 100%;
}
.page-directory-index .event-calendar-stage__intro {
    text-align: center;
}

/* ── All-chip (group reset) — red active state ──────────────────── */
.news-all-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: transparent;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 120ms ease, background 120ms ease, color 120ms ease;
    margin-right: 0.25rem;
}
.news-all-chip:hover {
    transform: translateY(-1px);
    color: #fff;
}
.news-all-chip--active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: #fff;
}

/* ── Price chips ────────────────────────────────────────────────── */
.news-price-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.95rem;
    border: 2px solid rgba(0,166,81,0.55);
    border-radius: 999px;
    background: transparent;
    color: rgba(0,166,81,0.95);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-display);
    transition: background 120ms ease, color 120ms ease;
}
.news-price-chip:hover {
    background: rgba(0,166,81,0.10);
}
.news-price-chip--active {
    background: rgba(0,166,81,0.30);
    color: #fff;
    border-color: var(--color-green);
}



/* ── /places category chips: red outline+text default, red fill when active ── */
.page-directory-index .news-cat-chip {
    border: 2px solid var(--color-red);
    color: var(--color-red);
    background: transparent;
}
.page-directory-index .news-cat-chip:hover {
    background: rgba(206, 17, 65, 0.10);
    color: var(--color-red);
}
.page-directory-index .news-cat-chip--active,
.page-directory-index .news-cat-chip--active:hover {
    background: rgba(206, 17, 65, 0.30);
    border-color: var(--color-red);
    color: #ffffff;
}

/* ── /places tag chips: keep gold outline default, ensure 2px for parity ── */
.page-directory-index .news-tag-chip {
    border-width: 2px;
}

/* ── Price chip: explicit white text on active for cross-group consistency ── */
.news-price-chip--active,
.news-price-chip--active:hover {
    color: #ffffff;
}


/* ── /places chip overrides that BEAT :root[data-theme="dark"] (specificity 0,2,1) ── */
:root .page-directory-index .news-cat-chip {
    border: 2px solid var(--color-red);
    color: var(--color-red);
    background: transparent;
}
:root .page-directory-index .news-cat-chip:hover {
    background: rgba(206, 17, 65, 0.10);
    border-color: var(--color-red);
    color: var(--color-red);
}
:root .page-directory-index .news-tag-chip {
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    background: transparent;
}
:root .page-directory-index .news-tag-chip:hover {
    background: rgba(245, 197, 24, 0.10);
    border-color: var(--color-gold);
    color: var(--color-gold);
}
:root .page-directory-index .news-tag-chip--active,
:root .page-directory-index .news-tag-chip--active:hover {
    background: rgba(245, 197, 24, 0.30);
    border-color: var(--color-gold);
    color: #ffffff;
}


/* ── Footer throwback (classic-site easter egg) ─────────────────── */
.site-footer__throwback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    opacity: 0.5;
    transition: opacity 200ms ease, transform 200ms ease;
}
.site-footer__throwback:hover {
    opacity: 1;
    transform: rotate(-6deg) scale(1.08);
}
.site-footer__throwback img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: grayscale(0.4);
}
.site-footer__throwback:hover img {
    filter: none;
}


/* ── FIX: /places category-chip active state must beat the :root-prefixed default
   (`:root .page-directory-index .news-cat-chip` = specificity 0,3,0 was outranking
   the un-prefixed active rule 0,2,0, so the red fill never showed). ── */
:root .page-directory-index .news-cat-chip--active,
:root .page-directory-index .news-cat-chip--active:hover {
    background: rgba(206, 17, 65, 0.30);
    border-color: var(--color-red);
    color: #ffffff;
}


/* ── Places detail: full width when there is no right-hand media box ──────
   Mirrors the News convention above ("News hero: let h1 + lede run full
   container width"). Two separate faults, both visible on the parking pages:

   1) .directory-detail-hero declares TWO columns (1.25fr + minmax(320px,.95fr)),
      but the second child renders only when the Place has a hero image. A Place
      with no image therefore had its text pinned to ~56% of a 1200px container
      with an empty 511px gutter beside it. The view now adds --nomedia in that
      case and we collapse to a single column.
   2) The h1 carried max-width 622px and computed to 80px, so a long name broke
      into three enormous lines. Same clamp() the news hero already uses.
                                                        (2026-09-08) */
.page-directory-detail .directory-detail-hero--nomedia {
    grid-template-columns: minmax(0, 1fr);
}

.page-directory-detail .page-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
}

.page-directory-detail .page-hero .lede,
.page-directory-detail .page-hero p {
    max-width: none;
}

.page-directory-detail .directory-detail-layout--nosidebar {
    grid-template-columns: minmax(0, 1fr);
}

.page-directory-detail .directory-detail-layout--nosidebar .cms-page-body,
.page-directory-detail .directory-detail-layout--nosidebar .cms-page-body p,
.page-directory-detail .directory-detail-hero--nomedia .lede {
    max-width: none;
}

/* ── Top-of-form validation summary (2026-09-10) ──────────────────────────
   Admin forms used to show validation errors ONLY inline beside each field,
   which on a long form is below the fold — a rejected save looked identical to
   a successful one. This block sits directly under the <form> tag so it cannot
   be missed. Brand red, per reference_brand-stoplight-colors. */
.admin-form__error-summary {
    border: 2px solid var(--color-red, #CE1141);
    border-left-width: 6px;
    border-radius: 8px;
    background: rgba(206, 17, 65, 0.08);
    padding: 1rem 1.15rem;
    margin: 0 0 1.5rem;
}
.admin-form__error-summary-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-red, #CE1141);
}
.admin-form__error-summary-list {
    margin: 0;
    padding-left: 1.15rem;
}
.admin-form__error-summary-list li { margin: 0.2rem 0; }
.admin-form__error-summary-list a {
    color: var(--color-red, #CE1141);
    font-weight: 600;
}
.admin-form__error-summary-list a:hover,
.admin-form__error-summary-list a:focus {
    text-decoration: underline;
}
.admin-form__error-summary-note {
    margin: 0.6rem 0 0;
    font-size: 0.88rem;
    opacity: 0.85;
}
/* the anchor jump should not tuck the field under a sticky header */
.admin-form [id] { scroll-margin-top: 5rem; }


/* === wf:transit-map-links === */
/* /transit: the parking-tagged Places under "Parking near Mercedes-Benz Stadium". */
.transit-lots { margin-top: 1.5rem; }
.transit-lots__heading { margin: 0 0 0.5rem; font-weight: 700; }
.transit-lots__list { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.transit-lots__list a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
/* /map without JavaScript: zone and category hub links inside .map-noscript. */
.map-noscript__hubs { margin-top: 0.75rem; }
.map-noscript__heading { margin: 0 0 0.35rem; font-weight: 700; }
.map-noscript__hubs ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0; padding: 0; list-style: none; }
.map-noscript__hubs a { color: inherit; text-decoration: underline; }


/* === wf:events-links-venue === */
/* Events pages link everything + venue context on event pages (2026-09-24). */

/* ── Gray-fill fix: "Events at this venue" rows on the Place page ───────────
   `.event-widget-item` inherits `background: rgba(255,255,255,0.9)` from the old
   light-theme block (.event-card, .event-widget-item, .event-calendar-note, …).
   The widget itself goes dark via the `.callout-card` dark rule, but its rows never
   did — so on the dark theme (the site default) every row was a near-white slab with
   white/green titles on it. Rows sit on the card's own surface in dark; the light
   theme keeps its white rows and gets a readable ink title. */
:root[data-theme="dark"] .event-widget-item,
:root[data-theme="dark"] .event-calendar-note {
    background: transparent;
}

:root[data-theme="dark"] .event-widget-item .event-meta,
:root[data-theme="dark"] .event-widget-item .event-submeta {
    color: var(--theme-dark-muted);
}

:root:not([data-theme="dark"]) .event-widget-item h3 a {
    color: var(--color-ink-soft);
}

.event-widget-item--past h3 a {
    opacity: 0.82;
}

/* "Past" label on venue event lists (Place page widget + event page related cards). */
.event-past-badge {
    display: inline-block;
    margin-right: 0.4em;
    padding: 0.1em 0.5em;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: 0.1em;
    color: var(--color-gray-600);
}

:root[data-theme="dark"] .event-past-badge {
    color: var(--theme-dark-subtle);
}

/* ── Event page: linked date / venue in the hero meta line ─────────────── */
.event-meta-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(0, 166, 81, 0.55);
    text-underline-offset: 0.2em;
}

.event-meta-link:hover,
.event-meta-link:focus {
    color: var(--color-green);
}

/* ── Event page: venue card ────────────────────────────────────────────── */
.event-venue-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding: var(--space-4);
    border-radius: 18px;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: var(--color-panel);
}

@media (min-width: 640px) {
    .event-venue-card {
        grid-template-columns: 220px minmax(0, 1fr);
        align-items: center;
    }
}

.event-venue-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.event-venue-card__body > * {
    margin: 0;
}

.event-venue-card__body > * + * {
    margin-top: var(--space-2);
}

.event-venue-card__eyebrow {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-green);
}

.event-venue-card__name {
    font-size: var(--step-1);
}

.event-venue-card__name a {
    color: inherit;
    text-decoration: none;
}

.event-venue-card__name a:hover,
.event-venue-card__name a:focus {
    color: var(--color-green);
}

.event-venue-card__address {
    font-size: 0.92rem;
    color: var(--color-gray-600);
}

/* "One-line summary": long summaries clamp rather than turning the card into a page. */
.event-venue-card__summary {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-venue-card .event-venue-card__link {
    margin-top: var(--space-3);
}

:root[data-theme="dark"] .event-venue-card {
    background: var(--theme-dark-surface);
    border-color: var(--theme-dark-border);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .event-venue-card__name {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .event-venue-card__address {
    color: var(--theme-dark-muted);
}

/* ── Event page: nearby places (small linked cards) ────────────────────── */
.event-nearby__grid {
    list-style: none;
    margin: var(--space-3) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: var(--space-3);
}

.event-nearby__card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    height: 100%;
    padding: var(--space-2);
    border-radius: 12px;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: var(--color-panel);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.event-nearby__card:hover,
.event-nearby__card:focus {
    border-color: var(--color-green);
}

.event-nearby__media {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.event-nearby__media--empty {
    display: block;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.25), rgba(245, 197, 24, 0.2));
}

.event-nearby__text {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.event-nearby__name {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.event-nearby__meta {
    font-size: 0.82rem;
    color: var(--color-gray-600);
}

:root[data-theme="dark"] .event-nearby__card {
    background: var(--theme-dark-surface-soft);
    border-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .event-nearby__card:hover,
:root[data-theme="dark"] .event-nearby__card:focus {
    border-color: var(--color-green);
}

:root[data-theme="dark"] .event-nearby__name {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .event-nearby__meta {
    color: var(--theme-dark-muted);
}

/* ── /events: server-rendered "All upcoming events" list ───────────────── */
.events-upcoming-list {
    margin-top: var(--space-5);
    border-top: 1px solid rgba(10, 10, 10, 0.08);
    padding-top: var(--space-4);
}

.events-upcoming-list__summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--step-1);
}

.events-upcoming-list__count {
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-gray-600);
}

.events-upcoming-list__day {
    margin-top: var(--space-4);
}

.events-upcoming-list__date {
    margin: 0 0 var(--space-2);
    font-size: var(--step-0);
}

.events-upcoming-list__date a {
    color: var(--color-green);
    text-decoration: none;
}

.events-upcoming-list__date a:hover,
.events-upcoming-list__date a:focus {
    text-decoration: underline;
}

.events-upcoming-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-2);
}

.events-upcoming-list__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--space-3);
    row-gap: 0.1rem;
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.events-upcoming-list__time {
    flex: 0 0 5.5rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-600);
}

.events-upcoming-list__title {
    flex: 1 1 16rem;
    min-width: 0;
    font-weight: 600;
    color: inherit;
    overflow-wrap: anywhere;
}

.events-upcoming-list__title:hover,
.events-upcoming-list__title:focus {
    color: var(--color-green);
}

.events-upcoming-list__venue,
.events-upcoming-list__repeats {
    font-size: 0.85rem;
    color: var(--color-gray-600);
}

.events-upcoming-list__repeats {
    font-style: italic;
}

.events-upcoming-list__more-label {
    margin: var(--space-5) 0 var(--space-2);
    font-weight: 700;
}

.events-upcoming-list__more {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    margin: 0;
}

.events-upcoming-list__more a {
    color: var(--color-green);
}

:root[data-theme="dark"] .events-upcoming-list {
    border-top-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .events-upcoming-list__summary,
:root[data-theme="dark"] .events-upcoming-list__title {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .events-upcoming-list__title:hover,
:root[data-theme="dark"] .events-upcoming-list__title:focus {
    color: var(--color-green);
}

:root[data-theme="dark"] .events-upcoming-list__item {
    border-bottom-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .events-upcoming-list__count,
:root[data-theme="dark"] .events-upcoming-list__time,
:root[data-theme="dark"] .events-upcoming-list__venue,
:root[data-theme="dark"] .events-upcoming-list__repeats {
    color: var(--theme-dark-muted);
}


/* === wf:home-explore === */
/* Homepage "Keep exploring" panels (Erich, 2026-09-24). Under the five ghost
   buttons, one card per button: latest News, next Events, Places picks, a few
   Places per Map zone, recent 30303 editions. Lives inside .cta-band, which is
   dark in both themes, so the palette here is written for a dark ground.
   Each card takes its button's color as --kx-accent. */
.kx-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: 1.25rem;
    margin-top: var(--space-3);
    text-align: left;
}

.kx-card {
    --kx-accent: #00a651;
    --kx-accent-text: var(--kx-accent);
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.15rem 1rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--kx-accent);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    color: rgba(250, 250, 250, 0.92);
}

.kx-card--news { --kx-accent: #00a651; --kx-accent-text: #2fd07f; }
.kx-card--events { --kx-accent: #80b540; --kx-accent-text: #a5d468; }
.kx-card--places { --kx-accent: #ffc52e; }
.kx-card--map { --kx-accent: #e66b38; --kx-accent-text: #f58a5c; grid-column: span 4; }
.kx-card--weekly { --kx-accent: #ce1141; --kx-accent-text: #f24d74; }

.kx-card__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0.2rem 0.75rem;
    padding: 0 0.5rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kx-card__title {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.kx-card__title a {
    color: var(--kx-accent-text);
    transition: color var(--transition-base);
}

.kx-card__arrow {
    display: inline-block;
    font-size: 0.85em;
    transition: transform var(--transition-base);
}

.kx-card__title a:hover .kx-card__arrow,
.kx-card__title a:focus-visible .kx-card__arrow {
    transform: translateX(4px);
}

.kx-card__kicker {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 250, 250, 0.5);
}

/* .page-home centres h3/p with margin-inline:auto; keep card headers left-aligned */
.kx-card .kx-card__title,
.kx-card .kx-card__kicker,
.kx-card .kx-zone__title {
    margin-inline: 0;
}

.kx-card__more {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--kx-accent-text);
    border-bottom: 1px solid currentColor;
}

.kx-card__more:hover,
.kx-card__more:focus-visible {
    color: #ffffff;
}

.kx-list {
    display: grid;
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
}

.kx-list > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.kx-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.5rem;
    border-radius: 0.6rem;
    color: inherit;
    transition: background-color var(--transition-base);
}

.kx-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 3px;
    border-radius: 3px;
    background: var(--kx-accent);
    opacity: 0;
    transform: scaleY(0.4);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.kx-row:hover,
.kx-row:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    background: color-mix(in srgb, var(--kx-accent) 12%, transparent);
}

.kx-row:hover::before,
.kx-row:focus-visible::before {
    opacity: 1;
    transform: scaleY(1);
}

.kx-row:focus-visible {
    outline: 2px solid var(--kx-accent);
    outline-offset: 1px;
}

.kx-row__body {
    display: grid;
    flex: 1 1 auto;
    gap: 0.15rem;
    min-width: 0;
}

.kx-row__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(250, 250, 250, 0.94);
}

.kx-row:hover .kx-row__title,
.kx-row:focus-visible .kx-row__title {
    color: #ffffff;
}

.kx-row__meta {
    overflow: hidden;
    font-size: 0.76rem;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(250, 250, 250, 0.52);
}

.kx-row__date {
    flex: 0 0 auto;
    align-self: flex-start;
    padding-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(250, 250, 250, 0.5); /* was 0.45 = 4.38:1 at 11.5px; 0.5 clears 4.5:1 (a11y 2026-10) */
}

/* Events: a small calendar chip */
.kx-chip {
    display: grid;
    flex: 0 0 2.6rem;
    justify-items: center;
    padding: 0.28rem 0 0.32rem;
    border: 1px solid rgba(128, 181, 64, 0.35);
    border-radius: 0.55rem;
    background: rgba(128, 181, 64, 0.12);
    line-height: 1;
}

.kx-chip__month {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kx-accent-text);
}

.kx-chip__day {
    margin-top: 0.15rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

/* Places: numbered picks */
.kx-rank {
    flex: 0 0 1.7rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--kx-accent-text);
    opacity: 0.85;
}

/* The 30303 Weekly: edition code tag */
.kx-edition {
    flex: 0 0 auto;
    min-width: 2.9rem;
    padding: 0.2rem 0.4rem;
    border: 1px solid rgba(206, 17, 65, 0.55);
    border-radius: 999px;
    background: rgba(206, 17, 65, 0.14);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    color: var(--kx-accent-text);
}

/* Map: zones in two columns, a few Places under each */
.kx-zones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.25rem;
    margin-top: 0.4rem;
}

.kx-zone {
    min-width: 0;
    padding: 0.6rem 0.5rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.kx-zone__title {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.kx-zone__title a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--kx-accent-text);
}

.kx-zone__title a::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--kx-accent);
    box-shadow: 0 0 0 3px rgba(230, 107, 56, 0.2);
}

.kx-zone__title a:hover,
.kx-zone__title a:focus-visible {
    color: #ffffff;
}

.kx-zone__list {
    display: grid;
    gap: 0.05rem;
    margin: 0;
    padding: 0 0 0 0.95rem;
    list-style: none;
}

.kx-zone__list > li {
    min-width: 0;
}

.kx-zone__list a {
    display: block;
    overflow: hidden;
    padding: 0.18rem 0.4rem;
    border-radius: 0.4rem;
    font-size: 0.85rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: rgba(250, 250, 250, 0.78);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.kx-zone__list a:hover,
.kx-zone__list a:focus-visible {
    background: rgba(230, 107, 56, 0.14);
    color: #ffffff;
}

@media (max-width: 1080px) {
    .kx-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kx-card {
        grid-column: span 1;
    }

    .kx-card--map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .kx-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .kx-card,
    .kx-card--map {
        grid-column: auto;
    }

    .kx-card {
        padding: 1rem 0.75rem 0.7rem;
    }
}

@media (max-width: 520px) {
    .kx-zones {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .kx-row,
    .kx-row::before,
    .kx-card__arrow,
    .kx-zone__list a {
        transition: none;
    }
}

/* === wf:district-parents === */
/* Place-page eyebrow: Zone › District (DirectoryController::show, 2026-09-24). */
.place-crumb__sep {
    margin: 0 0.35em;
    opacity: 0.6;
}

/* District Place: full A–Z member list under the curated strip. Theme-neutral colours
   (inherit + opacity) so it reads on both the light and dark themes. */
.district-members__list {
    list-style: none;
    margin: 0 0 var(--space-4);
    padding: 0;
    columns: 3 16rem;
    column-gap: var(--space-5);
}

.district-members__item {
    break-inside: avoid;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    line-height: 1.3;
}

.district-members__item a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.district-members__item a:hover,
.district-members__item a:focus-visible {
    text-decoration: underline;
}

.district-members__category {
    display: block;
    font-size: 0.82rem;
    opacity: 0.7;
}

.district-members__group {
    margin: var(--space-4) 0 var(--space-2);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.district-members__group-count {
    font-weight: 400;
    opacity: 0.7;
}

/* ══════════ pages/map.css ══════════ */
.page-map {
    background:
        radial-gradient(circle at top left, rgba(255, 203, 164, 0.26), transparent 34%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.02), rgba(10, 10, 10, 0));
}

.map-page {
    padding: 2rem 0 0;
}

.map-page__intro {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.75rem;
}

.map-dashboard {
    display: grid;
    gap: 1rem;
    align-items: stretch;
}

.map-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-sidebar__section,
.map-stage {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 22px 60px rgba(10, 10, 10, 0.08);
    backdrop-filter: blur(14px);
}

.map-sidebar__section {
    padding: 1rem;
}

.map-sidebar__section--results {
    flex: 1;
    min-height: 0;
}

.map-sidebar__heading-row,
.map-stage__toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.map-sidebar__heading-row {
    margin-bottom: 0.85rem;
}

.map-sidebar__meta {
    margin: 0;
    color: rgba(10, 10, 10, 0.62);
    font-size: 0.88rem;
}

.map-preset-grid {
    display: grid;
    gap: 0.75rem;
}

.map-preset-card {
    display: grid;
    gap: 0.45rem;
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 241, 234, 0.92));
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.map-preset-card:hover,
.map-preset-card:focus-visible,
.map-preset-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(206, 17, 65, 0.35);
    box-shadow: 0 14px 30px rgba(206, 17, 65, 0.12);
}

.map-preset-card strong {
    font-size: 1rem;
}

.map-preset-card span {
    color: rgba(10, 10, 10, 0.66);
    font-size: 0.93rem;
}

.map-search-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 10, 10, 0.12);
    background: rgba(255, 255, 255, 0.96);
    margin-bottom: 0.85rem;
}

.map-bounds-toggle {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.95rem;
    font-size: 0.94rem;
    color: rgba(10, 10, 10, 0.74);
}

.map-layer-list {
    display: grid;
    gap: 0.75rem;
}

.map-layer-toggle {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 0.75rem;
    align-items: start;
    padding: 0.8rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: rgba(252, 250, 246, 0.88);
}

.map-layer-toggle input {
    margin-top: 0.2rem;
}

.map-layer-toggle__swatch,
.map-legend__item::before {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    display: inline-block;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.88);
}

.map-layer-toggle__copy {
    display: grid;
    gap: 0.22rem;
}

.map-layer-toggle__copy small {
    color: rgba(10, 10, 10, 0.62);
    line-height: 1.45;
}

.map-layer-toggle__count {
    align-self: center;
    min-width: 2rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.08);
    text-align: center;
    font-weight: 700;
}

.map-layer-toggle--restaurants,
.map-legend__item--restaurants {
    color: #ce1141;
}

.map-layer-toggle--nightlife,
.map-legend__item--nightlife {
    color: #6f4ae6;
}

.map-layer-toggle--events,
.map-legend__item--events {
    color: #2f7cd6;
}

.map-layer-toggle--attractions,
.map-legend__item--attractions {
    color: #c08d1b;
}

.map-results {
    display: grid;
    gap: 0.75rem;
    max-height: 30rem;
    overflow: auto;
    padding-right: 0.15rem;
}

.map-results__empty {
    margin: 0;
    color: rgba(10, 10, 10, 0.62);
}

.map-result-card {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.85rem;
    width: 100%;
    padding: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: rgba(255, 255, 255, 0.96);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.map-result-card:hover,
.map-result-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(10, 10, 10, 0.16);
    box-shadow: 0 16px 28px rgba(10, 10, 10, 0.08);
}

.map-result-card__media {
    width: 5rem;
    height: 5rem;
    border-radius: 0.85rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(206, 17, 65, 0.16), rgba(200, 169, 81, 0.22));
}

.map-result-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-result-card__eyebrow,
.map-popup__eyebrow {
    margin: 0 0 0.3rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.56);
}

.map-result-card__title,
.map-popup__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.map-result-card__meta,
.map-popup__meta {
    margin: 0 0 0.35rem;
    color: rgba(10, 10, 10, 0.66);
    font-size: 0.88rem;
}

.map-result-card__summary,
.map-popup__summary {
    margin: 0;
    color: rgba(10, 10, 10, 0.78);
    font-size: 0.92rem;
    line-height: 1.5;
}

.map-stage {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 0;
    overflow: hidden;
}

.map-stage__toolbar,
.map-stage__footer {
    padding: 1rem 1rem 0;
}

.map-stage__title {
    margin: 0;
    color: rgba(10, 10, 10, 0.72);
    max-width: 42rem;
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.map-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(10, 10, 10, 0.74);
}

.city-map {
    width: 100%;
    height: calc(100vh - 13rem);
    min-height: 36rem;
    margin-top: 1rem;
}

.map-stage__footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.map-stage__footer p {
    margin: 0;
    color: rgba(10, 10, 10, 0.66);
}

.map-stage__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.map-noscript {
    margin-top: 1rem;
    color: rgba(10, 10, 10, 0.68);
}

.map-marker-icon {
    background: transparent;
    border: 0;
}

.map-marker {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(10, 10, 10, 0.35);
    box-sizing: border-box;
}

.map-marker--restaurants {
    background: #ce1141;
}

.map-marker--nightlife {
    background: #6f4ae6;
}

.map-marker--events {
    background: #2f7cd6;
}

.map-marker--attractions {
    background: #c08d1b;
}

/* Events are squares so a show at MBS never reads as another Place (2026-09-24). */
.map-marker--events {
    border-radius: 4px;
    width: 1.1rem;
    height: 1.1rem;
}

/* Hotels (2026-10-01): a round Place pin, a touch larger, with an "H" glyph. The fill
   stays the zone colour (set inline by map.js); the glyph carries a dark halo so it
   reads on the light fills (Centennial yellow, FriendZone grey) as well as the dark. */
.map-marker--hotels {
    background: #5b6b78;
    width: 1.4rem;
    height: 1.4rem;
    border-width: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker__glyph {
    font-family: var(--font-display, system-ui, sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 2px rgba(10, 10, 10, 0.9), 0 0 1px rgba(10, 10, 10, 0.9);
    pointer-events: none;
}

/* Legend key under the zone chips: what the pin shapes mean. */
.map-pin-key {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

.map-pin-key__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.map-pin-key .map-marker {
    background: #9aa4ad;
    box-shadow: none;
}

.map-cluster-icon {
    background: transparent;
    border: 0;
}

.map-cluster {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 3px solid rgba(10, 10, 10, 0.18);
    color: #0a0a0a;
    font-weight: 700;
    box-shadow: 0 16px 32px rgba(10, 10, 10, 0.18);
}

.map-cluster--restaurants {
    background: rgba(206, 17, 65, 0.12);
    border-color: rgba(206, 17, 65, 0.4);
    color: #8b0b2b;
}

.map-cluster--nightlife {
    background: rgba(111, 74, 230, 0.12);
    border-color: rgba(111, 74, 230, 0.4);
    color: #4a2ea0;
}

.map-cluster--events {
    background: rgba(47, 124, 214, 0.12);
    border-color: rgba(47, 124, 214, 0.4);
    color: #1a5499;
}

.map-cluster--attractions {
    background: rgba(192, 141, 27, 0.12);
    border-color: rgba(192, 141, 27, 0.4);
    color: #7a5800;
}

.leaflet-container {
    font: inherit;
}

.leaflet-popup-content-wrapper {
    border-radius: 1.1rem;
    box-shadow: 0 22px 48px rgba(10, 10, 10, 0.2);
}

.leaflet-popup-content {
    margin: 0;
    width: min(18rem, calc(100vw - 3rem)) !important;
}

.map-popup {
    display: grid;
}

.map-popup__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1.1rem 1.1rem 0 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.08), rgba(255, 203, 164, 0.3));
}

.map-popup__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-popup__content {
    padding: 0.95rem;
}

.map-popup__link {
    display: inline-flex;
    margin-top: 0.8rem;
    font-weight: 700;
    color: #ce1141;
    text-decoration: none;
}

.leaflet-control-zoom a {
    color: #0a0a0a;
}

@media (min-width: 960px) {
    .map-page__intro,
    .map-dashboard {
        grid-template-columns: 23rem minmax(0, 1fr);
    }

    .map-page__intro > :first-child {
        grid-column: 2;
    }

    .map-page__intro > :last-child {
        grid-column: 1;
        grid-row: 1;
    }

    .map-sidebar {
        position: sticky;
        top: 5.5rem;
        max-height: calc(100vh - 6.5rem);
    }
}

@media (max-width: 959px) {
    .map-sidebar__heading-row,
    .map-stage__toolbar,
    .map-stage__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-legend {
        justify-content: flex-start;
    }

    .city-map {
        height: 32rem;
        min-height: 32rem;
    }
}

@media (max-width: 640px) {
    .map-page {
        padding-top: 1.25rem;
    }

    .map-result-card {
        grid-template-columns: 1fr;
    }

    .map-result-card__media {
        width: 100%;
        height: 10rem;
    }

    .map-stage__actions {
        width: 100%;
    }

    .map-stage__actions .button {
        width: 100%;
        justify-content: center;
    }
}

.page-map {
    background:
        radial-gradient(circle at top left, rgba(255, 203, 164, 0.28), transparent 32%),
        radial-gradient(circle at 92% 10%, rgba(77, 168, 218, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.02), rgba(10, 10, 10, 0));
}

.map-page {
    padding: clamp(1.25rem, 2vw, 1.75rem) 0 clamp(2.75rem, 4vw, 4rem);
}

.map-index-shell,
.map-command-stage,
.map-command-stage__top,
.map-command-stage__intro,
.map-workbench,
.map-stage,
.map-layer-toolbar,
.map-results-panel {
    display: grid;
    gap: var(--space-3);
}

.map-command-stage {
    gap: var(--space-3);
    padding: clamp(1rem, 1.8vw, 1.5rem);
    border-radius: calc(var(--radius-lg) + 0.25rem);
    border: 1px solid rgba(10, 10, 10, 0.12);
    background: linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(255, 255, 255, 0.94));
    box-shadow: var(--shadow-card);
}

.map-command-stage__top {
    gap: var(--space-3);
    justify-items: center;
}

.map-command-stage__intro {
    width: min(100%, 72rem);
    justify-items: center;
    text-align: center;
}

.page-map .map-command-stage h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(1.95rem, 1.65rem + 1.8vw, 3.35rem);
    line-height: 0.96;
}

.page-map .map-command-stage .lede {
    width: min(100%, 54rem);
    margin: 0;
    color: rgba(10, 10, 10, 0.72);
    font-size: clamp(0.98rem, 0.94rem + 0.25vw, 1.08rem);
}

.map-workbench {
    gap: var(--space-3);
    align-items: stretch;
    grid-template-columns: 1fr;
}

.map-workbench > * {
    min-width: 0;
}

.map-stage {
    grid-template-rows: auto minmax(0, 1fr);
    gap: var(--space-2);
    min-height: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(10, 10, 10, 0.1);
    border-radius: calc(var(--radius-lg) + 0.1rem);
    box-shadow: 0 20px 48px rgba(10, 10, 10, 0.08);
    overflow: hidden;
}

.map-layer-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 0.75rem;
    align-items: center;
    justify-content: start;
    padding: clamp(0.9rem, 1.4vw, 1rem) clamp(1rem, 1.6vw, 1.25rem) 0;
}

.map-layer-toolbar__toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.map-layer-toolbar__search {
    width: 100%;
}

.map-layer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 10, 10, 0.1);
    background: rgba(255, 255, 255, 0.88);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(10, 10, 10, 0.78);
    white-space: nowrap;
}

.map-layer-chip input {
    margin: 0;
    accent-color: currentColor;
}

.map-layer-chip--restaurants {
    color: #ce1141;
}

.map-layer-chip--nightlife {
    color: #6f4ae6;
}

.map-layer-chip--events {
    color: #2f7cd6;
}

.map-layer-chip--attractions {
    color: #c08d1b;
}

.map-layer-chip--hotels {
    color: #5b6b78;
}

.map-search-input--toolbar {
    margin: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(10, 10, 10, 0.1);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
}

.map-search-input--toolbar::placeholder {
    color: rgba(10, 10, 10, 0.46);
}

.city-map {
    width: auto;
    height: clamp(30rem, 60vh, 44rem);
    min-height: 30rem;
    margin: clamp(0.85rem, 1.6vw, 1.25rem);
    border-radius: 1.35rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.map-noscript {
    margin-top: var(--space-3);
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 840px) {
    .map-layer-toolbar {
        grid-template-columns: 1fr;
    }

    .map-layer-toolbar__search {
        order: 2;
    }
}

@media (max-width: 640px) {
    .map-page {
        padding-top: 1rem;
    }

    .map-command-stage {
        padding: 1rem;
        border-radius: 1.35rem;
    }

    .map-stage,
    .map-results-panel,
    .map-control-panel__block {
        border-radius: 1.15rem;
    }

    .city-map {
        height: 28rem;
        min-height: 28rem;
        margin-inline: 0.75rem;
        border-radius: 1.1rem;
    }

    .map-result-card {
        grid-template-columns: 1fr;
    }

    .map-result-card__media {
        width: 100%;
        height: 10rem;
    }

    .map-results-panel__header .button,
    .map-stage__actions,
    .map-stage__actions .button {
        width: 100%;
    }

    .map-stage__actions .button,
    .map-results-panel__header .button {
        justify-content: center;
    }
}

/* =========================================================================
   FORCE LIGHT MAP — the /map tiles, popups, tooltips and Leaflet controls
   stay light/clean even when the rest of the site is in dark mode.
   (The JS locks the basemap to CartoDB light_all; these rules keep the
   surrounding chrome from inheriting the site's dark palette.)
   ========================================================================= */
[data-theme="dark"] .page-map .city-map,
[data-theme="dark"] .page-map .map-stage,
[data-theme="dark"] .page-map .leaflet-container {
    color-scheme: light;
    background: #ffffff !important;
    color: #1b1d22 !important;
}

[data-theme="dark"] .page-map .leaflet-popup-content-wrapper,
[data-theme="dark"] .page-map .leaflet-popup-tip,
[data-theme="dark"] .page-map .map-popup,
[data-theme="dark"] .page-map .map-popup__content {
    color-scheme: light;
    background: #ffffff !important;
    color: #1b1d22 !important;
}

[data-theme="dark"] .page-map .map-popup__eyebrow,
[data-theme="dark"] .page-map .map-popup__meta {
    color: rgba(10, 10, 10, 0.62) !important;
}

[data-theme="dark"] .page-map .map-popup__title,
[data-theme="dark"] .page-map .map-popup__summary {
    color: #1b1d22 !important;
}

[data-theme="dark"] .page-map .map-popup__link {
    color: #ce1141 !important;
}

/* Leaflet zoom + attribution controls */
[data-theme="dark"] .page-map .leaflet-bar a,
[data-theme="dark"] .page-map .leaflet-control-zoom a {
    background: #ffffff !important;
    color: #0a0a0a !important;
    border-color: rgba(10, 10, 10, 0.2) !important;
}

/* 2026-09-09: the rule above is !important, so Leaflet's own .leaflet-bar a:hover
   (#f4f4f4) never landed and the zoom +/- buttons gave zero feedback in dark mode.
   These controls stay light ON PURPOSE here, so the hover stays light too — a grey
   wash plus the brand red, not the green used elsewhere. */
[data-theme="dark"] .page-map .leaflet-bar a:hover,
[data-theme="dark"] .page-map .leaflet-control-zoom a:hover {
    background: #f0f0f0 !important;
    color: var(--color-red) !important;
    border-color: rgba(10, 10, 10, 0.28) !important;
}

[data-theme="dark"] .page-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.85) !important;
    color: #4a4a4a !important;
}

[data-theme="dark"] .page-map .leaflet-control-attribution a {
    color: #2f7cd6 !important;
}

/* Cluster + zone tooltips (hover previews) stay light too */
[data-theme="dark"] .page-map .leaflet-tooltip,
[data-theme="dark"] .page-map .zone-tooltip {
    color-scheme: light;
    background: #ffffff !important;
    color: #1b1d22 !important;
    border-color: rgba(10, 10, 10, 0.18) !important;
}

[data-theme="dark"] .page-map .leaflet-tooltip-top::before {
    border-top-color: #ffffff !important;
}
/* Cluster tooltip: "Events" sub-list under the places (2026-09-24). */
.zone-tooltip__sub {
    display: inline-block;
    margin-top: 0.35rem;
    font-style: normal;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ══════════ pages/shop.css ══════════ */
/* downtownATL shop storefront — product grid, detail, and cart.
   Builds on the shared design system (news-card, callout-card, button, split-layout). */

.shop-cart-link {
    margin-top: 1rem;
}

.shop-grid {
    margin-top: 1.5rem;
}

/* Product cards reuse .news-card; these tweaks make them merch-friendly. */
.shop-card__media-link {
    position: relative;
    display: block;
}

.shop-card__media {
    background: #fff;
    object-fit: contain;
    padding: 1rem;
}

.shop-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.shop-card__price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-green);
    margin: 0.35rem 0 0.75rem;
}

.shop-card__form {
    margin-top: auto;
}

/* Disabled / coming-soon button treatment. */
.button.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---- Product detail ---- */
.shop-breadcrumb {
    margin-bottom: 1.25rem;
}

.shop-detail {
    align-items: start;
    gap: 2.5rem;
}

.shop-detail__media {
    position: relative;
    border-radius: var(--radius-lg, 18px);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(10, 10, 10, 0.08);
}

.shop-detail__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 2rem;
}

.shop-detail__price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-green);
    margin: 0.5rem 0 1rem;
}

.shop-detail__description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.shop-detail__form {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.shop-detail__qty {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.shop-detail__qty input {
    width: 5rem;
    padding: 0.6rem 0.7rem;
    border-radius: var(--radius-md, 10px);
    border: 1px solid rgba(10, 10, 10, 0.18);
    font-size: 1rem;
}

.shop-detail__coming-soon {
    margin-bottom: 0.5rem;
}

.shop-detail__coming-soon-note {
    color: var(--color-gray-700, #555);
    font-size: 0.9rem;
}

/* ---- Cart ---- */
.shop-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
    align-items: start;
    margin-top: 1.5rem;
}

.shop-cart__lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.shop-cart-line {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-radius: var(--radius-lg, 18px);
    border: 1px solid rgba(10, 10, 10, 0.08);
    background: var(--color-surface, #fff);
}

.shop-cart-line__media img {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-md, 10px);
    padding: 0.4rem;
}

.shop-cart-line__title {
    font-size: 1.1rem;
    margin: 0 0 0.2rem;
}

.shop-cart-line__subtitle,
.shop-cart-line__unit {
    font-size: 0.85rem;
    color: var(--color-gray-700, #555);
    margin: 0 0 0.4rem;
}

.shop-cart-line__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.shop-cart-line__qty-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-cart-line__qty-form input[type="number"] {
    width: 4rem;
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-md, 10px);
    border: 1px solid rgba(10, 10, 10, 0.18);
    font-size: 0.95rem;
}

.shop-cart-line__remove {
    color: var(--color-red);
    border-color: rgba(206, 17, 65, 0.35);
}

.shop-cart-line__total {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.shop-cart__summary {
    position: sticky;
    top: 1.5rem;
}

.shop-cart__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.05rem;
    margin: 0.5rem 0;
}

.shop-cart__summary-row strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-green);
}

.shop-cart__summary-note {
    font-size: 0.82rem;
    color: var(--color-gray-700, #555);
    margin-bottom: 1rem;
}

.shop-cart__summary form {
    margin-top: 0.5rem;
}

.shop-cart__summary .button {
    width: 100%;
}

.shop-cart__continue {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
}

.shop-cart-empty {
    margin-top: 1.5rem;
    text-align: center;
}

.shop-cart-empty p {
    margin: 0.75rem 0;
}

@media (max-width: 767px) {
    .shop-cart {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-cart__summary {
        position: static;
    }

    .shop-cart-line {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .shop-cart-line__media img {
        width: 64px;
        height: 64px;
    }

    .shop-cart-line__total {
        grid-column: 2;
        text-align: right;
    }
}

/* ══════════ design-system/_theme.css ══════════ */
:root {
    color-scheme: light;
    --theme-toggle-track: linear-gradient(135deg, #8a9099, #6e757f);
    --theme-toggle-border: rgba(0, 0, 0, 0.35);
    --theme-toggle-thumb: linear-gradient(135deg, #ffffff, #d8dde3);
    --theme-toggle-thumb-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    --theme-toggle-label: rgba(27, 29, 34, 0.9);
    --theme-toggle-offset: 0rem;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --theme-toggle-track: linear-gradient(135deg, rgba(18, 27, 38, 0.98), rgba(34, 46, 61, 0.92));
    --theme-toggle-border: rgba(255, 255, 255, 0.14);
    --theme-toggle-thumb: linear-gradient(135deg, #ffcba4, #c8a951);
    --theme-toggle-thumb-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
    --theme-toggle-label: rgba(255, 248, 241, 0.88);
    --theme-toggle-offset: 1.4rem;
    --theme-dark-body-bg: linear-gradient(180deg, #081018 0%, #0e1722 42%, #152131 100%);
    --theme-dark-backdrop:
        radial-gradient(circle at 8% 8%, rgba(0, 166, 81, 0.2), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(206, 17, 65, 0.18), transparent 26%),
        radial-gradient(circle at 50% 65%, rgba(245, 197, 24, 0.06), transparent 32%),
        linear-gradient(180deg, rgba(7, 12, 18, 0.68), rgba(7, 12, 18, 0));
    --theme-dark-text: rgba(239, 232, 223, 0.88);
    --theme-dark-heading: rgba(252, 247, 241, 0.96);
    --theme-dark-muted: rgba(225, 216, 207, 0.76);
    --theme-dark-subtle: rgba(206, 197, 188, 0.72);
    --theme-dark-header: rgba(10, 16, 24, 0.84);
    --theme-dark-banner: rgba(14, 21, 30, 0.88);
    --theme-dark-surface: linear-gradient(160deg, rgba(18, 27, 38, 0.96), rgba(28, 38, 50, 0.9));
    --theme-dark-surface-strong: rgba(20, 30, 42, 0.96);
    --theme-dark-surface-soft: rgba(23, 33, 45, 0.84);
    --theme-dark-surface-muted: rgba(11, 18, 26, 0.52);
    --theme-dark-border: rgba(255, 255, 255, 0.08);
    --theme-dark-border-strong: rgba(255, 255, 255, 0.12);
    --theme-dark-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
    --theme-dark-shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.24);
    --theme-dark-input: rgba(15, 22, 32, 0.92);
    --theme-dark-input-border: rgba(255, 255, 255, 0.12);
    --theme-dark-button-primary: linear-gradient(135deg, rgba(245, 197, 24, 0.96), rgba(206, 17, 65, 0.84));
    --theme-dark-button-secondary: linear-gradient(135deg, rgba(0, 166, 81, 0.14), rgba(245, 197, 24, 0.12));
    --theme-dark-map-bg:
        radial-gradient(circle at top left, rgba(206, 17, 65, 0.18), transparent 32%),
        radial-gradient(circle at 92% 10%, rgba(77, 168, 218, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(7, 12, 18, 0.64), rgba(7, 12, 18, 0));
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.8rem;
    padding: 0.2rem 0.25rem;
    border: 0;
    background: transparent;
    color: var(--theme-toggle-label);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.theme-toggle:hover {
    color: var(--color-black);
}

.theme-toggle:focus-visible {
    outline: 2px solid rgba(77, 168, 218, 0.36);
    outline-offset: 4px;
    border-radius: 999px;
}

.theme-toggle__switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 3.2rem;
    height: 1.8rem;
    border: 1px solid var(--theme-toggle-border);
    border-radius: 999px;
    background: var(--theme-toggle-track);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.theme-toggle__switch::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 28% 50%, rgba(255, 255, 255, 0.24), transparent 20%),
        radial-gradient(circle at 72% 50%, rgba(10, 10, 10, 0.08), transparent 22%);
    pointer-events: none;
}

.theme-toggle__thumb {
    position: absolute;
    top: 0.18rem;
    left: 0.18rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--theme-toggle-thumb);
    box-shadow: var(--theme-toggle-thumb-shadow);
    transform: translateX(var(--theme-toggle-offset));
    transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.theme-toggle__mode {
    min-width: 4.1rem;
    text-align: left;
}

@media (max-width: 1279px) {
    .site-nav__actions {
        gap: 0.75rem;
    }

    .theme-toggle {
        justify-content: space-between;
        width: 100%;
        padding-inline: 0;
    }
}

:root[data-theme="dark"] .theme-toggle:hover {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] body {
    background: var(--theme-dark-body-bg);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4,
:root[data-theme="dark"] .section-heading,
:root[data-theme="dark"] .metric-card__value,
:root[data-theme="dark"] .directory-hours-row strong,
:root[data-theme="dark"] .nightlife-hours-row strong,
:root[data-theme="dark"] .auth-promo-card__title,
:root[data-theme="dark"] .admin-quick-card__label {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .admin-sidebar__link:hover {
    background: rgba(206, 17, 65, 0.14);
}

:root[data-theme="dark"] .register-hero--business {
    background: linear-gradient(135deg, rgba(206, 17, 65, 0.12) 0%, transparent 60%);
    border-bottom-color: rgba(206, 17, 65, 0.2);
}

:root[data-theme="dark"] .register-hero--influencer {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.12) 0%, transparent 60%);
    border-bottom-color: rgba(0, 166, 81, 0.2);
}

:root[data-theme="dark"] .register-feature-list li {
    color: var(--theme-dark-muted);
}

:root[data-theme="dark"] .lede,
:root[data-theme="dark"] .auth-card__note,
:root[data-theme="dark"] .auth-promo-card__body,
:root[data-theme="dark"] .auth-promo-card__perks li,
:root[data-theme="dark"] .admin-module-card__desc,
:root[data-theme="dark"] .admin-panel__group-label,
:root[data-theme="dark"] .metric-card__label,
:root[data-theme="dark"] .media-card__meta,
:root[data-theme="dark"] .news-toolbar__meta,
:root[data-theme="dark"] .article-meta,
:root[data-theme="dark"] .home-chip-carousel__status,
:root[data-theme="dark"] .home-live-feature__summary,
:root[data-theme="dark"] .home-live-item__meta,
:root[data-theme="dark"] .home-live-item__venue,
:root[data-theme="dark"] .section-header__copy,
:root[data-theme="dark"] .directory-card__submeta,
:root[data-theme="dark"] .directory-contact-list,
:root[data-theme="dark"] .directory-hours-list,
:root[data-theme="dark"] .nightlife-card__submeta,
:root[data-theme="dark"] .nightlife-meta-list,
:root[data-theme="dark"] .nightlife-hours-list,
:root[data-theme="dark"] .map-sidebar__meta,
:root[data-theme="dark"] .map-layer-toggle__copy small,
:root[data-theme="dark"] .map-results__empty,
:root[data-theme="dark"] .map-result-card__eyebrow,
:root[data-theme="dark"] .map-popup__eyebrow,
:root[data-theme="dark"] .map-result-card__meta,
:root[data-theme="dark"] .map-popup__meta,
:root[data-theme="dark"] .map-result-card__summary,
:root[data-theme="dark"] .map-popup__summary,
:root[data-theme="dark"] .map-stage__title,
:root[data-theme="dark"] .map-stage__footer p,
:root[data-theme="dark"] .map-noscript,
:root[data-theme="dark"] .map-command-stage .lede,
:root[data-theme="dark"] .event-day-dialog__meta,
:root[data-theme="dark"] .event-day-dialog__empty,
:root[data-theme="dark"] .directory-card__summary,
:root[data-theme="dark"] .nightlife-card__summary {
    color: var(--theme-dark-muted);
}

:root[data-theme="dark"] .site-backdrop {
    background: var(--theme-dark-backdrop);
}

:root[data-theme="dark"] .site-backdrop::before {
    mix-blend-mode: screen;
    opacity: 0.62;
}

:root[data-theme="dark"] #content {
    background: rgba(10, 16, 26, 0.97);
}

:root[data-theme="dark"] .site-header {
    background: var(--theme-dark-header);
    box-shadow: inset 5px 0 0 var(--color-red), inset -5px 0 0 var(--color-green);
}

:root[data-theme="dark"] .site-logo__wordmark small {
    color: var(--theme-dark-subtle);
}

:root[data-theme="dark"] .site-logo__wordmark strong {
    color: var(--color-green);
}

:root[data-theme="dark"] .site-nav__links a {
    color: rgba(206, 50, 82, 0.82);
}

:root[data-theme="dark"] .site-nav__links a:hover,
:root[data-theme="dark"] .site-nav__links a.is-active {
    color: var(--color-red);
}

:root[data-theme="dark"] .site-nav__links a.is-active {
    border-bottom-color: var(--color-red);
}

:root[data-theme="dark"] .countdown-ring__track {
    stroke: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .countdown-ring__value {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .countdown-ring__unit,
:root[data-theme="dark"] .nav-rings__label {
    color: var(--theme-dark-subtle);
}

:root[data-theme="dark"] .site-frame {
    box-shadow:
        inset  5px 0 0 var(--color-red),
        inset -5px 0 0 var(--color-green),
        -10px 0 28px rgba(206, 17, 65, 0.16),
          10px 0 28px rgba(0, 166, 81, 0.16);
}

:root[data-theme="dark"] .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .nav-toggle span:not(.sr-only) {
    background: rgba(255, 248, 241, 0.94);
}

:root[data-theme="dark"] .button--primary {
    background: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
    box-shadow: none;
}

:root[data-theme="dark"] .button--primary:hover {
    background: rgba(0, 166, 81, 0.1);
}

:root[data-theme="dark"] .button--secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .button--secondary:hover {
    border-color: rgba(255, 255, 255, 0.38);
}

:root[data-theme="dark"] .button--ghost,
:root[data-theme="dark"] .button--ghost-dark {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .section--muted {
    background: var(--theme-dark-surface-muted);
    border-top-color: var(--theme-dark-border);
    border-bottom-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .feature-card,
:root[data-theme="dark"] .panel,
:root[data-theme="dark"] .metric-card,
:root[data-theme="dark"] .district-card,
:root[data-theme="dark"] .track-card,
:root[data-theme="dark"] .callout-card:not(.callout-card--accent):not(.callout-card--hero),
:root[data-theme="dark"] .auth-card,
:root[data-theme="dark"] .auth-promo-card,
:root[data-theme="dark"] .admin-quick-card,
:root[data-theme="dark"] .news-card,
:root[data-theme="dark"] .admin-table-wrap,
:root[data-theme="dark"] .admin-list__item,
:root[data-theme="dark"] .timeline-list li,
:root[data-theme="dark"] .flash-message,
:root[data-theme="dark"] .event-filter-form,
:root[data-theme="dark"] .event-calendar-empty,
:root[data-theme="dark"] .event-guide-card,
:root[data-theme="dark"] .page-events-index .event-widget,
:root[data-theme="dark"] .event-calendar-shell--primary,
:root[data-theme="dark"] .event-detail-fact,
:root[data-theme="dark"] .directory-card,
:root[data-theme="dark"] .directory-filter-panel,
:root[data-theme="dark"] .page-directory-index .directory-card,
:root[data-theme="dark"] .nightlife-card,
:root[data-theme="dark"] .nightlife-filter-panel,
:root[data-theme="dark"] .page-nightlife-index .nightlife-card,
:root[data-theme="dark"] .map-sidebar__section,
:root[data-theme="dark"] .map-stage,
:root[data-theme="dark"] .map-result-card,
:root[data-theme="dark"] .map-preset-card,
:root[data-theme="dark"] .map-layer-toggle,
:root[data-theme="dark"] .map-search-input,
:root[data-theme="dark"] .map-command-stage,
:root[data-theme="dark"] .map-results-panel,
:root[data-theme="dark"] .map-control-panel__block,
:root[data-theme="dark"] .map-search-input--toolbar,
:root[data-theme="dark"] .map-layer-chip,
:root[data-theme="dark"] .map-noscript,
:root[data-theme="dark"] .article-card--featured,
:root[data-theme="dark"] .news-article-body,
:root[data-theme="dark"] .news-sidebar,
:root[data-theme="dark"] .event-day-dialog__item {
    background: var(--theme-dark-surface);
    border-color: var(--theme-dark-border);
    box-shadow: var(--theme-dark-shadow-soft);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .hero-stage,
:root[data-theme="dark"] .home-chip-carousel__panel,
:root[data-theme="dark"] .home-live-feature,
:root[data-theme="dark"] .event-calendar-stage,
:root[data-theme="dark"] .event-detail-stage,
:root[data-theme="dark"] .directory-stage {
    background: var(--theme-dark-surface);
    border-color: var(--theme-dark-border-strong);
    box-shadow: var(--theme-dark-shadow);
}

:root[data-theme="dark"] .event-calendar-shell {
    background:
        radial-gradient(circle at top left, rgba(206, 17, 65, 0.08), transparent 32%),
        radial-gradient(circle at top right, rgba(77, 168, 218, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(14, 21, 30, 0.98), rgba(18, 27, 38, 0.96));
    border-color: var(--theme-dark-border);
    box-shadow: var(--theme-dark-shadow-soft);
}

:root[data-theme="dark"] .event-calendar-shell .fc {
    --fc-border-color: rgba(255, 255, 255, 0.08);
    --fc-button-text-color: var(--theme-dark-heading);
    --fc-button-bg-color: rgba(255, 255, 255, 0.06);
    --fc-button-border-color: rgba(255, 255, 255, 0.12);
    --fc-button-hover-bg-color: rgba(255, 255, 255, 0.12);
    --fc-button-hover-border-color: rgba(255, 255, 255, 0.18);
    --fc-button-active-bg-color: rgba(255, 203, 164, 0.92);
    --fc-button-active-border-color: rgba(255, 203, 164, 0.92);
    --fc-neutral-bg-color: rgba(22, 32, 45, 0.96);
    --fc-neutral-text-color: var(--theme-dark-text);
    --fc-page-bg-color: transparent;
    --fc-list-event-hover-bg-color: rgba(255, 255, 255, 0.06);
    --fc-today-bg-color: transparent;
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-toolbar-title {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-button {
    box-shadow: none;
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-button:disabled {
    opacity: 0.48;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-scrollgrid,
:root[data-theme="dark"] .event-calendar-shell .fc-theme-standard td,
:root[data-theme="dark"] .event-calendar-shell .fc-theme-standard th {
    border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-scrollgrid {
    background: rgba(11, 18, 26, 0.36);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-col-header-cell {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-col-header-cell-cushion {
    color: var(--theme-dark-heading);
    opacity: 0.92;
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day {
    background: transparent;
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day-frame {
    background: linear-gradient(180deg, rgba(20, 30, 42, 0.72), rgba(17, 25, 36, 0.88));
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day:hover .fc-daygrid-day-frame {
    background: linear-gradient(180deg, rgba(23, 34, 47, 0.92), rgba(18, 28, 40, 0.96));
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day-number,
:root[data-theme="dark"] .event-calendar-shell .fc .fc-list-day-text,
:root[data-theme="dark"] .event-calendar-shell .fc .fc-list-day-side-text {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-day-other .fc-daygrid-day-frame {
    background: linear-gradient(180deg, rgba(11, 18, 26, 0.92), rgba(12, 18, 28, 0.96));
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-day-other .fc-daygrid-day-number {
    color: rgba(239, 232, 223, 0.22);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day.has-events {
    background:
        radial-gradient(circle at top left, rgba(77, 168, 218, 0.08), transparent 46%),
        linear-gradient(180deg, rgba(26, 36, 49, 0.96), rgba(18, 28, 40, 0.98));
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day.has-events .fc-daygrid-day-frame {
    background: transparent;
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day.fc-day-today {
    background:
        radial-gradient(circle at top left, rgba(255, 203, 164, 0.16), transparent 48%),
        linear-gradient(180deg, rgba(54, 46, 31, 0.88), rgba(31, 35, 43, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255, 203, 164, 0.18);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-frame {
    background: transparent;
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .event-calendar-day-chip,
:root[data-theme="dark"] .event-calendar-day-more {
    border: 1px solid rgba(206, 17, 65, 0.16);
    background: linear-gradient(135deg, rgba(206, 17, 65, 0.22), rgba(255, 203, 164, 0.12));
    color: rgba(255, 240, 232, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

:root[data-theme="dark"] .event-calendar-day-more {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    color: var(--theme-dark-muted);
}

:root[data-theme="dark"] .event-calendar-day-chip:hover,
:root[data-theme="dark"] .event-calendar-day-chip:focus-visible,
:root[data-theme="dark"] .event-calendar-day-more:hover,
:root[data-theme="dark"] .event-calendar-day-more:focus-visible {
    box-shadow: 0 0 0 2px rgba(255, 203, 164, 0.16);
}

:root[data-theme="dark"] .event-day-dialog {
    background: rgba(14, 21, 30, 0.98);
    box-shadow: var(--theme-dark-shadow);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .event-day-dialog__close {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .hero-stage::before {
    border-color: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .page-home .hero .lede,
:root[data-theme="dark"] .page-directory-index .directory-stage__intro .lede {
    color: var(--theme-dark-muted);
}

:root[data-theme="dark"] .pill,
:root[data-theme="dark"] .page-home .pill,
:root[data-theme="dark"] .home-chip-carousel__nav,
:root[data-theme="dark"] .home-live-feature__meta span,
:root[data-theme="dark"] .home-live-item,
:root[data-theme="dark"] .filter-chip {
    background: var(--theme-dark-surface-soft);
    border-color: var(--theme-dark-border);
    color: var(--theme-dark-text);
    box-shadow: var(--theme-dark-shadow-soft);
}

/* 2026-09-09: :root[data-theme="dark"] .page-home .pill is (0,4,0) and sets both
   background and box-shadow, so a.pill--lg:hover (0,2,1) never landed — the five
   biggest calls-to-action on the home page did nothing when you moused over them.
   Restate the hover above the dark rest state. */
:root[data-theme="dark"] a.pill--lg:hover,
:root[data-theme="dark"] .page-home a.pill--lg:hover {
    background: var(--theme-dark-surface-strong);
    border-color: var(--theme-dark-border-strong);
    box-shadow: var(--theme-dark-shadow);
    color: var(--theme-dark-heading);
}

/* Carousel chips keep their per-instance stoplight color in dark mode */
:root[data-theme="dark"] .home-chip-carousel__chip {
    background: transparent;
    border-color: var(--chip-color, var(--color-red));
    color: var(--chip-color, var(--color-red));
    box-shadow: var(--theme-dark-shadow-soft);
}

:root[data-theme="dark"] .nightlife-card__fact {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--theme-dark-muted);
    box-shadow: none;
}

:root[data-theme="dark"] .home-chip-carousel__chip.is-active {
    background: var(--chip-color, var(--color-green));
    border-color: var(--chip-color, var(--color-green));
    color: var(--chip-text, var(--color-white));
}

:root[data-theme="dark"] .filter-chip--active {
    background: var(--color-green);
    border-color: transparent;
    color: var(--color-white);
}

:root[data-theme="dark"] .stack-form input,
:root[data-theme="dark"] .stack-form textarea,
:root[data-theme="dark"] .stack-form select,
:root[data-theme="dark"] .inline-form input,
:root[data-theme="dark"] .map-search-input,
:root[data-theme="dark"] .map-search-input--toolbar {
    background: var(--theme-dark-input);
    border-color: var(--theme-dark-input-border);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .stack-form input::placeholder,
:root[data-theme="dark"] .stack-form textarea::placeholder,
:root[data-theme="dark"] .inline-form input::placeholder,
:root[data-theme="dark"] .map-search-input::placeholder,
:root[data-theme="dark"] .map-search-input--toolbar::placeholder {
    color: var(--theme-dark-subtle);
}

:root[data-theme="dark"] .form-note {
    background: rgba(39, 87, 116, 0.22);
    border-color: rgba(77, 168, 218, 0.28);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .form-error--block {
    background: rgba(96, 19, 39, 0.28);
    border-color: rgba(206, 17, 65, 0.32);
}

:root[data-theme="dark"] .admin-table th,
:root[data-theme="dark"] .admin-table td,
:root[data-theme="dark"] .directory-hours-row,
:root[data-theme="dark"] .nightlife-hours-row,
:root[data-theme="dark"] .event-widget-item,
:root[data-theme="dark"] .event-detail-stage__intro,
:root[data-theme="dark"] .map-stage__footer {
    border-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .admin-table th {
    color: var(--theme-dark-subtle);
}

:root[data-theme="dark"] .status-badge--draft {
    background: rgba(139, 151, 165, 0.22);
}

:root[data-theme="dark"] .status-badge--published {
    background: rgba(0, 166, 81, 0.22);
}

:root[data-theme="dark"] .status-badge--archived {
    background: rgba(245, 197, 24, 0.2);
}

:root[data-theme="dark"] .media-thumb,
:root[data-theme="dark"] .article-card__media,
:root[data-theme="dark"] .article-hero-media,
:root[data-theme="dark"] .directory-card__media,
:root[data-theme="dark"] .directory-hero-media,
:root[data-theme="dark"] .directory-gallery__item img,
:root[data-theme="dark"] .directory-gallery--admin img,
:root[data-theme="dark"] .nightlife-card__media,
:root[data-theme="dark"] .nightlife-hero-media,
:root[data-theme="dark"] .nightlife-gallery__item img,
:root[data-theme="dark"] .nightlife-gallery--admin img,
:root[data-theme="dark"] .map-result-card__media,
:root[data-theme="dark"] .map-popup__media,
:root[data-theme="dark"] .city-map {
    background: var(--theme-dark-surface-strong);
    border-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .map-layer-toggle__count {
    background: var(--theme-dark-surface-muted);
}

:root[data-theme="dark"] .map-layer-toggle__swatch,
:root[data-theme="dark"] .map-legend__item::before {
    box-shadow: 0 0 0 4px rgba(20, 30, 42, 0.96);
}

:root[data-theme="dark"] .map-result-card:hover,
:root[data-theme="dark"] .map-result-card:focus-visible,
:root[data-theme="dark"] .map-preset-card:hover,
:root[data-theme="dark"] .map-preset-card:focus-visible,
:root[data-theme="dark"] .map-preset-card.is-active,
:root[data-theme="dark"] .home-chip-carousel__nav:hover,
:root[data-theme="dark"] .home-chip-carousel__nav:focus-visible {
    border-color: var(--theme-dark-border-strong);
    box-shadow: var(--theme-dark-shadow-soft);
}

:root[data-theme="dark"] .page-events .page-hero,
:root[data-theme="dark"] .page-nightlife .page-hero,
:root[data-theme="dark"] .page-map .page-hero {
    background: linear-gradient(180deg, rgba(7, 12, 18, 0.38), rgba(7, 12, 18, 0));
}

:root[data-theme="dark"] .page-map {
    background: var(--theme-dark-map-bg);
}

:root[data-theme="dark"] .page-nightlife-index .nightlife-stage {
    box-shadow: var(--theme-dark-shadow);
}

:root[data-theme="dark"] .leaflet-popup-content-wrapper,
:root[data-theme="dark"] .leaflet-popup-tip,
:root[data-theme="dark"] .leaflet-bar a,
:root[data-theme="dark"] .leaflet-control-zoom a {
    background: var(--theme-dark-surface-strong);
    color: var(--theme-dark-heading);
    border-color: var(--theme-dark-border);
}

/* 2026-09-09: the :hover selectors used to sit in the list ABOVE with identical
   declarations, which pinned rest and hover to the same values. The actual hover
   lives in pages/map.css, next to the !important block that forces these controls
   to stay light in dark mode — putting it here would lose to that !important. */

:root[data-theme="dark"] .leaflet-control-attribution {
    background: rgba(14, 21, 30, 0.84);
    color: var(--theme-dark-muted);
    border-top-left-radius: 0.6rem;
}

:root[data-theme="dark"] .leaflet-control-attribution a {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .leaflet-popup-content-wrapper {
    box-shadow: var(--theme-dark-shadow-soft);
}

:root[data-theme="dark"] .site-footer {
    background: var(--theme-dark-header);
    color: rgba(239, 232, 223, 0.82);
}

:root[data-theme="dark"] .site-footer__brand-mark {
    background: rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .site-footer__brand-copy small,
:root[data-theme="dark"] .site-footer__nav a,
:root[data-theme="dark"] .site-footer__meta a,
:root[data-theme="dark"] .site-footer__meta span {
    color: rgba(239, 232, 223, 0.82);
}

@media (max-width: 1279px) {
    :root[data-theme="dark"] .site-nav {
        background: rgba(15, 22, 32, 0.98);
        border-color: var(--theme-dark-border);
        box-shadow: var(--theme-dark-shadow);
    }
}
/* ── Featured cards dark mode ─────────────────────────────────────────── */
:root[data-theme="dark"] .news-featured-card {
    background: var(--theme-dark-surface);
    border-color: var(--theme-dark-border);
    box-shadow: var(--theme-dark-shadow-soft);
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .news-featured-card__media-placeholder {
    background: linear-gradient(160deg, rgba(206, 17, 65, 0.16), rgba(245, 197, 24, 0.1) 50%, rgba(0, 166, 81, 0.16));
}

:root[data-theme="dark"] .news-featured-card__title a {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .news-featured-card__title a:hover {
    color: var(--color-red);
}

/* ── Prose and article body dark mode ──────────────────────────────────── */
:root[data-theme="dark"] .prose {
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .prose h2,
:root[data-theme="dark"] .prose h3 {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .news-article-header {
    border-bottom-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .news-article-footer {
    border-top-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .lede--small {
    color: var(--theme-dark-muted);
}

/* ── Related posts section dark mode ──────────────────────────────────── */
:root[data-theme="dark"] .news-related-section {
    border-top-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .news-related-section__heading {
    color: var(--theme-dark-subtle);
}

/* ── Pagination dark mode ──────────────────────────────────────────────── */
:root[data-theme="dark"] .pagination__link {
    background: var(--theme-dark-surface-soft);
    border-color: var(--theme-dark-border);
}

:root[data-theme="dark"] .pagination__link--newer {
    color: var(--color-green);
    border-color: rgba(0, 166, 81, 0.3);
}

:root[data-theme="dark"] .pagination__link--older {
    color: var(--color-red);
    border-color: rgba(206, 17, 65, 0.3);
}

/* 2026-09-09: the two rules above are (0,3,0); the hover that is supposed to
   light these up lives at .pagination__link--older:hover (0,2,0) and therefore
   never applied in dark mode — "Older →" / "Newer" were dead to the mouse.
   Restate the hover at dark-mode specificity. */
:root[data-theme="dark"] .pagination__link--older:hover {
    border-color: var(--color-red);
    background: rgba(206, 17, 65, 0.16);
}

:root[data-theme="dark"] .pagination__link--newer:hover {
    border-color: var(--color-green);
    background: rgba(0, 166, 81, 0.16);
}

:root[data-theme="dark"] .pagination__status {
    color: var(--theme-dark-subtle);
}

/* ── Article tags dark mode ────────────────────────────────────────────── */
:root[data-theme="dark"] .news-article-tag {
    background: rgba(245, 197, 24, 0.12);
    color: var(--color-gold);
}

:root[data-theme="dark"] .news-article-tag:hover {
    background: rgba(245, 197, 24, 0.22);
}

/* ── Card title/excerpt dark mode ──────────────────────────────────────── */
:root[data-theme="dark"] .news-card__title a {
    color: var(--theme-dark-heading);
}

:root[data-theme="dark"] .news-card__title a:hover {
    color: var(--color-red);
}

:root[data-theme="dark"] .news-card__excerpt {
    color: var(--theme-dark-muted);
}

/* ── Category chips dark mode ──────────────────────────────────────────── */
:root[data-theme="dark"] .news-filter-panel__label {
    color: var(--theme-dark-subtle);
}

:root[data-theme="dark"] .news-cat-chip {
    border-color: var(--theme-dark-border);
    color: var(--theme-dark-muted);
}

:root[data-theme="dark"] .news-cat-chip:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

/* ── Article hero aside dark mode ──────────────────────────────────────── */
:root[data-theme="dark"] .news-article-hero-aside__img {
    border-color: var(--theme-dark-border);
    background: var(--theme-dark-surface-strong);
}

/* ── Tag chips (yellow) dark mode ──────────────────────────────────────── */
:root[data-theme="dark"] .news-tag-chip {
    border-color: rgba(245, 197, 24, 0.25);
    color: var(--color-gold);
}

:root[data-theme="dark"] .news-tag-chip:hover {
    border-color: var(--color-gold);
    background: rgba(245, 197, 24, 0.12);
}

:root[data-theme="dark"] .news-filter-panel__label--gold {
    color: var(--color-gold);
}

/* ══════════════════════════════════════════════════════════════════════════
   Accessibility pass — 2026-10 (docs/accessibility-audit-2026-10.md).
   Bug fixes only: text that rendered invisible on the forced-dark theme, the
   skip link, reduced motion. No brand colour is changed here; the contrast
   items that WOULD need a new shade are proposals in the audit doc.
   ══════════════════════════════════════════════════════════════════════════ */

/* Skip link (WCAG 2.4.1): off-screen until it receives keyboard focus. */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100vh;
    z-index: 10000;
    padding: 0.75rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--color-gold);
    color: var(--color-black);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

/* The /map variant sits in the flow just above the map canvas. */
.skip-link--inline {
    position: absolute;
    left: -10000px;
    top: auto;
}

.skip-link--inline:focus {
    position: static;
    display: inline-block;
    margin-bottom: 0.75rem;
}

/* main takes focus from the skip link; it is not a control, so no ring. */
main[tabindex="-1"]:focus {
    outline: none;
}

/* The header is sticky (~123px on desktop): without this, in-page jumps and
   Tab-scrolling park the target underneath it (WCAG 2.4.11 Focus Not Obscured). */
html {
    scroll-padding-top: 8.5rem;
}

/* Home "Start here" carousel pause control (WCAG 2.2.2). */
.home-chip-carousel__pause {
    display: block;
    margin: 0.85rem auto 0;
    min-height: 24px;
    padding: 0.3rem 0.9rem;
    border: 1px solid var(--theme-dark-border-strong);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--theme-dark-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.home-chip-carousel__pause[hidden] {
    display: none;
}

.home-chip-carousel__pause:hover {
    color: var(--theme-dark-heading);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Section labels promoted from <p> to <h2> keep the line-height they had as <p>. */
h2.section-heading,
h2.news-related-section__heading {
    line-height: 1.6;
}

/* In-body links are told apart from text by colour alone at rest; give them an
   underline on hover/focus so there is a non-colour cue (WCAG 1.4.1, G183). */
.cms-page-body a:hover,
.cms-page-body a:focus-visible {
    text-decoration: underline;
}

/* Active filter chips: the dark-theme chip rule above overrode their white text
   with the muted grey (2.72:1 on red). Restore the white they were designed with. */
:root[data-theme="dark"] .news-cat-chip--active,
:root[data-theme="dark"] .news-cat-chip--active:hover {
    color: #fff;
}

/* Same bug on the Places pagination: muted grey on green = 1.83:1. White is 3.19:1,
   which passes for this 23px bold numeral (large text). */
:root[data-theme="dark"] .directory-pagination__pill--active,
:root[data-theme="dark"] .directory-pagination__pill--active:hover {
    color: #fff;
}

/* Discover downtownATL Daily (/events) and Hidden Gems (Place pages) were written
   for a light page: the day tabs were #111 on the dark page (1:1, invisible) and the
   special's name inherited the light body text on a white card (1.19:1, invisible). */
:root[data-theme="dark"] .discover-daily__tab {
    color: var(--theme-dark-text);
}

:root[data-theme="dark"] .discover-daily__tab--active {
    color: #fff;
}

:root[data-theme="dark"] .discover-daily__card,
:root[data-theme="dark"] .hidden-gem-card {
    color: #1b1d22;
}

/* Its subheading used the light-theme grey fallback (#6b7280 = 3.92:1 here). */
:root[data-theme="dark"] .section-subheading {
    color: var(--theme-dark-muted);
}

/* FullCalendar on /events: Week/Month labels were rgba(10,10,10,.65) on the dark
   toolbar (1.03:1), the active "List" button was light text on peach (1.59:1), and
   the disclaimer under the calendar was near-black on near-black (1.02:1). */
:root[data-theme="dark"] .event-calendar-shell .fc .fc-dayGridWeek-button,
:root[data-theme="dark"] .event-calendar-shell .fc .fc-dayGridMonth-button {
    color: var(--theme-dark-text);
    border-color: rgba(255, 255, 255, 0.2);
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-dayGridWeek-button.fc-button-active,
:root[data-theme="dark"] .event-calendar-shell .fc .fc-dayGridMonth-button.fc-button-active {
    color: #fff;
}

:root[data-theme="dark"] .event-calendar-shell .fc .fc-button-primary.fc-button-active:not(.fc-dayGridWeek-button):not(.fc-dayGridMonth-button) {
    color: var(--color-black);
}

:root[data-theme="dark"] .event-calendar-disclaimer {
    color: var(--theme-dark-muted);
}

/* prefers-reduced-motion (WCAG 2.3.3 / 2.2.2 support): stop the drifting skyline,
   the pulsing logo rings, the scroll-reveal slide-ins and smooth scrolling. The
   carousel already stops auto-rotating in main.js under this setting. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html.js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ══════════ pages/mobile.css ══════════ */
/* ── Mobile CSS Overrides ────────────────────────────────────────────────────
   Targeted fixes for header, typography, and spacing on small screens.
   Nav rings already hidden < 1280px in _components.css.
──────────────────────────────────────────────────────────────────────────── */

/* ── Phones (≤ 767px) ─────────────────────────────────────────────────────── */

@media (max-width: 767px) {

    /* 1. Header: shrink the tower logo so the header isn't 112px tall */
    .site-logo__mark img,
    .site-logo__riser {
        height: 4.5rem; /* was 7rem = 112px */
    }

    .site-logo__wordmark strong {
        font-size: 0.92rem;
    }

    .site-logo__wordmark small {
        font-size: 0.72rem;
    }

    .site-header__inner {
        padding-left: var(--space-3); /* was 1.5rem → 1rem */
    }

    /* 2. Typography: pull heading scale back on small screens */
    h1 {
        font-size: clamp(2rem, 1.6rem + 3.5vw, 3rem);
        line-height: 1.05;
    }

    h2 {
        font-size: clamp(1.5rem, 1.2rem + 2.5vw, 2.2rem);
        line-height: 1.1;
    }

    h3 {
        font-size: clamp(1.1rem, 1rem + 1vw, 1.4rem);
    }

    /* Home hero h1 gets its own slightly-larger mobile floor */
    .page-home h1 {
        /* floor tuned so "downtownATL.com" (unbreakable) fits a 390px viewport */
        font-size: clamp(2rem, 1rem + 4.6vw, 3.2rem);
        line-height: 1.08;
    }

    .hero__content {
        min-width: 0; /* grid item: don't inflate to h1 min-content width */
    }

    /* Lede: step-1 (1.2rem+) is too large on phones; use step-0 (≈ 1rem) */
    .lede {
        font-size: var(--step-0);
    }

    /* 3. Quicklink pills: smaller so they wrap more naturally */
    .pill--lg {
        font-size: 1rem;   /* was 1.25rem */
        padding: 0.6rem 1.1rem;
    }

    /* 4. CTA band: tighter padding and radius on mobile */
    .cta-band {
        padding: 1.5rem 1.25rem;
        border-radius: 1.5rem;
    }

    /* 5. Generic card: tighter padding on mobile */
    .card {
        padding: var(--space-3);
    }
}

/* ── Very small screens (≤ 380px — iPhone SE, older Androids) ────────────── */

@media (max-width: 380px) {
    :root {
        --container-width: calc(100vw - 2rem); /* 1rem each side vs 1.5rem */
    }

    .site-logo__mark img,
    .site-logo__riser {
        height: 3.75rem; /* 60px on smallest screens */
    }

    /* Hide tagline at narrowest breakpoint */
    .site-logo__wordmark small {
        display: none;
    }

    .page-home h1 {
        font-size: 1.95rem;
        line-height: 1.1;
    }

    h1 {
        font-size: 1.85rem;
    }
}

/* ── Kill stray horizontal scroll site-wide (translated carousel panels etc.) ── */
html, body {
    overflow-x: clip;
}

/* ── diveIN carousel on phones: arrows float over the panel edges ─────────── */
@media (max-width: 767px) {
    .home-chip-carousel__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1rem;
    }

    .home-chip-carousel__nav--prev {
        left: 0.3rem;
    }

    .home-chip-carousel__nav--next {
        right: 0.3rem;
    }

    /* gentler fly-in so inactive panels don't push past the viewport */
    .home-chip-carousel__panel {
        transform: translateX(18px) scale(0.99);
    }

    .home-chip-carousel__panel.is-active {
        transform: translateX(0) scale(1);
    }

    .home-chip-carousel[data-direction="prev"] .home-chip-carousel__panel {
        transform: translateX(-18px) scale(0.99);
    }

    .home-chip-carousel[data-direction="prev"] .home-chip-carousel__panel.is-active {
        transform: translateX(0) scale(1);
    }
}


/* ── Real overflow fixes (2026-08-31) ─────────────────────────────────────
   /places overflowed the viewport by 543px at 375w. Two causes, both found
   by disabling the overflow-x mask and measuring:
     1. .directory-index-shell children defaulted to min-width:auto, so they
        would not shrink below min-content. The existing min-width:0 rule
        covered .directory-stage > * and .directory-filter-panel > * but not
        this shell.
     2. .news-card-grid's repeat(auto-fill, minmax(280px,1fr)) resolved to
        three fixed 280px tracks (888px) instead of one, overflowing its own
        317px parent. Pinning a single column under 768px is unambiguous.
   Verified: scrollWidth 918 -> 375, zero non-fixed overflowing elements,
   with overflow-x:clip DISABLED. The clip below is now a belt-and-braces
   safety net rather than the thing holding the layout together. */
@media (max-width: 767px) {
    .directory-index-shell > * {
        min-width: 0;
    }

    .news-card-grid,
    .events-card-grid,
    .directory-card-grid,
    .nightlife-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════ main.css override tail ══════════ */

/* Green glow effect for ALL clickable subject text (news, events, places) */
.news-card h3 a,
.event-widget-item h3 a,
.home-live-item h3 a,
.home-live-feature__content h3 a,
.news-article-header h1 a,
.news-article-header h1,
article h1,
article h2,
article h3,
.directory-detail-hero h1 a,
.directory-detail-hero h1,
.place-card h3 a {
    color: white;
    transition: text-shadow 0.2s ease, color 0.2s ease;
}

/* Hover state: white text with green glow */
.news-card h3 a:hover,
.news-card h3 a:focus,
.event-widget-item h3 a:hover,
.event-widget-item h3 a:focus,
.home-live-item h3 a:hover,
.home-live-item h3 a:focus,
.home-live-feature__content h3 a:hover,
.home-live-feature__content h3 a:focus,
.news-article-header h1 a:hover,
.news-article-header h1 a:focus,
.directory-detail-hero h1 a:hover,
.directory-detail-hero h1 a:focus,
.place-card h3 a:hover,
.place-card h3 a:focus {
    color: white;
    text-shadow: 0 0 7px var(--color-green) !important;
}

/* Active/click state: text turns green, glow stops */
.news-card h3 a:active,
.event-widget-item h3 a:active,
.home-live-item h3 a:active,
.home-live-feature__content h3 a:active,
.news-article-header h1 a:active,
.directory-detail-hero h1 a:active,
.place-card h3 a:active {
    color: var(--color-green);
    text-shadow: none;
}

/* GLOBAL OVERRIDE: Ensure green glow effect on ALL clickable headings */
.news-card h3 a:hover,
.news-featured-card__title a:hover,
.news-sidebar-item__title a:hover,
.event-widget-item h3 a:hover,
.home-live-item h3 a:hover,
.home-live-feature__content h3 a:hover,
.feature-card__link:hover {
    color: white !important;
    text-shadow: 0 0 7px var(--color-green) !important;
    transition: all 0.2s ease !important;
}

.news-card h3 a:active,
.news-featured-card__title a:active,
.news-sidebar-item__title a:active,
.event-widget-item h3 a:active,
.home-live-item h3 a:active {
    color: var(--color-green) !important;
    text-shadow: none !important;
}

/* T21 RETIRED 2026-09-09 — the green-on-green problem.
   These titles were pinned green at rest AND green again on hover, so hovering
   only added a glow to text that was already the glow colour. Erich: "no need
   for them to be a mix." They now inherit the site-wide title treatment defined
   above — white at rest, white + green glow on hover, green on :active — which
   is what every other card title on the site already did. Do not re-pin the
   colour here; change the shared block above if the standard itself moves. */

/* Queue tile titles a few pt bigger */
.home-live-item h3 {
    font-size: 1.45rem;
    line-height: 1.2;
}

/* T20: Yellow taglines */
/* Hero lede + carousel card body in stoplight yellow */
.page-home .hero .lede {
    color: #ffc52e !important;
}

.home-chip-carousel__panel p {
    color: #ffc52e !important;
}
/* ── Hidden Gems (place page) ─────────────────────────────────────── */
.hidden-gems-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;margin-top:1rem}
.hidden-gem-card{background:var(--surface,#fff);border:1px solid var(--border,#e5e7eb);border-radius:8px;padding:1rem}
.hidden-gem-card__header{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;margin-bottom:.4rem}
.hidden-gem-card__days{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--color-green,#00a651)}
.hidden-gem-card__time{font-size:.78rem;color:var(--text-muted,#6b7280)}
.hidden-gem-card__name{font-weight:600;margin:0 0 .3rem}
.hidden-gem-card__deets{font-size:.88rem;color:var(--text-muted,#6b7280)}

/* ── Discover Daily (events page) ─────────────────────────────────── */
.section-subheading{color:var(--text-muted,#6b7280);margin-top:-.5rem;margin-bottom:1.2rem;font-size:1rem}
.discover-daily__tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}
.discover-daily__tab{padding:.4rem 1rem;border:2px solid var(--border,#e5e7eb);border-radius:99px;background:transparent;cursor:pointer;font-size:.85rem;font-weight:600;color:var(--text,#111);transition:border-color .15s,background .15s,color .15s}
.discover-daily__tab:hover:not(:disabled){border-color:var(--color-green,#00a651);color:var(--color-green,#00a651)}
.discover-daily__tab--active{background:var(--color-green,#00a651);border-color:var(--color-green,#00a651);color:#0a0a0a}
.discover-daily__tab--empty{opacity:.35;cursor:not-allowed}
.discover-daily__panel{display:none}
.discover-daily__panel--active{display:block}
.discover-daily__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}
.discover-daily__card{background:var(--surface,#fff);border:1px solid var(--border,#e5e7eb);border-radius:8px;padding:1rem}
.discover-daily__card-place a{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--color-green,#00a651);text-decoration:none}
.discover-daily__card-place a:hover{text-decoration:underline}
.discover-daily__card-special{display:flex;flex-direction:column;gap:.15rem;margin:.4rem 0 .3rem}
.discover-daily__card-type{font-size:.75rem;color:var(--text-muted,#6b7280);text-transform:uppercase;letter-spacing:.05em}
.discover-daily__card-name{font-size:1rem;font-weight:600}
.discover-daily__card-time{font-size:.8rem;color:var(--text-muted,#6b7280);margin-bottom:.2rem}
.discover-daily__card-deets{font-size:.85rem;color:var(--text-muted,#6b7280)}
.discover-daily__empty{color:var(--text-muted,#6b7280);font-style:italic;padding:1rem 0}

/* ── Admin checkbox row (gems form) ──────────────────────────────── */
.admin-form__checkbox-row{display:flex;flex-wrap:wrap;gap:1rem;padding:.5rem 0}
.admin-form__checkbox-label{display:flex;align-items:center;gap:.35rem;cursor:pointer;font-size:.9rem}
