.aktuelles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Einzelne Card */
.aktuelles-card {
    border-radius: 20px;
    padding: var(--wp--preset--spacing--30);
    box-sizing: border-box;
    color: var(--wp--preset--color--base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Bild mit runden Ecken */
.card-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Textblock in der Card */
.card-content {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #000;
}

/* Titel */
.aktuelles-card h3 a {
    color: #A41052 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    cursor: pointer;
}

.aktuelles-card h3 a:hover {
    color: #ffffff !important;
}

/* Textauszug begrenzen */
.card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 5.6em; /* 4 Zeilen à 1.4em */
    margin: 0;
}

/* Datum bei Terminen */
.veranstaltungsdatum {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.aktuelles-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aktuelles-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Zurück-zur-Übersicht Button */
.wp-block-button__link {
    display: inline-block;
    padding: 0.6em 1.2em;
    border-radius: 999px;
    background-color: var(--wp--preset--color--custom-prim-r-aubergine);
    color: white;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: var(--wp--preset--color--custom-prim-r-aubergine-hover, #5e3a57); /* Fallback */
    text-decoration: none;
}

.cta-float-image {
    position: relative;
    top: -40px;
    z-index: 10;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: -40px;
}


