/* Techcursus Forum Sync — forumblok bij LearnPress-lessen (1.1.3) */
.tcfs-forum {
    --tcfs-accent: #049f82;
    margin: 1.5rem 0;
    padding: 1.35rem 1.5rem;
    border: 1px solid #d8e5e0;
    border-left: 4px solid var(--tcfs-accent);
    border-radius: 10px;
    background: #f8fbfa;
    color: #20312c;
    box-sizing: border-box;
}
.tcfs-forum * { box-sizing: border-box; }
.tcfs-forum__heading { display: flex; gap: .8rem; align-items: center; }
.tcfs-forum__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.3rem;
    border-radius: 9px;
    background: #e5f4ef;
}
.tcfs-forum h3.tcfs-forum__title { margin: 0; padding: 0; font-size: 1.2rem; line-height: 1.35; color: inherit; }
/* Toont de sectie als herkenbare tag naast 'Cursusforum'. */
.tcfs-forum p.tcfs-forum__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .38rem;
    margin: .25rem 0 0;
    font-size: .86rem;
    color: #60766d;
}
.tcfs-forum__meta-separator { color: #879b94; }
.tcfs-forum p.tcfs-forum__meta a.tcfs-forum__tag,
.tcfs-forum p.tcfs-forum__meta a.tcfs-forum__tag:link,
.tcfs-forum p.tcfs-forum__meta a.tcfs-forum__tag:visited {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    padding: .18rem .5rem;
    border: 1px solid #b9dbd0;
    border-radius: 5px;
    background: #e5f4ef;
    color: #176251 !important;
    -webkit-text-fill-color: #176251 !important;
    font-size: .79rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
    white-space: nowrap;
}
.tcfs-forum p.tcfs-forum__meta a.tcfs-forum__tag:hover {
    background: #d1ebe2;
    border-color: #89c8b6;
    text-decoration: none !important;
}
.tcfs-forum p.tcfs-forum__meta a.tcfs-forum__tag:focus-visible {
    outline: 2px solid #176251;
    outline-offset: 2px;
}
.tcfs-forum__tag-icon { width: .88rem; height: .88rem; flex-shrink: 0; }

.tcfs-forum p.tcfs-forum__intro { margin: .9rem 0 1rem; line-height: 1.55; }
.tcfs-forum__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.tcfs-forum a.tcfs-forum__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 43px;
    border-radius: 6px;
    padding: .68rem 1.1rem;
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.tcfs-forum a.tcfs-forum__button--primary { color: white; background: #049f82; border: 1px solid #049f82; }
.tcfs-forum a.tcfs-forum__button--primary:hover { color: white; background: #047d67; border-color: #047d67; }
.tcfs-forum a.tcfs-forum__button--secondary { color: #216e60; background: white; border: 1px solid #92c4b8; }
.tcfs-forum a.tcfs-forum__button--secondary:hover { color: #145a4b; background: #e9f6f2; }
.tcfs-forum a.tcfs-forum__button:focus-visible { outline: 3px solid #0a604e; outline-offset: 3px; }
.tcfs-forum-hint { padding: .8rem 1rem; border-left: 3px solid #d97706; background: #fffbeb; }
@media (max-width: 530px) {
    .tcfs-forum { padding: 1rem; }
    .tcfs-forum__actions { flex-direction: column; }
    .tcfs-forum a.tcfs-forum__button { width: 100%; }
}

/* Eduma/LearnPress kan linkkleuren overschrijven. Bewaak het contrast van de primaire knop. */
.tcfs-forum .tcfs-forum__actions a.tcfs-forum__button--primary,
.tcfs-forum .tcfs-forum__actions a.tcfs-forum__button--primary:link,
.tcfs-forum .tcfs-forum__actions a.tcfs-forum__button--primary:visited,
.tcfs-forum .tcfs-forum__actions a.tcfs-forum__button--primary:hover,
.tcfs-forum .tcfs-forum__actions a.tcfs-forum__button--primary:focus {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.tcfs-forum .tcfs-forum__actions a.tcfs-forum__button--primary span {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}
