/**
 * Member forums (bbPress) — Home / Events tokens.
 * Scopes: shortcode wrapper (.mensa-forums) AND native routes (body.mensa-forums-view).
 */

body.mensa-forums-view,
.mensa-forums {
	--mensa-cream: #fbf7f0;
	--mensa-mustard: #ddbf5f;
	--mensa-mustard-dark: #c49a2a;
	--mensa-charcoal: #1a1a1a;
	--mensa-charcoal-soft: #2a2724;
	--mensa-muted: #5a554c;
	--mensa-white: #ffffff;
	--mensa-border: #e5dcc8;
	--mensa-radius-lg: 28px;
	--mensa-radius-md: 14px;
	--mensa-max: 1120px;
}

.mensa-forums {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--mensa-max);
	margin: 0 auto;
	padding: 32px 24px 64px;
	color: var(--mensa-charcoal);
	font-family: inherit;
}

.mensa-forums *,
.mensa-forums *::before,
.mensa-forums *::after,
body.mensa-forums-view #bbpress-forums *,
body.mensa-forums-view #bbpress-forums *::before,
body.mensa-forums-view #bbpress-forums *::after {
	box-sizing: border-box;
}

/* Native bbPress templates (no shortcode wrapper) */
body.mensa-forums-view #bbpress-forums {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--mensa-max);
	margin: 0 auto;
	padding: 32px 24px 64px;
}

/* Shortcode / theme-compat wrap already pads via .mensa-forums — avoid double spacing */
body.mensa-forums-view .mensa-forums #bbpress-forums {
	max-width: none;
	margin: 0;
	padding: 0;
}

/*
 * Hello Elementor singular shell (bbPress CPT) — no Elementor canvas.
 * Constrain main column to match hub /forums/ width.
 */
body.mensa-forums-view:not(.elementor-page) .site-main {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--mensa-max);
	margin: 0 auto;
	padding: 24px 24px 48px;
}

body.mensa-forums-view:not(.elementor-page) .page-header {
	margin: 0 0 8px;
	padding: 0;
}

body.mensa-forums-view:not(.elementor-page) .page-content {
	margin: 0;
	padding: 0;
}

/* Wrapper inherits shell padding — drop extra horizontal pad */
body.mensa-forums-view:not(.elementor-page) .mensa-forums {
	max-width: none;
	margin: 0;
	padding: 8px 0 24px;
}

body.mensa-forums-view .entry-title,
body.mensa-forums-view .bbp-forum-title,
body.mensa-forums-view h1.entry-title,
body.mensa-forums-view .page-title {
	color: var(--mensa-charcoal) !important;
}

body.mensa-forums-view #bbpress-forums,
.mensa-forums--bbpress #bbpress-forums {
	font-size: 15px;
	line-height: 1.5;
	clear: both;
	color: var(--mensa-charcoal);
	background: transparent;
}

body.mensa-forums-view #bbpress-forums a,
.mensa-forums--bbpress #bbpress-forums a {
	color: var(--mensa-charcoal) !important;
	text-decoration: none;
}

body.mensa-forums-view #bbpress-forums a:hover,
body.mensa-forums-view #bbpress-forums a:focus-visible,
.mensa-forums--bbpress #bbpress-forums a:hover,
.mensa-forums--bbpress #bbpress-forums a:focus-visible {
	color: var(--mensa-mustard-dark) !important;
}

/* Kill selection-like / theme highlight backgrounds */
body.mensa-forums-view #bbpress-forums li.bbp-header *,
body.mensa-forums-view #bbpress-forums li.bbp-footer *,
body.mensa-forums-view #bbpress-forums .bbp-forum-title,
body.mensa-forums-view #bbpress-forums .bbp-topic-title,
.mensa-forums--bbpress #bbpress-forums li.bbp-header *,
.mensa-forums--bbpress #bbpress-forums li.bbp-footer *,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-title,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-title {
	background: transparent !important;
	background-color: transparent !important;
}

/* Toolbar: breadcrumb left + search right (bbPress prints search first) */
body.mensa-forums-view #bbpress-forums.bbpress-wrapper,
.mensa-forums--bbpress #bbpress-forums.bbpress-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 16px;
	row-gap: 16px;
}

body.mensa-forums-view #bbpress-forums > *:not(.bbp-breadcrumb):not(div.bbp-search-form):not(#bbp-search-form),
.mensa-forums--bbpress #bbpress-forums > *:not(.bbp-breadcrumb):not(div.bbp-search-form):not(#bbp-search-form) {
	flex: 1 1 100%;
	width: 100%;
	order: 20;
}

/* Breadcrumb */
body.mensa-forums-view #bbpress-forums .bbp-breadcrumb,
.mensa-forums--bbpress #bbpress-forums .bbp-breadcrumb {
	order: 1;
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	color: var(--mensa-muted);
	min-width: 0;
}

body.mensa-forums-view #bbpress-forums .bbp-breadcrumb a,
.mensa-forums--bbpress #bbpress-forums .bbp-breadcrumb a {
	color: var(--mensa-charcoal) !important;
	font-weight: 500;
}

/* Search */
body.mensa-forums-view #bbpress-forums div.bbp-search-form,
body.mensa-forums-view #bbpress-forums #bbp-search-form,
.mensa-forums--bbpress #bbpress-forums div.bbp-search-form,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form {
	order: 2;
	flex: 0 1 auto;
	margin: 0;
	float: none;
	clear: none;
	margin-left: auto;
	width: 400px;
}

body.mensa-forums-view #bbpress-forums #bbp-search-form,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

/* bbPress wraps input + submit in an inner div (form-search.php) */
body.mensa-forums-view #bbpress-forums #bbp-search-form > div,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form > div {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
	width: 100%;
}

body.mensa-forums-view #bbpress-forums #bbp-search-form #bbp_search,
body.mensa-forums-view #bbpress-forums #bbp-search-form input[type="text"],
.mensa-forums--bbpress #bbpress-forums #bbp-search-form #bbp_search,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form input[type="text"] {
	flex: 1 1 auto;
	min-width: min(100%, 240px);
	width: auto;
	padding: 11px 14px;
	border: 1px solid var(--mensa-border);
	border-radius: 12px;
	background: var(--mensa-white);
	color: var(--mensa-charcoal);
	font-size: 0.95rem;
	box-shadow: none;
}

body.mensa-forums-view #bbpress-forums #bbp-search-form #bbp_search:focus,
body.mensa-forums-view #bbpress-forums #bbp-search-form input[type="text"]:focus,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form #bbp_search:focus,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form input[type="text"]:focus {
	border-color: var(--mensa-mustard-dark);
	box-shadow: 0 0 0 3px rgba(221, 191, 95, 0.35);
	outline: none;
}

/* Beat Hello Elementor pink submit buttons */
body.mensa-forums-view #bbpress-forums #bbp-search-form button,
body.mensa-forums-view #bbpress-forums #bbp-search-form input[type="submit"],
body.mensa-forums-view #bbpress-forums #bbp-search-form .button,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper button,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper .button,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper input[type="submit"],
.mensa-forums--bbpress #bbpress-forums #bbp-search-form button,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form input[type="submit"],
.mensa-forums--bbpress #bbpress-forums #bbp-search-form .button,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper button,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper .button,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper input[type="submit"] {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-style: solid;
	border-width: 2px;
	border-color: #5b4400;
	border-radius: 30px;
	background-color: #ddbf5f;
	color: #0d0b0a !important;
	font-family: "Roboto Condensed", Sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-shadow: none;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

body.mensa-forums-view #bbpress-forums #bbp-search-form button:hover,
body.mensa-forums-view #bbpress-forums #bbp-search-form button:focus,
body.mensa-forums-view #bbpress-forums #bbp-search-form input[type="submit"]:hover,
body.mensa-forums-view #bbpress-forums #bbp-search-form input[type="submit"]:focus,
body.mensa-forums-view #bbpress-forums #bbp-search-form .button:hover,
body.mensa-forums-view #bbpress-forums #bbp-search-form .button:focus,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper button:hover,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper button:focus,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper .button:hover,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper .button:focus,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper input[type="submit"]:hover,
body.mensa-forums-view #bbpress-forums .bbp-submit-wrapper input[type="submit"]:focus,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form button:hover,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form button:focus,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form input[type="submit"]:hover,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form input[type="submit"]:focus,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form .button:hover,
.mensa-forums--bbpress #bbpress-forums #bbp-search-form .button:focus,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper button:hover,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper button:focus,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper .button:hover,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper .button:focus,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper input[type="submit"]:hover,
.mensa-forums--bbpress #bbpress-forums .bbp-submit-wrapper input[type="submit"]:focus {
	background-color: #1f1a18;
	border-color: #5b4400;
	color: #ddbf5f !important;
	outline: none;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Lists */
body.mensa-forums-view #bbpress-forums ul.bbp-forums,
body.mensa-forums-view #bbpress-forums ul.bbp-topics,
body.mensa-forums-view #bbpress-forums ul.bbp-replies,
body.mensa-forums-view #bbpress-forums ul.bbp-search-results,
.mensa-forums--bbpress #bbpress-forums ul.bbp-forums,
.mensa-forums--bbpress #bbpress-forums ul.bbp-topics,
.mensa-forums--bbpress #bbpress-forums ul.bbp-replies,
.mensa-forums--bbpress #bbpress-forums ul.bbp-search-results {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--mensa-border);
	border-radius: 14px; 
	overflow: hidden;
	background: var(--mensa-cream);
	box-shadow: 0 16px 40px rgba(26, 26, 26, 0.06);
}

body.mensa-forums-view #bbpress-forums li.bbp-header,
body.mensa-forums-view #bbpress-forums li.bbp-footer,
body.mensa-forums-view #bbpress-forums li.bbp-body,
.mensa-forums--bbpress #bbpress-forums li.bbp-header,
.mensa-forums--bbpress #bbpress-forums li.bbp-footer,
.mensa-forums--bbpress #bbpress-forums li.bbp-body {
	display: block;
	clear: both;
	background: transparent;
	border: 0;
}

body.mensa-forums-view #bbpress-forums li.bbp-header,
body.mensa-forums-view #bbpress-forums li.bbp-footer,
.mensa-forums--bbpress #bbpress-forums li.bbp-header,
.mensa-forums--bbpress #bbpress-forums li.bbp-footer {
	background: var(--mensa-charcoal);
	color: var(--mensa-white) !important;
	padding: 0;
	font-weight: 600;
}

body.mensa-forums-view #bbpress-forums li.bbp-header ul,
body.mensa-forums-view #bbpress-forums li.bbp-footer ul,
.mensa-forums--bbpress #bbpress-forums li.bbp-header ul,
.mensa-forums--bbpress #bbpress-forums li.bbp-footer ul {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 14px 20px;
	border: 0;
	color: var(--mensa-white) !important;
	background: transparent;
}

body.mensa-forums-view #bbpress-forums li.bbp-header li,
body.mensa-forums-view #bbpress-forums li.bbp-footer li,
.mensa-forums--bbpress #bbpress-forums li.bbp-header li,
.mensa-forums--bbpress #bbpress-forums li.bbp-footer li {
	color: var(--mensa-white) !important;
	background: transparent !important;
}

body.mensa-forums-view #bbpress-forums li.bbp-header a,
body.mensa-forums-view #bbpress-forums li.bbp-footer a,
.mensa-forums--bbpress #bbpress-forums li.bbp-header a,
.mensa-forums--bbpress #bbpress-forums li.bbp-footer a {
	color: var(--mensa-mustard) !important;
}

/* Hide empty footer band when no content */
body.mensa-forums-view #bbpress-forums li.bbp-footer:empty,
.mensa-forums--bbpress #bbpress-forums li.bbp-footer:empty {
	display: none;
}

body.mensa-forums-view #bbpress-forums li.bbp-body,
.mensa-forums--bbpress #bbpress-forums li.bbp-body {
	background: var(--mensa-white);
}

body.mensa-forums-view #bbpress-forums li.bbp-body ul.forum,
body.mensa-forums-view #bbpress-forums li.bbp-body ul.topic,
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.forum,
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.topic {
	display: flex;
	align-items: center;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 16px 20px;
	border: 0;
	border-bottom: 1px solid var(--mensa-border);
	background: var(--mensa-white);
	color: var(--mensa-charcoal);
}

body.mensa-forums-view #bbpress-forums li.bbp-body ul.forum:nth-child(even),
body.mensa-forums-view #bbpress-forums li.bbp-body ul.topic:nth-child(even),
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.forum:nth-child(even),
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.topic:nth-child(even) {
	background: var(--mensa-cream);
}

body.mensa-forums-view #bbpress-forums li.bbp-body ul.forum:last-child,
body.mensa-forums-view #bbpress-forums li.bbp-body ul.topic:last-child,
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.forum:last-child,
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.topic:last-child {
	border-bottom: 0;
}

body.mensa-forums-view #bbpress-forums li.bbp-body ul.forum:hover,
body.mensa-forums-view #bbpress-forums li.bbp-body ul.topic:hover,
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.forum:hover,
.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.topic:hover {
	background: #f5efe3;
}

body.mensa-forums-view #bbpress-forums .bbp-forum-info,
body.mensa-forums-view #bbpress-forums .bbp-topic-title,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-info,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-title {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--mensa-charcoal) !important;
}

body.mensa-forums-view #bbpress-forums .bbp-forum-title a,
body.mensa-forums-view #bbpress-forums .bbp-topic-permalink,
body.mensa-forums-view #bbpress-forums .bbp-topic-title a,
body.mensa-forums-view #bbpress-forums .bbp-topic-title .bbp-topic-permalink,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-title a,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-permalink,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-title a,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-title .bbp-topic-permalink {
	color: var(--mensa-charcoal) !important;
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	background: transparent !important;
}

body.mensa-forums-view #bbpress-forums .bbp-forum-title a:hover,
body.mensa-forums-view #bbpress-forums .bbp-topic-title a:hover,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-title a:hover,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-title a:hover {
	color: var(--mensa-mustard-dark) !important;
}

/* Empty forum description pill */
body.mensa-forums-view #bbpress-forums .bbp-forum-content:empty,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-content:empty {
	display: none !important;
}

body.mensa-forums-view #bbpress-forums li.bbp-body .bbp-forum-content:empty,
.mensa-forums--bbpress #bbpress-forums li.bbp-body .bbp-forum-content:empty {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.mensa-forums-view #bbpress-forums .bbp-forum-content,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-content {
	margin: 6px 0 0;
	color: var(--mensa-muted);
	font-size: 0.9rem;
}

body.mensa-forums-view #bbpress-forums .bbp-forum-topic-count,
body.mensa-forums-view #bbpress-forums .bbp-forum-reply-count,
body.mensa-forums-view #bbpress-forums .bbp-topic-voice-count,
body.mensa-forums-view #bbpress-forums .bbp-topic-reply-count,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-topic-count,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-reply-count,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-voice-count,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-reply-count {
	flex: 0 0 auto;
	min-width: 72px;
	text-align: center;
	color: var(--mensa-muted) !important;
	font-weight: 600;
}

body.mensa-forums-view #bbpress-forums .bbp-forum-freshness,
body.mensa-forums-view #bbpress-forums .bbp-topic-freshness,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-freshness,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-freshness {
	flex: 0 0 auto;
	min-width: 120px;
	text-align: right;
	color: var(--mensa-muted) !important;
	font-size: 0.85rem;
}

body.mensa-forums-view #bbpress-forums .bbp-forum-freshness a,
body.mensa-forums-view #bbpress-forums .bbp-topic-freshness a,
body.mensa-forums-view #bbpress-forums .bbp-author-name,
.mensa-forums--bbpress #bbpress-forums .bbp-forum-freshness a,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-freshness a,
.mensa-forums--bbpress #bbpress-forums .bbp-author-name {
	color: var(--mensa-charcoal) !important;
	font-weight: 500;
}

body.mensa-forums-view #bbpress-forums p.bbp-topic-meta,
body.mensa-forums-view #bbpress-forums .bbp-topic-meta,
.mensa-forums--bbpress #bbpress-forums p.bbp-topic-meta,
.mensa-forums--bbpress #bbpress-forums .bbp-topic-meta {
	margin: 4px 0 0;
	color: var(--mensa-muted) !important;
	font-size: 0.85rem;
}

/* Single topic / reply content cards */
body.mensa-forums-view #bbpress-forums div.bbp-forum-content:not(:empty),
body.mensa-forums-view #bbpress-forums div.bbp-reply-content,
body.mensa-forums-view #bbpress-forums div.bbp-topic-content,
.mensa-forums--bbpress #bbpress-forums div.bbp-forum-content:not(:empty),
.mensa-forums--bbpress #bbpress-forums div.bbp-reply-content,
.mensa-forums--bbpress #bbpress-forums div.bbp-topic-content {
	margin: 12px 0;
	padding: 16px 18px;
	background: var(--mensa-cream);
	border: 1px solid var(--mensa-border);
	border-radius: var(--mensa-radius-md);
	color: var(--mensa-charcoal);
}

body.mensa-forums-view #bbpress-forums fieldset.bbp-form,
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form {
	border: 1px solid var(--mensa-border);
	border-radius: var(--mensa-radius-lg);
	padding: 24px;
	background: var(--mensa-cream);
	margin: 28px 0 0;
	box-shadow: 0 12px 32px rgba(26, 26, 26, 0.05);
}

body.mensa-forums-view #bbpress-forums fieldset.bbp-form legend,
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form legend {
	padding: 0 10px;
	color: var(--mensa-charcoal);
	font-weight: 700;
	font-size: 1.1rem;
}

body.mensa-forums-view #bbpress-forums fieldset.bbp-form input[type="text"],
body.mensa-forums-view #bbpress-forums fieldset.bbp-form input[type="password"],
body.mensa-forums-view #bbpress-forums fieldset.bbp-form input[type="email"],
body.mensa-forums-view #bbpress-forums fieldset.bbp-form textarea,
body.mensa-forums-view #bbpress-forums fieldset.bbp-form select,
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form input[type="text"],
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form input[type="password"],
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form input[type="email"],
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form textarea,
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form select {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--mensa-border);
	border-radius: 12px;
	background: var(--mensa-white);
	color: var(--mensa-charcoal);
	box-shadow: none;
}

body.mensa-forums-view #bbpress-forums fieldset.bbp-form input:focus,
body.mensa-forums-view #bbpress-forums fieldset.bbp-form textarea:focus,
body.mensa-forums-view #bbpress-forums fieldset.bbp-form select:focus,
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form input:focus,
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form textarea:focus,
.mensa-forums--bbpress #bbpress-forums fieldset.bbp-form select:focus {
	border-color: var(--mensa-mustard-dark);
	box-shadow: 0 0 0 3px rgba(221, 191, 95, 0.35);
	outline: none;
}

body.mensa-forums-view #bbpress-forums div.bbp-template-notice,
body.mensa-forums-view #bbpress-forums div.bbp-template-notice.info,
.mensa-forums--bbpress #bbpress-forums div.bbp-template-notice,
.mensa-forums--bbpress #bbpress-forums div.bbp-template-notice.info {
	border-radius: 12px;
	border: 1px solid var(--mensa-border);
	background: #fff8e8;
	color: var(--mensa-charcoal);
	padding: 12px 16px;
}

body.mensa-forums-view #bbpress-forums div.bbp-template-notice a,
.mensa-forums--bbpress #bbpress-forums div.bbp-template-notice a {
	color: var(--mensa-charcoal) !important;
	font-weight: 600;
	text-decoration: underline;
}

body.mensa-forums-view #bbpress-forums div.bbp-template-notice.error,
body.mensa-forums-view #bbpress-forums div.bbp-template-notice.warning,
.mensa-forums--bbpress #bbpress-forums div.bbp-template-notice.error,
.mensa-forums--bbpress #bbpress-forums div.bbp-template-notice.warning {
	background: #fff1f1;
	border-color: #f0d4d4;
	color: #8a1f1f;
}

@media (max-width: 720px) {
	.mensa-forums,
	body.mensa-forums-view #bbpress-forums {
		padding: 24px 16px 48px;
	}

	body.mensa-forums-view .mensa-forums #bbpress-forums {
		padding: 0;
	}

	body.mensa-forums-view #bbpress-forums .bbp-breadcrumb,
	.mensa-forums--bbpress #bbpress-forums .bbp-breadcrumb,
	body.mensa-forums-view #bbpress-forums div.bbp-search-form,
	body.mensa-forums-view #bbpress-forums #bbp-search-form,
	.mensa-forums--bbpress #bbpress-forums div.bbp-search-form,
	.mensa-forums--bbpress #bbpress-forums #bbp-search-form {
		flex: 1 1 100%;
		margin-left: 0;
		width: 100%;
	}

	body.mensa-forums-view #bbpress-forums #bbp-search-form,
	.mensa-forums--bbpress #bbpress-forums #bbp-search-form {
		justify-content: stretch;
	}

	body.mensa-forums-view #bbpress-forums #bbp-search-form > div,
	.mensa-forums--bbpress #bbpress-forums #bbp-search-form > div {
		flex-wrap: nowrap;
	}

	body.mensa-forums-view #bbpress-forums #bbp-search-form #bbp_search,
	body.mensa-forums-view #bbpress-forums #bbp-search-form input[type="text"],
	.mensa-forums--bbpress #bbpress-forums #bbp-search-form #bbp_search,
	.mensa-forums--bbpress #bbpress-forums #bbp-search-form input[type="text"] {
		flex: 1 1 auto;
		min-width: 0;
	}

	body.mensa-forums-view #bbpress-forums li.bbp-header ul,
	body.mensa-forums-view #bbpress-forums li.bbp-footer ul,
	body.mensa-forums-view #bbpress-forums li.bbp-body ul.forum,
	body.mensa-forums-view #bbpress-forums li.bbp-body ul.topic,
	.mensa-forums--bbpress #bbpress-forums li.bbp-header ul,
	.mensa-forums--bbpress #bbpress-forums li.bbp-footer ul,
	.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.forum,
	.mensa-forums--bbpress #bbpress-forums li.bbp-body ul.topic {
		flex-wrap: wrap;
	}

	body.mensa-forums-view #bbpress-forums .bbp-forum-info,
	body.mensa-forums-view #bbpress-forums .bbp-topic-title,
	.mensa-forums--bbpress #bbpress-forums .bbp-forum-info,
	.mensa-forums--bbpress #bbpress-forums .bbp-topic-title {
		flex: 1 1 100%;
	}

	body.mensa-forums-view #bbpress-forums .bbp-forum-freshness,
	body.mensa-forums-view #bbpress-forums .bbp-topic-freshness,
	.mensa-forums--bbpress #bbpress-forums .bbp-forum-freshness,
	.mensa-forums--bbpress #bbpress-forums .bbp-topic-freshness {
		flex: 1 1 100%;
		text-align: left;
		min-width: 0;
	}
}

body.mensa-forums-view .mensa-forum-file img,
.mensa-forums .mensa-forum-file img {
	max-width: 100%;
	height: auto;
}
