/**
* Theme Name: BuddyX Child
* Description: This is a child theme of BuddyX, generated by Merlin WP.
* Author: <a href="https://github.com/vapvarun/buddyx">wbcomdesigns,vapvarun</a>
* Template: buddyx
* Version: 4.5.8
*/

/* ==========================================================================
   CHARTE GRAPHIQUE HUMAN-FIRST (4 UNIVERS / LUMINANCE 20%)
   ========================================================================== */

:root {
    /* Bleu sombre (Master & Introspection) */
    --bleu: #202E3B;
    --texte-bleu: #EADBA8;
    --titre-bleu: #F5E9C4;
    --accent-bleu: #FFF2C2;

    /* Jaune sombre (Philosophie & Synthèse) */
    --jaune: #2D2D1A;
    --texte-jaune: #ECE3A3;
    --titre-jaune: #F6EFBF;
    --accent-jaune: #FFF8C7;

    /* Mauve sombre (Psychanalyse & Inconscient) */
    --mauve: #2C2438;
    --texte-mauve: #EEDBBD;
    --titre-mauve: #F8E7CE;
    --accent-mauve: #FFF4DC;

    /* Gris sombre (Forum & Échanges neutres) */
    --gris: #2B2B30;
    --texte-gris: #E8DCAE;
    --titre-gris: #F4E7C3;
    --accent-gris: #FFF3C4;

	--hover: #FF4D4D;
}

/* Base et réinitialisations globales */
@view-transition {
	navigation: auto;
}

html, body {
    min-height: 100vh;
    background: linear-gradient(180deg, #2B2B30DD 0.1%, #202E3BEE 100%) no-repeat fixed !important;
}

body {
	color: var(--texte-bleu);
	text-rendering: geometricprecision;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

a {
	color: var(--accent-bleu);
    text-decoration: underline !important;
}

a:hover {
	color: var(--hover);
	text-decoration: none !important;
}

a, u, ins,
span[style*="text-decoration"] {
	text-decoration-thickness: 1px !important;
	text-decoration-style: dotted !important;
	text-underline-offset: 0.1em;
}

a:hover, a:hover *, .wp-block-post-title a:hover {
	color: var(--hover) !important;
}

:target {
	scroll-margin-block-start: var(--wp--preset--spacing--50);
}

#comments {
	scroll-margin-block-start: var(--wp--preset--spacing--70);
}

/* Section commentaire */
.wp-block-comments.single-post-comments {
    background-color: var(--mauve);
    padding: 0 2rem 2rem 2rem !important;
    border-radius: 0.5rem;
    border-top: 0.05rem dotted var(--accent-jaune);
    border-right: 0.05rem dotted var(--accent-jaune);
    border-bottom: 0.05rem dotted var(--accent-jaune);
    border-left: 0.1rem solid var(--accent-jaune);
}

.wp-block-comments-title {
    color: var(--titre-mauve);
    margin: 5rem 0 0 0 !important;
    padding: 1rem 0 0 0 !important;
}

.wp-block-comment-template {
    padding: 1rem;
    border-radius: 0.5rem;   
}

.wp-block-avatar {
    width: fit-content;
    height: fit-content;
    padding: 0.15rem;
    border: solid 0.05rem var(--hover);
    border-radius: 0.5rem;
    display: inline-flex;
}

.wp-block-avatar img {
    border-radius: 0.25rem;
    display: block;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    padding: 1rem;
    border-left: 0.05rem dotted var(--hover);
    border-radius: 0.5rem;
}

.comment-reply-link {
    background-color: var(--hover) !important;
}

.comment-reply-link:hover {
    background-color: #ff4d4dcc !important;
    color: #000000 !important;
    border-radius: 0.5rem;
}

.wp-block-comment-content {
    background-color: var(--mauve);
    padding: 1rem 0.5rem;
    color: var(--texte-mauve);
}

#respond {
    background-color: var(--mauve);
    color: var(--texte-mauve);
    padding: 1rem;
    border-radius: 0.5rem;
    border-top: 0.05rem dotted var(--accent-mauve);
    border-right: 0.05rem dotted var(--accent-mauve);
    border-bottom: 0.05rem dotted var(--accent-mauve);
    border-left: 0.1rem solid var(--accent-mauve);
    box-shadow: 0 0 1rem var(--accent-mauve);
}

.comments-title, .comment-reply-title {
    margin-bottom: 1em;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--titre-mauve);
}

.comment-form a {
    color: var(--titre-mauve);    
}

.comment-form textarea {
    background-color: #F8F0FF;
    color: var(--mauve) !important;
}

.more-link {
	display: block;
}

:where(pre) {
	overflow-x: auto;
}

.dot-before::before {
	content: "·";
	font-weight: 600;
	padding-inline: 0.5em;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
}

.wp-site-blocks > main {
	flex-grow: 1;
}

.site-main {
	grid-gap: 0 !important;
	margin: 1rem auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	width: 100%;
}

@media (min-width: 768px) {
    #primary, .site-wrapper {
        min-height: auto !important;
    }
}

#primary {
	padding: 0 !important;
}

.wp-block-group {
	margin: 0 auto !important;
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}

.wp-block-columns-is-layout-flex {
    margin-bottom: 0 !important;
}

.post {
    box-shadow: none !important;
    padding: 0 !important;
}

/* Composants globaux - Boutons et Tableaux */
.wp-block-button__link.wp-element-button {
	background-color: #E63939BB !important;
}

.wp-block-button__link.wp-element-button:hover {
	color: #ffffff !important;
	font-weight: 600;
	background-color: #E63939 !important;
	border-radius: 0;
	border: dotted 0.05rem #ffffff;
}

.wp-block-table table,
.wp-block-table th,
.wp-block-table td {
    border-color: var(--texte-bleu);
}

.wp-block-table thead {
    background-color: var(--bleu);
    border-bottom-width: 1px !important;
    border-bottom-color: var(--texte-bleu);
}

.wp-block-table thead th {
    text-align: left;
    font-family: var(--wp--preset--font-family--atkinson);
    font-size: var(--wp--preset--font-size--small);
    font-style: normal;
    font-weight: 700;
    color: var(--titre-bleu);
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #ffffff08;
}

.wp-block-table.is-style-stripes {
    border-bottom-color: var(--texte-bleu);
}

/* Template Header - En-tête du site */
header.wp-block-template-part {
	margin-block-start: 0 !important;
}

header.wp-block-template-part:has(> .is-position-sticky) {
	position: sticky;
	inset-block-start: 0;
	z-index: 10;
}

.admin-bar header.wp-block-template-part:has(> .is-position-sticky) {
	inset-block-start: var(--wp-admin--admin-bar--height, 32px);
}

#masthead.site-header.site-header-container,
.wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex
/*.wp-block-columns.has-background.site-header-columns.is-layout-flex.wp-container-core-columns-is-layout-79fb870f.wp-block-columns-is-layout-flex*/ {
    width: 100% !important;
    max-width: var(--wp--style--global--wide-size, 1280px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: var(--gris) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: 0.05rem dotted var(--hover) !important;
    border-bottom-left-radius: 1rem !important;
    border-bottom-right-radius: 1rem !important;
    border-left: none !important;
    box-sizing: border-box !important;
}

.site-header-columns {
    width: 100%;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-bottom-color: #e6393999;
    border-bottom-style: dotted;
    border-bottom-width: 0.05rem;
    background-color: #282125ab;
    padding: 1rem 0.5rem;
}

.site-header-brand-column {
    max-width: fit-content;
    max-height: fit-content;
    border-color: #e538388c;
    border-style: dotted;
    border-width: 0.05rem;
    border-top-left-radius: 0rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: #10171e66;
    padding-top: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--30);
    padding-left: var(--wp--preset--spacing--30);
}

.site-header-title {
    text-shadow: 1px 1px 0px #ff4d4daa;
}

.site-header-tagline {
    padding-left: var(--wp--preset--spacing--40);
}

.wp-block-site-title {
    color: var(--titre-bleu);
}

.wp-block-site-title a {
    color: var(--titre-bleu);
}

.wp-block-site-title a:hover {
    color: var(--hover);
}

.wp-block-site-tagline {
    color: var(--texte-bleu);
}

.wp-block-site-tagline a {
    color: var(--texte-bleu);
}

.wp-block-site-tagline a:hover {
    color: var(--hover);
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-open svg {
    color: #ff4d4d !important;
    fill: #ff4d4d !important;
    stroke: #ff4d4d !important;
}

.wp-block-navigation__responsive-container-open:hover,
.wp-block-navigation__responsive-container-open:focus {
    opacity: 0.8;
}

#divmaster:hover {
    box-shadow: 0 0 24px #ffffff;
}

/* Template Front-Page / Blog Grid - Grille d'accueil */
.blog-grid-container {
    width: 100%;
    max-width: var(--wp--style--global--wide-size, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: #2b2b3066;
    color: var(--texte-gris);
    border: 0.05rem dotted var(--accent-bleu);
    border-left: 0.05rem solid var(--accent-bleu);
    border-radius: 0.5rem;
    padding: 1rem;
    box-sizing: border-box;
}

.blog-card > h2 > a {
    color: var(--titre-gris);
}

.blog-card > .taxonomy-post_tag > a,
.blog-card > .wp-block-post-terms > a {
    color: #F4E7C3;
}

@media (max-width: 767px) {
    .blog-grid-container {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }
    .blog-card {
        padding: 0.5rem !important;
        margin: 0 -0.75rem 0 -0.75rem !important;
    }
}

ul.wp-block-post-template {
    margin: 0 !important;
    min-width: 100% !important;
    width: 100% !important;
}

.hover-together .wp-block-post > .wp-block-group,
.hover-together .wp-block-post > .wp-block-group a {
	transition: color 0.15s ease-out;
}

.hover-together .wp-block-post > .wp-block-group:has(> :hover),
.hover-together .wp-block-post > .wp-block-group:has(> :hover) a {
	color: var(--hover);
}

@media (prefers-reduced-motion: no-preference) {
	@keyframes tilt-settle {
		35% {
			transform: rotate(-1deg);
		}

		100% {
			transform: rotate(0deg);
		}
	}

	.hover-together .wp-block-post > .wp-block-group:has(> :hover) .wp-block-post-featured-image img {
		animation: tilt-settle 0.5s ease-out;
	}
}

/* Template Home - Liste des articles */
.home-outer-wrapper {
	padding-right: 0.25rem;
	padding-left: 0.25rem;
}

.home-inner-wrapper {
	padding-right: 0px;
	padding-left: 0px;
}

.home-column-featured-image {
	flex-basis: 66.66%;
}

.home-column-content {
	flex-basis: 33.33%;
}

.wp-block-post-title a:hover,
.wp-block-query-title a:hover {
	color: var(--hover);
}

/* Template Single Post - Article seul */
.single-post-container {
    width: 100%;
    max-width: 992px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    box-sizing: border-box;
}

.single-post-card {
    display: flex;
    flex-direction: column;
    background-color: #2b2b3066;
    border: 0.05rem dotted var(--accent-bleu);
    border-left: 0.05rem solid var(--accent-bleu);
    border-radius: 0.5rem;
    padding: 1.5rem 0.5rem;
    box-sizing: border-box;
}

.single-post-card .single-post-title,
.single-post-card .single-post-meta,
.single-post-card .single-post-image,
.single-post-card .single-post-comments {
    max-width: 690px;
    margin-left: auto;
    margin-right: auto;
}

.single-post-title {
	margin-bottom: 1rem;
    color: var(--titre-gris);
    text-shadow: 0.05em 0.05em 0.1em var(--hover);
}

.single-post-meta {
	display: flex;
    gap: 1rem;
	align-items: center;
    margin-bottom: 1rem;
    font-family: monospace;
    color: #E8DCAECC;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

.single-post-image {
	margin-bottom: 1.5rem;
}

.single-post-content {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: #202e3b99;
    border-radius: 0.375rem;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    border: 0.05rem solid var(--texte-bleu);
    color: var(--texte-bleu);
    letter-spacing: 0.025em;
    line-height: 1.8;
}

.single-post-comments {
	margin-top: 3rem;
}

@media (prefers-reduced-motion: no-preference) {
	.single::before {
		content: "";
		position: fixed;
		inset-block-start: 0;
		inset-inline-start: 0;
		block-size: 3px;
		inline-size: 100%;
		background-color: var(--wp--preset--color--primary);
		z-index: 99;
		pointer-events: none;
		animation: muspi-arrival 0.9s ease-out forwards;
	}

	.admin-bar.single::before {
		inset-block-start: var(--wp-admin--admin-bar--height, 32px);
	}

	@keyframes muspi-arrival {
		0% {
			inline-size: 0;
			opacity: 1;
		}

		60% {
			inline-size: 100%;
			opacity: 1;
		}

		100% {
			inline-size: 100%;
			opacity: 0;
		}
	}
}

/* Template Archive - Archives, catégories et étiquettes */
.archive-outer-wrapper {
	padding-right: 0.25rem;
	padding-left: 0.25rem;
}

.archive-inner-wrapper {
	padding-right: 0px;
	padding-left: 0px;
}

.archive-card {
    border-radius: 0.5rem;
    padding: var(--wp--preset--spacing--30);
    background-color: #2b2b3066;
    color: var(--texte-bleu);
}

.archive-avatar-column {
	flex-basis: 40px;
}

.archive-comment-meta-group {
	margin-top: 0px;
	margin-bottom: 0px;
}

input[type="submit"] {
    background-color: #ff4d4dfe !important;
}

input[type="submit"]:hover {
    background-color: #ff4d4daa !important;
	color: #000000 !important;
}

/* Template 404 - Page non trouvée */
.page-404-outer-wrapper {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
}

.page-404-inner-wrapper {
    padding-right: 0px;
    padding-left: 0px;
}

.muspi-404-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.muspi-404-card {
    background-color: #2b2b3066;
    border: 1px solid var(--accent-bleu);
    border-radius: 16px;
    padding: 40px;
    max-width: 680px;
    width: 100%;
    box-shadow: 0 8px 24px #00000033;
    box-sizing: border-box;
}

.muspi-404-badge {
    display: inline-block;
    background-color: #ff4d4d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.muspi-404-title {
    color: var(--titre-bleu);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.muspi-404-text {
    color: var(--texte-bleu);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.muspi-404-hint {
    background-color: #202e3b99;
    border-left: 4px solid var(--accent-bleu);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
}

.muspi-404-hint p {
    color: var(--texte-bleu);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.muspi-404-signature {
    color: var(--titre-bleu);
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    margin-top: 24px;
}

/* Section Forum - bbPress (Structure de base) */
.bbpress main#primary,
.bbpress .page-header,
body.bbpress #primary {
    width: 100%;
    max-width: var(--wp--style--global--wide-size, 1280px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box;
}

.left-sidebar,
.primary-sidebar {
	position: relative;
}

.sticky-sidebar {
	position: sticky;
	top: 2rem;
}

/* Template Footer - Pied de page */
footer.wp-block-template-part {
    margin-block-start: 0 !important;
}

#colophon.site-footer {
    width: 100%;
    max-width: var(--wp--style--global--wide-size, 1280px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: var(--gris) !important;
    box-sizing: border-box;
    border: none;
}

.site-footer-container {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-top-color: #ff4d4d;
    border-top-style: dotted;
    border-top-width: 0.05rem;
    background-color: #282125ab;
    padding-bottom: 3rem;
}

.site-footer-buttons-wrapper {
    background-color: transparent;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.site-footer-button-link {
    width: 11.5em;
    background-color: #10171e66;
    color: var(--texte-bleu);
    border-color: #ff4d4d;
    border-style: dotted;
    border-width: 0.05rem;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    letter-spacing: 0.04rem;
    transition: background-color 0.2s ease;
}

.site-footer-button-link:hover {
    background-color: #ff4d4d !important;
    color: #ffffff !important;
}

.site-footer-credits {
    border-top: dotted  0.05rem var(--hover);
    border-bottom: dotted  0.05rem var(--hover);
    color: var(--texte-bleu);
    background-color: #202E3BEE;
    text-align: center;
}

.site-footer-highlight {
    background-color: transparent;
    color: #ff4d4d;
}

.wp-block-button__link.has-base-soft-color { 
    background-color: #10171e66;
    padding: 0.5rem !important;
    color: var(--texte-bleu) !important;
}

.wp-block-button__link.has-base-soft-color:hover { 
    background-color: #ff4d4d !important;
    color: #ffffff !important;
}

#partenaires {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--texte-bleu);
}

/* Composants utilitaires - Barre collante basse */
.sticky-bottom {
    position: sticky;
    inset-block-end: 0;
    z-index: 10;
    width: fit-content;
    margin-inline-start: auto;
}

.sticky-bottom .wp-block-search__button.wp-element-button:not(:hover):not(:focus):not(:active) {
    background-color: #10171e66;
    border: 1px dotted var(--texte-bleu);
    color: var(--texte-bleu);
}

/* Bouton TOP flottant centré */
#top {
    position: fixed;
    bottom: calc(3.5rem + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.8rem;
    border-radius: 0.5rem;
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    backdrop-filter: blur(4px);
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.3s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Affichage dynamique au scroll */
#top.is-visible {
    opacity: 0.5 !important;
	pointer-events: auto !important;
	background-color: #00ffff !important;
	color: #111111;
	border: solid 1px #111111;
}

#top:hover,
#top:focus {
    opacity: 1 !important;
    background-color: #00ffff !important;
    color: #000000 !important;
}

/* ==========================================================================
   TYPOGRAPHIE SPÉCIFIQUE BBPRESS (SANS REGLES DE COULEURS NI DE FONDS)
   ========================================================================== */

#bbpress-forums,
#bbpress-forums p,
#bbpress-forums li,
#bbpress-forums div,
#bbpress-forums span,
#bbpress-forums label,
#bbpress-forums input,
#bbpress-forums textarea,
#bbpress-forums select {
    font-family: 'Atkinson Hyperlegible', sans-serif !important;
}

.archive.post-type-archive-forum .page-title,
.single-forum .entry-title,
.single-topic .entry-title {
    font-family: serif !important;
}

#bbpress-forums h1,
#bbpress-forums h2,
#bbpress-forums h3,
#bbpress-forums h4,
#bbpress-forums h5,
#bbpress-forums h6,
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title,
#bbpress-forums .bbp-reply-title,
#bbpress-forums .bbp-forum-title a,
#bbpress-forums .bbp-topic-title a,
#bbpress-forums .bbp-reply-title a,
#bbpress-forums a.bbp-topic-permalink,
#bbpress-forums a.bbp-forum-title {
    font-family: serif !important;
}

#bbpress-forums {
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
}

#bbpress-forums li.bbp-header {
    font-size: 0.8125rem !important;
}

#bbpress-forums div.bbp-forum-title h3,
#bbpress-forums div.bbp-topic-title h3,
#bbpress-forums div.bbp-reply-title h3 {
    font-size: 1.125rem !important;
}

#bbpress-forums h1 {
    font-size: 1.5rem !important;
}

#bbpress-forums #bbp-user-wrapper h2.entry-title {
    font-size: 1.25rem !important;
}

#bbpress-forums div.bbp-author-name {
    font-size: 0.875rem !important;
}

#bbpress-forums div.bbp-author-role,
span.bbp-author-ip,
#bbpress-forums p.bbp-topic-meta {
    font-size: 0.6875rem !important;
}

#bbpress-forums .bbp-forums-list .bbp-forum,
div.bbp-breadcrumb,
div.bbp-topic-tags,
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current,
div.bbp-template-notice p,
div.bbp-template-notice li {
    font-size: 0.75rem !important;
}

span.bbp-admin-links a {
    font-size: 0.625rem !important;
}

#bbpress-forums fieldset.bbp-form label,
#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
    font-size: 0.875rem !important;
}

#bbpress-forums div.bbp-topic-content code,
#bbpress-forums div.bbp-reply-content code {
    font-size: 0.8125rem !important;
}

.site-sub-header > .container > h1.entry-title {
	font-size: 1.5rem;
}

.bbp-form > legend {
	padding-top: 3rem !important;
}

.bbp-reply-author,
.bbp-reply-content {
	border-top: dotted 0.05rem #666666;
	border-right: dotted 0.05rem #666666;
	border-bottom: dotted 0.05rem #666666;
	border-left: solid 0.1rem #666666;
}

.bbp-reply-content {
	padding: 1rem !important;
}

/* ==========================================================================
   ZONE ADDITIVE INVIOLABLE : AIGUILLAGE EXCLUSIF FORUM (PAGE .BBPRESS)
   ========================================================================== */

/* 1. Arrière-plan pleine page de la zone Forum */
body.bbpress,
body.forum-archive,
body.single-bbp_forum,
body.single-bbp_topic {
    background: #ffffff !important;
}

/* 2. Header et Footer blancs (avec le sélecteur Gutenberg exact) */
body.bbpress #masthead.site-header.site-header-container,
body.bbpress .wp-block-columns.has-background.site-header-columns.is-layout-flex.wp-container-core-columns-is-layout-79fb870f.wp-block-columns-is-layout-flex,
body.bbpress .site-header-container,
body.bbpress .site-header-columns,
body.bbpress #colophon.site-footer,
body.bbpress .site-footer-container {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
