.blog-post {
    display: flex;
    align-items: stretch; 
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    gap: 15px;
    margin-bottom: 2rem;
}

.blog-image {
    width: 200px;
    height: 150px;
    overflow: hidden;
    flex-shrink: 0;
    align-self: center;
    border-radius: 8px;
}

.blog-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center bottom;
    transition: transform 0.3s ease;
}

.blog-content {
    display: flex;
    flex-direction: column;
    flex: 1; 
    min-height: 100%;
    justify-content: space-between;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.blog-title a {
    text-decoration: none;
    color: #333;
}

.blog-title a:hover {
    color: #007bff;
}

.blog-teaser {
    font-size: 14px;
    color: #666;
}

.blog-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}


/* 📌 Anpassung für Mobilgeräte */
@media (max-width: 768px) {
    .blog-post {
        flex-direction: column; 
        align-items: flex-start;
    }

    .blog-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .blog-image > a{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .blog-image img {        
        width: 100%;
        height: auto;
    }

    .blog-content {
        padding-top: 10px; 
    }
}
