/* ============================================================
   EVENT-BOARD STYLES
   Hero: 16:9, Bild oben ausgerichtet, mobil quadratisch
   Grid: quadratisch, Bild zentriert, kein Hover-Verschieben
   ============================================================ */


/* ============================================================
   HERO – das oberste, große Event
   ============================================================ */

.event-hero-wrapper {
    margin: 2rem 0;
}

.event-hero {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center top;      /* Bild oben ausrichten – Köpfe bleiben sichtbar */
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    min-height: 320px;
}

.event-hero:hover {
    text-decoration: none;
    color: #fff;
}

.event-hero:hover .event-hero__overlay {
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.35) 100%);
}

.event-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 60%, rgba(0,0,0,.2) 100%);
    transition: background .3s ease;
    z-index: 1;
}

.event-hero__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.5rem 3rem;
    z-index: 2;
}

.event-hero__title {
    margin: 0 0 .4rem;
    font-size: 2.6rem;
    line-height: 1.1;
    font-weight: 700;
    color: #e30619;
}

.event-hero__subtitle {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 400;
    opacity: .92;
    margin: 0 0 1rem;
}

.event-hero__date {
    margin: 0 0 .4rem;
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 500;
    opacity: .95;
}

.event-hero__date small {
    font-size: .8em;
    opacity: .85;
    font-weight: 400;
}

.event-hero__date sup {
    font-size: .65em;
    vertical-align: super;
    opacity: .85;
}

.event-hero__location {
    margin: 0 0 .8rem;
    font-size: .95rem;
    opacity: .85;
}

.event-hero__more {
    display: inline-block;
    margin-top: 1rem;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    border-bottom: 1px solid rgba(255,255,255,.6);
    padding-bottom: 2px;
    transition: border-color .2s ease;
}

.event-hero:hover .event-hero__more {
    border-bottom-color: #fff;
}

@media (max-width: 768px) {
    .event-hero {
        aspect-ratio: 1 / 1;              /* mobil quadratisch wie das Grid */
    }
    .event-hero__content {
        padding: 1.5rem;
    }
    .event-hero__title {
        font-size: 1.7rem;
    }
    .event-hero__subtitle {
        font-size: 1.1rem;
    }
}


/* ============================================================
   GRID – die kleineren Karten unter dem Hero, quadratisch
   ============================================================ */

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}

.event-grid-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 1 / 1;
}

.event-grid-item:hover {
    text-decoration: none;
    color: #fff;
}

.event-grid-item:hover .event-grid-item__overlay {
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.25) 100%);
}

.event-grid-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.3) 70%, rgba(0,0,0,.1) 100%);
    transition: background .3s ease;
    z-index: 1;
}

.event-grid-item__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem 1.5rem;
    z-index: 2;
}

.event-grid-item__title {
    margin: 0 0 .3rem;
    font-size: 1.2rem;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

.event-grid-item__subtitle {
    font-size: .95rem;
    line-height: 1.2;
    font-weight: 400;
    opacity: .9;
    margin: 0 0 .6rem;
}

.event-grid-item__date {
    margin: 0;
    font-size: .9rem;
    line-height: 1.4;
    font-weight: 500;
    opacity: .95;
}

.event-grid-item__date small {
    font-size: .85em;
    opacity: .85;
    font-weight: 400;
}

.event-grid-item__date sup {
    font-size: .7em;
    vertical-align: super;
    opacity: .85;
}
