/* Events list (/events) and event detail (/event/{slug}) */

.ev { --ev-navy: #0b1e5a; --ev-navy-2: #1a3a9c; --ev-gold: #ffdd00; --ev-red: #a51c30; --ev-ink: #141a2e; --ev-muted: #5f6880; --ev-line: #e4e8f1; --ev-tint: #eef2fd; }

/* ---------- Hero (list) ---------- */
.ev-hero {
    position: relative; overflow: hidden; color: #fff; padding: 2.5rem 0 5.5rem;
    background: radial-gradient(800px 360px at 90% -10%, rgba(255, 221, 0, .16), transparent 60%), linear-gradient(135deg, #0b1e5a 0%, #13308a 60%, #1a3a9c 100%);
}
.ev-hero::after { content: ''; position: absolute; inset: 0; opacity: .06; pointer-events: none; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.ev-hero .container { position: relative; z-index: 1; }
.ev-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .8125rem; }
.ev-crumbs li { color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: .4rem; }
.ev-crumbs li + li::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .6rem; opacity: .6; }
.ev-crumbs a { color: rgba(255, 255, 255, .85) !important; }
.ev-crumbs a:hover { color: #fff !important; }
.ev-eyebrow { display: inline-flex; align-items: center; gap: .55rem; color: var(--ev-gold); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.ev-eyebrow::before { content: ''; width: 24px; height: 2px; border-radius: 2px; background: var(--ev-gold); }
.ev-hero h1 { color: #fff !important; margin: .5rem 0 .6rem; }
.ev-hero-lead { color: rgba(255, 255, 255, .85); max-width: 56ch; margin: 0; }
.ev-hero-stats { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.ev-hero-stats li { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-size: .875rem; }
.ev-hero-stats strong { color: var(--ev-gold); font-size: 1rem; }

/* ---------- Spotlight ---------- */
.ev-spot {
    position: relative; z-index: 2; margin-top: -3.75rem; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
    border-radius: 24px; background: #fff; border: 1px solid var(--ev-line); box-shadow: 0 30px 60px -30px rgba(11, 30, 90, .45);
}
.ev-spot-media { position: relative; min-height: 320px; background: var(--ev-navy); }
.ev-spot-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-spot-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 17, 55, .55), transparent 55%); }
.ev-spot-badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; background: var(--ev-gold); color: var(--ev-navy); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.ev-spot-badge .ev-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ev-red); box-shadow: 0 0 0 0 rgba(165, 28, 48, .6); animation: ev-pulse 1.8s infinite; }
@keyframes ev-pulse { 70% { box-shadow: 0 0 0 9px rgba(165, 28, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(165, 28, 48, 0); } }
.ev-spot-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .9rem; }
.ev-spot-body h2 { margin: 0; }
.ev-spot-body h2 a { color: var(--ev-ink); }
.ev-spot-body h2 a:hover { color: var(--ev-navy-2); }
.ev-meta { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; list-style: none; padding: 0; margin: 0; color: var(--ev-muted); font-size: .9375rem; }
.ev-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.ev-meta i { color: var(--ev-navy-2); }
.ev-summary { color: var(--ev-muted); margin: 0; }
.ev-count { display: flex; gap: .5rem; margin: .25rem 0; }
.ev-count > div { flex: 1; text-align: center; padding: .6rem .4rem; border-radius: 12px; background: var(--ev-tint); }
.ev-count strong { display: block; font-size: 1.5rem; font-weight: 750; color: var(--ev-navy); font-variant-numeric: tabular-nums; }
.ev-count span { font-size: .75rem; color: var(--ev-muted); font-weight: 600; text-transform: uppercase; }
.ev-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }

/* Buttons */
.ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 46px; padding: .65rem 1.15rem; border-radius: 12px; font-weight: 650; font-size: .9375rem; border: 1.5px solid transparent; transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .15s; cursor: pointer; text-decoration: none; }
.ev-btn--primary { background: var(--ev-red); color: #fff; box-shadow: 0 12px 24px -14px rgba(165, 28, 48, .8); }
.ev-btn--primary:hover { background: #8c1628; color: #fff; transform: translateY(-1px); }
.ev-btn--navy { background: var(--ev-navy); color: #fff; }
.ev-btn--navy:hover { background: var(--ev-navy-2); color: #fff; }
.ev-btn--gold { background: var(--ev-gold); color: var(--ev-navy); }
.ev-btn--gold:hover { color: var(--ev-navy); transform: translateY(-1px); }
.ev-btn--ghost { background: #fff; color: var(--ev-navy); border-color: var(--ev-line); }
.ev-btn--ghost:hover { border-color: #c5d1ee; background: var(--ev-tint); color: var(--ev-navy); }
.ev-btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.ev-btn--light:hover { background: #fff; color: var(--ev-navy); }
.ev-btn:focus-visible { outline: 3px solid rgba(26, 58, 156, .35); outline-offset: 2px; }

/* Add-to-calendar dropdown */
.ev-cal { position: relative; }
.ev-cal .dropdown-menu { border-radius: 12px; border: 1px solid var(--ev-line); box-shadow: 0 18px 40px -18px rgba(11, 30, 90, .35); padding: .4rem; min-width: 220px; }
.ev-cal .dropdown-item { border-radius: 8px; padding: .55rem .7rem; display: flex; align-items: center; gap: .55rem; font-size: .9375rem; }
.ev-cal .dropdown-item i { color: var(--ev-navy-2); width: 1.1rem; text-align: center; }

/* ---------- Toolbar ---------- */
.ev-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem; margin: 2.5rem 0 1rem; }
.ev-tabs { display: inline-flex; padding: .3rem; border-radius: 14px; background: #fff; border: 1px solid var(--ev-line); gap: .2rem; }
.ev-tab { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 10px; color: var(--ev-muted); font-weight: 600; font-size: .9375rem; }
.ev-tab:hover { color: var(--ev-navy); background: var(--ev-tint); }
.ev-tab.is-active { background: var(--ev-navy); color: #fff; }
.ev-tab .ev-n { font-size: .75rem; padding: .05rem .45rem; border-radius: 999px; background: rgba(11, 30, 90, .08); color: inherit; }
.ev-tab.is-active .ev-n { background: rgba(255, 255, 255, .18); }
.ev-search { position: relative; flex: 1 1 260px; max-width: 360px; margin: 0; }
.ev-search i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #8a93a8; }
.ev-search input { width: 100%; height: 46px; padding: 0 1rem 0 2.5rem; border-radius: 12px; border: 1.5px solid var(--ev-line); background: #fff; outline: none; }
.ev-search input:focus { border-color: var(--ev-navy-2); box-shadow: 0 0 0 4px rgba(26, 58, 156, .12); }
.ev-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.ev-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: 999px; border: 1.5px solid var(--ev-line); background: #fff; color: var(--ev-muted); font-weight: 600; font-size: .875rem; }
.ev-chip:hover { border-color: #c5d1ee; color: var(--ev-navy); }
.ev-chip.is-active { background: var(--ev-tint); border-color: var(--ev-navy-2); color: var(--ev-navy); }
.ev-chip small { color: inherit; opacity: .7; }
.ev-result { color: var(--ev-muted); margin: -1rem 0 1.5rem; font-size: .9375rem; }

/* ---------- Agenda (upcoming) ---------- */
.ev-month { display: flex; align-items: center; gap: .75rem; margin: 2rem 0 1rem; color: var(--ev-navy); font-weight: 700; font-size: 1.0625rem; }
.ev-month::after { content: ''; flex: 1; height: 1px; background: var(--ev-line); }
.ev-month:first-child { margin-top: 0; }
.ev-agenda { display: flex; flex-direction: column; gap: .9rem; }
.ev-row {
    display: grid; grid-template-columns: 84px 200px 1fr auto; gap: 1.25rem; align-items: center; padding: 1rem; border-radius: 18px;
    background: #fff; border: 1px solid var(--ev-line); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative;
}
.ev-row:hover { transform: translateY(-2px); border-color: #d3dbee; box-shadow: 0 18px 36px -24px rgba(11, 30, 90, .5); }
.ev-datebox { text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--ev-line); background: #fff; }
.ev-datebox small { display: block; padding: .25rem 0; background: var(--ev-red); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.ev-datebox strong { display: block; font-size: 1.75rem; font-weight: 750; color: var(--ev-ink); padding: .2rem 0 0; font-variant-numeric: tabular-nums; }
.ev-datebox span { display: block; font-size: .75rem; color: var(--ev-muted); padding-bottom: .35rem; }
.ev-thumb { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--ev-navy), var(--ev-navy-2)); }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ev-row:hover .ev-thumb img { transform: scale(1.04); }
.ev-thumb--empty { display: grid; place-items: center; color: rgba(255, 255, 255, .7); font-size: 1.75rem; }
.ev-row-body { min-width: 0; }
.ev-row-body h3 { margin: .35rem 0 .35rem; }
.ev-row-body h3 a { color: var(--ev-ink); }
.ev-row-body h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.ev-row-body .ev-summary { font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .35rem; }
.ev-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ev-tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--ev-tint); color: var(--ev-navy-2); }
.ev-tag--gold { background: #fff4bf; color: #7a5a00; }
.ev-tag--live { background: #fde8eb; color: var(--ev-red); }
.ev-tag--online { background: #e7f6ee; color: #0f7a43; }
.ev-row-cta { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }

/* ---------- Past grid ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.ev-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ev-line); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(11, 30, 90, .5); }
.ev-card-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ev-navy), var(--ev-navy-2)); overflow: hidden; }
.ev-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ev-card:hover .ev-card-media img { transform: scale(1.05); }
.ev-card-date { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .65rem; border-radius: 10px; background: rgba(6, 17, 55, .82); color: #fff; font-size: .8125rem; font-weight: 600; backdrop-filter: blur(4px); }
.ev-card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.ev-card-body h3 { margin: 0; }
.ev-card-body h3 a { color: var(--ev-ink); }
.ev-card-body h3 a::after { content: ''; position: absolute; inset: 0; }
.ev-card-foot { margin-top: auto; padding-top: .5rem; color: var(--ev-navy-2); font-weight: 600; font-size: .875rem; display: inline-flex; align-items: center; gap: .35rem; }

.ev-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 3rem 0 1.25rem; }
.ev-section-head h2 { margin: 0; }
.ev-section-head span { color: var(--ev-muted); font-size: .9375rem; }
.ev-pagination { margin-top: 2rem; display: flex; justify-content: center; }

.ev-empty { text-align: center; padding: 3rem 1.5rem; border-radius: 20px; border: 1.5px dashed #d6ddeb; background: #fff; }
.ev-empty i { font-size: 2.2rem; color: #b6bfd1; }
.ev-empty h3 { margin: .75rem 0 .35rem; }
.ev-empty p { color: var(--ev-muted); margin: 0 auto 1.1rem; max-width: 46ch; }
.ev-empty .ev-actions { justify-content: center; }

/* ---------- Detail ---------- */
.evd-hero { position: relative; overflow: hidden; color: #fff; padding: 2.5rem 0 3rem; background: var(--ev-navy); }
.evd-hero-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) saturate(1.2); opacity: .45; transform: scale(1.05); }
.evd-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 17, 55, .96) 0%, rgba(11, 30, 90, .88) 55%, rgba(11, 30, 90, .7) 100%); }
.evd-hero .container { position: relative; z-index: 1; }
.evd-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: center; }
.evd-hero h1 { color: #fff !important; margin: .65rem 0 1rem; }
.evd-hero .ev-meta { color: rgba(255, 255, 255, .88); }
.evd-hero .ev-meta i { color: var(--ev-gold); }
.evd-hero .ev-actions { margin-top: 1.5rem; }
.evd-hero-card { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); border: 4px solid rgba(255, 255, 255, .9); aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .08); }
.evd-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.evd-status { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.evd-status--upcoming { background: var(--ev-gold); color: var(--ev-navy); }
.evd-status--today, .evd-status--live { background: #fff; color: var(--ev-red); }
.evd-status--past { background: rgba(255, 255, 255, .14); color: #fff; }
.evd-hero .ev-count { max-width: 420px; margin-top: 1.25rem; }
.evd-hero .ev-count > div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.evd-hero .ev-count strong { color: #fff; }
.evd-hero .ev-count span { color: rgba(255, 255, 255, .7); }

.evd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; padding: 2.5rem 0 3rem; }
.evd-main { display: flex; flex-direction: column; gap: 1.5rem; }
.evd-panel { background: #fff; border: 1px solid var(--ev-line); border-radius: 20px; padding: clamp(1.25rem, 2.5vw, 2rem); }
.evd-panel > h2 { margin: 0 0 1rem; display: flex; align-items: center; gap: .6rem; }
.evd-panel > h2 i { color: var(--ev-navy-2); font-size: 1.1em; }
.evd-rich { color: #3f465c; }
.evd-rich img { max-width: 100%; height: auto; border-radius: 12px; }
.evd-rich p:last-child { margin-bottom: 0; }
.evd-rich a { color: var(--ev-navy-2); text-decoration: underline; }
.evd-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.evd-person { display: flex; align-items: center; gap: .75rem; padding: .85rem; border-radius: 14px; background: var(--ev-tint); }
.evd-person .evd-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ev-navy); color: var(--ev-gold); font-weight: 700; }
.evd-person small { display: block; color: var(--ev-muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; }

.evd-aside { position: sticky; top: calc(var(--s-header-h, 0px) + 96px); display: flex; flex-direction: column; gap: 1rem; }
.evd-card { background: #fff; border: 1px solid var(--ev-line); border-radius: 20px; padding: 1.4rem; box-shadow: 0 18px 40px -30px rgba(11, 30, 90, .5); }
.evd-date-big { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--ev-line); }
.evd-date-big .ev-datebox { width: 72px; flex: none; }
.evd-date-big strong.evd-day { display: block; color: var(--ev-ink); font-weight: 700; }
.evd-date-big span { color: var(--ev-muted); font-size: .9375rem; }
.evd-facts { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.evd-facts li { display: flex; gap: .8rem; align-items: flex-start; }
.evd-facts .ev-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--ev-tint); color: var(--ev-navy-2); font-size: 1.05rem; }
.evd-facts small { display: block; color: var(--ev-muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.evd-facts strong { color: var(--ev-ink); font-weight: 600; display: block; word-break: break-word; }
.evd-facts a.evd-link { font-size: .875rem; font-weight: 600; color: var(--ev-navy-2); display: inline-flex; align-items: center; gap: .25rem; margin-top: .15rem; }
.evd-card .ev-actions { flex-direction: column; }
.evd-card .ev-actions > *, .evd-card .ev-cal > .ev-btn { width: 100%; }
.evd-share { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.evd-share span { font-size: .875rem; font-weight: 600; color: var(--ev-muted); }
.evd-share-btns { display: flex; gap: .4rem; }
.evd-share-btns a, .evd-share-btns button { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--ev-tint); color: var(--ev-navy); border: 0; transition: background .15s, color .15s, transform .15s; }
.evd-share-btns a:hover, .evd-share-btns button:hover { background: var(--ev-navy); color: #fff; transform: translateY(-2px); }
.evd-copied { font-size: .8125rem; color: #0f7a43; font-weight: 600; }
.evd-past-note { display: flex; gap: .6rem; padding: .85rem 1rem; border-radius: 12px; background: #f4f6fb; color: var(--ev-muted); font-size: .9rem; margin-bottom: 1rem; }

.evd-mobile-bar { display: none; }

@media (max-width: 991.98px) {
    .ev-spot { grid-template-columns: 1fr; }
    .ev-spot-media { min-height: 220px; aspect-ratio: 16 / 9; }
    .ev-row { grid-template-columns: 72px 1fr; }
    .ev-thumb { display: none; }
    .ev-row-cta { grid-column: 1 / -1; flex-direction: row; }
    .ev-row-cta > * { flex: 1; }
    .evd-hero-grid { grid-template-columns: 1fr; }
    .evd-hero-card { display: none; }
    .evd-layout { grid-template-columns: 1fr; }
    .evd-aside { position: static; }
    .evd-mobile-bar {
        display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--ev-line); box-shadow: 0 -10px 30px -20px rgba(11, 30, 90, .5);
    }
    .evd-mobile-bar .ev-btn { flex: 1; }
    body.has-ev-bar { padding-bottom: 76px; }
}
@media (max-width: 575.98px) {
    .ev-toolbar { flex-direction: column; align-items: stretch; }
    .ev-tabs { width: 100%; overflow-x: auto; }
    .ev-tab { flex: 1; justify-content: center; padding: .55rem .6rem; }
    .ev-search { max-width: none; flex: none; width: 100%; }
    .ev-count strong { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ev-row, .ev-card, .ev-card-media img, .ev-thumb img, .ev-btn { transition: none; }
    .ev-row:hover, .ev-card:hover { transform: none; }
    .ev-spot-badge .ev-pulse { animation: none; }
}

/* Keep the floating WhatsApp button above the event action bar on phones */
@media (max-width: 991.98px) {
    body.has-ev-bar .hsr-whatsapp-button { bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- Event cards v2: posters shown whole, date in the body ---------- */
.ev-card-media { aspect-ratio: 4 / 3; display: grid; place-items: center; isolation: isolate; }
.ev-card-media::before {
    content: ''; position: absolute; inset: -24px; z-index: -1; background: var(--poster, none) center / cover no-repeat;
    filter: blur(20px) saturate(1.15) brightness(.72); transform: scale(1.1);
}
.ev-card-media img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); transition: transform .4s; }
.ev-card:hover .ev-card-media img { transform: scale(1.03); }
.ev-card-media--empty { color: rgba(255, 255, 255, .6); font-size: 2.2rem; }
.ev-card-status { position: absolute; top: .75rem; left: .75rem; padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--ev-gold); color: var(--ev-navy); }
.ev-card-status--live, .ev-card-status--today { background: #fff; color: var(--ev-red); }
.ev-card-body { gap: .55rem; }
.ev-card-when { display: flex; align-items: center; gap: .7rem; padding-bottom: .65rem; border-bottom: 1px dashed var(--ev-line); }
.ev-mini-date { flex: none; width: 46px; text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--ev-line); }
.ev-mini-date small { display: block; background: var(--ev-red); color: #fff; font-size: .625rem; font-weight: 700; text-transform: uppercase; padding: .1rem 0; }
.ev-mini-date strong { display: block; font-size: 1.15rem; font-weight: 750; color: var(--ev-ink); padding: .1rem 0; font-variant-numeric: tabular-nums; }
.ev-card-when-text { display: flex; flex-direction: column; min-width: 0; }
.ev-card-when-text strong { color: var(--ev-ink); font-size: .9rem; font-weight: 650; }
.ev-card-when-text span { color: var(--ev-muted); font-size: .8125rem; }
.ev-card-when .ev-tag { white-space: nowrap; }
.ev-card-title { margin: .2rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-card-sub, .ev-card-loc { display: flex; align-items: flex-start; gap: .45rem; margin: 0; color: var(--ev-muted); font-size: .875rem; }
.ev-card-sub i, .ev-card-loc i { color: var(--ev-navy-2); margin-top: .1rem; flex: none; }
.ev-card-sub span { color: #3f465c; font-weight: 600; }
.ev-card-loc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* Spotlight + agenda thumbnails + detail poster: show posters whole too */
.ev-spot-media { isolation: isolate; display: grid; place-items: center; }
.ev-spot-media::before { content: ''; position: absolute; inset: -30px; z-index: -1; background: var(--poster, none) center / cover; filter: blur(24px) brightness(.65); }
.ev-spot-media img { position: relative !important; inset: auto !important; max-height: 100%; object-fit: contain !important; padding: 1.25rem; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .4)); }
.ev-spot-media::after { display: none; }
.ev-thumb { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 4 / 3; }
.ev-thumb::before { content: ''; position: absolute; inset: -16px; z-index: -1; background: var(--poster, none) center / cover; filter: blur(14px) brightness(.7); }
.ev-thumb img { object-fit: contain !important; }
.evd-hero-card { aspect-ratio: auto; max-height: 460px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.evd-hero-card img { width: 100%; height: auto; max-height: 452px; object-fit: contain; }

/* No spotlight: the toolbar sits below the header instead of overlapping it */
.ev-hero--compact { padding-bottom: 2.75rem; }
.ev-sub { display: block; color: var(--ev-muted); font-weight: 600; font-size: .9rem; margin-top: .15rem; }
.evd-speaker { display: flex; align-items: center; gap: .5rem; margin: -.4rem 0 1rem; color: var(--ev-gold); font-weight: 600; font-size: 1.05rem; }

/* Posters always shown whole: pin the image to the frame and contain it */
.ev-card-media img, .ev-thumb img, .ev-spot-media img {
    position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important;
    object-fit: contain !important; box-sizing: border-box;
}
.ev-card-media img { padding: .6rem; }
.ev-thumb img { padding: .3rem; }
.ev-spot-media img { padding: 1.25rem; }
.ev-card-type {
    position: absolute; left: .75rem; bottom: .75rem; z-index: 1; padding: .3rem .65rem; border-radius: 999px;
    background: rgba(6, 17, 55, .82); color: #fff; font-size: .75rem; font-weight: 700; backdrop-filter: blur(4px);
}
.ev-card-status { left: auto; right: .75rem; }

/* Event grids: 3 per row on desktop, 2 on tablets, 1 on phones */
.ev .ev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1199.98px) { .ev .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .ev .ev-grid { grid-template-columns: 1fr; } }
