/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


@media (max-width: 800px) {
  * {
    overflow-wrap: break-word !important;
	hyphens: auto;
  }
}

.skip-link, .link--skip{
	background-color: var(--primary-ultra-dark)!important;
}

.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal{display: none;}


article.forum,
article.status-publish{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-block: var(--section-padding-block);
    padding-inline: var(--gutter);
}

article.forum > h1,
article.status-publish > h1 {
  margin-bottom: var(--space-s);
  font-size: var(--h2);
  max-width: var(--h2-max-width);
  line-height: var(--heading-line-height);
  font-weight: var(--heading-font-weight);
  text-wrap: var(--heading-text-wrap);
}

#bbpress-forums{
  max-width: 100%;
  width: 100%;
}

#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics,
#bbpress-forums{
  font-size: var(--text-m);
  border: none;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta,
#bbpress-forums .bbp-forums-list .bbp-forum,
div.bbp-template-notice li, div.bbp-template-notice p{
  font-size: var(--text-s);
}

#bbpress-forums fieldset.bbp-form input[type=password], #bbpress-forums fieldset.bbp-form input[type=text], #bbpress-forums fieldset.bbp-form select{
  height: auto;
}

#bbpress-forums .bbp-forums-list{border-left: none ;}
/* ==========================================
   MODERN BBPRESS FORUM DESIGN 2025
   ========================================== */

/* Reset bbPress default styling */
#bbpress-forums {
  background: transparent !important;
}

#bbpress-forums ul {
  background: transparent !important;
}

/* Remove ALL gradient backgrounds except for list headers */
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums div.reply ul,
#bbpress-forums div.topic ul,
#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-topic-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Specifically target the UL inside reply/topic headers */
#bbpress-forums .type-reply ul,
#bbpress-forums .type-topic ul,
#bbpress-forums ul.bbp-reply-header,
#bbpress-forums ul.bbp-topic-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Only forum/topic LIST headers should have gradients */
#bbpress-forums li.bbp-body > ul.bbp-reply-header,
#bbpress-forums li.bbp-body > ul.bbp-topic-header {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Forum Lists & Topics - Modern Card Design */
/* Only apply gradient to LIST headers (in forum/topic lists) */
ul.bbp-forums > li.bbp-header,
ul.bbp-topics > li.bbp-header,
ul.bbp-replies > li.bbp-header {
  background: var(--primary) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  color: white !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  padding: 8px 20px !important;
  min-height: auto !important;
  line-height: 1.4 !important;
}

#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 16px 20px !important;
  list-style: none !important;
}

#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

/* Forum body items - match header column widths */
#bbpress-forums li.bbp-body ul.forum > .bbp-forum-info {
  flex: 1 !important;
}

#bbpress-forums li.bbp-body ul.forum > .bbp-forum-topic-count,
#bbpress-forums li.bbp-body ul.forum > .bbp-forum-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

#bbpress-forums li.bbp-body ul.forum > .bbp-forum-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

/* Topic body items - match header column widths */
#bbpress-forums li.bbp-body ul.topic > .bbp-topic-title {
  flex: 1 !important;
}

#bbpress-forums li.bbp-body ul.topic > .bbp-topic-voice-count,
#bbpress-forums li.bbp-body ul.topic > .bbp-topic-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

#bbpress-forums li.bbp-body ul.topic > .bbp-topic-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

/* Header Styling with Flexbox */
ul.bbp-forums > li.bbp-header,
ul.bbp-topics > li.bbp-header,
ul.bbp-replies > li.bbp-header {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

/* Inner UL in header also needs flex */
ul.bbp-forums > li.bbp-header > ul,
ul.bbp-topics > li.bbp-header > ul,
ul.bbp-replies > li.bbp-header > ul {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.bbp-forums > li.bbp-header li,
ul.bbp-topics > li.bbp-header li,
ul.bbp-replies > li.bbp-header div {
  color: white !important;
  opacity: 0.95;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

/* Define column widths for forum header */
ul.bbp-forums > li.bbp-header .bbp-forum-info {
  flex: 1 !important;
}

ul.bbp-forums > li.bbp-header .bbp-forum-topic-count,
ul.bbp-forums > li.bbp-header .bbp-forum-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

ul.bbp-forums > li.bbp-header .bbp-forum-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

/* Define column widths for topics header */
ul.bbp-topics > li.bbp-header .bbp-topic-title {
  flex: 1 !important;
}

ul.bbp-topics > li.bbp-header .bbp-topic-voice-count,
ul.bbp-topics > li.bbp-header .bbp-topic-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

ul.bbp-topics > li.bbp-header .bbp-topic-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

ul.bbp-replies > li.bbp-header {
  margin-bottom: 8px !important;
}

ul.bbp-replies > li.bbp-header div.bbp-reply-author {
  flex: 0 0 200px !important;
  max-width: 200px !important;
}

ul.bbp-replies > li.bbp-header div.bbp-reply-content {
  flex: 1 !important;
}

/* Footer styling with Flexbox */
ul.bbp-replies > li.bbp-footer {
  background: #f8f9fa !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  margin-top: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

ul.bbp-replies > li.bbp-footer div {
  color: #666 !important;
  font-weight: 500;
  margin: 0 !important;
  padding: 0 !important;
}

ul.bbp-replies > li.bbp-footer div.bbp-reply-author {
  flex: 0 0 200px !important;
  max-width: 200px !important;
}

ul.bbp-replies > li.bbp-footer div.bbp-reply-content {
  flex: 1 !important;
}

/* Single Topic/Reply Header - Remove Gradient */
/* Target the DIV.bbp-reply-header that sits inside the reply body */
div.bbp-reply-header,
div.bbp-topic-header,
#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-topic-header,
#bbpress-forums ul.bbp-reply-header,
#bbpress-forums ul.bbp-topic-header,
li.bbp-body div.bbp-reply-header,
li.bbp-body div.bbp-topic-header {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Remove default header styling from single posts */
#bbpress-forums .type-reply > .bbp-reply-header,
#bbpress-forums .type-topic > .bbp-topic-header {
  background: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* Forum & Topic Items */
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  padding: 20px;
}

/* Forum Title & Links */
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-title:hover {
  color: var(--primary);
}

/* Forum Info & Meta */
#bbpress-forums .bbp-forum-info,
#bbpress-forums .bbp-topic-meta {
  line-height: 1.6;
}

#bbpress-forums .bbp-forum-content {
  color: #666;
  margin-top: 8px;
}

/* Buttons - Modern Style */
#bbpress-forums button,
#bbpress-forums input[type="submit"],
#bbpress-forums input[type="button"],
#bbpress-forums .bbp-submit-wrapper button,
#bbpress-forums #bbp-search-form #bbp_search_submit {
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

#bbpress-forums button:hover,
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums input[type="button"]:hover,
#bbpress-forums .bbp-submit-wrapper button:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* TinyMCE Editor Buttons - Keep them styled appropriately */
#bbpress-forums .mce-btn,
#bbpress-forums .mce-btn button {
  background: #f5f5f5 !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
  padding: 4px 8px !important;
  font-size: 13px !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}

#bbpress-forums .mce-btn:hover,
#bbpress-forums .mce-btn button:hover {
  background: #e8e8e8 !important;
  transform: none !important;
}

/* Form Inputs - Modern Style */
#bbpress-forums input[type="text"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="email"],
#bbpress-forums select,
#bbpress-forums textarea {
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

#bbpress-forums input[type="text"]:focus,
#bbpress-forums input[type="password"]:focus,
#bbpress-forums input[type="email"]:focus,
#bbpress-forums select:focus,
#bbpress-forums textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 59, 130, 246), 0.1);
}

/* Reply & Post Forms */
#bbpress-forums fieldset.bbp-form {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

#bbpress-forums fieldset.bbp-form legend {
  font-size: 1.3em;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* Breadcrumb */
#bbpress-forums div.bbp-breadcrumb {
  background: white !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  margin-bottom: 12px !important;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

#bbpress-forums div.bbp-breadcrumb p {
  margin: 0 !important;
}

#bbpress-forums div.bbp-breadcrumb a {
  color: var(--primary) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

#bbpress-forums div.bbp-breadcrumb a:hover {
  color: var(--accent) !important;
}

#bbpress-forums div.bbp-breadcrumb .bbp-breadcrumb-sep {
  color: #999;
  margin: 0 8px;
}

#bbpress-forums div.bbp-breadcrumb .bbp-breadcrumb-current {
  color: #666;
  font-weight: 500;
}

/* Subscribe/Favorite Toggle Buttons - Simple inline style */
#bbpress-forums #subscription-toggle,
#bbpress-forums #favorite-toggle {
  display: inline-block;
  margin: 0 4px !important;
  font-size: 14px;
}

#bbpress-forums #subscription-toggle a,
#bbpress-forums #favorite-toggle a {
  color: var(--primary) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

#bbpress-forums #subscription-toggle a:hover,
#bbpress-forums #favorite-toggle a:hover {
  color: var(--accent) !important;
  text-decoration: underline !important;
}

#bbpress-forums div.bbp-search-form {
    float: right;
    margin-bottom: 2rem;
}

/* Pagination */
#bbpress-forums .bbp-pagination {
  margin-top: 32px;
}

#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 0 4px;
  display: inline-block;
  transition: all 0.3s ease;
  color: #333;
  text-decoration: none;
}

#bbpress-forums .bbp-pagination-links a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
}

#bbpress-forums .bbp-pagination-links span.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Search Form */
#bbpress-forums #bbp-search-form {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

#bbpress-forums #bbp-search-form input[type="text"] {
  width: 100%;
  max-width: 500px;
}

/* Topic Tags */
#bbpress-forums .bbp-topic-tags {
  margin-top: 12px;
}

#bbpress-forums .bbp-topic-tags a {
  background: #f0f0f0;
  color: #666;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-right: 6px;
  margin-top: 6px;
  transition: all 0.2s ease;
}

#bbpress-forums .bbp-topic-tags a:hover {
  background: var(--primary);
  color: white;
}

/* Notices & Alerts */
div.bbp-template-notice {
  background: white !important;
  border-left: 4px solid var(--primary) !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

div.bbp-template-notice p {
  margin: 0 !important;
}

div.bbp-template-notice.info {
  border-left-color: #3b82f6 !important;
  background: #eff6ff !important;
}

div.bbp-template-notice.warning {
  border-left-color: #f59e0b !important;
  background: #fffbeb !important;
}

div.bbp-template-notice.error {
  border-left-color: #ef4444 !important;
  background: #fef2f2 !important;
}

/* Single Reply/Topic Content Wrapper - NO card styling, just flex */
#bbpress-forums li.bbp-body > div.loop-item-0,
#bbpress-forums li.bbp-body > div[class*="post-"],
#bbpress-forums div.reply,
#bbpress-forums div.topic {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Wrapper for entire reply including header - li.bbp-body is the card */
#bbpress-forums ul.bbp-replies > li.bbp-body {
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* Reply Content Wrapper - Flexbox Layout */
#bbpress-forums li.bbp-body > div:not(.bbp-reply-header):not(.bbp-topic-header) {
  display: flex !important;
  flex-direction: row !important;
}

/* Reply Author */
#bbpress-forums div.bbp-reply-author {
  border-radius: 0 !important;
  padding: 20px !important;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 200px !important;
  max-width: 200px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

#bbpress-forums div.bbp-reply-author img.avatar {
  border-radius: 50% !important;
  border: 3px solid white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

#bbpress-forums div.bbp-reply-author a.bbp-author-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.05em;
  text-decoration: none;
}

#bbpress-forums div.bbp-reply-author a.bbp-author-name:hover {
  color: var(--primary);
}

#bbpress-forums div.bbp-reply-author .bbp-author-role {
  font-size: 0.85em;
  color: #666;
  font-style: italic;
  word-wrap: break-word;
  word-break: break-all;
}

/* Reply Content */
#bbpress-forums div.bbp-reply-content {
  border-radius: 0 !important;
  padding: 24px;
  line-height: 1.7;
  flex: 1 !important;
  min-width: 0 !important;
  margin-left: 0;
}

/* Reply Meta (Date, Links) - in Header */
#bbpress-forums div.bbp-meta,
#bbpress-forums div.bbp-reply-meta,
#bbpress-forums div.bbp-topic-meta {
  background: #f8f9fa !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9em;
  color: #666;
  margin: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
}

#bbpress-forums div.bbp-meta a,
#bbpress-forums div.bbp-reply-meta a,
#bbpress-forums div.bbp-topic-meta a {
  color: #666;
  text-decoration: none;
  margin-right: 0 !important;
  transition: color 0.2s ease;
  font-size: 0.9em;
}

#bbpress-forums div.bbp-meta a:hover,
#bbpress-forums div.bbp-reply-meta a:hover,
#bbpress-forums div.bbp-topic-meta a:hover {
  color: var(--primary);
}

/* Meta inside header gets no border-bottom */
div.bbp-reply-header div.bbp-meta,
div.bbp-topic-header div.bbp-meta {
  border-bottom: none !important;
}

#bbpress-forums div.bbp-meta span {
  margin: 0 !important;
}

/* Admin Links (BEARBEITEN, SPAM, etc.) */
#bbpress-forums span.bbp-admin-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

#bbpress-forums span.bbp-admin-links a {
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  margin: 0 !important;
}

#bbpress-forums span.bbp-admin-links a:hover {
  background: var(--primary);
  color: white !important;
  transform: translateY(-1px);
}

/* Forum Statistics */
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness {
  color: #666;
  font-size: 14px;
}

#bbpress-forums .bbp-forum-freshness a,
#bbpress-forums .bbp-topic-freshness a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

#bbpress-forums .bbp-forum-freshness a:hover,
#bbpress-forums .bbp-topic-freshness a:hover {
  color: var(--accent);
}

/* Sticky Topics */
#bbpress-forums .bbp-topic-sticky,
#bbpress-forums .super-sticky {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3d6 100%) !important;
  border-left: 4px solid var(--accent);
}

/* Closed Topics */
#bbpress-forums .status-closed {
  opacity: 0.6;
}

/* Topic Info Box Styling */
#bbpress-forums .bbp-template-notice {
  line-height: 1.6;
}

#bbpress-forums .bbp-topic-title-meta {
  font-size: 0.95em;
}

/* Reply/Topic Permalink */
#bbpress-forums .bbp-reply-permalink,
#bbpress-forums .bbp-topic-permalink {
  color: var(--primary);
  font-size: 0.85em;
}

#bbpress-forums  span.bbp-topic-started-by,
#bbpress-forums a.bbp-author-link {

    color: #999;
    text-decoration: none;
    font-size: 1.2rem;
}

#bbpress-forums span.bbp-author-name {
    font-size: 1.8rem;
}

#bbpress-forums ul.topic span.bbp-author-name{
  font-size: 1.2rem;
}

#bbpress-forums .bbp-reply-permalink:hover,
#bbpress-forums .bbp-topic-permalink:hover {
  color: var(--primary);
}

/* "Ansicht von X Beitrag" Text */
#bbpress-forums .bbp-pagination-count {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 12px;
  display: block;
}

/* Profile Tabs (Autor/Beiträge) */
#bbpress-forums #bbp-user-navigation {
  background: white !important;
  border-radius: 10px !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#bbpress-forums #bbp-user-navigation ul {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  list-style: none !important;
}

#bbpress-forums #bbp-user-navigation li {
  flex: 1;
  margin: 0 !important;
  background: transparent !important;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

#bbpress-forums #bbp-user-navigation li:last-child {
  border-right: none;
}

#bbpress-forums #bbp-user-navigation li a {
  display: block;
  padding: 16px 24px !important;
  text-align: center;
  color: #666 !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent !important;
}

#bbpress-forums #bbp-user-navigation li.current a,
#bbpress-forums #bbp-user-navigation li a:hover {
  background: var(--primary) !important;
  color: white !important;
}

#bbpress-forums #bbp-user-navigation li.current a {
  font-weight: 600;
}

/* WordPress Editor Styling */
#bbpress-forums .wp-editor-tabs button {
  background: #f5f5f5 !important;
  color: #666 !important;
  border: 1px solid #ddd !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

#bbpress-forums .wp-editor-tabs button:hover {
  background: #e8e8e8 !important;
  transform: none !important;
}

#bbpress-forums .wp-editor-tabs button.switch-tmce {
  border-radius: 6px 0 0 0 !important;
}

#bbpress-forums .wp-editor-tabs button.switch-html {
  border-radius: 0 6px 0 0 !important;
}

#bbpress-forums .wp-editor-tabs button[aria-pressed="true"] {
  background: white !important;
  border-bottom-color: white !important;
  color: #333 !important;
}

/* Quicktags Toolbar */
#bbpress-forums .quicktags-toolbar input {
  background: white !important;
  color: #666 !important;
  border: 1px solid #ddd !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  margin: 2px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-weight: 400 !important;
  transition: all 0.2s ease !important;
}

#bbpress-forums .quicktags-toolbar input:hover {
  background: #f5f5f5 !important;
  border-color: #ccc !important;
  transform: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #bbpress-forums li.bbp-header,
  #bbpress-forums li.bbp-body ul.forum,
  #bbpress-forums li.bbp-body ul.topic {
    padding: 16px !important;
    flex-direction: column !important;
  }

  /* Stack author and content vertically on mobile */
  #bbpress-forums div.reply > div:not(.bbp-reply-header):not(.bbp-meta),
  #bbpress-forums div.topic > div:not(.bbp-topic-header):not(.bbp-meta) {
    flex-direction: column !important;
  }

  #bbpress-forums div.bbp-reply-author {
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex: 1 !important;
    max-width: 100% !important;
    padding: 16px !important;
  }

  #bbpress-forums div.bbp-reply-content {
    padding: 16px !important;
  }

  ul.bbp-replies > li.bbp-header div.bbp-reply-author,
  ul.bbp-replies > li.bbp-footer div.bbp-reply-author {
    flex: 1 !important;
    max-width: 100% !important;
  }

  #bbpress-forums button,
  #bbpress-forums input[type="submit"] {
    width: 100%;
    padding: 14px;
  }

  #bbpress-forums .bbp-pagination-links a,
  #bbpress-forums .bbp-pagination-links span {
    padding: 6px 12px;
    font-size: 14px;
  }

  #bbpress-forums span.bbp-admin-links a {
    font-size: 0.8em;
    padding: 4px 8px;
  }
}

#bbpress-forums li.bbp-footer, #bbpress-forums li.bbp-header{padding: 0!important;}


.bbp-header > .bbp-reply-content{padding-left: 0!important;}

#bbpress-forums li.bbp-header ul {
    overflow: hidden;
    padding: 8px 16px !important;
}

#brx-content.wordpress.forum {
    width: auto;
}
