.tmp-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px; /* Abstand zwischen den Boxen: 50px horizontal & vertikal */
    justify-content: flex-start;
}

.tmp-event-card {
    background-color: #111;
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.3);
    color: white;
    flex: 1 1 calc(33.333% - 50px); /* 3 Karten pro Reihe, Abzug wegen gap */
    max-width: calc(33.333% - 50px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tmp-event-banner {
    position: relative;
    height: 160px;
    background-size: cover;
    background-position: center center;
}

.tmp-event-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
}

.tmp-event-tags span {
    background: black;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 4px;
    user-select: none;
}

.tmp-event-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tmp-event-body h3 {
    color: #e100ff;
    margin: 0 0 14px 0;
    font-weight: 700;
    font-size: 1.3rem;
}

.tmp-event-table {
    display: grid;
    grid-template-columns: auto 1fr;
    row-gap: 6px;
    column-gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.tmp-event-table b {
    font-weight: 600;
}

.tmp-event-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.tmp-event-stats {
    user-select: none;
}

.tmp-event-buttons a {
    text-decoration: none;
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    font-size: 14px;
    margin-left: 8px;
    display: inline-block;
}

.tmp-event-buttons a:hover {
    background-color: #0056b3;
}
