/* ===== Gemeinsame Basis für alle Karten-Grids ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2em;
    margin: 0 0 3em 0;
    padding: 0;
    list-style: none;
}

.card-item {
    background: #fff;
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Beiträge-spezifisch ===== */
.beitrag-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.beitrag-item img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
}

.beitrag-item h3 {
    font-size: 1em;
    margin: 0.75em 1em 0.25em 1em;
    line-height: 1.3;
}

.beitrag-item p {
    font-size: 0.85em;
    color: #666;
    margin: 0 1em 1em 1em;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.beitrag-datum {
    display: block;
    font-size: 0.75em;
    color: #999;
    margin: 0.25em 1em 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 480px) {
    .beitrag-item img {
        height: 200px;
    }
}

/* ===== Audio-spezifisch ===== */
.audio-item-inner {
    padding: 1.25em 1.25em 1.5em;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.audio-item h3 {
    font-size: 1em;
    margin: 0 0 0.25em 0;
    line-height: 1.3;
}

.audio-meta {
    font-size: 0.8em;
    color: #999;
    margin: 0 0 1.25em 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.audio-item audio {
    width: 100%;
    margin-top: auto;
}