/* ================================================================
   EventWings — Events & Product Page CSS
   Premium dark theme, mobile-first, responsive
================================================================ */

/* ── FILTER PILLS ─────────────────────────────────────────── */
.pg-chip.ev-active {
    background: rgba(124,58,237,0.18);
    border-color: rgba(124,58,237,0.5);
    color: #c4b5fd;
}

/* ── EVENTS GRID ──────────────────────────────────────────── */
.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ── EVENT CARD ───────────────────────────────────────────── */
.ev-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
    position: relative;
}

.ev-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124,58,237,0.35);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(124,58,237,0.15);
    text-decoration: none;
}

/* ── CARD BANNER ──────────────────────────────────────────── */
.ev-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0533 0%, #2d1266 50%, #1a0533 100%);
    flex-shrink: 0;
}

.ev-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.ev-card:hover .ev-banner img { transform: scale(1.04); }

.ev-banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    background: linear-gradient(135deg, #1e0945 0%, #3b1278 50%, #1e0945 100%);
}

/* ── FREE/PAID BADGE ──────────────────────────────────────── */
.ev-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.ev-badge-free {
    background: rgba(16,185,129,0.25);
    border: 1px solid rgba(16,185,129,0.4);
    color: #6ee7b7;
}

.ev-badge-paid {
    background: rgba(245,158,11,0.2);
    border: 1px solid rgba(245,158,11,0.35);
    color: #fcd34d;
}

/* ── CARD BODY ────────────────────────────────────────────── */
.ev-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 14px;
    gap: 5px;
}

.ev-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a78bfa;
    display: block;
}

.ev-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.ev-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(230,238,248,0.55);
}

.ev-meta i {
    color: rgba(167,139,250,0.7);
    font-size: 11px;
}

.ev-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(230,238,248,0.5);
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-deadline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(251,191,36,0.85);
    font-weight: 600;
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.15);
    border-radius: 8px;
    padding: 4px 10px;
    width: fit-content;
    margin-top: 4px;
}

.ev-deadline i { font-size: 10px; }

.ev-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.ev-link {
    font-size: 13px;
    font-weight: 700;
    color: #a78bfa;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.ev-card:hover .ev-link { gap: 8px; }

/* ── EMPTY STATE ──────────────────────────────────────────── */
.ev-empty {
    text-align: center;
    padding: 80px 24px;
}

.ev-empty-icon { font-size: 56px; margin-bottom: 20px; }

.ev-empty h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.ev-empty p {
    font-size: 15px;
    color: rgba(230,238,248,0.55);
    margin: 0 0 24px;
}

/* ── PAGINATION ───────────────────────────────────────────── */
.ev-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
}

.ev-page-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(230,238,248,0.8);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.ev-page-btn:hover {
    background: rgba(124,58,237,0.12);
    border-color: rgba(124,58,237,0.3);
    color: #c4b5fd;
    text-decoration: none;
}

.ev-page-info {
    font-size: 13px;
    color: rgba(230,238,248,0.45);
    font-weight: 500;
}

/* ── PRODUCT PAGE — icon + heading fix ───────────────────── */
.hw-card-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.hw-card-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.3;
    margin-top: 1px;
}

.hw-card-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    flex: 1;
}

/* ── EVENT DETAIL PAGE ────────────────────────────────────── */

/* FIX 1: banner needs position:relative for badge overlay */
/* FIX banner max-height: use min() so aspect-ratio and max-height don't conflict */
.evd-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 28px;
    aspect-ratio: 3/1;
    max-height: min(320px, 26vw);
    background: linear-gradient(135deg, #1e0945 0%, #3b1278 50%, #1e0945 100%);
}

.evd-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FIX 1: badge overlaid on banner — inherits position:absolute from .ev-type-badge */
.evd-banner-badge {
    top: 14px;
    right: 14px;
    font-size: 12px;
    padding: 4px 12px;
}

.evd-banner-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    height: 100%;
}

.evd-hero { margin-bottom: 28px; }

.evd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

/* FIX 6: pg-hero-badge display handled in CSS, no inline style needed */
.evd-badges .pg-hero-badge {
    display: inline-block;
}

.evd-hero h1 {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.22;
}

.evd-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.evd-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
}

.evd-meta-item > i {
    color: #a78bfa;
    margin-top: 3px;
    font-size: 14px;
    flex-shrink: 0;
}

.evd-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(230,238,248,0.4);
    margin-bottom: 2px;
}

.evd-value {
    font-size: 14px;
    font-weight: 600;
    color: #e6eef8;
}

.evd-deadline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 10px;
    font-size: 13px;
    color: rgba(251,191,36,0.9);
    font-weight: 500;
    margin-bottom: 4px;
}

.evd-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: flex-start;
}

.evd-section { margin-bottom: 28px; }

.evd-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.evd-desc {
    font-size: 15px;
    line-height: 1.78;
    color: rgba(230,238,248,0.72);
}

.evd-desc p {
    margin: 0 0 1em;
}

.evd-desc p:last-child {
    margin-bottom: 0;
}

.evd-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    margin-bottom: 10px;
}

.evd-cat h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 3px; }
.evd-dist   { font-size: 12px; color: rgba(230,238,248,0.5); }

.evd-price-free { color: #6ee7b7; font-weight: 700; }
.evd-price-paid { color: #fcd34d; font-weight: 700; }

/* Timeline */
.evd-tl-item {
    display: grid;
    grid-template-columns: 68px 18px 1fr;
    gap: 0 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.evd-tl-time {
    font-size: 12px;
    font-weight: 600;
    color: #a78bfa;
    text-align: right;
    padding-top: 2px;
}

.evd-tl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7c3aed;
    border: 2px solid #a78bfa;
    margin-top: 3px;
    flex-shrink: 0;
    position: relative;
}

.evd-tl-dot::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 10px;
    width: 1px;
    height: 32px;
    background: rgba(124,58,237,0.2);
}

.evd-tl-item:last-child .evd-tl-dot::after { display: none; }
.evd-tl-body h4 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 4px; }
.evd-tl-body p  { font-size: 13px; color: rgba(230,238,248,0.6); line-height: 1.55; margin: 0 0 4px; }
.evd-tl-loc     { font-size: 12px; color: rgba(167,139,250,0.7); }

.evd-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: 12px;
    color: #c4b5fd;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.evd-map-btn:hover { background: rgba(124,58,237,0.2); color: #c4b5fd; text-decoration: none; }

/* Sidebar */
.evd-reg-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 22px;
    position: sticky;
    top: 80px;
}

.evd-reg-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.evd-reg-sub     { font-size: 13px; color: rgba(230,238,248,0.55); margin: 0 0 14px; }
.evd-reg-price   { margin-bottom: 14px; }
.evd-reg-note    { font-size: 11px; color: rgba(230,238,248,0.4); text-align: center; margin: 8px 0 0; }

/* FIX 5: View My Ticket button */
.evd-ticket-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
}

.evd-ticket-btn:hover { text-decoration: none; }

/* FIX 3: Capacity / seats bar */
.evd-capacity {
    margin-top: 12px;
}

.evd-capacity-bar {
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    margin-bottom: 6px;
}

.evd-capacity-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    transition: width 0.4s ease;
}

.evd-capacity-label {
    font-size: 12px;
    color: rgba(230,238,248,0.55);
    margin: 0;
    text-align: center;
}

/* FIX 4: Add to Calendar button */
.evd-cal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 11px 16px;
    border-radius: 12px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.22);
    color: #c4b5fd;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.evd-cal-btn:hover { background: rgba(124,58,237,0.2); color: #c4b5fd; text-decoration: none; }

.evd-closed { text-align: center; padding: 16px; }
.evd-closed p { font-size: 14px; color: rgba(230,238,248,0.55); margin: 8px 0 0; }

.evd-hr { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 16px 0; }
.evd-sidebar-rows { display: flex; flex-direction: column; gap: 10px; }

.evd-sr { display: flex; justify-content: space-between; font-size: 13px; }
.evd-sr span:first-child { color: rgba(230,238,248,0.45); }
.evd-sr span:last-child  { color: #e6eef8; font-weight: 600; }

/* FIX 8: Share row — now has 3 buttons */
.evd-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    color: rgba(230,238,248,0.45);
}

.evd-share-btn {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(230,238,248,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.evd-share-btn:hover { background: rgba(124,58,237,0.15); color: #c4b5fd; text-decoration: none; }

/* ── MOBILE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .evd-layout { grid-template-columns: 1fr; }
    .evd-sidebar { order: -1; }
    .evd-reg-card { position: static; }
}

@media (max-width: 640px) {
    .ev-grid { grid-template-columns: 1fr; gap: 14px; }
    .evd-meta-grid { grid-template-columns: 1fr 1fr; }
    .evd-banner { max-height: 180px; }
}

@media (max-width: 420px) {
    .evd-meta-grid { grid-template-columns: 1fr; }
}

/* addition css */
/* ================================================================
   EventWings — events.css ADDITIONS
   Append these rules to the existing events.css
   (Map embed + Addon tags)
================================================================ */

/* ── MAP EMBED ────────────────────────────────────────────── */
.evd-map-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 14px;
    background: rgba(255,255,255,0.03);
}

.evd-map-iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
    /* Darken the default Google Maps chrome to fit dark theme */
    filter: invert(0.9) hue-rotate(180deg) saturate(0.85) brightness(0.92);
}

/* Tap-to-unlock overlay (mobile) */
.evd-map-overlay {
    display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
    .evd-map-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        inset: 0;
        background: rgba(10, 5, 25, 0.45);
        backdrop-filter: blur(2px);
        cursor: pointer;
        z-index: 10;
        border-radius: 16px;
        gap: 8px;
        font-size: 13px;
        font-weight: 600;
        color: rgba(230,238,248,0.85);
        transition: opacity 0.2s;
    }

    .evd-map-overlay::before {
        content: '👆 Tap to interact with map';
        display: block;
        padding: 10px 18px;
        background: rgba(124,58,237,0.25);
        border: 1px solid rgba(124,58,237,0.35);
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
        color: #c4b5fd;
        backdrop-filter: blur(8px);
    }
}

.evd-map-addr {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(230,238,248,0.6);
    margin: 0 0 12px;
    line-height: 1.5;
}

.evd-map-addr i {
    color: #a78bfa;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── CATEGORY LAYOUT FIX (to allow addons below) ─────────── */
.evd-cat {
    align-items: flex-start; /* override center so addons don't push price off */
}

.evd-cat-info { flex: 1; }
.evd-cat-price { flex-shrink: 0; padding-left: 16px; padding-top: 2px; }

/* ── ADDON TAGS ───────────────────────────────────────────── */
.evd-addons {
    margin-top: 10px;
}

.evd-addons-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(230,238,248,0.35);
    margin-bottom: 6px;
}

.evd-addons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.evd-addon-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.evd-addon-tag em {
    font-style: normal;
    font-weight: 700;
    opacity: 0.85;
}

.evd-addon-free {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.25);
    color: #6ee7b7;
}

.evd-addon-paid {
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.22);
    color: #fcd34d;
}

/* UI fixes from review — 05 May */
.evd-share          { margin-top: 18px; }
.evd-map-iframe     { height: 260px; }
.evd-map-addr       { margin-top: 14px; }
.evd-cat-price      { align-self: flex-start; padding-top: 3px; }
.evd-sidebar        { padding-bottom: 4px; }

/* ================================================================
   EventWings — Schedule redesign CSS
   Append to events.css
   Works for both single-day (card timeline) and multi-day (tabs)
================================================================ */

/* ── Section header row (title + "Add all") ─────────────────── */
.evd-sched-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}

.evd-sched-header h2 {
    /* Override the section h2 which adds its own border — remove it here */
    margin: 0;
    padding: 0;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.evd-sched-add-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.22);
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.evd-sched-add-all:hover {
    background: rgba(124,58,237,0.2);
    color: #c4b5fd;
    text-decoration: none;
}

/* ── DAY TABS (multi-day only) ───────────────────────────────── */
.evd-day-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
}

.evd-day-tab {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.07);
    color: rgba(230,238,248,0.55);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
}

.evd-day-tab:last-child { border-right: none; }

.evd-day-tab.is-active {
    background: rgba(124,58,237,0.18);
    color: #c4b5fd;
}

.evd-day-tab:hover:not(.is-active) {
    background: rgba(255,255,255,0.05);
    color: rgba(230,238,248,0.8);
}

.evd-day-tab-date {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
}

/* ── DAY PANELS ──────────────────────────────────────────────── */
.evd-day-panel { display: none; }
.evd-day-panel.is-active { display: block; }

.evd-day-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.evd-day-fulldate {
    font-size: 13px;
    color: rgba(230,238,248,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.evd-day-fulldate i { color: #a78bfa; font-size: 12px; }

/* ── SCHEDULE CARDS ──────────────────────────────────────────── */
.evd-sched-cards {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Each row: time | dot+line | body */
.evd-sc {
    display: grid;
    grid-template-columns: 76px 20px 1fr;
    gap: 0 10px;
    padding-bottom: 18px;
}

.evd-sc:last-child { padding-bottom: 0; }

/* Time column */
.evd-sc-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 3px;
    gap: 2px;
}

.evd-sc-t {
    font-size: 12px;
    font-weight: 700;
    color: #a78bfa;
    white-space: nowrap;
}

.evd-sc-dur {
    font-size: 11px;
    color: rgba(167,139,250,0.55);
    white-space: nowrap;
}

/* Dot + vertical line */
.evd-sc-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4px;
}

.evd-sc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7c3aed;
    border: 2px solid #a78bfa;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.evd-sc-vline {
    width: 1px;
    flex: 1;
    background: rgba(124,58,237,0.18);
    margin-top: 4px;
    min-height: 20px;
}

.evd-sc:last-child .evd-sc-vline { display: none; }

/* Body card */
.evd-sc-body {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.evd-sc-body:hover {
    border-color: rgba(124,58,237,0.25);
}

/* Tag pills */
.evd-sc-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.evd-tag-bib      { background: rgba(16,185,129,0.15);  border: 1px solid rgba(16,185,129,0.3);  color: #6ee7b7; }
.evd-tag-race     { background: rgba(59,130,246,0.15);  border: 1px solid rgba(59,130,246,0.3);  color: #93c5fd; }
.evd-tag-ceremony { background: rgba(245,158,11,0.15);  border: 1px solid rgba(245,158,11,0.3);  color: #fcd34d; }
.evd-tag-workshop { background: rgba(124,58,237,0.15);  border: 1px solid rgba(124,58,237,0.3);  color: #c4b5fd; }
.evd-tag-keynote  { background: rgba(236,72,153,0.12);  border: 1px solid rgba(236,72,153,0.25); color: #f9a8d4; }
.evd-tag-general  { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);  color: rgba(230,238,248,0.55); }

/* Title and description */
.evd-sc-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.35;
}

.evd-sc-desc {
    font-size: 13px;
    color: rgba(230,238,248,0.6);
    line-height: 1.55;
    margin: 0 0 8px;
}

/* Footer: location + calendar button */
.evd-sc-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.evd-sc-loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: rgba(167,139,250,0.7);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.evd-sc-loc i { font-size: 11px; flex-shrink: 0; }

.evd-sc-cal {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.evd-sc-cal:hover {
    background: rgba(124,58,237,0.2);
    color: #c4b5fd;
    text-decoration: none;
}

/* ── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 500px) {
    .evd-sc {
        grid-template-columns: 60px 16px 1fr;
        gap: 0 8px;
    }

    .evd-sc-t    { font-size: 11px; }
    .evd-sc-dur  { font-size: 10px; }
    .evd-sc-body { padding: 10px 12px; }

    .evd-day-tab { padding: 8px 12px; font-size: 12px; }

    .evd-sched-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Schedule day divider (Option A) ─────────────────────── */
.evd-day-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 12px;
}

.evd-day-divider:first-child { margin-top: 4px; }

.evd-day-pill {
    background: rgba(124,58,237,0.14);
    border: 1px solid rgba(124,58,237,0.28);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #a78bfa;
    white-space: nowrap;
    flex-shrink: 0;
}

.evd-day-divider-date {
    font-size: 12px;
    color: rgba(230,238,248,0.45);
    white-space: nowrap;
    flex-shrink: 0;
}

.evd-day-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

.evd-day-add-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #a78bfa;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 8px;
    border: 1px solid rgba(124,58,237,0.2);
    background: rgba(124,58,237,0.08);
    transition: background 0.2s;
}

.evd-day-add-all:hover {
    background: rgba(124,58,237,0.18);
    color: #c4b5fd;
    text-decoration: none;
}

@media (max-width: 500px) {
    .evd-day-divider-date { display: none; }
}