/*
 * Enseigne : thème sur mesure de Boutiques de mon village.
 * Chaque rubrique est une boutique de la grand-rue, avec sa devanture peinte.
 *
 * Fichier assemblé par outils/assembler_css.py depuis le dossier css du projet.
 */

/* ==========================================================================
   1. Polices servies par le site
   ========================================================================== */

@font-face {
	font-family: "Young Serif";
	src: url("../fonts/young-serif.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-italique.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

/* ==========================================================================
   2. Jetons
   ========================================================================== */

:root {
	--bmv-chaux: #F5F4EF;
	--bmv-blanc: #FFFFFF;
	--bmv-vert: #1D3A31;
	--bmv-vert-2: #284B40;
	--bmv-or: #C39A45;
	--bmv-or-fonce: #7A5C22;
	--bmv-ombre-or: #8C6B2A;
	--bmv-creme: #F8EED3;
	--bmv-toile: #EFE4C8;
	--bmv-lie: #7B2D3A;
	--bmv-encre: #1E2320;
	--bmv-texte: #373D39;
	--bmv-pave: #666C68;
	--bmv-filet: #E2E0D8;
	--bmv-pointille: #CEC9BB;

	--bmv-titre: "Young Serif", Georgia, "Times New Roman", serif;
	--bmv-corps: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--bmv-large: 1200px;
	--bmv-lecture: 700px;
	--bmv-gouttiere: clamp(16px, 4vw, 44px);

	/* Couleur de la rubrique en cours ; chaque bloc la redéfinit. */
	--r: var(--bmv-vert);
}

/* ==========================================================================
   3. Socle
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--bmv-chaux);
	color: var(--bmv-texte);
	font-family: var(--bmv-corps);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-synthesis-weight: none;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--bmv-vert);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--bmv-lie);
}

:focus-visible {
	outline: 2px solid var(--bmv-or);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--bmv-encre);
	font-family: var(--bmv-titre);
	font-weight: 400;
	line-height: 1.15;
	text-wrap: balance;
}

p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	background: var(--bmv-blanc);
	color: var(--bmv-vert);
	font-weight: 700;
}

.bmv-large {
	width: 100%;
	max-width: calc(var(--bmv-large) + 2 * var(--bmv-gouttiere));
	margin-inline: auto;
	padding-inline: var(--bmv-gouttiere);
}

.bmv-svg {
	display: block;
	width: 18px;
	height: 18px;
	flex: none;
}

/* Étiquette de rubrique : petit carré de la couleur de la boutique. */
.bmv-rub {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--r);
	font-family: var(--bmv-corps);
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bmv-rub::before {
	content: "";
	width: 9px;
	height: 9px;
	flex: none;
	border-radius: 1px;
	background: var(--r);
}

.bmv-rub a {
	color: inherit;
	text-decoration: none;
}

.bmv-meta {
	margin: 0;
	color: var(--bmv-pave);
	font-size: 13.5px;
	line-height: 1.5;
}

.bmv-meta b {
	color: var(--bmv-encre);
	font-weight: 600;
}

.bmv-sep::before {
	content: "·";
	margin-inline: 8px;
	color: var(--bmv-or);
}

/* Plaque : le nom d'une rubrique peint sur un petit panneau. */
.bmv-plaque {
	display: inline-block;
	margin: 0;
	padding: 8px 14px 7px;
	border-radius: 2px;
	background: var(--r);
	box-shadow: inset 0 0 0 3px var(--r), inset 0 0 0 4px rgba(248, 238, 211, .5);
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 15px;
	line-height: 1;
}

.bmv-plaque a {
	color: inherit;
	text-decoration: none;
}

/* Boutons et champs */
.bmv-bouton,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 22px;
	border: 0;
	border-radius: 3px;
	background: var(--bmv-vert);
	box-shadow: inset 0 0 0 3px var(--bmv-vert), inset 0 0 0 4px rgba(195, 154, 69, .55);
	color: var(--bmv-creme);
	font-family: var(--bmv-corps);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease;
}

.bmv-bouton:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--bmv-vert-2);
	box-shadow: inset 0 0 0 3px var(--bmv-vert-2), inset 0 0 0 4px rgba(195, 154, 69, .7);
	color: #FFFFFF;
}

.bmv-bouton--clair {
	background: var(--bmv-blanc);
	box-shadow: inset 0 0 0 1px var(--bmv-filet);
	color: var(--bmv-vert);
}

.bmv-bouton--clair:hover {
	background: var(--bmv-chaux);
	box-shadow: inset 0 0 0 1px var(--bmv-or);
	color: var(--bmv-vert);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #CFCBC0;
	border-radius: 3px;
	background: var(--bmv-blanc);
	color: var(--bmv-encre);
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--bmv-vert);
	outline: none;
	box-shadow: 0 0 0 3px rgba(195, 154, 69, .35);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

::placeholder {
	color: #8A8F8B;
	opacity: 1;
}

/* Lien avec flèche */
.bmv-fleche {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--r);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.bmv-fleche .bmv-svg {
	width: 16px;
	height: 16px;
	transition: transform .15s ease;
}

.bmv-fleche:hover {
	color: var(--bmv-encre);
}

.bmv-fleche:hover .bmv-svg {
	transform: translateX(3px);
}

/* Titre de section */
.bmv-tete-section {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 24px;
	margin-bottom: 22px;
}

.bmv-tete-section h2 {
	font-size: clamp(25px, 3vw, 31px);
	line-height: 1.1;
}

.bmv-tete-section p {
	color: var(--bmv-pave);
	font-size: 15px;
}

/* ==========================================================================
   4. En-tête : la devanture du village et son store rayé
   ========================================================================== */

.bmv-entete {
	position: relative;
	z-index: 20;
	background: var(--bmv-vert);
	color: var(--bmv-creme);
}

/* Le store : rayures vertes et toile, bord festonné, posé sur la page. */
.bmv-entete::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 19px;
	background: repeating-linear-gradient(90deg, var(--bmv-vert) 0 24px, var(--bmv-toile) 24px 48px);
	-webkit-mask: linear-gradient(#000 0 0) top / 100% 9px no-repeat, radial-gradient(circle at 50% 0, #000 11.5px, transparent 12px) 0 9px / 24px 10px repeat-x;
	mask: linear-gradient(#000 0 0) top / 100% 9px no-repeat, radial-gradient(circle at 50% 0, #000 11.5px, transparent 12px) 0 9px / 24px 10px repeat-x;
	pointer-events: none;
}

.bmv-fronton {
	position: relative;
}

/* Moulure dorée du fronton */
.bmv-fronton::before {
	content: "";
	position: absolute;
	inset: 7px 7px 0;
	border: 1px solid rgba(195, 154, 69, .5);
	border-bottom: 0;
	pointer-events: none;
}

.bmv-fronton__in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: 20px;
	padding-top: 26px;
	padding-bottom: 4px;
}

.bmv-devise {
	margin: 0;
	color: var(--bmv-or);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.bmv-marque {
	margin: 0;
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 37px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	text-shadow: 2px 2px 0 var(--bmv-ombre-or);
	white-space: nowrap;
}

.bmv-marque a {
	color: inherit;
	text-decoration: none;
}

.bmv-marque a:hover {
	color: #FFFFFF;
}

.bmv-outils {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.bmv-rond {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(195, 154, 69, .6);
	border-radius: 50%;
	background: transparent;
	color: var(--bmv-creme);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

.bmv-rond:hover,
.bmv-rond[aria-expanded="true"] {
	border-color: var(--bmv-or);
	background: rgba(195, 154, 69, .16);
	color: #FFFFFF;
}

.bmv-ouvrir-menu {
	display: none;
}

.bmv-rond .bmv-fermer,
.bmv-rond[aria-expanded="true"] .bmv-ouvrir {
	display: none;
}

.bmv-rond[aria-expanded="true"] .bmv-fermer {
	display: block;
}

/* Rubriques */
.bmv-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 30px;
	margin: 20px auto 0;
	padding-top: 0;
	padding-bottom: 0;
	list-style: none;
}

.bmv-nav {
	position: relative;
}

.bmv-nav::before {
	content: "";
	position: absolute;
	top: 20px;
	left: calc(var(--bmv-gouttiere) + 7px);
	right: calc(var(--bmv-gouttiere) + 7px);
	border-top: 1px solid rgba(195, 154, 69, .32);
}

.bmv-nav a {
	display: block;
	padding: 13px 0 12px;
	color: rgba(248, 238, 211, .88);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .02em;
	text-decoration: none;
	box-shadow: inset 0 -2px 0 transparent;
	transition: color .15s ease, box-shadow .15s ease;
}

.bmv-nav a:hover {
	color: #FFFFFF;
	box-shadow: inset 0 -2px 0 rgba(195, 154, 69, .55);
}

.bmv-nav .est-courant > a,
.bmv-nav .current-menu-item > a,
.bmv-nav a[aria-current="page"] {
	color: #FFFFFF;
	box-shadow: inset 0 -2px 0 var(--bmv-or);
}

/* Recherche déployée sous le fronton */
.bmv-recherche {
	padding: 6px 0 22px;
	border-top: 1px solid rgba(195, 154, 69, .32);
}

.bmv-recherche[hidden] {
	display: none;
}

.bmv-form-recherche {
	display: flex;
	gap: 10px;
	max-width: 720px;
	margin: 16px auto 0;
}

.bmv-form-recherche input[type="search"] {
	flex: 1;
	min-width: 0;
}

.bmv-recherche .bmv-form-recherche input[type="search"] {
	border-color: transparent;
}

.bmv-recherche .bmv-bouton {
	background: var(--bmv-or);
	box-shadow: none;
	color: var(--bmv-encre);
}

.bmv-recherche .bmv-bouton:hover {
	background: #D4AE5F;
	box-shadow: none;
	color: var(--bmv-encre);
}

@media (max-width: 860px) {
	.bmv-fronton::before {
		inset: 5px 5px 0;
	}

	.bmv-fronton__in {
		grid-template-columns: minmax(0, 1fr) auto;
		padding-top: 16px;
		padding-bottom: 16px;
	}

	.bmv-devise {
		display: none;
	}

	.bmv-marque {
		font-size: 22px;
		text-align: left;
		text-shadow: 1.5px 1.5px 0 var(--bmv-ombre-or);
		white-space: normal;
	}

	.bmv-rond {
		width: 38px;
		height: 38px;
	}

	.bmv-ouvrir-menu {
		display: grid;
	}

	.bmv-nav {
		display: none;
	}

	.bmv-nav.est-ouvert {
		display: block;
		padding-bottom: 14px;
	}

	.bmv-nav::before {
		top: 0;
		left: var(--bmv-gouttiere);
		right: var(--bmv-gouttiere);
	}

	.bmv-nav ul {
		display: grid;
		gap: 0;
		margin-top: 0;
	}

	.bmv-nav li + li {
		border-top: 1px solid rgba(195, 154, 69, .18);
	}

	.bmv-nav a {
		padding: 13px 0;
		font-size: 16px;
		box-shadow: none;
	}

	.bmv-nav a:hover,
	.bmv-nav .est-courant > a,
	.bmv-nav a[aria-current="page"] {
		box-shadow: none;
		color: var(--bmv-or);
	}

	.bmv-form-recherche .bmv-bouton {
		padding-inline: 16px;
	}
}

/* ==========================================================================
   5. Accueil : la vitrine, puis la grand-rue
   ========================================================================== */

.bmv-main {
	display: block;
}

.bmv-vitrine {
	padding: 58px 0 50px;
	background: var(--bmv-blanc);
}

.bmv-vitrine__in {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 44px;
}

/* L'article à la une */
.bmv-une {
	display: grid;
	align-content: start;
	min-width: 0;
}

.bmv-une__image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 3px;
	background: var(--bmv-toile);
}

.bmv-une__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.bmv-une__image:hover img {
	transform: scale(1.02);
}

.bmv-une__etiquette {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 8px 13px 7px;
	border-radius: 2px;
	background: var(--bmv-lie);
	box-shadow: inset 0 0 0 3px var(--bmv-lie), inset 0 0 0 4px rgba(248, 238, 211, .5);
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 15px;
	line-height: 1;
}

.bmv-une .bmv-rub {
	margin-top: 20px;
}

.bmv-une__titre {
	margin-top: 8px;
	font-size: clamp(27px, 3.2vw, 38px);
	line-height: 1.1;
}

.bmv-une__titre a,
.bmv-mini__titre a,
.bmv-carte__titre a {
	color: inherit;
	text-decoration: none;
}

.bmv-une__titre a:hover,
.bmv-mini__titre a:hover,
.bmv-carte__titre a:hover {
	color: var(--bmv-lie);
}

.bmv-une__extrait {
	max-width: 62ch;
	margin-top: 12px;
	font-size: 16.5px;
	line-height: 1.6;
}

.bmv-une .bmv-meta {
	margin-top: 12px;
}

/* Les nouveautés */
.bmv-nouveautes {
	display: grid;
	align-content: start;
	min-width: 0;
}

.bmv-nouveautes__tete {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--bmv-encre);
}

.bmv-nouveautes__tete h2 {
	font-size: 22px;
	line-height: 1.1;
}

.bmv-nouveautes__tete a {
	color: var(--bmv-pave);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.bmv-nouveautes__tete a:hover {
	color: var(--bmv-lie);
}

.bmv-nouveautes ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bmv-nouveautes li + li {
	border-top: 1px solid var(--bmv-filet);
}

.bmv-mini {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 16px 0;
}

.bmv-mini__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 2px;
	background: var(--bmv-toile);
}

/* Vignette manquante : le nom de la boutique peint à la place */
.bmv-mini__image--vide {
	display: grid;
	place-items: center;
	padding: 6px;
	background: var(--r);
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 14px;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
}

.bmv-mini__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bmv-mini__titre {
	margin-top: 5px;
	font-size: 17px;
	line-height: 1.24;
}

.bmv-mini .bmv-meta {
	margin-top: 6px;
	font-size: 12.5px;
}

/* La grand-rue : une devanture par rubrique */
.bmv-rue {
	padding: 48px 0 64px;
}

.bmv-rue__grille {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.bmv-boutique {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-blanc);
}

.bmv-boutique--large {
	grid-column: span 2;
}

.bmv-devanture {
	position: relative;
	margin: 0;
	border-radius: 2px 2px 0 0;
	background: var(--r);
	font-size: inherit;
	line-height: inherit;
}

.bmv-devanture::before {
	content: "";
	position: absolute;
	inset: 4px;
	border: 1px solid rgba(248, 238, 211, .3);
	pointer-events: none;
}

/* Petit store de la boutique, à la couleur de sa devanture */
.bmv-devanture::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 11px;
	background: repeating-linear-gradient(90deg, var(--r) 0 14px, var(--bmv-toile) 14px 28px);
	-webkit-mask: linear-gradient(#000 0 0) top / 100% 4px no-repeat, radial-gradient(circle at 50% 0, #000 6.5px, transparent 7px) 0 4px / 14px 7px repeat-x;
	mask: linear-gradient(#000 0 0) top / 100% 4px no-repeat, radial-gradient(circle at 50% 0, #000 6.5px, transparent 7px) 0 4px / 14px 7px repeat-x;
	pointer-events: none;
}

.bmv-devanture a {
	display: block;
	padding: 14px 16px 12px;
	color: var(--bmv-creme);
	text-decoration: none;
}

.bmv-devanture__nom {
	display: block;
	font-family: var(--bmv-titre);
	font-size: 23px;
	line-height: 1.1;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, .28);
}

.bmv-devanture__compte {
	display: block;
	margin-top: 4px;
	color: rgba(248, 238, 211, .82);
	font-family: var(--bmv-corps);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.bmv-devanture a:hover .bmv-devanture__nom {
	color: #FFFFFF;
}

.bmv-boutique__liste {
	display: grid;
	flex: 1;
	/* Les lignes se répartissent la hauteur : une boutique qui a moins de
	   titres que sa voisine ne laisse pas un trou en bas de sa vitrine. */
	grid-auto-rows: minmax(min-content, 1fr);
	margin: 0;
	padding: 18px 16px 2px;
	list-style: none;
}

.bmv-boutique__liste li {
	padding: 9px 0;
	border-bottom: 1px dotted var(--bmv-pointille);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.38;
}

.bmv-boutique__liste li:last-child {
	border-bottom: 0;
}

.bmv-boutique--large .bmv-boutique__liste {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
}

.bmv-boutique--large .bmv-boutique__liste li:nth-last-child(2):nth-child(odd) {
	border-bottom: 0;
}

.bmv-boutique__liste a {
	color: var(--bmv-encre);
	text-decoration: none;
}

.bmv-boutique__liste a:hover {
	color: var(--r);
	text-decoration: underline;
}

.bmv-boutique .bmv-fleche {
	margin-top: auto;
	padding: 8px 16px 15px;
}

@media (max-width: 1080px) {
	.bmv-rue__grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.bmv-vitrine {
		padding: 40px 0 30px;
	}

	.bmv-vitrine__in {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.bmv-une__extrait {
		font-size: 15.5px;
	}

	.bmv-mini {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 12px;
		padding: 13px 0;
	}

	.bmv-mini__titre {
		font-size: 16px;
	}

	.bmv-rue {
		padding: 34px 0 44px;
	}
}

@media (max-width: 600px) {
	.bmv-rue__grille {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.bmv-boutique--large {
		grid-column: auto;
	}

	.bmv-boutique--large .bmv-boutique__liste {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmv-boutique--large .bmv-boutique__liste li:nth-last-child(2):nth-child(odd) {
		border-bottom: 1px dotted var(--bmv-pointille);
	}

	.bmv-devanture__nom {
		font-size: 21px;
	}
}

/* ==========================================================================
   6. Rubriques, recherche, pages et page d'erreur
   ========================================================================== */

/* Fil d'Ariane */
.bmv-fil {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 0;
	color: var(--bmv-pave);
	font-size: 13.5px;
	line-height: 1.4;
}

.bmv-fil a {
	color: var(--bmv-pave);
	text-decoration: none;
}

.bmv-fil a:hover {
	color: var(--bmv-lie);
	text-decoration: underline;
}

.bmv-fil [aria-hidden="true"] {
	color: var(--bmv-or);
}

/* En-tête d'une rubrique : son enseigne accrochée au mur */
.bmv-tete-rubrique {
	padding: 58px 0 6px;
	text-align: center;
}

.bmv-tete-rubrique .bmv-fil {
	justify-content: center;
}

.bmv-enseigne {
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin-top: 22px;
	padding: 22px clamp(28px, 5vw, 58px) 20px;
	border-radius: 3px;
	background: var(--r);
	box-shadow: 0 10px 24px rgba(30, 35, 32, .12);
}

.bmv-enseigne::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(248, 238, 211, .38);
	border-radius: 1px;
	pointer-events: none;
}

.bmv-enseigne::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 15px;
	background: repeating-linear-gradient(90deg, var(--r) 0 20px, var(--bmv-toile) 20px 40px);
	-webkit-mask: linear-gradient(#000 0 0) top / 100% 6px no-repeat, radial-gradient(circle at 50% 0, #000 9.5px, transparent 10px) 0 6px / 20px 9px repeat-x;
	mask: linear-gradient(#000 0 0) top / 100% 6px no-repeat, radial-gradient(circle at 50% 0, #000 9.5px, transparent 10px) 0 6px / 20px 9px repeat-x;
	pointer-events: none;
}

.bmv-enseigne__nom {
	color: var(--bmv-creme);
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1.05;
	text-shadow: 2px 2px 0 rgba(0, 0, 0, .28);
}

.bmv-tete-rubrique__compte {
	margin: 30px 0 0;
	color: var(--bmv-pave);
	font-size: 14.5px;
}

.bmv-tete-rubrique__desc {
	max-width: 62ch;
	margin: 10px auto 0;
	font-size: 16px;
}

/* En-tête des pages de recherche et des pages simples */
.bmv-tete-page {
	padding: 58px 0 34px;
}

.bmv-tete-page h1 {
	margin-top: 14px;
	font-size: clamp(32px, 4.2vw, 46px);
	line-height: 1.08;
}

.bmv-tete-page__compte {
	margin-top: 10px;
	color: var(--bmv-pave);
	font-size: 15px;
}

.bmv-tete-page .bmv-form-recherche {
	margin: 22px 0 0;
}

/* Cartes des listes, allongées */
.bmv-liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding-top: 40px;
	padding-bottom: 12px;
}

.bmv-carte {
	display: grid;
	grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	min-width: 0;
	padding: 14px;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-blanc);
	transition: border-color .15s ease, box-shadow .15s ease;
}

.bmv-carte:hover {
	border-color: #D6D0C0;
	box-shadow: 0 8px 22px rgba(30, 35, 32, .07);
}

.bmv-carte__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 2px;
	background: var(--bmv-toile);
}

.bmv-carte__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bmv-carte__corps {
	display: grid;
	align-content: start;
	min-width: 0;
	padding-top: 2px;
}

.bmv-carte__titre {
	margin-top: 6px;
	font-size: 19px;
	line-height: 1.22;
}

.bmv-carte__corps > .bmv-carte__titre:first-child {
	margin-top: 0;
}

.bmv-carte__extrait {
	margin-top: 8px;
	font-size: 14.5px;
	line-height: 1.55;
}

.bmv-carte .bmv-meta {
	margin-top: 10px;
	font-size: 13px;
}

/* Carte sans image : le nom de la boutique peint à la place */
.bmv-carte__image--vide {
	display: grid;
	place-items: center;
	background: var(--r);
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 20px;
	text-decoration: none;
}

/* Pagination */
.bmv-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 24px 0 8px;
}

.bmv-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-blanc);
	color: var(--bmv-encre);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.bmv-pagination a.page-numbers:hover {
	border-color: var(--bmv-or);
	color: var(--bmv-vert);
}

.bmv-pagination .current {
	border-color: var(--bmv-vert);
	background: var(--bmv-vert);
	box-shadow: inset 0 0 0 3px var(--bmv-vert), inset 0 0 0 4px rgba(195, 154, 69, .6);
	color: var(--bmv-creme);
}

.bmv-pagination .dots {
	border-color: transparent;
	background: transparent;
}

/* Les autres boutiques, en plaques */
.bmv-autres {
	padding-top: 40px;
	padding-bottom: 64px;
}

.bmv-autres h2 {
	font-size: 24px;
}

.bmv-plaques {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.bmv-plaques .bmv-plaque {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 11px 16px 10px;
	font-size: 17px;
	text-decoration: none;
	transition: transform .15s ease;
}

.bmv-plaques .bmv-plaque:hover {
	color: #FFFFFF;
	transform: translateY(-2px);
}

.bmv-plaque small {
	color: rgba(248, 238, 211, .75);
	font-family: var(--bmv-corps);
	font-size: 12px;
	font-weight: 600;
}

/* Recherche sans résultat */
.bmv-rien {
	max-width: 640px;
	padding: 40px 0 70px;
}

.bmv-rien p {
	font-size: 17px;
}

/* Page d'erreur : la pancarte « Fermé » */
.bmv-erreur {
	padding: 70px 0 80px;
	text-align: center;
}

.bmv-pancarte {
	position: relative;
	width: 240px;
	height: 150px;
	margin: 0 auto 8px;
}

.bmv-pancarte__clou {
	position: absolute;
	top: 0;
	left: 50%;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-radius: 50%;
	background: var(--bmv-or);
	box-shadow: inset -2px -2px 0 var(--bmv-ombre-or);
}

.bmv-pancarte__corps {
	position: absolute;
	top: 6px;
	left: 0;
	right: 0;
	height: 144px;
	transform-origin: 50% 0;
	animation: bmv-balance 5s ease-in-out infinite;
}

.bmv-pancarte__corps::before,
.bmv-pancarte__corps::after {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 1.5px;
	height: 92px;
	background: var(--bmv-encre);
	transform-origin: 50% 0;
}

.bmv-pancarte__corps::before {
	transform: rotate(60deg);
}

.bmv-pancarte__corps::after {
	transform: rotate(-60deg);
}

.bmv-pancarte__panneau {
	position: absolute;
	top: 46px;
	left: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	height: 92px;
	border-radius: 4px;
	background: var(--bmv-lie);
	box-shadow: inset 0 0 0 5px var(--bmv-lie), inset 0 0 0 6px rgba(248, 238, 211, .5), 0 12px 24px rgba(30, 35, 32, .16);
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 46px;
	line-height: 1;
	text-shadow: 2px 2px 0 rgba(0, 0, 0, .25);
}

@keyframes bmv-balance {
	0%, 100% { transform: rotate(-3deg); }
	50% { transform: rotate(3deg); }
}

.bmv-erreur h1 {
	margin-top: 26px;
	font-size: clamp(32px, 4.4vw, 46px);
}

.bmv-erreur__texte {
	max-width: 52ch;
	margin: 12px auto 0;
	font-size: 17px;
}

.bmv-erreur .bmv-form-recherche {
	margin-top: 26px;
}

.bmv-erreur__boutiques {
	margin-top: 34px;
	color: var(--bmv-pave);
	font-size: 15px;
}

.bmv-erreur .bmv-plaques {
	justify-content: center;
}

.bmv-erreur__retour {
	margin-top: 30px;
}

/* Pages simples (contact, mentions légales) */
.bmv-lecture {
	width: 100%;
	max-width: calc(var(--bmv-lecture) + 2 * var(--bmv-gouttiere));
	margin-inline: auto;
	padding-inline: var(--bmv-gouttiere);
}

.bmv-page .bmv-tete-page {
	padding-bottom: 30px;
}

.bmv-page__corps {
	padding: 44px 0 72px;
	border-top: 1px solid var(--bmv-filet);
	background: var(--bmv-blanc);
}

/* Contact Form 7 */
.wpcf7 form > p {
	margin: 0 0 18px;
}

.wpcf7 label {
	display: block;
	color: var(--bmv-encre);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.wpcf7 label br {
	display: none;
}

.wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--bmv-lie);
	font-size: 13.5px;
	font-weight: 600;
}

.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--bmv-or);
	border-radius: 3px;
	background: var(--bmv-chaux);
	font-size: 15px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--bmv-lie);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--bmv-vert);
}

@media (max-width: 860px) {
	.bmv-liste {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding-top: 30px;
	}

	.bmv-tete-rubrique,
	.bmv-tete-page {
		padding-top: 44px;
	}
}

@media (max-width: 520px) {
	.bmv-carte {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 14px;
		padding: 12px;
	}

	.bmv-carte__titre {
		font-size: 16.5px;
	}

	.bmv-carte__extrait {
		display: none;
	}

	.bmv-carte .bmv-meta {
		margin-top: 6px;
		font-size: 12.5px;
	}

	.bmv-form-recherche {
		flex-direction: column;
	}

	.bmv-pancarte {
		transform: scale(.85);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bmv-pancarte__corps {
		animation: none;
		transform: rotate(-3deg);
	}
}

/* ==========================================================================
   7. Article
   ========================================================================== */

.bmv-page-article {
	padding: 50px 0 0;
	background: var(--bmv-blanc);
}

.bmv-article-grille {
	display: grid;
	grid-template-columns: minmax(0, 700px) 280px;
	justify-content: center;
	column-gap: 56px;
	align-items: start;
}

.bmv-article-grille > * {
	grid-column: 1;
	min-width: 0;
}

/* La marge : sommaire et boutique, qui suivent la lecture */
.bmv-marge {
	grid-column: 2;
	grid-row: 1 / span 12;
	position: sticky;
	top: 24px;
	display: grid;
	gap: 20px;
	align-content: start;
	padding-top: 6px;
}

.bmv-article__tete .bmv-plaque {
	margin-top: 16px;
}

.bmv-article__titre {
	margin-top: 14px;
	font-size: 46px;
	line-height: 1.07;
}

.bmv-article__titre--long {
	font-size: 40px;
}

.bmv-article__titre--tres-long {
	font-size: 34px;
	line-height: 1.12;
}

.bmv-signature {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
	margin: 18px 0 0;
	color: var(--bmv-pave);
	font-size: 14px;
	line-height: 1.4;
}

.bmv-signature img {
	width: 34px;
	height: 34px;
	margin-right: 10px;
	border-radius: 50%;
}

.bmv-signature b {
	color: var(--bmv-encre);
	font-weight: 600;
}

.bmv-article__image {
	overflow: hidden;
	margin-top: 26px;
	aspect-ratio: 16 / 9;
	border-radius: 3px;
	background: var(--bmv-toile);
}

.bmv-article__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Sommaire */
.bmv-sommaire {
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-blanc);
}

.bmv-sommaire summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	color: var(--bmv-encre);
	font-family: var(--bmv-titre);
	font-size: 19px;
	line-height: 1.2;
	list-style: none;
	cursor: pointer;
}

.bmv-sommaire summary::-webkit-details-marker {
	display: none;
}

.bmv-sommaire__compte {
	margin-left: auto;
	color: var(--bmv-pave);
	font-family: var(--bmv-corps);
	font-size: 13px;
}

.bmv-sommaire summary .bmv-svg {
	width: 18px;
	height: 18px;
	color: var(--bmv-or-fonce);
	transition: transform .2s ease;
}

.bmv-sommaire[open] summary .bmv-svg {
	transform: rotate(180deg);
}

.bmv-sommaire ol {
	margin: 0;
	padding: 0 20px 14px;
	list-style: none;
}

.bmv-sommaire li a {
	display: block;
	padding: 8px 0 8px 14px;
	border-left: 2px solid var(--bmv-filet);
	color: var(--bmv-texte);
	font-size: 14.5px;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease;
}

.bmv-sommaire li a:hover {
	color: var(--bmv-encre);
	border-left-color: var(--bmv-pointille);
}

.bmv-sommaire li.est-lu a {
	border-left-color: var(--bmv-or);
	color: var(--bmv-encre);
	font-weight: 600;
}

/* Sur ordinateur, le sommaire vit dans la marge et reste ouvert */
.bmv-marge .bmv-sommaire summary {
	cursor: default;
	pointer-events: none;
}

.bmv-marge .bmv-sommaire summary .bmv-svg,
.bmv-marge .bmv-sommaire__compte {
	display: none;
}

.bmv-sommaire--texte {
	display: none;
	margin-top: 24px;
}

/* La boutique de l'article, en petit */
.bmv-marge-boutique {
	overflow: hidden;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
}

.bmv-marge-boutique .bmv-devanture {
	border-radius: 0;
}

.bmv-marge-boutique ul {
	margin: 0;
	padding: 18px 18px 4px;
	list-style: none;
}

.bmv-marge-boutique li {
	padding: 8px 0;
	border-bottom: 1px dotted var(--bmv-pointille);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.38;
}

.bmv-marge-boutique li:last-child {
	border-bottom: 0;
}

.bmv-marge-boutique li a {
	color: var(--bmv-encre);
	text-decoration: none;
}

.bmv-marge-boutique li a:hover {
	color: var(--r);
	text-decoration: underline;
}

.bmv-marge-boutique .bmv-fleche {
	padding: 6px 18px 16px;
}

/* ==========================================================================
   8. Le texte de l'article
   ========================================================================== */

.bmv-texte {
	margin-top: 30px;
	color: var(--bmv-texte);
	font-size: 17.5px;
	line-height: 1.75;
	overflow-wrap: break-word;
}

.bmv-texte > * + * {
	margin-top: 18px;
}

.bmv-texte > :first-child {
	margin-top: 0;
}

/* Premier paragraphe : chapeau et lettrine peinte */
.bmv-texte--article > p:first-child {
	color: var(--bmv-encre);
	font-size: 19.5px;
	line-height: 1.62;
}

.bmv-texte--article > p:first-child::first-letter {
	float: left;
	margin: 7px 12px 0 0;
	color: var(--bmv-vert);
	font-family: var(--bmv-titre);
	font-size: 70px;
	font-weight: 400;
	line-height: .82;
	text-shadow: 2px 2px 0 var(--bmv-or);
}

.bmv-texte strong,
.bmv-texte b {
	color: var(--bmv-encre);
	font-weight: 700;
}

.bmv-texte a {
	color: var(--bmv-vert);
	text-decoration: underline;
	text-decoration-color: rgba(195, 154, 69, .8);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.bmv-texte a:hover {
	color: var(--bmv-lie);
	text-decoration-color: var(--bmv-lie);
}

.bmv-texte h2,
.bmv-texte h3,
.bmv-texte h4,
.bmv-texte h5 {
	scroll-margin-top: 24px;
}

.bmv-texte h2 {
	margin-top: 46px;
	font-size: 29px;
	line-height: 1.16;
}

.bmv-texte h2::before {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin-bottom: 14px;
	background: var(--bmv-or);
}

.bmv-texte h3 {
	margin-top: 34px;
	font-size: 22.5px;
	line-height: 1.22;
}

.bmv-texte h4 {
	margin-top: 28px;
	color: var(--bmv-encre);
	font-family: var(--bmv-corps);
	font-size: 18.5px;
	font-weight: 700;
	line-height: 1.35;
}

.bmv-texte h5,
.bmv-texte h6 {
	margin-top: 24px;
	color: var(--bmv-encre);
	font-family: var(--bmv-corps);
	font-size: 17px;
	font-weight: 700;
}

.bmv-texte h2 + *,
.bmv-texte h3 + *,
.bmv-texte h4 + * {
	margin-top: 12px;
}

.bmv-texte ul,
.bmv-texte ol {
	padding-left: 0;
	list-style: none;
}

.bmv-texte li {
	position: relative;
	padding-left: 26px;
}

.bmv-texte li + li {
	margin-top: 8px;
}

.bmv-texte ul > li::before {
	content: "";
	position: absolute;
	top: .72em;
	left: 6px;
	width: 7px;
	height: 7px;
	border-radius: 1px;
	background: var(--bmv-or);
	transform: rotate(45deg);
}

.bmv-texte ol {
	counter-reset: bmv-liste;
}

.bmv-texte ol > li {
	counter-increment: bmv-liste;
}

.bmv-texte ol > li::before {
	content: counter(bmv-liste) ".";
	position: absolute;
	top: 0;
	left: 0;
	color: var(--bmv-or-fonce);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.bmv-texte blockquote {
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--bmv-or);
	color: var(--bmv-encre);
	font-family: var(--bmv-titre);
	font-size: 21px;
	line-height: 1.5;
}

.bmv-texte blockquote p + p {
	margin-top: 10px;
}

.bmv-texte blockquote cite {
	display: block;
	margin-top: 8px;
	color: var(--bmv-pave);
	font-family: var(--bmv-corps);
	font-size: 14px;
	font-style: normal;
}

.bmv-texte hr {
	height: 1px;
	margin: 40px 0;
	border: 0;
	background: var(--bmv-filet);
}

.bmv-texte img {
	border-radius: 3px;
}

.bmv-texte figure,
.bmv-texte .wp-caption {
	max-width: 100%;
}

.bmv-texte figcaption,
.bmv-texte .wp-caption-text {
	margin-top: 8px;
	color: var(--bmv-pave);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.bmv-texte .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.bmv-texte .alignright {
	float: right;
	max-width: 45%;
	margin: 6px 0 16px 26px;
}

.bmv-texte .alignleft {
	float: left;
	max-width: 45%;
	margin: 6px 26px 16px 0;
}

.bmv-texte::after {
	content: "";
	display: table;
	clear: both;
}

.bmv-texte iframe,
.bmv-texte video {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 3px;
}

/* Tableaux : défilants sur téléphone */
.bmv-tableau {
	overflow-x: auto;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
}

.bmv-texte table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15.5px;
	line-height: 1.5;
}

.bmv-texte th,
.bmv-texte td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--bmv-filet);
	text-align: left;
	vertical-align: top;
}

.bmv-texte th,
.bmv-texte thead td {
	background: var(--bmv-chaux);
	color: var(--bmv-encre);
	font-weight: 700;
}

.bmv-texte tr:last-child td {
	border-bottom: 0;
}

/* Tableau d'une seule case : un encadré */
.bmv-encadre {
	padding: 20px 24px;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-chaux);
	font-size: 16.5px;
}

.bmv-encadre > * + * {
	margin-top: 10px;
}

/* Renvois « À lire aussi » */
.bmv-texte .bmv-lire {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	margin-top: 26px;
	margin-bottom: 8px;
	padding: 14px 18px;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-chaux);
	color: var(--bmv-encre);
	text-decoration: none;
	transition: border-color .15s ease, background-color .15s ease;
}

.bmv-texte .bmv-lire:hover {
	border-color: var(--bmv-or);
	background: #F0EEE6;
	color: var(--bmv-encre);
}

.bmv-lire__label {
	display: block;
	color: var(--bmv-or-fonce);
	font-family: var(--bmv-corps);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.bmv-lire__titre {
	display: block;
	margin-top: 4px;
	font-family: var(--bmv-titre);
	font-size: 18px;
	line-height: 1.28;
}

.bmv-lire .bmv-svg {
	width: 22px;
	height: 22px;
	color: var(--bmv-vert);
	transition: transform .15s ease;
}

.bmv-lire:hover .bmv-svg {
	transform: translateX(3px);
}

/* ==========================================================================
   9. Après le texte : partage, auteur, articles similaires, voisins
   ========================================================================== */

.bmv-partage {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	padding-top: 22px;
	border-top: 1px solid var(--bmv-filet);
}

.bmv-partage__titre {
	margin-right: 6px;
	color: var(--bmv-pave);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bmv-partage a,
.bmv-partage button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 7px 13px;
	border: 1px solid var(--bmv-filet);
	border-radius: 999px;
	background: var(--bmv-blanc);
	color: var(--bmv-encre);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.bmv-partage a:hover,
.bmv-partage button:hover {
	border-color: var(--bmv-or);
	color: var(--bmv-vert);
}

.bmv-partage [hidden] {
	display: none !important;
}

.bmv-partage .bmv-svg {
	width: 16px;
	height: 16px;
}

.bmv-auteur {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	margin-top: 28px;
	padding: 24px 26px;
	border-radius: 3px;
	background: var(--bmv-vert);
	color: rgba(248, 238, 211, .86);
	position: relative;
}

.bmv-auteur::before {
	content: "";
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(195, 154, 69, .38);
	pointer-events: none;
}

.bmv-auteur img {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--bmv-or);
}

.bmv-auteur--sans-photo {
	grid-template-columns: minmax(0, 1fr);
}

.bmv-auteur__role {
	margin: 0;
	color: var(--bmv-or);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.bmv-auteur__nom {
	margin: 4px 0 0;
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 23px;
	line-height: 1.1;
}

.bmv-auteur__bio {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
}

/* Articles similaires (YARPP), redessinés */
.bmv-similaires {
	margin-top: 44px;
}

.bmv-similaires h2,
.bmv-similaires h3 {
	font-size: 25px;
	line-height: 1.15;
}

.bmv-similaires ol,
.bmv-similaires ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.bmv-similaires li {
	padding: 11px 0;
	border-bottom: 1px dotted var(--bmv-pointille);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.bmv-similaires a {
	color: var(--bmv-encre);
	text-decoration: none;
}

.bmv-similaires a:hover {
	color: var(--bmv-lie);
	text-decoration: underline;
}

.bmv-similaires .yarpp-thumbnails-horizontal,
.bmv-similaires p:empty {
	display: none;
}

/* Article précédent et suivant */
.bmv-voisins {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 44px;
}

.bmv-voisins a {
	display: grid;
	gap: 6px;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-chaux);
	color: var(--bmv-encre);
	text-decoration: none;
	transition: border-color .15s ease;
}

.bmv-voisins a:hover {
	border-color: var(--bmv-or);
}

.bmv-voisins__sens {
	color: var(--bmv-pave);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bmv-voisins__titre {
	font-family: var(--bmv-titre);
	font-size: 17px;
	line-height: 1.28;
}

.bmv-voisins__suivant {
	grid-column: 2;
	text-align: right;
}

/* Commentaires */
.bmv-commentaires {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid var(--bmv-filet);
}

.bmv-commentaires__titre,
.comment-reply-title {
	font-size: 25px;
	line-height: 1.15;
}

.bmv-commentaires ol {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.bmv-commentaires ol ol {
	margin: 12px 0 0 26px;
}

.bmv-commentaire + .bmv-commentaire {
	margin-top: 14px;
}

.bmv-commentaire__corps {
	padding: 16px 20px;
	border: 1px solid var(--bmv-filet);
	border-radius: 3px;
	background: var(--bmv-chaux);
}

.bmv-commentaire__tete {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 0;
	color: var(--bmv-pave);
	font-size: 13.5px;
}

.bmv-commentaire__tete b {
	color: var(--bmv-encre);
	font-size: 15px;
}

.bmv-commentaire__texte {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.6;
}

.bmv-commentaire__texte p + p {
	margin-top: 8px;
}

.comment-reply-link {
	display: inline-block;
	margin-top: 8px;
	color: var(--bmv-vert);
	font-size: 14px;
	font-weight: 700;
}

.comment-respond {
	margin-top: 30px;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
	margin-top: 16px;
}

.comment-form > p {
	grid-column: 1 / -1;
	margin: 0;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email {
	grid-column: auto;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--bmv-encre);
	font-size: 15px;
	font-weight: 600;
}

.comment-notes,
.logged-in-as {
	color: var(--bmv-pave);
	font-size: 14.5px;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
}

.comment-form-cookies-consent input {
	margin-top: 5px;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.required {
	color: var(--bmv-lie);
}

.bmv-article-fin {
	padding-bottom: 70px;
}

@media (max-width: 1080px) {
	.bmv-article-grille {
		grid-template-columns: minmax(0, 1fr) 250px;
		justify-content: stretch;
		column-gap: 40px;
	}
}

@media (max-width: 900px) {
	.bmv-page-article {
		padding-top: 42px;
	}

	.bmv-article-grille {
		grid-template-columns: minmax(0, 1fr);
		max-width: calc(var(--bmv-lecture) + 2 * var(--bmv-gouttiere));
	}

	.bmv-marge {
		display: none;
	}

	.bmv-sommaire--texte {
		display: block;
	}

	.bmv-article__titre {
		font-size: 31px;
	}

	.bmv-article__titre--long {
		font-size: 28px;
	}

	.bmv-article__titre--tres-long {
		font-size: 25px;
	}

	.bmv-article__image {
		margin-top: 20px;
	}

	.bmv-texte {
		margin-top: 24px;
		font-size: 16.5px;
		line-height: 1.72;
	}

	.bmv-texte--article > p:first-child {
		font-size: 17.5px;
	}

	.bmv-texte--article > p:first-child::first-letter {
		font-size: 56px;
	}

	.bmv-texte h2 {
		margin-top: 38px;
		font-size: 24px;
	}

	.bmv-texte h3 {
		font-size: 20px;
	}

	.bmv-texte h4 {
		font-size: 17px;
	}

	.bmv-lire__titre {
		font-size: 16.5px;
	}

	.bmv-texte .alignright,
	.bmv-texte .alignleft {
		float: none;
		max-width: 100%;
		margin: 0 auto;
	}

	.bmv-similaires ol,
	.bmv-similaires ul {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 560px) {
	.bmv-auteur {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 14px;
		padding: 20px;
	}

	.bmv-auteur img {
		width: 56px;
		height: 56px;
	}

	.bmv-voisins {
		grid-template-columns: minmax(0, 1fr);
	}

	.bmv-voisins__suivant {
		grid-column: auto;
		text-align: left;
	}

	.comment-form {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   10. Pied de page
   ========================================================================== */

.bmv-pied {
	position: relative;
	padding: 52px 0 34px;
	background: var(--bmv-vert);
	color: rgba(248, 238, 211, .8);
	font-size: 14.5px;
	line-height: 1.6;
}

.bmv-pied::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(195, 154, 69, .38);
	pointer-events: none;
}

.bmv-pied__in {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 48px;
}

.bmv-pied__nom {
	margin: 0;
	color: var(--bmv-creme);
	font-family: var(--bmv-titre);
	font-size: 27px;
	line-height: 1.05;
	text-shadow: 1.5px 1.5px 0 var(--bmv-ombre-or);
}

.bmv-pied__nom a {
	color: inherit;
	text-decoration: none;
}

.bmv-pied .bmv-devise {
	margin-top: 8px;
}

.bmv-pied__texte {
	max-width: 46ch;
	margin-top: 16px;
}

.bmv-pied__titre {
	margin: 0 0 10px;
	color: var(--bmv-or);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.bmv-pied ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bmv-pied li + li {
	margin-top: 6px;
}

.bmv-pied a {
	color: var(--bmv-creme);
	text-decoration: none;
}

.bmv-pied a:hover {
	color: #FFFFFF;
	text-decoration: underline;
	text-decoration-color: var(--bmv-or);
}

.bmv-pied__rubriques a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.bmv-pied__rubriques a::before {
	content: "";
	width: 9px;
	height: 9px;
	flex: none;
	border-radius: 1px;
	background: var(--r);
	box-shadow: 0 0 0 1px rgba(248, 238, 211, .45);
}

.bmv-pied__copy {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid rgba(195, 154, 69, .28);
	font-size: 13.5px;
}

.bmv-pied__copy a {
	text-decoration: underline;
	text-decoration-color: rgba(195, 154, 69, .7);
	text-underline-offset: 3px;
}

@media (max-width: 860px) {
	.bmv-pied {
		padding: 42px 0 30px;
	}

	.bmv-pied::before {
		inset: 5px;
	}

	.bmv-pied__in {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bmv-pied__marque {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   11. Extensions et classes de WordPress
   ========================================================================== */

/* Bandeau cookies (Cookie Notice) aux couleurs de la maison */
#cookie-notice {
	background: var(--bmv-vert) !important;
	font-family: var(--bmv-corps) !important;
	box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}

#cookie-notice .cookie-notice-container {
	padding: 16px var(--bmv-gouttiere);
	color: var(--bmv-creme) !important;
	font-size: 14.5px;
	line-height: 1.5;
}

#cookie-notice .cn-button:not(.cn-button-custom) {
	margin-left: 12px;
	padding: 9px 20px;
	border-radius: 3px;
	background: var(--bmv-or) !important;
	color: var(--bmv-encre) !important;
	font-family: var(--bmv-corps);
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0;
}

#cookie-notice .cn-close-icon:before,
#cookie-notice .cn-close-icon:after {
	background-color: var(--bmv-creme);
}

.wp-block-image,
.wp-block-embed,
.wp-block-table {
	margin-left: 0;
	margin-right: 0;
}

.wp-block-separator {
	border: 0;
}

.sticky,
.bypostauthor,
.gallery-caption {
	/* Classes attendues par WordPress. */
	outline: 0;
}

@media print {
	.bmv-entete,
	.bmv-marge,
	.bmv-partage,
	.bmv-voisins,
	.bmv-commentaires,
	.bmv-pied,
	#cookie-notice {
		display: none !important;
	}

	body,
	.bmv-page-article {
		background: #FFFFFF;
	}

	.bmv-article-grille {
		display: block;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
