.he-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.he-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--mia-text-secondary, #6c757d);
    background: #f8f9fa;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.he-tab:hover {
    color: var(--mia-brand, #0d6efd);
    background: #eef4ff;
}

.he-tab.is-active {
    color: var(--mia-brand, #0d6efd);
    background: #e7f1ff;
    border-color: rgba(13, 110, 253, 0.2);
    font-weight: 600;
}

.he-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.06);
}

.he-event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.he-event-card {
    display: flex;
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.he-event-card:hover {
    border-color: #c8d4e6;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.he-event-card.is-ended,
.he-event-card.is-archived {
    opacity: 0.82;
}

.he-event-card.is-ended .he-event-card-cover {
    filter: grayscale(45%);
}

.he-event-card-media {
    position: relative;
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
}

.he-event-card-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.he-event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.he-status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    backdrop-filter: blur(4px);
}

.he-status-live { background: #2f9e44; }
.he-status-onsale { background: var(--mia-brand, #0d6efd); }
.he-status-ended,
.he-status-archived { background: rgba(0, 0, 0, 0.65); }

.he-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: he-pulse 1.5s ease-in-out infinite;
}

@keyframes he-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.he-date-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding: 0.35rem 0.55rem;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.he-date-day {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: #212529;
}

.he-date-month {
    margin-top: 0.15rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mia-brand, #0d6efd);
}

.he-event-card-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    min-width: 0;
}

.he-event-card-main {
    flex: 1;
    min-width: 0;
}

.he-event-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.he-event-title a {
    color: inherit;
    text-decoration: none;
}

.he-event-title a:hover {
    color: var(--mia-brand, #0d6efd);
}

.he-event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.84rem;
    color: #495057;
}

.he-event-relative,
.he-event-location {
    color: #6c757d;
}

.he-event-sep {
    color: #ced4da;
}

.he-event-footer {
    margin-top: 0.25rem;
}

.he-organizer {
    font-size: 0.78rem;
    color: #6c757d;
}

.he-event-desc {
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.he-event-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.5rem;
    background: #f8f9fa;
    flex-shrink: 0;
}

.he-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}

.he-stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
    color: #212529;
}

.he-stat-label {
    margin-top: 0.15rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
}

.he-event-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex-shrink: 0;
}

.he-empty {
    border: 1px dashed #dee2e6;
    border-radius: 0.75rem;
    background: #fafbfc;
}

@media (max-width: 991.98px) {
    .he-event-card {
        flex-direction: column;
    }

    .he-event-card-media {
        width: 100%;
        min-width: 100%;
        height: 150px;
    }

    .he-event-card-body {
        flex-direction: column;
        align-items: stretch;
    }

    .he-event-stats {
        justify-content: center;
    }

    .he-event-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .he-event-actions .btn {
        flex: 1 1 auto;
    }
}
