/* Page Biographie construite en blocs WPBakery simples, modifiables dans l'éditeur.
   Le contenu vient de la page WordPress ; ce fichier ne fait que la mise en forme. */
body.mb-bio-page {
	--mb-accent: #c48f56;
	--mb-texte: #141414;
	--mb-gris: #6b6b6b;
	--mb-fond-doux: #f6f5f3;
	--mb-filet: rgba(20, 20, 20, .06);
	counter-reset: mb-bio;
}
.mb-bio-page .wpb-content-wrapper { max-width: none; color: var(--mb-texte); font-size: 16px; line-height: 1.7; }
.mb-bio-page .wpb-content-wrapper a { color: inherit; text-decoration: underline; text-decoration-color: rgba(196, 143, 86, .55); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.mb-bio-page .wpb-content-wrapper a:hover { color: var(--mb-accent); text-decoration-color: var(--mb-accent); }
.mb-bio-page .wpb_text_column,
.mb-bio-page .wpb_single_image { margin-bottom: 0 !important; }
.mb-bio-page .wpb_text_column :last-child { margin-bottom: 0; }

/* Bouton : le dernier lien de l'ouverture et les liens du bloc contact */
.mb-bio-intro p:last-child a,
.mb-bio-contact p:last-child a {
	display: inline-block; padding: 13px 26px; border: 1px solid var(--mb-accent); text-decoration: none !important;
	font-size: 14px; color: var(--mb-texte) !important; transition: background-color .25s, color .25s; margin: 0 6px 8px 0;
}
.mb-bio-intro p:last-child a:hover,
.mb-bio-contact p:last-child a:hover { background: var(--mb-accent); color: #fff !important; }

/* Ouverture : portrait et présentation */
.vc_row.mb-bio-ouverture { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 80px; align-items: center; padding-block: 48px 96px; margin: 0; }
.vc_row.mb-bio-ouverture::before,
.vc_row.mb-bio-ouverture::after { display: none; }
.mb-bio-ouverture > .wpb_column { width: auto; float: none; padding: 0; }
.mb-bio-ouverture > .wpb_column > .vc_column-inner { padding: 0; }
.mb-bio-portrait img { display: block; width: 100%; height: auto; }
.mb-bio-credit p { font-size: 12px; color: var(--mb-gris); margin: 10px 0 0; }
.mb-bio-intro p:first-child { font-size: 13px; color: var(--mb-accent); margin: 0 0 18px; }
.mb-bio-page .mb-bio-intro h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin: 0 0 24px; text-wrap: balance; letter-spacing: -.02em; text-transform: none; }
.mb-bio-intro h1 + p { font-size: 19px; line-height: 1.55; margin: 0 0 28px; max-width: 32em; }
.mb-bio-intro ul { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--mb-gris); margin: 0 0 36px; padding: 0; list-style: none; }
.mb-bio-intro ul li { margin: 0; }
.mb-bio-intro ul li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--mb-accent); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
@media (max-width: 900px) {
	.vc_row.mb-bio-ouverture { grid-template-columns: 1fr; gap: 32px; padding-block: 16px 64px; }
	.mb-bio-ouverture > .wpb_column:first-child { max-width: 280px; }
}

/* Publié dans : une liste, transformée en bandeau qui défile par bio-blocs.js */
.mb-bio-publie .wpb_text_column > .wpb_wrapper { background: var(--mb-fond-doux); padding: 26px 32px; display: flex; align-items: center; gap: 28px; overflow: hidden; }
.mb-bio-page .mb-bio-publie h4 { margin: 0; flex: none; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--mb-gris); }
.mb-bio-publie ul { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 18px; }
.mb-bio-publie li { padding: 0 22px; position: relative; margin: 0; white-space: nowrap; }
.mb-bio-publie li::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -1px; border-radius: 50%; background: var(--mb-accent); }
.mb-bio-publie .wpb_text_column > .wpb_wrapper > p { flex: none; margin: 0; font-size: 13px; }
.mb-bio-publie .wpb_text_column > .wpb_wrapper > p a { color: var(--mb-accent) !important; text-decoration: none !important; }
.mb-bio__defile {
	flex: 1; min-width: 0; display: flex; overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.mb-bio__defile ul { flex: none; flex-wrap: nowrap; font-size: 22px; letter-spacing: -.01em; animation: mb-defile 70s linear infinite; }
@keyframes mb-defile { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 760px) {
	.mb-bio-publie .wpb_text_column > .wpb_wrapper { flex-wrap: wrap; gap: 14px; padding: 22px 20px; }
	.mb-bio__defile { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.mb-bio__defile ul { animation: none; flex-wrap: wrap; }
	.mb-bio__defile ul[aria-hidden="true"] { display: none; }
}

/* Sections : titre à gauche, numéro calculé automatiquement, texte à droite */
.vc_row.mb-bio-section { padding-block: 72px; border-top: 1px solid var(--mb-filet); margin: 0; }
.mb-bio-publie + .mb-bio-section { border-top: 0; }
.mb-bio-section > .wpb_column > .vc_column-inner { padding: 0; }
.mb-bio-section .wpb_text_column > .wpb_wrapper { position: relative; padding-left: 288px; }
.mb-bio-page .mb-bio-section h2 {
	position: absolute; left: 0; top: 0; width: 240px; margin: 6px 0 0;
	font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-transform: none;
}
.mb-bio-section h2::before { counter-increment: mb-bio; content: counter(mb-bio, decimal-leading-zero); display: block; color: var(--mb-accent); font-weight: 400; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.mb-bio-section p { max-width: 40em; margin: 0 0 1.2em; }
.mb-bio-section blockquote { margin: 2em 0; padding: 0; border: 0; background: none; font-size: 20px; line-height: 1.45; color: var(--mb-accent); font-style: normal; max-width: 40em; }
.mb-bio-section blockquote::before,
.mb-bio-section blockquote::after { display: none; }
.mb-bio-section blockquote p { margin: 0; font-size: inherit; }

/* Listes par année : l'année (titre 3) à gauche, la liste à droite */
.mb-bio-page .mb-bio-section h3 { float: left; clear: left; width: 96px; margin: 0; font-size: 14px; font-weight: 400; line-height: 1.7; color: var(--mb-accent); font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }
.mb-bio-section ul { margin: 0 0 28px 120px; padding: 0; list-style: none; }
.mb-bio-section ul::after { content: ""; display: block; clear: both; }
.mb-bio-section li { margin: 0 0 12px; font-size: 14px; color: var(--mb-gris); line-height: 1.55; }
.mb-bio-section li strong { display: block; font-size: 16px; font-weight: 500; color: var(--mb-texte); line-height: 1.6; }
.mb-bio-section li > br { display: none; }

/* Liste sans années (Expositions) : deux colonnes */
.mb-bio-section h2 + ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin-left: 0; }
.mb-bio-section h2 + ul li { padding-block: 12px; margin: 0; }

@media (max-width: 900px) {
	.vc_row.mb-bio-section { padding-block: 64px; }
	.mb-bio-section .wpb_text_column > .wpb_wrapper { padding-left: 0; }
	.mb-bio-page .mb-bio-section h2 { position: static; width: auto; margin: 0 0 24px; }
}
@media (max-width: 560px) {
	.mb-bio-page .mb-bio-section h3 { float: none; width: auto; margin-bottom: 6px; }
	.mb-bio-section ul { margin-left: 0; }
	.mb-bio-section h2 + ul { grid-template-columns: 1fr; }
}

/* Photo pleine largeur, jamais recadrée */
.vc_row.mb-bio-respiration { margin: 0; padding-block: 24px 72px; }
.mb-bio-respiration > .wpb_column > .vc_column-inner { padding: 0; }
.mb-bio-respiration img { display: block; width: 100%; height: auto; }
.mb-bio-respiration .wpb_single_image { margin-bottom: 10px !important; }
.mb-bio-respiration p { font-size: 12px; color: var(--mb-gris); margin: 0; }

/* Contact */
.vc_row.mb-bio-contact { padding-block: 104px; text-align: center; border-top: 1px solid var(--mb-filet); margin: 0; }
.mb-bio-page .mb-bio-contact h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 14px; text-wrap: balance; text-transform: none; letter-spacing: -.01em; }
.mb-bio-contact p { color: var(--mb-gris); margin: 0 0 32px; }

/* Le thème centre les blocs de texte dans une colonne étroite : ici ils prennent toute la largeur, alignés à gauche */
.mb-bio-page .wpb_text_column,
.mb-bio-page .wpb_text_column > .wpb_wrapper,
.mb-bio-page .vc_row > .wpb_column,
.mb-bio-page .vc_row > .wpb_column > .vc_column-inner,
.mb-bio-page .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: left;
}
.mb-bio-page .vc_row.mb-bio-section,
.mb-bio-page .vc_row.mb-bio-publie,
.mb-bio-page .vc_row.mb-bio-respiration {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.mb-bio-page .vc_row.mb-bio-section > .wpb_column,
.mb-bio-page .vc_row.mb-bio-respiration > .wpb_column,
.mb-bio-page .vc_row.mb-bio-publie > .wpb_column { padding-left: 0 !important; padding-right: 0 !important; width: 100%; }
.mb-bio-page .vc_row.mb-bio-contact .wpb_wrapper { text-align: center; }
