/* KidS – bezahlte Veranstaltungshighlights */

.kids-highlight-card {
    position: relative;
    background: #fff;
    border: 2px solid #f58220;
    border-radius: 14px;
    overflow: hidden;
    margin: 25px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.kids-highlight-badge {
    display: inline-block;
    background: #f58220;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0 0 8px 0;
}

.kids-highlight-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
}

.kids-highlight-image {
    min-height: 280px;
}

.kids-highlight-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.kids-highlight-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.kids-highlight-content {
    padding: 28px 32px;
}

.kids-highlight-kicker {
    color: #f58220;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
}

.kids-highlight-title {
    margin: 0 0 15px 0;
    font-size: 28px;
    line-height: 1.2;
}

.kids-highlight-title a {
    color: inherit;
    text-decoration: none;
}

.kids-highlight-title a:hover {
    color: #f58220;
}

.kids-highlight-meta {
    line-height: 1.7;
    margin-bottom: 15px;
}

.kids-highlight-text {
    margin: 15px 0 22px;
    line-height: 1.55;
}

.kids-highlight-button {
    display: inline-block;
    background: #f58220;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
}

.kids-highlight-button:hover {
    opacity: 0.88;
}

@media (max-width: 700px) {
    .kids-highlight-grid {
        grid-template-columns: 1fr;
    }

    .kids-highlight-image {
        min-height: auto;
    }

    .kids-highlight-image img {
        min-height: auto;
        height: auto;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

    .kids-highlight-content {
        padding: 22px;
    }

    .kids-highlight-title {
        font-size: 23px;
    }
}
/* KidS Highlight – kompaktere Variante */

.kids-highlight-card {
    max-width: 950px;
    margin: 25px auto;
}

.kids-highlight-grid {
    grid-template-columns: 40% 60%;
}

.kids-highlight-image {
    min-height: auto;
    padding: 22px 0 22px 22px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.kids-highlight-image a {
    height: auto;
}

.kids-highlight-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px;
}

.kids-highlight-content {
    padding: 24px 28px;
}

.kids-highlight-title {
    font-size: 25px;
    margin-bottom: 12px;
}

.kids-highlight-meta {
    line-height: 1.55;
    margin-bottom: 12px;
}

.kids-highlight-text {
    margin: 12px 0 18px;
    line-height: 1.5;
}

.kids-highlight-button {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 9px 15px !important;
    line-height: 1.2 !important;
    font-size: 16px;
    border-radius: 6px;
}
/* Highlight-Karte – Bildhöhe und Button korrigieren */

/* Bildspalte genauso hoch wie der Inhalt rechts */
.kids-highlight-image {
    min-height: 0 !important;
    height: auto !important;
    padding: 24px 0 24px 24px !important;
    box-sizing: border-box;
    display: block !important;
    align-self: stretch;
}

.kids-highlight-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.kids-highlight-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center;
    border-radius: 8px;
}

/* Button wirklich kompakt machen */
.kids-highlight-content a.kids-highlight-button {
    display: inline-flex !important;
    width: fit-content !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 8px 14px !important;
    margin: 0 !important;

    font-size: 16px !important;
    line-height: 20px !important;

    box-sizing: border-box !important;
}
/* Highlight-Bild – gleichmäßiger Abstand oben/unten */

.kids-highlight-image {
    position: relative !important;
    padding: 0 !important;
    min-height: 0 !important;
    align-self: stretch !important;
}

.kids-highlight-image a {
    position: absolute !important;
    top: 24px !important;
    bottom: 24px !important;
    left: 24px !important;
    right: 0 !important;

    width: auto !important;
    height: auto !important;
    display: block !important;
}

.kids-highlight-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
}

/* Smartphone wieder normales Bildformat */
@media (max-width: 700px) {

    .kids-highlight-image {
        padding: 20px 20px 0 20px !important;
    }

    .kids-highlight-image a {
        position: static !important;
        width: 100% !important;
        height: auto !important;
    }

    .kids-highlight-image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 2 !important;
        object-fit: cover !important;
    }
}
/* Highlight-Bild – endgültiger gleichmäßiger Innenabstand */

.kids-highlight-image {
    position: relative !important;
    padding: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

.kids-highlight-image a {
    position: absolute !important;
    top: 24px !important;
    left: 24px !important;
    right: 0 !important;
    bottom: auto !important;

    width: auto !important;
    height: calc(100% - 48px) !important;
}

.kids-highlight-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
}

/* Mobil weiterhin normales Querformat */
@media (max-width: 700px) {

    .kids-highlight-image {
        padding: 20px 20px 0 20px !important;
    }

    .kids-highlight-image a {
        position: static !important;
        width: 100% !important;
        height: auto !important;
    }

    .kids-highlight-image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 2 !important;
    }
}
/* Highlight-Bild – saubere Endlösung */

.kids-highlight-grid {
    align-items: stretch !important;
}

.kids-highlight-image {
    position: static !important;
    padding: 24px 0 24px 24px !important;
    margin: 0 !important;
    min-height: 0 !important;

    display: flex !important;
    align-items: stretch !important;

    box-sizing: border-box !important;
}

.kids-highlight-image a {
    position: static !important;

    display: flex !important;
    flex: 1 1 auto !important;

    width: 100% !important;
    height: auto !important;

    min-height: 0 !important;
}

.kids-highlight-image img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    min-height: 0 !important;
    max-height: none !important;

    object-fit: cover !important;
    border-radius: 8px !important;
}

/* Desktop: Bild harmonisch an Textspalte anpassen */
@media (min-width: 701px) {

    .kids-highlight-image img {
        height: 100% !important;
    }
}

/* Smartphone */
@media (max-width: 700px) {

    .kids-highlight-image {
        padding: 20px 20px 0 20px !important;
    }

    .kids-highlight-image a {
        display: block !important;
    }

    .kids-highlight-image img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 2 !important;
    }
}