/* Chateando AI — Premium Featured Concert Event detail (/events/{featured_id}/).
   Scoped under .ch-ai-featured-event so it never affects normal social events,
   blogs, forum, concert landings or the global map CSS. Shares the venue palette.
   Layout/presentation only — no Leaflet/payload/markers/popups/CTA/redirect change. */

.ch-ai-featured-event {
    --cfe-bg: #0a0c12;
    --cfe-bg-2: #11151f;
    --cfe-border: rgba(255, 255, 255, 0.10);
    --cfe-text: #eef1f7;
    --cfe-muted: #9aa3b2;
    --cfe-accent: #22f58b;
    --cfe-accent-2: #6ea8ff;
    --cfe-radius: 18px;
    color: var(--cfe-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.ch-ai-featured-event *, .ch-ai-featured-event *::before, .ch-ai-featured-event *::after { box-sizing: border-box; }

/* Kill the default narrow event-profile chrome that left big empty side space. */
.ch-ai-featured-event .tag_cover_bg,
.ch-ai-featured-event .tag_cover_sec_bg,
.ch-ai-featured-event .short_start_dt { display: none !important; }

/* ---------- Hero ---------- */
.ch-ai-featured-event .ch-ai-fe-hero {
    position: relative;
    max-width: 1100px;
    margin: 14px auto 0;
    min-height: 420px;
    border-radius: var(--cfe-radius);
    overflow: hidden;
    border: 1px solid var(--cfe-border);
    box-shadow: 0 28px 70px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-end;
}
.ch-ai-fe-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    z-index: 0;
}
.ch-ai-fe-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(8, 10, 16, 0.15) 0%, rgba(8, 10, 16, 0.55) 45%, rgba(8, 10, 16, 0.92) 100%),
        radial-gradient(120% 90% at 0% 100%, rgba(34, 245, 139, 0.18) 0%, rgba(34, 245, 139, 0) 55%);
}
.ch-ai-fe-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 34px;
    max-width: 820px;
}
.ch-ai-fe-hero__badge {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #04210f;
    background: linear-gradient(180deg, #2dffa0 0%, #18d57c 100%);
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 24px -12px rgba(34, 245, 139, 0.8);
}
.ch-ai-fe-hero__title {
    margin: 14px 0 8px;
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.ch-ai-fe-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }
.ch-ai-fe-hero__metaitem { color: #e7ebf3; font-size: 15px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
.ch-ai-fe-hero__cdown { color: var(--cfe-muted); font-size: 13px; margin-bottom: 16px; }
.ch-ai-fe-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }

.ch-ai-fe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ch-ai-fe-btn--primary {
    color: #04210f;
    background: linear-gradient(180deg, #2dffa0 0%, #18d57c 100%);
    box-shadow: 0 12px 28px -12px rgba(34, 245, 139, 0.7);
}
.ch-ai-fe-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(34, 245, 139, 0.85); }
.ch-ai-fe-btn--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ch-ai-fe-btn--ghost:hover { transform: translateY(-2px); border-color: var(--cfe-accent-2); }

/* Search trigger (opens the EXISTING event-search overlay). */
.ch-ai-fe-search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 460px;
    min-height: 48px;
    margin: 0 0 14px;
    padding: 0 18px;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    color: #e7ebf3;
    font-size: 15px;
    font-weight: 600;
    background: rgba(8, 11, 18, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.ch-ai-fe-search-trigger:hover { transform: translateY(-2px); color: #fff; border-color: var(--cfe-accent); }
.ch-ai-fe-search-trigger svg { flex: 0 0 auto; color: var(--cfe-accent); }

/* RSVP (reuses theme buttons) — keep them visible/usable on the hero. */
.ch-ai-fe-hero__rsvp { display: flex; flex-wrap: wrap; gap: 10px; }
.ch-ai-fe-hero__rsvp .btn { border-radius: 11px; }

/* ---------- Full-width Venue Smart Map ---------- */
.ch-ai-fe-map {
    max-width: 1100px;
    margin: 22px auto 0;
    border-radius: var(--cfe-radius);
    overflow: hidden;
    border: 1px solid var(--cfe-border);
    box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.9);
    scroll-margin-top: 16px;
}
/* Make the reused Leaflet block fill the width and breathe vertically. */
.ch-ai-fe-map .ch-ai-vmap { width: 100%; max-width: none; margin: 0; border-radius: 0; background: var(--cfe-bg-2); }
.ch-ai-fe-map .ch-ai-vmap__map-wrap { width: 100%; }
.ch-ai-fe-map .ch-ai-vmap__map { width: 100% !important; height: 460px !important; min-height: 360px; }

/* ---------- Seating map ---------- */
.ch-ai-fe-seating {
    max-width: 1100px;
    margin: 22px auto 0;
    padding: 22px 24px;
    border-radius: var(--cfe-radius);
    background: linear-gradient(165deg, #141925 0%, #0b0e16 100%);
    border: 1px solid var(--cfe-border);
}
.ch-ai-fe-seating__img { display: block; width: 100%; max-width: 760px; margin: 12px auto 0; border-radius: 12px; }

/* ---------- Body / updates ---------- */
.ch-ai-fe-h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.01em; color: #fff; margin: 0 0 14px; }
.ch-ai-fe-body { margin-top: 26px; }
.ch-ai-fe-updates-title { margin-top: 6px; }

@media (max-width: 768px) {
    .ch-ai-featured-event .ch-ai-fe-hero { min-height: 360px; margin-top: 8px; }
    .ch-ai-fe-hero__inner { padding: 22px 16px; }
    .ch-ai-fe-map .ch-ai-vmap__map { height: 340px !important; }
    .ch-ai-fe-btn { flex: 1 1 auto; }
}

/* ---------- Feed legibility fix ----------
   The premium near-white hero text color (.ch-ai-featured-event{color:#eef1f7})
   was cascading into WoWonder's light-background social wall, turning post text,
   Like/Comment icons (currentColor) and the comment field nearly invisible.
   Restore native dark, legible color ONLY inside the social wall subtree
   (.ch-ai-fe-body). Hero, map, seating and the global post CSS are untouched. */
.ch-ai-featured-event .ch-ai-fe-body { color: #1c1e21; }
.ch-ai-featured-event .ch-ai-fe-body .ch-ai-fe-updates-title { color: #1c1e21; }
