/* Nieuws van Apertur (AnnouncementsComponent): links de berichten, rechts het gekozen bericht; op een smal scherm onder elkaar. */

.fc-news {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 0;
    min-height: 420px;
    background: var(--fc-surface);
    border: 1px solid var(--fc-card-border);
    border-radius: var(--fc-radius-card);
    color: var(--fc-text);
}

.fc-news-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 32px 24px;
    color: var(--fc-text-muted);
}

.fc-news-list {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--fc-card-border);
    min-width: 0;
}

.fc-news-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--fc-border);
    font-size: 0.8125rem;
    color: var(--fc-text-muted);
}

.fc-news-all-read {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--fc-brand-text);
    cursor: pointer;
}

    .fc-news-all-read:hover {
        text-decoration: underline;
    }

.fc-news-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border: 0;
    border-bottom: 1px solid var(--fc-border);
    border-left: 3px solid transparent;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    .fc-news-item:hover {
        background: color-mix(in srgb, var(--fc-text) 5%, var(--fc-surface));
    }

    .fc-news-item.is-selected {
        background: var(--fc-brand-tint);
        border-left-color: var(--fc-brand);
    }

    .fc-news-item:focus-visible {
        outline: none;
        box-shadow: var(--fc-focus-ring);
    }

.fc-news-item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.fc-news-item.is-unread .fc-news-item-title {
    font-weight: 700;
}

.fc-news-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fc-brand);
}

.fc-news-item-meta {
    font-size: 0.75rem;
    color: var(--fc-text-muted);
}

.fc-news-reader {
    min-width: 0;
    padding: 24px 32px 32px;
}

.fc-news-reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 0.75rem;
    color: var(--fc-text-muted);
}

.fc-news-reader-kind {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--fc-brand-text);
}

.fc-news-reader-title {
    margin: 6px 0 16px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.fc-news-reader-body {
    max-width: 72ch;
    line-height: 1.6;
}

    .fc-news-reader-body img {
        max-width: 100%;
        height: auto;
    }

@media (max-width: 760px) {
    .fc-news {
        grid-template-columns: minmax(0, 1fr);
    }

    .fc-news-list {
        border-right: 0;
        border-bottom: 1px solid var(--fc-card-border);
    }

    .fc-news-reader {
        padding: 20px 16px 24px;
    }
}
