/* community.css - Community Übersichtsseite */

.community-intro p {
    color: var(--text-muted);
    max-width: 720px;
}

.community-feed-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.community-feed-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-12);
    padding: var(--space-16);
    background: var(--input-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.community-feed-item-main {
    flex: 1;
    min-width: 200px;
}

.community-feed-item-type {
    display: inline-block;
    font-size: var(--text-12);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-4);
}

.community-feed-item-subject {
    margin: 0 0 var(--space-6) 0;
    font-size: var(--text-17);
    word-break: break-word;
}

.community-feed-item-barcode {
    display: block;
    margin-bottom: var(--space-6);
    font-size: var(--text-12);
    color: var(--text-muted);
}

.community-feed-item-score {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-8);
    font-size: var(--text-15);
}

.community-feed-item-score .score {
    font-weight: 700;
}

.community-feed-item-score .count {
    color: var(--text-muted);
    font-size: var(--text-13);
}

/* Dasselbe wie bei .ws-url: gemessen 247x20, WCAG 2.5.8 (AA) will 24x24. */
.community-feed-item-source {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-top: var(--space-6);
    font-size: var(--text-13);
}

/* Meldung 114: Weg zu den uebrigen Stimmen. Bewusst textlink-artig statt als
   zweiter Knopf - "Bewerten" bleibt die Hauptaktion der Karte. */

/* .btn-load-more (suggestions.css) setzt display:block fest und sticht damit
   das hidden-Attribut aus (Autoren-Styles schlagen das UA-[hidden]-Default) -
   ohne diese Regel bliebe der Button trotz button.hidden=true sichtbar. */
.btn-load-more[hidden] {
    display: none;
}

@media (max-width: 480px) {
    .community-feed-item {
        flex-direction: column;
        align-items: stretch;
    }
}
