/**
 * Event page (views/events/show.php), public view.
 *
 * A restyle of the existing markup under the .kz-ev wrapper: poster + key facts + one clear action at the top,
 * soft borderless cards below, and the ticket card pinned beside the content on desktop (a bottom bar on phones).
 * Same tokens as the create page (post-form.css), so the two read as one product. No new fonts, no borders
 * (the site resets them anyway); structure comes from soft fills and spacing.
 */

.kz-ev {
    --kz-ink-primary: var(--primary);
    --kz-action: var(--primary);
    --kz-radius: .875rem;
    --kz-info: 215 85% 55%;  --kz-info-ink: 215 70% 34%;
    --kz-warn: 38 95% 50%;   --kz-warn-ink: 30 85% 28%;
    --kz-danger-ink: 0 70% 40%;
    max-width: 1180px;
}
html.dark .kz-ev {
    --kz-ink-primary: 144 52% 62%;
    --kz-action: 150 48% 33%;
    --kz-info: 215 90% 68%;  --kz-info-ink: 215 95% 84%;
    --kz-warn: 40 95% 60%;   --kz-warn-ink: 42 100% 82%;
    --kz-danger-ink: 0 90% 82%;
}

/* ── Hero: poster on the left, the facts and the action on the right ───────────────────────── */
.kz-ev-hero { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: 2rem; }
.kz-ev .kz-ev-hero .event-image-container { width: 100%; max-width: 21rem; margin: 0 auto; }
.kz-ev .kz-ev-hero .event-image-container img:not(.event-image-shadow) { border-radius: 1.25rem; }
@media (min-width: 900px) {
    .kz-ev-hero:has(.event-image-container), .kz-ev-hero:has(.kz-ev-cover) { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 2.75rem; }
    .kz-ev .kz-ev-hero .event-image-container { margin: 0; }
    .kz-ev-info { padding-top: .5rem; }
}
.kz-ev-info > div:first-child { margin-bottom: 1rem; }
.kz-ev h1 { font-size: clamp(1.875rem, 4.6vw, 2.875rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; margin-bottom: .875rem; }

/* category / verified chips */
.kz-ev .kz-ev-info span.rounded-full { border-radius: 999px; padding: .375rem .75rem; font-weight: 600; }
.kz-ev .kz-ev-info span.bg-primary\/10 { background: hsl(var(--kz-ink-primary) / .15); color: hsl(var(--kz-ink-primary)); }
.kz-ev .kz-ev-info span.bg-green-50 { background: hsl(var(--kz-ink-primary) / .12); color: hsl(var(--kz-ink-primary)); }

/* the three key facts */
.kz-ev .kz-ev-facts { display: grid; gap: .625rem; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); margin-bottom: 1.25rem; }
.kz-ev .kz-ev-facts > div {
    gap: .875rem; padding: .875rem 1rem; border-radius: 1rem; box-shadow: none; transform: none !important; animation: none;
    background: hsl(var(--muted) / .6); transition: background .15s;
}
.kz-ev .kz-ev-facts > div:hover { background: hsl(var(--muted)); }
.kz-ev .kz-ev-facts > div > svg { width: 2.5rem !important; height: 2.5rem !important; padding: .6rem; border-radius: .75rem; flex: none; background: hsl(var(--card)); color: hsl(var(--kz-ink-primary)) !important; }
.kz-ev .kz-ev-facts .text-sm { font-size: .75rem; letter-spacing: .01em; }
.kz-ev .kz-ev-facts .font-medium, .kz-ev .kz-ev-facts .font-semibold { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.kz-ev .kz-ev-facts > div[class*="bg-red-50"] { background: hsl(var(--destructive) / .14); }
.kz-ev .kz-ev-facts > div[class*="bg-orange-50"] { background: hsl(var(--kz-warn) / .18); }
.kz-ev .kz-ev-facts > div[class*="bg-gradient"] { background: hsl(var(--kz-ink-primary) / .12); }

/* the main action */
.kz-ev-cta { display: flex; flex-wrap: wrap; gap: .625rem; }
.kz-ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .625rem 1.375rem; border-radius: .875rem; font: inherit; font-weight: 700; font-size: 1rem; color: #fff; background: hsl(var(--kz-action)); cursor: pointer; text-decoration: none; box-shadow: 0 8px 20px hsl(var(--kz-action) / .35); transition: filter .15s, transform .1s; }
.kz-ev-btn:hover { filter: brightness(1.08); }
.kz-ev-btn:active { transform: translateY(1px); }
.kz-ev-btn.is-soft { color: hsl(var(--foreground)); background: hsl(var(--muted)); box-shadow: none; }
.kz-ev-btn svg { width: 1.125rem; height: 1.125rem; }
.kz-ev-btn small { font-weight: 600; opacity: .85; }
.kz-ev-btn:focus-visible { outline: 3px solid hsl(var(--ring)); outline-offset: 2px; }

/* ── Body: soft cards ────────────────────────────────────────────────────────────────────── */
.kz-ev .bg-card.shadow-card { box-shadow: none; border-radius: 1.25rem; background: hsl(var(--card)); }
.kz-ev h2.text-xl { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.kz-ev .prose p { font-size: 1rem; line-height: 1.7; }

/* ── Desktop: the sidebar (with the ticket card on top) stays beside the content ───────────── */
@media (min-width: 1024px) {
    /* The panel follows the page and never scrolls on its own: its "top" is set by the script at the end of show.php so that a
       panel taller than the screen scrolls with the page until its bottom is reached, and then stays there. */
    .kz-ev-side { position: sticky; top: 5.5rem; align-self: start; }
    #kz-tickets-side:empty { display: none; }
    #kz-tickets-side #ticket-purchase-section { margin-bottom: 1rem; }
}

/* ── Phone: buy bar ──────────────────────────────────────────────────────────────────────── */
.kz-buybar { display: none; }
@media (max-width: 1023px) {
    .kz-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: .75rem; padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom)); background: hsl(var(--card)); box-shadow: 0 -8px 24px hsl(0 0% 0% / .25); transform: translateY(0); transition: transform .25s ease; }
    .kz-buybar.is-away { transform: translateY(110%); pointer-events: none; }
    .kz-buybar-text { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
    .kz-buybar-text small { font-size: .75rem; color: hsl(var(--muted-foreground)); }
    .kz-buybar-text b { font-size: 1.125rem; }
    .kz-buybar .kz-ev-btn { min-height: 2.75rem; padding: .5rem 1.125rem; box-shadow: none; }
    .kz-ev.has-buybar { padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) { .kz-buybar { transition: none; } .kz-ev .kz-ev-facts > div, .kz-ev-btn { transition: none; } }

/* the facts used to fade in with a keyframe animation; with it off they must simply be visible */
.kz-ev .kz-ev-facts > div { opacity: 1; }

/* ── Ticket card: compact rows (name + price + stepper on two lines) so it fits beside the content ── */
.kz-ev #ticket-step-1 .space-y-4 { display: grid; gap: .5rem; }
.kz-ev #ticket-step-1 .space-y-4 > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; row-gap: .25rem; align-items: center; margin: 0; padding: .75rem 1rem; border-radius: 1rem; }
.kz-ev #ticket-step-1 .space-y-4 > div > .flex.items-center.justify-between { display: contents; }
.kz-ev #ticket-step-1 .space-y-4 > div > .flex.items-center.justify-between > div:first-child { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.kz-ev #ticket-step-1 .space-y-4 > div > .flex.items-center.justify-between > .text-right { grid-column: 2; grid-row: 1; }
.kz-ev #ticket-step-1 .space-y-4 > div > .flex.items-center.gap-2 { grid-column: 2; grid-row: 2; margin: 0; justify-self: end; }
.kz-ev #ticket-step-1 .space-y-4 > div > .text-sm.text-red-600 { grid-column: 2; grid-row: 2; justify-self: end; }
.kz-ev #ticket-step-1 .text-3xl { font-size: 1.5rem; line-height: 1.2; }
.kz-ev #ticket-step-1 h3 { font-size: 1rem; margin-bottom: .75rem; }

.kz-ev-by { margin: .125rem 0 1rem; font-size: .9375rem; color: hsl(var(--muted-foreground)); }
.kz-ev-by b { color: hsl(var(--foreground)); }

@media (max-width: 640px) {
    .kz-ev-cta { flex-wrap: nowrap; }
    .kz-ev-cta .kz-ev-btn:first-child { flex: 1 1 auto; min-width: 0; }
    .kz-ev-cta .kz-ev-btn:last-child:not(:first-child) { flex: none; padding: .625rem .875rem; }
    .kz-ev-cta .kz-ev-btn:last-child:not(:first-child) span { display: none; }
    .kz-ev-cta .kz-ev-btn:only-child span { display: inline; }
}

/* ═══════════════════════════════════════════════════════════════════════════════════════════
   One visual language for the whole page: neutral soft surfaces, one accent (the brand green),
   one button style. No gradients, no per-section colours.
   ═══════════════════════════════════════════════════════════════════════════════════════════ */

/* cards: same radius, padding and fill everywhere */
.kz-ev .bg-card.rounded-lg.shadow-card, .kz-ev .bg-card.shadow-card { padding: 1.5rem; border-radius: 1.25rem; box-shadow: none; }
.kz-ev h2.text-xl, .kz-ev h3.text-xl, .kz-ev h3.text-lg.font-semibold { font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; }
.kz-ev h2.text-xl.mb-4 { margin-bottom: .875rem; }

/* hero facts: plain icon + text lines, no boxes */
.kz-ev .kz-ev-facts { display: flex; flex-direction: column; gap: .875rem; margin: 1rem 0 1.5rem; }
.kz-ev .kz-ev-facts > div, .kz-ev .kz-ev-facts > div:hover { background: none; padding: 0; gap: .875rem; border-radius: 0; }
.kz-ev .kz-ev-facts > div > svg { background: hsl(var(--muted) / .8); }
.kz-ev .kz-ev-facts > div[class*="bg-red-50"], .kz-ev .kz-ev-facts > div[class*="bg-orange-50"], .kz-ev .kz-ev-facts > div[class*="bg-gradient"] { background: none; }
.kz-ev .kz-ev-facts .text-sm { font-size: .8125rem; }
.kz-ev .kz-ev-facts .font-medium, .kz-ev .kz-ev-facts .font-semibold { font-size: 1.0625rem; }
.kz-ev .kz-ev-facts .text-primary { color: hsl(var(--foreground)); }

/* tickets: neutral rows (the name tells the types apart), plain prices, soft steppers, one primary button */
.kz-ev #ticket-step-1 .space-y-4 > div { background: hsl(var(--muted) / .55) !important; }
.kz-ev #ticket-step-1 .text-transparent { color: hsl(var(--foreground)); background: none; -webkit-text-fill-color: currentColor; }
.kz-ev #ticket-step-1 .text-xl.font-bold, .kz-ev #ticket-step-1 .text-3xl { color: hsl(var(--foreground)); font-weight: 800; }
.kz-ev #ticket-step-1 .text-primary { color: hsl(var(--foreground)); }
.kz-ev #ticket-step-1 .ticket-qty-btn { width: 2rem; height: 2rem; border-radius: 999px; background: hsl(var(--card)); color: hsl(var(--foreground)); }
.kz-ev #ticket-step-1 .ticket-qty-btn:hover:not(:disabled) { background: hsl(var(--kz-ink-primary) / .18); }
.kz-ev #ticket-step-1 .border-t { border-top: 0; padding-top: .25rem; }
.kz-ev #ticket-total { color: hsl(var(--foreground)); font-weight: 800; }
.kz-ev #proceed-payment-btn { min-height: 3rem; border-radius: .875rem; background: hsl(var(--kz-action)); color: #fff; font-weight: 700; }
.kz-ev #proceed-payment-btn:disabled { opacity: .45; }

/* calendar / share: the share button already lives in the hero, the calendar becomes a quiet secondary button */
.kz-ev button[onclick="shareEvent()"]:not(.kz-ev-btn) { display: none; }
.kz-ev [id="calendarDropdownBtn"] { background: hsl(var(--muted)) !important; color: hsl(var(--foreground)) !important; box-shadow: none !important; border-radius: .875rem; min-height: 3rem; }
.kz-ev [id="calendarDropdownBtn"]:hover { filter: brightness(.97); }
html.dark .kz-ev [id="calendarDropdownBtn"]:hover { filter: brightness(1.15); }

/* featured listings: same soft rows as everything else */
.kz-ev a.group[class*="from-card"] { background: hsl(var(--muted) / .55) !important; border: 0 !important; box-shadow: none !important; border-radius: 1rem; padding: .625rem; transition: background .15s; }
.kz-ev a.group[class*="from-card"]:hover { background: hsl(var(--muted)) !important; transform: none !important; }
.kz-ev a.group[class*="from-card"] .rounded-lg { border-radius: .75rem; box-shadow: none; }
.kz-ev a.group[class*="from-card"] img { transform: none !important; }

/* the card rule above must not catch the fact lines (they carry bg-card / shadow-card classes too) */
.kz-ev .kz-ev-facts > div.shadow-card, .kz-ev .kz-ev-facts > div.shadow-card:hover, .kz-ev .kz-ev-facts > div[class*="bg-gradient"] {
    background: none !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}

/* the phone copy of the calendar button has another id: match it by its (old) gradient instead */
.kz-ev button[class*="from-blue-600"] { background: hsl(var(--muted)) !important; background-image: none !important; color: hsl(var(--foreground)) !important; box-shadow: none !important; border-radius: .875rem; min-height: 3rem; }
html.dark .kz-ev button[class*="from-blue-600"]:hover { filter: brightness(1.15); }

/* ── wide posters: full-width picture on top, then the title and facts underneath ── */
.kz-ev-hero.is-wide { grid-template-columns: minmax(0, 1fr) !important; gap: 1.5rem; }
.kz-ev .kz-ev-hero.is-wide .event-image-container { max-width: 100%; margin: 0; }
.kz-ev .kz-ev-hero.is-wide .event-image-container .img-skeleton img { width: 100%; max-height: 30rem; object-fit: contain; }
.kz-ev .kz-ev-hero.is-wide .kz-ev-facts { flex-direction: row; flex-wrap: wrap; gap: 1.25rem 2.25rem; }
.kz-ev .kz-ev-hero.is-wide .kz-ev-facts > div { flex: 0 1 auto; }
/* very tall posters (stories, A3 flyers) do not get taller than the screen */
.kz-ev .kz-ev-hero:not(.is-wide) .event-image-container .img-skeleton img { max-height: 42rem; object-fit: contain; }
@media (max-width: 640px) { .kz-ev .kz-ev-hero.is-wide .kz-ev-facts { flex-direction: column; gap: .875rem; } }

/* the glow behind the poster must stay behind everything (back button, title, chips): it lives below the content layer */
.kz-ev { isolation: isolate; }
.kz-ev .event-image-shadow { z-index: -1 !important; transform: translate(-50%, -50%) scale(1.08); filter: blur(28px); opacity: .5 !important; }
.kz-ev .kz-ev-info, .kz-ev .kz-ev-hero > div:not(.event-image-container) { position: relative; z-index: 1; }
/* a full-width banner has less room around it: a tighter glow so it does not haze the title below */
.kz-ev .kz-ev-hero.is-wide .event-image-shadow { transform: translate(-50%, -50%) scale(1.03); filter: blur(22px); opacity: .4 !important; }

/* contact card: only when there is something to contact; its WhatsApp button is the brand button */
.kz-ev .kz-ev-contact.kz-ev-nocontact { display: none; }
.kz-ev .kz-ev-contact a[class*="bg-green-600"].w-full { background: hsl(var(--kz-action)); color: #fff; border-radius: .875rem; min-height: 3rem; font-weight: 700; box-shadow: none; }
.kz-ev .kz-ev-contact a[class*="bg-green-600"].w-full:hover { filter: brightness(1.08); }

/* ── management actions (approve / reject / edit / cancel / delete): a calm block, in the right panel on desktop ── */
.kz-ev-actions { margin: 0 0 1.25rem; }
.kz-ev-actions-title { margin: 0 0 .625rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.kz-ev-actions > div.flex { gap: .5rem; margin-bottom: .5rem; }
.kz-ev-actions button, .kz-ev-actions a.inline-flex { justify-content: center; min-height: 2.75rem; border-radius: .875rem; font: inherit; font-size: .9375rem; font-weight: 700; box-shadow: none; text-decoration: none; }
/* primary: approve / validate */
.kz-ev-actions button[onclick^="approvePost"], .kz-ev-actions button[onclick^="validateOrganizerPost"] { background: hsl(var(--kz-action)); color: #fff; }
/* quiet: edit */
.kz-ev-actions a.inline-flex { background: hsl(var(--muted)); color: hsl(var(--foreground)); border: 0; }
/* soft warning: cancel the event */
.kz-ev-actions button[onclick^="cancelEvent"] { background: hsl(var(--kz-warn) / .18); color: hsl(var(--kz-warn-ink)); }
/* soft danger: reject / delete */
.kz-ev-actions button[onclick^="rejectPost"], .kz-ev-actions button[onclick^="rejectOrganizerPost"], .kz-ev-actions button[onclick^="deleteEvent"] { background: hsl(var(--destructive) / .14); color: hsl(var(--kz-danger-ink)); border: 0; }
.kz-ev-actions button:hover, .kz-ev-actions a.inline-flex:hover { filter: brightness(.96); }
html.dark .kz-ev-actions button:hover, html.dark .kz-ev-actions a.inline-flex:hover { filter: brightness(1.15); }
.kz-ev-actions .organizer-validation-section { display: grid; gap: .5rem; padding: 0; background: none; }
.kz-ev-actions .organizer-validation-section p { margin: 0 0 .25rem; font-size: .8125rem; line-height: 1.45; color: hsl(var(--muted-foreground)); }
.kz-ev-actions .organizer-validation-section p strong { color: hsl(var(--foreground)); }
/* in the right panel: a card, buttons stacked full width */
.kz-ev-side .kz-ev-actions { padding: 1.25rem; border-radius: 1.25rem; background: hsl(var(--card)); }
.kz-ev-side .kz-ev-actions > div.flex { flex-direction: column; margin-bottom: 0; }
.kz-ev-side .kz-ev-actions > div.flex + .organizer-validation-section { margin-top: .5rem; }
.kz-ev-side .kz-ev-actions button, .kz-ev-side .kz-ev-actions a.inline-flex { width: 100%; }
#kz-actions-side:empty { display: none; }

/* the category chip carries the illustrated icon: a little more room around it */
.kz-ev .kz-ev-info span.bg-primary\/10 .kz-cicon { margin: -.125rem 0; }

/* ── share menu (shown where the system share sheet does not exist, i.e. on desktop) ── */
.kz-share { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1rem; background: hsl(0 0% 0% / .55); animation: kzShareFade .2s ease-out; }
.kz-share-card { width: 100%; max-width: 26rem; display: grid; gap: 1rem; padding: 1.25rem; border-radius: 1.25rem; background: hsl(var(--card)); color: hsl(var(--foreground)); box-shadow: 0 24px 60px hsl(0 0% 0% / .35); animation: kzShareRise .3s cubic-bezier(.2, .8, .2, 1); }
.kz-share-head { display: flex; align-items: center; justify-content: space-between; }
.kz-share-head h2 { margin: 0; font-size: 1.125rem; font-weight: 800; }
.kz-share-x { width: 2.25rem; height: 2.25rem; border-radius: .625rem; font-size: 1.5rem; line-height: 1; color: hsl(var(--muted-foreground)); background: transparent; cursor: pointer; }
.kz-share-x:hover { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.kz-share-preview { display: grid; gap: .25rem; padding: .875rem 1rem; border-radius: 1rem; background: hsl(var(--muted) / .6); font-size: .875rem; }
.kz-share-preview b { font-size: 1rem; }
.kz-share-preview span { color: hsl(var(--muted-foreground)); }
.kz-share-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.kz-share-opt { display: grid; justify-items: center; gap: .375rem; padding: .5rem .125rem; border-radius: .875rem; font-size: .75rem; font-weight: 600; color: hsl(var(--foreground)); text-decoration: none; transition: background .15s; }
.kz-share-opt:hover { background: hsl(var(--muted)); }
.kz-share-opt:focus-visible, .kz-share-copy button:focus-visible, .kz-share-x:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.kz-share-ico { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 999px; }
.kz-share-copy { display: flex; gap: .5rem; }
.kz-share-copy input { flex: 1; min-width: 0; padding: .625rem .75rem; border-radius: .75rem; font: inherit; font-size: .8125rem; color: hsl(var(--foreground)); background: hsl(var(--muted) / .6); }
.kz-share-copy button { flex: none; padding: .625rem 1rem; border-radius: .75rem; font: inherit; font-weight: 700; font-size: .875rem; color: #fff; background: hsl(var(--primary)); cursor: pointer; transition: background .15s; }
.kz-share-copy button.is-done { background: hsl(var(--kz-ink-primary, var(--primary))); }
@keyframes kzShareFade { from { opacity: 0; } }
@keyframes kzShareRise { from { opacity: 0; transform: translateY(1rem); } }
@media (max-width: 520px) { .kz-share { align-items: end; padding: 0; } .kz-share-card { max-width: none; border-radius: 1.25rem 1.25rem 0 0; } }
@media (prefers-reduced-motion: reduce) { .kz-share, .kz-share-card { animation: none; } }

/* ── more than one photo ── */
.kz-ev .event-image-container .kz-ev-photos { position: absolute; right: .75rem; bottom: .75rem; z-index: 3; display: inline-flex; align-items: center; gap: .375rem; padding: .5rem .875rem; border-radius: 999px; font: inherit; font-size: .8125rem; font-weight: 700; color: #fff; background: hsl(0 0% 8% / .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: background .15s, transform .15s; }
.kz-ev .event-image-container .kz-ev-photos:hover { background: hsl(0 0% 8% / .8); transform: translateY(-1px); }
.kz-ev .event-image-container .kz-ev-photos:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.kz-gal { margin: 0 0 1.5rem; }
.kz-gal-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .875rem; font-size: 1.25rem; font-weight: 800; color: hsl(var(--foreground)); }
.kz-gal-title span { font-size: .8125rem; font-weight: 700; padding: .125rem .5rem; border-radius: 999px; color: hsl(var(--muted-foreground)); background: hsl(var(--muted)); }
.kz-gal-grid { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kz-gal-tile { position: relative; display: block; padding: 0; overflow: hidden; border-radius: 1rem; aspect-ratio: 4 / 3; background: hsl(var(--muted)); cursor: zoom-in; }
.kz-gal-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.kz-gal-tile:hover img { transform: scale(1.05); }
.kz-gal-tile:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.kz-gal-more { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.75rem; font-weight: 800; color: #fff; background: hsl(0 0% 6% / .55); }
/* a lone extra photo is shown wide; with several, the first leads */
.kz-gal-n1 .kz-gal-grid { grid-template-columns: minmax(0, 1fr); }
.kz-gal-n1 .kz-gal-tile { aspect-ratio: 16 / 9; }
.kz-gal-n3 .kz-gal-tile:first-child, .kz-gal-n5 .kz-gal-tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 768px) {
    .kz-gal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .kz-gal-n1 .kz-gal-grid { grid-template-columns: minmax(0, 1fr); }
    .kz-gal-n2 .kz-gal-grid, .kz-gal-n4 .kz-gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kz-gal-n3 .kz-gal-tile:first-child, .kz-gal-n5 .kz-gal-tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* lightbox */
.kz-lb { position: fixed; inset: 0; z-index: 100000; display: none; flex-direction: column; align-items: center; background: hsl(0 0% 4% / .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: kzLbIn .2s ease-out; }
.kz-lb-top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: .875rem 1rem; }
.kz-lb-count { padding: .375rem .75rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; color: #fff; background: hsl(0 0% 100% / .12); }
.kz-lb-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; color: #fff; background: hsl(0 0% 100% / .12); cursor: pointer; transition: background .15s; }
.kz-lb-btn:hover { background: hsl(0 0% 100% / .24); }
.kz-lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.kz-lb-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); }
.kz-lb-prev { left: 1rem; } .kz-lb-next { right: 1rem; }
.kz-lb-stage { flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; padding: 4rem 1rem .5rem; }
.kz-lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: .75rem; user-select: none; }
.kz-lb-stage img.is-in { animation: kzLbImg .28s ease-out; }
.kz-lb-thumbs { flex: none; display: flex; gap: .5rem; max-width: 100%; overflow-x: auto; padding: .5rem 1rem 1rem; scrollbar-width: none; }
.kz-lb-thumbs::-webkit-scrollbar { display: none; }
.kz-lb-thumb { flex: none; width: 3.5rem; height: 3.5rem; padding: 0; overflow: hidden; border-radius: .625rem; opacity: .5; cursor: pointer; transition: opacity .15s, transform .15s; }
.kz-lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kz-lb-thumb:hover { opacity: .85; }
.kz-lb-thumb.is-on { opacity: 1; transform: translateY(-2px); box-shadow: 0 0 0 2px #fff; }
@media (max-width: 640px) { .kz-lb-nav { display: none !important; } .kz-lb-stage { padding-top: 4rem; } .kz-lb-thumb { width: 3rem; height: 3rem; } }
@keyframes kzLbIn { from { opacity: 0; } }
@keyframes kzLbImg { from { opacity: 0; transform: scale(.985); } }
@media (prefers-reduced-motion: reduce) { .kz-lb, .kz-lb-stage img.is-in { animation: none; } .kz-gal-tile img { transition: none; } }

/* viewer: the photo always fits the space between the top bar and the thumbnails (tall photos were cut off at the bottom) */
.kz-lb { height: 100vh; height: 100dvh; }
.kz-lb-stage { position: relative; display: block; overflow: hidden; padding: 0; margin: 4rem 1rem .5rem; width: calc(100% - 2rem); }
.kz-lb-stage img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; }
@media (max-width: 640px) { .kz-lb-stage { margin-top: 4rem; } }

/* ── breadcrumb (desktop) / back link (phone) ── */
.kz-crumbs { margin: 0 0 1.25rem; min-width: 0; }
.kz-crumb-back { display: inline-flex; align-items: center; gap: .25rem; padding: .375rem .875rem .375rem .5rem; border-radius: 999px; font-size: .875rem; font-weight: 600; color: hsl(var(--foreground)); background: hsl(var(--muted)); text-decoration: none; transition: background .15s, transform .15s; }
.kz-crumb-back:hover { background: hsl(var(--muted-foreground) / .2); }
.kz-crumb-back:hover svg { transform: translateX(-2px); }
.kz-crumb-back svg { transition: transform .15s; }
.kz-crumb-trail { display: none; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: nowrap; min-width: 0; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.kz-crumb-trail li { display: flex; align-items: center; min-width: 0; }
.kz-crumb-trail li + li::before { content: ""; flex: none; width: .4rem; height: .4rem; margin: 0 .625rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.kz-crumb-trail a { color: inherit; text-decoration: none; white-space: nowrap; transition: color .15s; }
.kz-crumb-trail a:hover { color: hsl(var(--foreground)); text-decoration: underline; text-underline-offset: 3px; }
.kz-crumb-trail [aria-current] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: hsl(var(--foreground)); font-weight: 600; }
@media (min-width: 768px) { .kz-crumb-back { display: none; } .kz-crumb-trail { display: flex; } }

/* ── motion ──────────────────────────────────────────────────────────────────
   Fact lines: a single, smooth hover (the icon chip warms up and lifts) instead of the old
   instant jump. Page load: the hero arrives in one short staggered sequence; nothing else moves.   */
.kz-ev .kz-ev-facts > div { transition: none !important; cursor: default; }
.kz-ev .kz-ev-facts > div > svg { transition: background-color .25s ease, color .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.kz-ev .kz-ev-facts > div:hover > svg { background: hsl(var(--kz-ink-primary) / .16); transform: translateY(-2px) scale(1.06); box-shadow: 0 6px 14px -6px hsl(var(--kz-ink-primary) / .45); }
.kz-ev .kz-ev-facts > div > div > * { transition: color .25s ease; }
.kz-ev .kz-ev-facts > div:hover > div > .font-medium, .kz-ev .kz-ev-facts > div:hover > div > .font-semibold { color: hsl(var(--kz-ink-primary)); }

@keyframes kzEvRise { from { opacity: 0; transform: translateY(14px); } }
@keyframes kzEvPoster { from { opacity: 0; transform: scale(.965) translateY(10px); } }
@keyframes kzEvGlow { from { opacity: 0; } }
@keyframes kzEvFade { from { opacity: 0; } }
.kz-ev-hero .event-image-container { animation: kzEvPoster .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.kz-ev-hero .event-image-shadow { animation: kzEvGlow 1.1s ease-out .15s backwards; }
.kz-ev-hero .kz-ev-info > * { animation: kzEvRise .6s cubic-bezier(.2, .8, .2, 1) backwards; }
.kz-ev-hero .kz-ev-info > :nth-child(1) { animation-delay: .08s; }
.kz-ev-hero .kz-ev-info > :nth-child(2) { animation-delay: .15s; }
.kz-ev-hero .kz-ev-info > :nth-child(3) { animation-delay: .22s; }
.kz-ev-hero .kz-ev-info > :nth-child(4) { animation-delay: .29s; }
.kz-ev-hero .kz-ev-info > :nth-child(5) { animation-delay: .36s; }
.kz-ev-hero .kz-ev-info > :nth-child(n+6) { animation-delay: .43s; }
.kz-ev .kz-crumbs { animation: kzEvFade .5s ease-out backwards; }
.kz-ev .kz-ev-facts > div { animation: kzEvRise .55s cubic-bezier(.2, .8, .2, 1) backwards !important; }
.kz-ev .kz-ev-facts > div:nth-child(1) { animation-delay: .3s !important; }
.kz-ev .kz-ev-facts > div:nth-child(2) { animation-delay: .38s !important; }
.kz-ev .kz-ev-facts > div:nth-child(3) { animation-delay: .46s !important; }
.kz-ev .kz-ev-side > * { animation: kzEvRise .6s cubic-bezier(.2, .8, .2, 1) .35s backwards; }
@media (prefers-reduced-motion: reduce) {
    .kz-ev-hero .event-image-container, .kz-ev-hero .event-image-shadow, .kz-ev-hero .kz-ev-info > *, .kz-ev .kz-crumbs, .kz-ev .kz-ev-facts > div, .kz-ev .kz-ev-side > * { animation: none !important; }
    .kz-ev .kz-ev-facts > div > svg { transition: none; }
    .kz-ev .kz-ev-facts > div:hover > svg { transform: none; }
}

/* Tailwind (v4) zooms `hover:scale-*` elements with the individual `scale` property, which the `transform: none` rules above do not
   touch: the whole fact row used to jump 5% wider the instant it was hovered. The row stays still; only its icon chip moves. */
.kz-ev [class*="hover:scale"], .kz-ev [class*="hover:scale"]:hover { scale: none !important; translate: none !important; }

/* ── ambient backdrop ──────────────────────────────────────────────────────────
   Light mode: the original tight halo around the poster (plain blurred copy, no mask).
   Dark mode: the blurred poster spreads over most of the hero and fades out towards the edges (a radial mask).
   Switching the theme animates size, blur and strength; --kz-m1/--kz-m2 are registered so the fade can interpolate. */
@property --kz-m1 { syntax: '<percentage>'; inherits: false; initial-value: 150%; }
@property --kz-m2 { syntax: '<percentage>'; inherits: false; initial-value: 150%; }
#kz-content:has(.kz-ev) { overflow-x: clip; }
.kz-ev .event-image-shadow {
    transform: translate(-50%, -50%) scale(1.08);
    filter: blur(28px);
    opacity: .5 !important;
    transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .9s ease, opacity .9s ease;
}
/* coming back to light: the wide glow would show its box edge for a moment, so the halo fades in as it shrinks */
html:not(.dark) .kz-ev .kz-ev-hero .event-image-shadow { animation: kzEvGlowLight 1s ease-out .05s backwards; }
@keyframes kzEvGlowLight { from { opacity: 0; } }
html.dark .kz-ev .event-image-shadow {
    --kz-m1: 32%; --kz-m2: 71%;
    transform: translate(-50%, -50%) scale(4.2);
    filter: blur(64px) saturate(1.35);
    opacity: .42 !important;
    -webkit-mask-image: radial-gradient(farthest-corner, #000 0%, rgb(0 0 0 / .55) var(--kz-m1), transparent var(--kz-m2));
    mask-image: radial-gradient(farthest-corner, #000 0%, rgb(0 0 0 / .55) var(--kz-m1), transparent var(--kz-m2));
}
@media (max-width: 1023px) { html.dark .kz-ev .event-image-shadow { transform: translate(-50%, -50%) scale(3.2); filter: blur(52px) saturate(1.3); } }
.kz-ev .kz-ev-hero.is-wide .event-image-shadow { transform: translate(-50%, -50%) scale(1.03); filter: blur(22px); opacity: .4 !important; }
html.dark .kz-ev .kz-ev-hero.is-wide .event-image-shadow { transform: translate(-50%, -50%) scale(1.5, 2.6); filter: blur(60px) saturate(1.3); opacity: .38 !important; }
@media (prefers-reduced-motion: reduce) { .kz-ev .event-image-shadow { transition: none; animation: none !important; } }

/* ── announcement page (views/announcements/show.php) reuses this page's design ──
   The event page keeps the base rules of the glow inline; announcements get them here. */
.kz-ev .event-image-shadow { position: absolute; top: 50%; left: 50%; object-fit: contain; pointer-events: none; }
/* management buttons of an announcement: close = soft warning, delete = soft danger (same family as cancel / delete of an event) */
.kz-ev-actions button[onclick^="closeAnnouncement"] { background: hsl(var(--kz-warn) / .18); color: hsl(var(--kz-warn-ink)); }
.kz-ev-actions button[onclick^="deleteAnnouncement"] { background: hsl(var(--destructive) / .14); color: hsl(var(--kz-danger-ink)); border: 0; }

/* ── the public page of an announcement (.kz-ev.kz-formal) ── */
.kz-ev.kz-formal { max-width: 1120px; }
.kz-ev.kz-formal h1 { font-size: clamp(1.625rem, 3.6vw, 2.25rem); line-height: 1.2; letter-spacing: 0; font-weight: 700; }
.kz-ev.kz-formal .event-image-shadow { display: none; }
.kz-ev.kz-formal .kz-ev-hero .event-image-container img:not(.event-image-shadow), .kz-ev.kz-formal .kz-gal-tile { border-radius: .25rem; }
.kz-ev.kz-formal .bg-card.shadow-card, .kz-ev.kz-formal .bg-card.rounded-lg.shadow-card, .kz-ev.kz-formal .kz-ev-side .kz-ev-actions { border-radius: .5rem; box-shadow: 0 1px 2px hsl(0 0% 0% / .08), 0 0 0 1px hsl(var(--muted-foreground) / .14); }
.kz-ev.kz-formal .kz-ev-btn, .kz-ev.kz-formal .kz-ev-actions button, .kz-ev.kz-formal .kz-ev-actions a.inline-flex { border-radius: .375rem; box-shadow: none; font-weight: 600; }
.kz-ev.kz-formal .kz-ev-info span.rounded-full { border-radius: .25rem; }
.kz-ev.kz-formal .kz-ev-facts > div > svg { border-radius: .375rem; }
.kz-ev.kz-formal .kz-ev-facts > div:hover > svg { transform: none; box-shadow: none; }
.kz-ev.kz-formal .kz-ev-actions-title, .kz-ev.kz-formal .kz-gal-title { text-transform: none; }
.kz-ev.kz-formal .kz-crumb-back { border-radius: .25rem; }
/* nothing moves on load */
.kz-ev.kz-formal .kz-ev-hero .event-image-container, .kz-ev.kz-formal .kz-ev-hero .kz-ev-info > *, .kz-ev.kz-formal .kz-crumbs,
.kz-ev.kz-formal .kz-ev-facts > div, .kz-ev.kz-formal .kz-ev-side > * { animation: none !important; }

/* ── event without a photo: a cover drawn from its category ── */
.kz-ev-cover {
    --cv-a: hsl(var(--cv-h) 62% 86%); --cv-b: hsl(calc(var(--cv-h) + 38) 66% 74%); --cv-ink: hsl(var(--cv-h) 45% 24%);
    position: relative; isolation: isolate; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 1.25rem;
    width: 100%; max-width: 21rem; aspect-ratio: 3 / 4; margin: 0 auto; border-radius: 1.25rem; text-align: center;
    background: radial-gradient(120% 90% at 20% 0%, var(--cv-a), transparent 60%), linear-gradient(160deg, var(--cv-a), var(--cv-b));
    box-shadow: 0 24px 50px -24px hsl(var(--cv-h) 60% 40% / .55);
    animation: kzEvPoster .7s cubic-bezier(.2, .8, .2, 1) backwards;
}
html.dark .kz-ev-cover { --cv-a: hsl(var(--cv-h) 38% 26%); --cv-b: hsl(calc(var(--cv-h) + 38) 42% 17%); --cv-ink: hsl(var(--cv-h) 60% 88%); box-shadow: 0 24px 50px -24px hsl(var(--cv-h) 60% 10% / .8); }
.kz-ev-cover-ring { position: absolute; z-index: -1; width: 150%; aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, hsl(0 0% 100% / .38), transparent); }
html.dark .kz-ev-cover-ring { background: radial-gradient(closest-side, hsl(var(--cv-h) 70% 60% / .22), transparent); }
.kz-ev-cover .kz-cicon { filter: drop-shadow(0 14px 18px hsl(var(--cv-h) 50% 20% / .3)); }
.kz-ev-cover-name { font-size: 1.0625rem; font-weight: 800; letter-spacing: .01em; color: var(--cv-ink); }
.kz-ev-cover-cancel { position: absolute; padding: .75rem 1.75rem; transform: rotate(-12deg); font-size: 1.75rem; font-weight: 800; color: #fff; background: hsl(0 72% 46%); box-shadow: 0 10px 30px hsl(0 0% 0% / .3); }
@media (min-width: 900px) { .kz-ev .kz-ev-hero .kz-ev-cover { margin: 0; } }
@media (max-width: 899px) { .kz-ev-cover { aspect-ratio: 16 / 10; max-width: none; gap: .75rem; } .kz-ev-cover .kz-cicon { width: 5.5rem !important; height: 5.5rem !important; } }
@media (prefers-reduced-motion: reduce) { .kz-ev-cover { animation: none; } }

/* ── paid ad box on the listing page (owner / admin): promote, renew, and what it has brought ───────────────── */
.kz-ev .kz-promo { display: grid; gap: .625rem; margin-top: .75rem; padding: .875rem 1rem; border-radius: .875rem; background: hsl(var(--card)); box-shadow: inset 0 0 0 1px hsl(var(--border)); }
.kz-ev .kz-promo.is-on { background: linear-gradient(135deg, hsl(var(--kz-warn, 38 95% 55%) / .12), hsl(var(--card)) 70%); box-shadow: inset 0 0 0 1.5px hsl(var(--kz-warn, 38 95% 55%) / .55); }
.kz-ev .kz-promo-head { display: grid; gap: .125rem; }
.kz-ev .kz-promo-head b { font-size: .9375rem; }
.kz-ev .kz-promo-head small { font-size: .8125rem; color: hsl(var(--muted-foreground)); }
.kz-ev .kz-promo-tag { justify-self: start; padding: .125rem .5rem; border-radius: 999px; font-size: .625rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: hsl(30 80% 22%); background: hsl(var(--kz-warn, 38 95% 55%) / .3); }
.kz-ev .kz-promo-stats { margin: 0; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.kz-ev .kz-promo-stats b { color: hsl(var(--foreground)); font-variant-numeric: tabular-nums; }
.kz-ev .kz-promo-stats span { font-size: .75rem; }
.kz-ev .kz-promo-buy { display: flex; flex-wrap: wrap; gap: .5rem; }
.kz-ev .kz-promo-buy select { flex: 1 1 8rem; min-height: 2.5rem; padding: 0 .75rem; border-radius: .75rem; font: inherit; font-size: .875rem; font-weight: 600; color: hsl(var(--foreground)); background-color: hsl(var(--muted)); }
.kz-ev .kz-promo-buy .kz-ev-btn { flex: 0 0 auto; min-height: 2.5rem; }
.kz-ev .kz-promo-msg { margin: 0; font-size: .8125rem; color: hsl(var(--destructive)); }

/* Weekly destaque for an existing event: the calendar (post-form.css) in a modal */
.kz-fw { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 1rem; background: hsl(0 0% 0% / .55); }
.kz-fw.hidden { display: none; }
/* the tokens post-form.css defines inside the create wizard, for the same controls here (light and dark) */
.kz-fw { --kz-action: var(--primary); --kz-radius: .75rem; }
html.dark .kz-fw { --kz-action: 150 48% 33%; --kz-ink-primary: 144 52% 62%; }
.kz-fw .kz-btn-primary { background: hsl(var(--kz-action)); color: #fff; }
.kz-fw .kz-btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.kz-fw .kz-btn-ghost { background: hsl(var(--muted)); color: hsl(var(--foreground)); }
.kz-fw-card { width: min(34rem, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 1.25rem; border-radius: 1.25rem; background: hsl(var(--card)); color: hsl(var(--foreground)); box-shadow: 0 24px 60px -12px hsl(0 0% 0% / .45); }
.kz-fw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.kz-fw-head h2 { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.3; }
.kz-fw-x { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 999px; font-size: 1.5rem; line-height: 1; color: hsl(var(--muted-foreground)); background: transparent; cursor: pointer; }
.kz-fw-x:hover { background: hsl(var(--muted)); }
.kz-fw-have { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; margin: .5rem 0; font-size: .8125rem; }
.kz-fw-have span { padding: .125rem .625rem; border-radius: 999px; background: hsl(36 95% 52% / .18); font-weight: 600; }
.kz-fw-foot { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .75rem; position: sticky; bottom: -1.25rem; padding: .75rem 0 .25rem; background: hsl(var(--card)); }
.kz-fw-tabs { display: flex; gap: .25rem; margin: .25rem 0 .75rem; padding: .25rem; border-radius: .875rem; background: hsl(var(--muted)); }
.kz-fw-tabs button { flex: 1; min-height: 2.5rem; padding: 0 .75rem; border-radius: .625rem; font: inherit; font-size: .875rem; font-weight: 700; color: hsl(var(--muted-foreground)); background: transparent; cursor: pointer; transition: background .15s, color .15s; }
.kz-fw-tabs button.is-on { background: hsl(var(--card)); color: hsl(var(--foreground)); box-shadow: 0 1px 3px hsl(0 0% 0% / .15); }
.kz-fw [hidden] { display: none; }

/* Closed ("encerrado") announcement: the whole hero goes grey so it reads as over, not as a warning */
.kz-closed .event-image-container img { filter: grayscale(1); }
.kz-closed .event-image-shadow { display: none; }
.kz-closed .kz-ev-info h1 { color: hsl(var(--muted-foreground)); }
.kz-closed .kz-ev-facts svg { color: hsl(var(--muted-foreground)) !important; }
.kz-closed-note { border-radius: 0.75rem; }
.kz-closed .kz-ev-info .bg-primary\/10 { filter: grayscale(1); opacity: .8; }

/* owner: the two promotion buttons, a row of their own above the management buttons (a column in the right panel) */
.kz-ev-promo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: .75rem; }
.kz-ev-actions .kz-ev-promo button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 .875rem; cursor: pointer; transition: filter .15s; }
.kz-ev-actions .kz-ev-promo .kz-ev-promo-fw { background: hsl(38 95% 55% / .22); color: hsl(32 85% 24%); }
.kz-ev-actions .kz-ev-promo .kz-ev-promo-ws { background: hsl(142 55% 38% / .16); color: hsl(142 60% 24%); }
html.dark .kz-ev-actions .kz-ev-promo .kz-ev-promo-fw { background: hsl(38 90% 55% / .2); color: hsl(40 95% 72%); }
html.dark .kz-ev-actions .kz-ev-promo .kz-ev-promo-ws { background: hsl(142 50% 45% / .2); color: hsl(142 60% 72%); }
.kz-ev-side .kz-ev-promo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 420px) { .kz-ev-promo { grid-template-columns: minmax(0, 1fr); } }
.kz-closed .kz-ev-cover { filter: grayscale(1); }
/* light theme, wide cover: the glow box was the full width of the page (a poster-sized copy blown up behind the title); it now has the
   size of the poster itself (same 30rem cap), so the halo hugs the picture */
html:not(.dark) .kz-ev .kz-ev-hero.is-wide .event-image-shadow { width: 100%; height: 30rem; max-height: none; }
/* the WhatsApp button has a longer label: it may take two lines */
.kz-ev-actions .kz-ev-promo button { text-align: center; line-height: 1.25; padding-top: .5rem; padding-bottom: .5rem; }
.kz-ev-actions .kz-ev-promo button svg { flex: none; }

/* who put the post on Kezir: quieter than the organization line above it */
.kz-ev-by.kz-ev-posted { margin-top: -.75rem; font-size: .8125rem; }
/* the colours the time picker takes from the create wizard (post-form.css defines them only inside it): without them the chosen time had no
   background at all and its dark text sat on the white card */
.kz-fw { --kz-ink-primary: var(--primary); --kz-warn: 38 95% 50%; --kz-warn-ink: 30 85% 28%; --kz-danger-ink: 0 70% 40%; }
html.dark .kz-fw { --kz-ink-primary: 144 52% 62%; --kz-warn: 40 95% 60%; --kz-warn-ink: 42 100% 82%; --kz-danger-ink: 0 90% 82%; }
