.babel-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 !important;
}

.babel-card__titel {
    margin: 0;
    padding-inline: 1.5rem;
    padding-top: 1.5rem;
    padding-left: 0px;
    padding-bottom: 1rem;
}

.babel-card__text {
    padding-inline: 1.5rem;
    padding-left: 0px;

    :first-child {
        margin-top: 0;
    }

    :last-child {
        margin-bottom: 0;
    }
}

.babel-card__link {
    margin-top: auto;
    padding-inline: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 0px;
}

.babel-card__bild {
    width: 100%;
    margin: 0;
}

.babel-card__legende {
    font-size: 0.875rem;
    color: var(--babel-darkred);
    margin-top: 0.25rem;
    padding-inline: 0;
    line-height: normal;
}

.babel-card__bild img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.babel-card__bild--16-9 img { aspect-ratio: 16 / 9; height: auto; }
.babel-card__bild--3-2 img  { aspect-ratio: 3 / 2;  height: auto; }
.babel-card__bild--4-3 img  { aspect-ratio: 4 / 3;  height: auto; }
.babel-card__bild--1-1 img  { aspect-ratio: 1 / 1;  height: auto; }

/* Slider */
.babel-card--has-slider {
    overflow: hidden;
}

@media (max-width: 767px) {
    .babel-card__link {
        padding-right: 0px;
    }
}

/* Slider */
.babel-card__slider {
    position: relative;
    width: 100%;
}

.babel-card__slides {
    width: 100%;
    line-height: 0;
}

.babel-card__slide {
    display: none;
}

.babel-card__slide.is-active {
    display: block;
}

.babel-card__slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Prev/next buttons */
.babel-card__slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: inherit;
    padding: 0;
    z-index: 2;
    transition: background 0.15s;
}

.babel-card__slider-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.babel-card__slider-btn--prev {
    left: 0.5rem;
}

.babel-card__slider-btn--next {
    right: 0.5rem;
}

/* Dot indicators */
.babel-card__slider-dots {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.375rem;
    z-index: 2;
}

.babel-card__slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
    transition: background 0.15s;
}

.babel-card__slider-dot.is-active {
    background: rgba(255, 255, 255, 1);
}