/* =========================================================
   ABBUC Forum – "Black and White" theme
   Black-and-white look of the "Kompakt" theme, but with the
   font sizes and spacing of the Standard theme (colours,
   borders and corners only – no size overrides).
   Activated by adding class "theme-bw" to <html>; forum.js
   sets/clears it and persists the choice in localStorage
   ("abbuc_forum_theme" = "bw").
   ========================================================= */

html.theme-bw {
    --primary-dark:   #111;
    --primary-medium: #555;
    --primary-pale:   #bbb;
    --primary-light:  #ddd;
    --primary-hint:   #f4f4f4;
}

html.theme-bw .forum-card,
html.theme-bw .thread-list,
html.theme-bw .post.card,
html.theme-bw .post-body pre,
html.theme-bw .post-body code,
html.theme-bw .post-body blockquote,
html.theme-bw .user-profile-fields,
html.theme-bw .btn-new-topic,
html.theme-bw .btn-sort-posts,
html.theme-bw .post-actions a,
html.theme-bw .post-actions .post-like-btn,
html.theme-bw .select-theme {
    border-radius: 0;
}

html.theme-bw .forum-card,
html.theme-bw .thread-list,
html.theme-bw .post.card {
    box-shadow: none;
}

html.theme-bw .user-avatar {
    border-color: #bbb;
}

html.theme-bw .post-body pre {
    background: #f0f0f0;
    border-color: #ccc;
}

html.theme-bw .post-body code {
    background: #eeeeee;
}

/* Blockquotes: greyscale backgrounds (indentation as in Standard) */
html.theme-bw .post-body blockquote {
    border-left-color: #666;
    background: #f0f0f0;
    color: #333;
}

html.theme-bw .post-body blockquote blockquote {
    background: #e5e5e5;
}

html.theme-bw .post-body blockquote blockquote blockquote {
    background: #dadada;
    color: #222;
}

html.theme-bw .post-body blockquote blockquote blockquote blockquote {
    background: #cfcfcf;
    color: #111;
}

html.theme-bw .post-body blockquote blockquote blockquote blockquote blockquote {
    background: #c4c4c4;
    color: #000;
}

html.theme-bw .post-signature {
    background: #f4f4f4;
    border-top-color: #ccc;
    color: #555;
}
