.veranstaltung-item {
    display: flex;
    /* gap: 20px; */
    margin-bottom: 30px;
}
.veranstaltung-thumbnail {
    flex: 1; 
    /* padding-right: 20px; */
}
.veranstaltung-content {
    flex: 2;
}
.veranstaltung-content h2 {
    margin-top: 0;
    margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .veranstaltung-item {
        flex-direction: column;
    }
}


.veranstaltungen-liste {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.veranstaltungen-liste li {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.veranstaltungen-liste li:last-child {
    border-bottom: none; 
    /* Keine Linie nach dem letzten Element */
}



/* .veranstaltungen-liste {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px; */
     /* Abstand zwischen Karten */
/* } */
/* 
.veranstaltungen-liste li {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
} */



.veranstaltungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

@media (min-width: 1024px) {
    .veranstaltungen-grid {
        grid-template-columns: repeat(4, 1fr); /* Max 3 Kacheln nebeneinander */
    }
}

.veranstaltung-kachel {
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s;
}

.veranstaltung-kachel:hover {
    transform: scale(1.02);
}

.kachel-thumbnail-overlay {
    position: relative;
    width: 100%;
    aspect-ratio: 210 / 297;
    overflow: hidden;
    background: #000; /* Optional: Hintergrundfarbe für Letterboxing */
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 160px;
    /* background: var(--global-palette1); */
    /* halbtransparent */
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overlay-text::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0; /* volle Größe */
    background:  var(--hokusevent-tile-overlay-bg-color, rgba(80, 9, 9, 0.6));
    /* opacity: 0.6; */
    z-index: -1;
}

.overlay-text h3 {
    margin: 0 0 6px 0;
    font-size: 1.5rem;
    color: #fff;
}

.overlay-text p {
    margin-bottom: 0px !important;
    font-size: 0.85rem;
}

.overlay-text .mehr-button {
    margin-top: 8px;
    display: inline-block;
    background: var(--hokusevent-tile-button-bg-color, #6947b8);
    color: #fff;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
}
.overlay-text .mehr-button:hover {
    background:  var(--hokusevent-tile-button-hover-bg-color, #005f8d);
}


.veranstaltung-meta p{
    margin: 0 !important;
}