/* ========================================
   MEDIEN – ausgewählte Beiträge
   Karten gleich hoch + Links unten ausrichten
   ======================================== */

.media-cards {
    align-items: stretch !important;
}

.media-cards > .wp-block-column {
    display: flex;
}

.media-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    align-items: stretch;
}

.media-card > * {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.media-card-link {
    margin-top: auto !important;
    padding-top: 28px !important;
}


/* ========================================
   MEDIEN – Focus Online
   Hover für Beitragstitel
   ======================================== */

.focus-links a:hover {
    color: #B89A62;
}


/* ========================================
   EDUCATION – Teaching Concept
   Vergleichstabelle
   ======================================== */

.education-contrast-table {
    border: 1px solid #EAE5DA;
    border-radius: 14px;
    overflow: hidden;
}

.education-contrast-table table {
    width: 100%;
    margin: 0;
    border: 0 !important;
    border-collapse: collapse;
}

.education-contrast-table th,
.education-contrast-table td {
    border: 0 !important;
    border-bottom: 1px solid #F0ECE3 !important;
    border-right: 1px solid #F0ECE3 !important;

    /* Mehr Abstand innerhalb der Zeilen */
    padding: 14px 22px !important;

    /* Etwas luftigere mehrzeilige Texte */
    line-height: 1.5;
}

.education-contrast-table th:last-child,
.education-contrast-table td:last-child {
    border-right: 0 !important;
}

.education-contrast-table tr:last-child th,
.education-contrast-table tr:last-child td {
    border-bottom: 0 !important;
}

.education-contrast-table tr:first-child th,
.education-contrast-table tr:first-child td {
    background: #FBF9F4;
}
/* ========================================
   QUERY LOOP – Beitragskarten normieren
   ======================================== */

.query-cards .wp-block-post-template {
    align-items: stretch;
}

.query-cards .wp-block-post-template > .wp-block-post {
    display: flex;
    flex-direction: column;
    height: 100%;
}