/* Effektgruppe: layout/query-cards */
.wp-block-kadence-column .kt-inside-inner-col {
    max-width: none !important;
    width: 100% !important;
}

/* 1. Stellt sicher, dass die Query Card selbst volle Breite übernimmt */
.wp-block-kadence-query-card {
    max-width: none !important;
    width: 100% !important;
}

/* 2. Stellt sicher, dass der Grid-Wrapper volle Breite annimmt */
.kb-query-grid-wrap {
    max-width: none !important; /* Entfernt jede Standard-Maximalbreite */
    width: 100% !important;
}

/* ========================================================== */
/* B. VERTICALE AUSRICHTUNG (Button Fix)                      */
/* ========================================================== */

/* 3. Listenelement (.kb-query-item): Flex-Container & 100% Höhe/Breite */
.kb-query-item {
    display: flex;
    flex-direction: column;
    height: 100%; 
    min-height: 100%;
    width: 100% !important; /* Erzwingt, dass <li> die volle Grid-Zellenbreite nutzt */
}

/* 4. Textspalte (.wp-block-kadence-column): Flex-Grow & 100% Breite */
.kb-query-item .wp-block-kadence-column {
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
    width: 100%; 
}

/* 5. Innerer Container (.kt-inside-inner-col): Muss COLUMN bleiben */
/* (Wird hier nur zur Vollständigkeit aufgeführt, da er oben schon korrigiert wurde) */
.kb-query-item .wp-block-kadence-column .kt-inside-inner-col {
    display: flex;
    flex-direction: column; 
    height: 100%; 
    width: 100%; 
}

/* 6. Erzwinge die volle Breite für ALLE Kindelemente */
.kb-query-item .kt-inside-inner-col > * {
    width: 100%; 
    max-width: 100%;
}

/* 7. Button-Ausrichtung unten */
.kb-query-item .kb-buttons-wrap {
    margin-top: auto; 
    align-self: flex-start;
}

.wp-block-video {
     box-sizing: border-box;
    /* Setzt den Eckradius auf 15 Pixel */
    border-radius: 15px; 
    overflow: hidden;
}

.kb-svg-icon-wrap {
    z-index: 10;
}
