/* General */

.acf-block.programme {
    background-color: rgba(216, 235, 234, 0.7)
}

.programme .programme-intro h2 {
    max-width: 980px;
}

.programme .programme-intro-text {
    max-width: 900px;
    margin-top: 24px;
}

.programme .programme-intro-text > :last-child {
    margin-bottom: 0;
}

.programme .programme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 24px;
    margin-top: 50px;
}

.programme .programm-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(13, 26, 41, .09);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    transition: transform .22s ease, box-shadow .22s ease;
}

.programme .programm-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.programme .programm-card-image {
    height: 285px;
    overflow: hidden;
    background: var(--ice);
}

.programme .programm-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programme .programm-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 28px 30px;
}

.programme .programm-card-body > p:not(.programm-card-hinweis) {
    margin-bottom: 24px;
}

.programme .programm-card .button {
    align-self: flex-start;
    margin-top: auto;
}

.programme .programm-card-hinweis {
    margin-top: 12px;
    color: rgba(13, 26, 41, .55);
    font-size: .82rem;
    line-height: 1.35;
}

.programme .programme-zuordnung {
    margin-top: 38px;
    padding: 30px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(184, 168, 141, .32);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.programme .programme-zuordnung > h3 {
    margin-top: 0;
}

.programme .programme-zuordnung-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 16px;
    margin-top: 20px;
}

.programme .programme-zuordnung-card {
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(13, 26, 41, .08);
    border-radius: 18px;
}

.programme .programme-zuordnung-card h4 {
    margin-top: 0;
}

.programme .programme-zuordnung > .button {
    margin-top: 24px;
}

/* Responsive */

@media only screen and (max-width: 991.98px) {
    .programme .programm-card-image {
        height: 250px;
    }
}

@media only screen and (max-width: 767.98px) {
    .programme .programme-grid {
        margin-top: 38px;
    }

    .programme .programm-card-image {
        height: auto;
    }

    .programme .programm-card-image img {
        aspect-ratio: 4 / 3;
    }

    .programme .programme-zuordnung {
        padding: 24px;
    }
}

@media only screen and (max-width: 575.98px) {
    .programme .programme-grid {
        gap: 18px;
    }

    .programme .programm-card {
        border-radius: 24px;
    }

    .programme .programm-card-body {
        padding: 24px 22px 26px;
    }

    .programme .programme-zuordnung {
        padding: 22px 18px;
        border-radius: 24px;
    }
}
