/* =========================================================
   Kategorie-Bloggrid – fixes für Template-Stile
   ========================================================= */

/* Grid-Layout */
.akb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}
@media (max-width: 1100px) {
    .akb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .akb-grid {
        grid-template-columns: 1fr;
    }
}

/* Karte */
.akb-grid .akb-card {
    background: #fff;
    border-radius: 1.4rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 14px 40px rgba(0,0,0,.04);
    transition: transform .25s ease, box-shadow .25s ease;
}
.akb-grid .akb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0,0,0,.09);
}

/* Bild oben */
.akb-grid .akb-thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

/* Body in der Karte: unser Padding, nicht das globale aus template.css */
.akb-grid .akb-body {
    background: #fff;
    padding: 1.2rem 1.35rem 1.5rem;
}

/* 1) DATUM fixen
   - nicht floaten
   - icon und text in einer Zeile
   - enger Abstand
*/
.akb-grid .akb-body .datum {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0 0 .6rem;
    font-size: .9rem;
    color: #156f74;
    font-weight: 500;
}
.akb-grid .akb-body .datum::before {
    /* globales float wieder ausschalten */
    float: none !important;
    display: inline-block;
    margin: 0;
    width: 18px;
    height: 18px;
}

/* 2) TEASER bündig
   Problem war: float vom Datum -> nächste Zeile floss drum herum
   Lösung: clear + kein Padding
*/
.akb-grid .akb-teaser {
    clear: both;                 /* verhindert Einrückung durch float */
    margin-top: .5rem;
    margin-bottom: 0;
    padding: 0;
    text-indent: 0;
    color: #41515a;
    font-size: .92rem;
    line-height: 1.5;
}
.akb-grid .akb-teaser::before {
    content: none !important;
}

/* 3) Titel + Pfeil enger machen
   globales h3 hat padding-bottom:7px – das nehmen wir hier raus
*/
.akb-grid .akb-title {
    margin: 0;
    padding-bottom: 0;           /* globales h3 überschreiben */
    font-size: 1.02rem;
    line-height: 1.35;
    color: #075a65;
    display: flex;
    align-items: center;
    gap: .25rem;                 /* Pfeil dichter ran */
}
.akb-grid .akb-title-arrow {
    font-weight: 700;
    transition: transform .2s ease;
}
.akb-grid .akb-card:hover .akb-title-arrow {
    transform: translateX(3px);
}

/* allgemeine Paragraphen in der Karte nicht einrücken */
.akb-grid .akb-body p {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
}
