.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    box-shadow: var(--card-shadow);
}
.event-card {
    margin-bottom: 2rem;
    border-left: 4px solid transparent;
    display: flex;
    flex-direction: row;
}
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }
}
.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-left-color: var(--primary-color);
}
.card-body {
    padding: 2.5rem;
    flex: 1 1 auto;
}
.date-section {
    padding: 2.5rem;
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}
@media (max-width: 768px) {
    .date-section {
        flex-direction: row;
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem 2rem;
        justify-content: flex-start;
        gap: 1.5rem;
        min-width: 0;
    }
}
.badge {
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 99px;
}
.bg-primary-subtle {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}
.event-type-badge {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 99px;
}
.tag-badge {
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}
.tag-badge:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
