/* Beitragsführer – Karten */
.mw-related-posts {
    margin-top: 48px;
    margin-bottom: 24px;
    clear: both;
}

.mw-related-title {
    font-size: 1.4em;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.mw-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.mw-related-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mw-related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.mw-related-image {
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
    overflow: hidden;
}

.mw-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mw-related-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.mw-related-content {
    padding: 14px 16px 16px;
}

.mw-related-card-title {
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.mw-related-date {
    font-size: 0.85em;
    color: #777;
}

@media (max-width: 600px) {
    .mw-related-grid {
        grid-template-columns: 1fr;
    }
}
