/* =====================================================
   EVENT CARD – POSTER (DIN A ~ Hochformat)
   endgültiger Fix gegen Querformat
   ===================================================== */

.card.card-event .img-wrap {
    /* Querformat-Killer */
    height: 0 !important;
    min-height: 0 !important;
    max-height: none !important;

    /* DIN-A-ähnliches Hochformat */
    padding-top: 141.4%; /* ≈ DIN A4 / A5 */

    position: relative;
    overflow: hidden;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
}

/* 3px Innenrand – Bild füllt fast komplett */
.card.card-event .img-wrap::before {
    content: "";
    position: absolute;
    inset: 3px;
    background: inherit;
    border-radius: 4px;
    z-index: 0;
}

/* Klickfläche & Lazy-Loader korrekt */
.card.card-event .img-wrap > a,
.card.card-event .img-wrap > .loader {
    position: absolute;
    inset: 0;
    z-index: 2;
}
/* =========================================
   Event Preview (horizontal) – kleiner
   ========================================= */

/* img-sm global ca. 25% kleiner */
.img-sm {
    width: 48px !important;
    height: 48px !important;
}

/* sauberer Zuschnitt */
.img-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}