/* Message board (boards.eriehardcore.com / /forum) */
.forum-wrap { max-width: 980px; }
.forum-list .list-group-item { background: rgba(255,255,255,.04); color: #e8e8e8; border-color: rgba(255,255,255,.12); }
.forum-list .list-group-item:hover { background: rgba(255,255,255,.09); }
.forum-post .card-header, .forum-post .card-footer { background: rgba(255,255,255,.05); }
.forum-post { background: rgba(255,255,255,.03); }
.forum-body { overflow-wrap: anywhere; line-height: 1.5; }
.forum-quote { border-left: 3px solid #dc3545; margin: .5rem 0; padding: .25rem .75rem; background: rgba(255,255,255,.05); color: #cfcfcf; }
.forum-attach img { max-width: 200px; max-height: 200px; height: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; }
.forum-sig { border-top: 1px dashed rgba(255,255,255,.2); }
.forum-report summary { cursor: pointer; list-style: none; color: var(--bs-link-color); }
.forum-composer textarea { font-family: inherit; }
@media (max-width: 575px) { .forum-attach img { max-width: 45vw; } }

.forum-unread { color: #fff; }
.forum-read { font-weight: 400; color: #c4c4c4; }
.forum-rules li { margin-bottom: .6rem; line-height: 1.5; }
.forum-searchbar { max-width: 420px; }
.forum-list mark { background: rgba(220,53,69,.45); color: #fff; padding: 0 2px; }
.forum-list .badge { font-weight: 500; }

/* WYSIWYG editor (js/forum-editor.js). Without JS the plain textarea shows instead. */
.forum-editor:not(.is-ready) .forum-editor-toolbar, .forum-editor:not(.is-ready) .forum-editor-area { display: none; }
.forum-editor.is-ready textarea { display: none; }
.forum-editor-toolbar { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: .35rem; }
.forum-editor-toolbar .btn { min-width: 2.1rem; }
.forum-editor-toolbar .btn.active { background: #dc3545; border-color: #dc3545; color: #fff; }
.forum-editor-area { overflow: auto; max-height: 60vh; white-space: normal; }
.forum-editor-area:focus { outline: 0; box-shadow: 0 0 0 .2rem rgba(220,53,69,.25); }
.forum-body ul, .forum-body ol, .forum-editor-area ul, .forum-editor-area ol { margin: .25rem 0 .5rem; padding-left: 1.5rem; }
.forum-editor-area blockquote { border-left: 3px solid #dc3545; margin: .5rem 0; padding: .25rem .75rem; background: rgba(255,255,255,.05); color: #cfcfcf; }
