/* -----------------------------------------------------------
   STB Aktuell – modernes Grid-Kartenlayout
----------------------------------------------------------- */

.stbaktuell {
    margin-top: 3em;
    font-family: "Open Sans", Arial, sans-serif;
}

/* Grid für die Karten */
.stbaktuell .stb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Jede News als eigene Karte */
.stbaktuell .stb-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
    transition: transform 0.15s ease, box-shadow 0.25s ease;
}

.stbaktuell .stb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Headline-Links */
.stbaktuell .stb-card a {
    display: block;
    color: #004d9a;
    font-weight: 600;
    font-size: 1.05em;
    text-decoration: none;
    margin-bottom: 0.4em;
}

.stbaktuell .stb-card a:hover {
    color: #0075ff;
    text-decoration: underline;
}

/* Teasertext */
.stbaktuell .stb-card p {
    color: #333;
    line-height: 1.6;
    font-size: 0.95em;
}

.read-more {
    text-transform: uppercase;
    font-size: 0.8em !important;
    margin-top: 10px;
}

/* -----------------------------------------------------------
   Responsive Anpassungen für STB Aktuell Integration
----------------------------------------------------------- */

/* Tablets & kleinere Laptops (max 992px) */
@media (max-width: 992px) {
    .stbaktuell .stb-grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .stbaktuell .stb-card {
        padding: 18px;
    }

    .stbaktuell .stb-card a {
        font-size: 1em;
    }

    .stbaktuell .stb-card p {
        font-size: 0.9em;
    }
}

/* Smartphones (max 768px) */
@media (max-width: 768px) {
    .stbaktuell .stb-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stbaktuell .stb-card {
        box-shadow: 0 1px 5px rgba(0,0,0,0.08);
        padding: 16px;
    }

    .stbaktuell .stb-card a {
        font-size: 0.95em;
    }

    .stbaktuell .stb-card p {
        font-size: 0.88em;
        line-height: 1.5;
    }
}

/* Sehr kleine Geräte (max 480px) */
@media (max-width: 480px) {
    .stbaktuell .stb-card {
        padding: 14px;
        border-radius: 5px;
    }

    .stbaktuell .stb-card a {
        font-size: 0.9em;
        line-height: 1.3;
    }

    .stbaktuell .stb-card p {
        font-size: 0.85em;
        color: #444;
    }
}

/* -----------------------------------------------------------
   Weiterlesen-Link im Stil der oberen Blog-Karten
----------------------------------------------------------- */

.stbaktuell .stb-card .read-more {
    display: inline-block;
    margin-top: 12px;
    color: #004d9a;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: color 0.2s ease;
}

/*.stbaktuell .stb-card .read-more::after {
    content: " »";
    font-weight: 700;
    color: #0075ff;
}*/

.stbaktuell .stb-card .read-more:hover {
    color: #0075ff;
}
