/*
Theme Name: Maison Lejeune – Le Journal
Theme URI: https://www.lejeune.tm.fr
Description: Thème du blog « Le Journal » de Maison LEJEUNE : header, navigation, couleurs, typographie et footer repris à l'identique du site principal, pour que le visiteur ne sente pas qu'il change de site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maison-lejeune
Tags: blog, two-columns, left-sidebar, custom-logo, threaded-comments, translation-ready
*/

/* ==========================================================================
   Couleurs relevées sur le site principal (styles calculés du navigateur)
   ========================================================================== */
:root {
	--mlj-red: #e52c30;          /* barre de menu, bouton rubriques, bandeau du footer, loupe */
	--mlj-red-dark: #a6050d;     /* survol des onglets du menu = onglet actif */
	--mlj-yellow: #ffb700;       /* bouton Contact, « Venir au magasin », page courante */
	--mlj-topbar: #313131;       /* bandeau supérieur */
	--mlj-header: #000000;       /* fond du header */
	--mlj-footer: #1c1c1e;       /* fond du footer */
	--mlj-footer-bottom: #101010;/* bas de page (copyright) */
	--mlj-text: #999999;         /* texte courant du site */
	--mlj-text-content: #444444; /* texte des pages de contenu */
	--mlj-heading: #282828;      /* titres */
	--mlj-ink: #222222;          /* liste « Toutes nos rubriques » */
	--mlj-google: #e7711b;       /* note Google */
	--mlj-star-off: #c5c5c5;
	--mlj-border: #e9eaec;
	--mlj-white: #ffffff;
	--mlj-font: Heebo, "Helvetica Neue", Verdana, Arial, sans-serif;
	--mlj-font-menu: Mukta, "Helvetica Neue", Verdana, Arial, sans-serif; /* pile identique au site */
	--mlj-shadow-block: 0 4px 34px rgba(0, 0, 0, 0.08);
	--mlj-shadow-card: 0 3px 4px 0 rgba(35, 35, 35, 0.1), 0 0 1px 0 rgba(10, 31, 68, 0.08);
}

/* Heebo, hébergée dans le thème (aucun appel à Google Fonts). */
@font-face { font-family: Heebo; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/heebo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Heebo; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/heebo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Heebo; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/heebo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Heebo; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/heebo-latin-700-normal.woff2") format("woff2"); }

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--mlj-white);
	color: var(--mlj-text);
	font-family: var(--mlj-font);
	font-size: 14px;
	line-height: 1.35;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--mlj-red); }

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

ul,
ol { margin: 0; padding: 0; }

.mlj-icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: middle; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--mlj-white);
	clip: auto !important;
	clip-path: none;
	color: var(--mlj-heading);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 8px;
	padding: 12px 20px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

:focus-visible { outline: 2px solid var(--mlj-yellow); outline-offset: 2px; }

.mlj-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}

/* ==========================================================================
   Bandeau supérieur
   ========================================================================== */
.mlj-topbar {
	background: var(--mlj-topbar);
	color: var(--mlj-white);
	padding: 7px 0;
	font-size: 14px;
	line-height: 1.35;
}
.mlj-topbar a { color: var(--mlj-white); }
.mlj-topbar a:hover { color: var(--mlj-white); opacity: 0.85; }

.mlj-topbar-inner {
	display: grid;
	grid-template-columns: 5fr 5fr 5fr 5fr 4fr; /* grille du site (24 colonnes) */
	align-items: center;
}
.mlj-tb-col { padding: 0 10px; min-width: 0; }
.mlj-tb-phone a { display: inline-flex; align-items: center; gap: 8px; padding-left: 10px; }
.mlj-tb-phone .mlj-icon { width: 14px; height: 14px; }

.mlj-tb-rating { display: flex; align-items: center; gap: 8px; padding-left: 12px; white-space: nowrap; }
.mlj-rating-value strong { color: var(--mlj-google); font-weight: 700; }
.mlj-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 0; color: var(--mlj-star-off); }
.mlj-stars-on { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: var(--mlj-google); }
.mlj-stars-off { display: block; }
.mlj-reviews { margin-left: 6px; }

.mlj-tb-contact { text-align: right; }
.mlj-btn-contact,
.mlj-topbar .mlj-btn-contact:hover {
	display: inline-block;
	background: var(--mlj-yellow);
	color: #000;
	font-weight: 700;
	border-radius: 5px;
	padding: 2px 5px;
	opacity: 1;
}

/* ==========================================================================
   Header (logo, rubriques, recherche, raccourcis)
   ========================================================================== */
.mlj-header-main {
	background: var(--mlj-header);
	color: var(--mlj-white);
	padding: 10px;
}

.mlj-header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 120px;
	column-gap: 20px;
	row-gap: 12px;
}

/* Logo : jamais plus large que sa zone, jamais écrasé. */
.mlj-brand {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 260px;
	margin-right: -10px; /* écart logo → bouton : 10 px comme sur le site */
}
.mlj-logo { display: block; color: var(--mlj-white); }
.mlj-logo:hover { color: var(--mlj-white); }
.mlj-logo-img { display: block; }
.mlj-logo-img.is-default { width: 117px; height: auto; }
.mlj-logo-img.is-custom { width: auto; height: auto; max-width: 100%; max-height: 120px; }

/* Repli sans logo : le titre passe à la ligne et reste borné. */
.mlj-brand-text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
	hyphens: auto;
	font-size: 22px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--mlj-white);
}

/* Bouton « Toutes nos rubriques ». */
.mlj-rubriques { position: relative; flex: 0 0 auto; }
.mlj-rubriques-btn {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 222px;
	min-height: 55px;
	padding: 8px 20px 8px 30px;
	border: 0;
	border-radius: 25px;
	background: var(--mlj-red);
	color: var(--mlj-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}
.mlj-rubriques-btn .mlj-icon { width: 24px; height: 24px; }
.mlj-rubriques-label { max-width: 100px; }
.mlj-rubriques-btn .mlj-i-close,
.mlj-nav-toggle .mlj-i-close { display: none; }
.mlj-rubriques.is-open .mlj-rubriques-btn .mlj-i-open,
.mlj-nav-toggle[aria-expanded="true"] .mlj-i-open { display: none; }
.mlj-rubriques.is-open .mlj-rubriques-btn .mlj-i-close,
.mlj-nav-toggle[aria-expanded="true"] .mlj-i-close { display: inline-block; }

.mlj-rubriques-list {
	display: none;
	position: absolute;
	z-index: 50;
	top: calc(100% + 10px);
	left: -95px;
	width: 275px;
	padding: 8px 0 110px;
	list-style: none;
	background: var(--mlj-white);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.mlj-rubriques.is-open .mlj-rubriques-list,
.no-js .mlj-rubriques:focus-within .mlj-rubriques-list { display: block; }
.mlj-rubriques-list a {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 34px;
	padding: 0 15px 0 14px;
	color: var(--mlj-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
}
.mlj-rubriques-list a:hover { color: var(--mlj-red); }
.mlj-rubriques-list .mlj-icon { width: 14px; height: 14px; }

/* Recherche (pilule blanche + loupe rouge). */
.mlj-search { flex: 1 1 180px; min-width: 0; margin-right: 10px; }
.mlj-search-form {
	position: relative;
	display: block;
	width: 100%;
	height: 43px;
	border-radius: 25px;
	background: var(--mlj-white);
}
.mlj-search-input {
	display: block;
	width: 100%;
	height: 43px;
	padding: 0 50px 0 12px;
	border: 0;
	border-radius: 25px;
	background: transparent;
	color: #8c8c8c;
	font-size: 14px;
	line-height: 41px;
	-webkit-appearance: none;
	appearance: none;
}
.mlj-search-input::placeholder { color: #8c8c8c; opacity: 1; }
.mlj-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mlj-search-input:focus { outline: none; }
.mlj-search-form:focus-within { box-shadow: 0 0 0 2px var(--mlj-yellow); }
.mlj-search-submit {
	position: absolute;
	top: 3px;
	right: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 37px;
	height: 37px;
	padding: 0;
	border: 0;
	border-radius: 25px;
	background: var(--mlj-red);
	color: var(--mlj-white);
	cursor: pointer;
}
.mlj-search-submit .mlj-icon { width: 20px; height: 20px; }

/* Variante sur fond blanc (barre latérale, 404). */
.mlj-search-form--light { border: 1px solid var(--mlj-border); height: 45px; }
.mlj-search-form--light .mlj-search-input { color: var(--mlj-text-content); }

/* Raccourcis : Venir au magasin, Liste d'envies, Mon compte, Panier. */
.mlj-features {
	display: flex;
	align-items: stretch;
	gap: 10px;
	flex: 0 0 auto;
	margin-left: auto;
	list-style: none;
}
.mlj-feature { border-radius: 5px; padding: 3px 1px 0; }
.mlj-feature a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	min-height: 78px;
	color: var(--mlj-white);
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
}
.mlj-feature a:hover { color: var(--mlj-white); opacity: 0.85; }
.mlj-feature .mlj-icon { width: 36px; height: 36px; }
.mlj-feature-label { display: block; max-width: 60px; }
.mlj-feature--store { background: var(--mlj-yellow); width: 67px; }
.mlj-feature--store a,
.mlj-feature--store a:hover { color: #000; font-weight: 700; opacity: 1; }
.mlj-feature--store .mlj-icon { width: 30px; height: 30px; margin-top: 3px; }
.mlj-feature--wishlist .mlj-feature-label { max-width: 52px; }
.mlj-feature--account .mlj-feature-label { max-width: 48px; }

/* Bouton du menu mobile (masqué sur ordinateur). */
.mlj-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mlj-white);
	cursor: pointer;
}
.mlj-nav-toggle .mlj-icon { width: 28px; height: 28px; }

/* ==========================================================================
   Barre de menu rouge
   ========================================================================== */
.mlj-nav {
	background: var(--mlj-red);
	padding: 0 10px;
	text-align: center;
}
.mlj-nav-list {
	display: inline-block;
	max-width: 1400px;
	margin: 0 auto;
	list-style: none;
	vertical-align: top;
}
.mlj-nav-item { display: inline-block; vertical-align: top; }
.mlj-nav-link {
	display: block;
	padding: 12px;
	background: var(--mlj-red);
	color: var(--mlj-white);
	font-family: var(--mlj-font-menu);
	font-size: 12px;
	font-weight: 600;
	line-height: 16.2px;
	text-transform: uppercase;
	transition: background-color 0.2s ease;
}
.mlj-nav-link:hover,
.mlj-nav-link:focus-visible,
.mlj-nav-item.is-current > .mlj-nav-link {
	background: var(--mlj-red-dark);  /* état de survol du site, conservé sur l'onglet du blog */
	color: var(--mlj-white);
}

/* ==========================================================================
   Contenu : fil d'Ariane, titres, colonnes
   ========================================================================== */
.mlj-main { padding-bottom: 50px; }

.mlj-breadcrumbs { padding-top: 20px; margin-bottom: 20px; }
.mlj-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mlj-text);
}
.mlj-breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.mlj-breadcrumbs a { color: var(--mlj-text); }
.mlj-breadcrumbs a:hover { color: var(--mlj-red); }
.mlj-bc-sep { width: 10px; height: 10px; margin: 0 12px 0 4px; }

.mlj-page-header { padding-top: 20px; margin-bottom: 30px; }
.mlj-page-title {
	margin: 0 0 10px;
	color: var(--mlj-heading);
	font-size: 32px;
	line-height: 1.15;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.mlj-archive-description { color: var(--mlj-text-content); font-size: 15px; line-height: 1.6; max-width: 860px; }
.mlj-meta { margin: 8px 0 0; font-size: 14px; color: var(--mlj-text); }
.mlj-meta a { color: var(--mlj-text); }
.mlj-meta a:hover { color: var(--mlj-red); }
.mlj-meta-sep { margin: 0 8px; }

.mlj-columns {
	display: grid;
	grid-template-columns: 275px minmax(0, 1fr);
	grid-template-areas: "side main";
	column-gap: 45px;
	align-items: start;
}
.mlj-content { grid-area: main; min-width: 0; }
.mlj-sidebar { grid-area: side; min-width: 0; }

/* ==========================================================================
   Liste d'articles (vignettes au style des fiches du site)
   ========================================================================== */
.mlj-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 25px;
}
.mlj-card {
	display: flex;
	flex-direction: column;
	background: var(--mlj-white);
	box-shadow: var(--mlj-shadow-card);
	min-width: 0;
}
.mlj-card-media { display: block; overflow: hidden; }
.mlj-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s ease; }
.mlj-card:hover .mlj-card-media img { transform: scale(1.03); }
.mlj-card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1 1 auto;
	padding: 22px 18px 24px;
	text-align: center;
}
.mlj-card-title {
	margin: 0;
	color: #000;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 400;
	overflow-wrap: anywhere;
}
.mlj-card-title a { color: #000; }
.mlj-card-title a:hover { color: var(--mlj-red); }
.mlj-card-date { margin: 10px 0 0; font-size: 13px; color: var(--mlj-text); }
.mlj-card-excerpt { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--mlj-text); }
.mlj-card-excerpt p { margin: 0; }
.mlj-card-button { margin-top: auto; }
.mlj-card-body > .mlj-card-button { margin-top: 18px; }

/* Bouton : même style que « Ajouter au panier ». */
.mlj-button,
.mlj-entry-content .wp-block-button__link,
.mlj-entry-content .wp-element-button,
.comment-form .submit,
.post-password-form button {
	display: inline-block;
	padding: 9px 20px;
	border: 0;
	border-radius: 4px;
	background: var(--mlj-red);
	color: #000;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.mlj-button:hover,
.mlj-entry-content .wp-block-button__link:hover,
.mlj-entry-content .wp-element-button:hover,
.comment-form .submit:hover,
.post-password-form button:hover {
	background: var(--mlj-yellow);
	color: #000;
}

/* Pagination : carrés comme sur les pages catégories du site. */
.mlj-pagination { margin-top: 40px; }
.mlj-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mlj-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 4px;
	border: 1px solid var(--mlj-border);
	background: var(--mlj-white);
	color: var(--mlj-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 32px;
}
.mlj-pagination .page-numbers.current { background: var(--mlj-yellow); border-color: var(--mlj-yellow); color: #000; }
.mlj-pagination a.page-numbers:hover { color: var(--mlj-red); }
.mlj-pagination .page-numbers .mlj-icon { width: 14px; height: 14px; }
.mlj-pagination .dots { border-color: transparent; }

.mlj-none { color: var(--mlj-text-content); font-size: 16px; line-height: 1.6; }
.mlj-none a { color: var(--mlj-red); text-decoration: underline; }
.mlj-none .mlj-search-form { max-width: 520px; margin-top: 20px; }

/* ==========================================================================
   Article et page
   ========================================================================== */
.mlj-article-media { margin: 0 0 30px; }
.mlj-article-media img { display: block; width: 100%; }

.mlj-entry-content {
	color: var(--mlj-text-content);
	font-size: 16px;
	line-height: 1.7;
	overflow-wrap: break-word;
}
.mlj-entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.mlj-entry-content h1,
.mlj-entry-content h2,
.mlj-entry-content h3,
.mlj-entry-content h4,
.mlj-entry-content h5,
.mlj-entry-content h6 {
	margin: 1.6em 0 0.6em;
	color: var(--mlj-heading);
	font-weight: 600;
	line-height: 1.25;
}
.mlj-entry-content h2 { font-size: 26px; }
.mlj-entry-content h3 { font-size: 20px; }
.mlj-entry-content h4 { font-size: 18px; }
.mlj-entry-content h5,
.mlj-entry-content h6 { font-size: 16px; }
.mlj-entry-content > :first-child { margin-top: 0; }
.mlj-entry-content a { color: var(--mlj-red); text-decoration: underline; text-underline-offset: 2px; }
.mlj-entry-content a:hover { color: var(--mlj-red-dark); }
.mlj-entry-content strong { color: var(--mlj-heading); }
.mlj-entry-content ul,
.mlj-entry-content ol { padding-left: 1.4em; }
.mlj-entry-content li { margin-bottom: 0.35em; }
.mlj-entry-content blockquote,
.mlj-entry-content .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--mlj-red);
	color: var(--mlj-heading);
	font-style: italic;
}
.mlj-entry-content blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--mlj-text); }
.mlj-entry-content hr { border: 0; border-top: 1px solid var(--mlj-border); margin: 2em 0; }
.mlj-entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mlj-entry-content th,
.mlj-entry-content td { padding: 10px 12px; border: 1px solid var(--mlj-border); text-align: left; }
.mlj-entry-content th { color: var(--mlj-heading); background: #f7f7f7; }
.mlj-entry-content pre { overflow: auto; padding: 16px; background: #f7f7f7; font-size: 14px; }
.mlj-entry-content code { font-size: 0.9em; }
.mlj-entry-content img { display: block; }
.mlj-entry-content figure { margin-left: 0; margin-right: 0; }
.mlj-entry-content figcaption,
.wp-caption-text,
.gallery-caption { margin-top: 8px; font-size: 13px; color: var(--mlj-text); text-align: center; }
.mlj-entry-content iframe { display: block; }

.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide,
.alignfull { margin-left: 0; margin-right: 0; width: 100%; max-width: 100%; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-item { margin: 0; }
.sticky {}
.bypostauthor {}
.mlj-entry-content::after { content: ""; display: table; clear: both; }

.mlj-page-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 30px; font-size: 14px; }
.mlj-page-links > a,
.mlj-page-links > .post-page-numbers { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--mlj-border); color: var(--mlj-text); text-decoration: none; }
.mlj-page-links .current { background: var(--mlj-yellow); border-color: var(--mlj-yellow); color: #000; }

.mlj-tags { margin: 30px 0 0; font-size: 14px; }
.mlj-tags-label { color: var(--mlj-heading); font-weight: 600; margin-right: 4px; }
.mlj-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border: 1px solid var(--mlj-border); color: var(--mlj-text); }
.mlj-tags a:hover { border-color: var(--mlj-red); color: var(--mlj-red); }

.mlj-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin-top: 50px;
	padding-top: 25px;
	border-top: 1px solid var(--mlj-border);
}
.mlj-post-nav a { display: block; }
.mlj-post-nav-next { text-align: right; }
.mlj-post-nav-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-transform: uppercase; color: var(--mlj-text); }
.mlj-post-nav-label .mlj-icon { width: 12px; height: 12px; }
.mlj-post-nav-title { display: block; margin-top: 6px; color: var(--mlj-heading); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.mlj-post-nav a:hover .mlj-post-nav-title { color: var(--mlj-red); }

/* ==========================================================================
   Commentaires
   ========================================================================== */
.mlj-comments { margin-top: 50px; }
.mlj-comments-title,
.comment-reply-title {
	margin: 0 0 20px;
	color: var(--mlj-heading);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
}
.comment-reply-title small { margin-left: 10px; font-size: 14px; font-weight: 400; }
.comment-reply-title small a { color: var(--mlj-red); }
.mlj-comment-list,
.mlj-comment-list .children { list-style: none; }
.mlj-comment-list .children { margin-left: 40px; }
.mlj-comment-body {
	margin-bottom: 20px;
	padding: 18px 20px;
	background: var(--mlj-white);
	box-shadow: var(--mlj-shadow-card);
}
.mlj-comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.mlj-avatar { border-radius: 50%; display: block; }
.mlj-comment-author { display: block; color: var(--mlj-heading); font-weight: 600; font-size: 15px; }
.mlj-comment-author a { color: var(--mlj-heading); }
.mlj-comment-date { font-size: 13px; color: var(--mlj-text); }
.mlj-comment-pending { font-style: italic; color: var(--mlj-red-dark); }
.mlj-comment-content { color: var(--mlj-text-content); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.mlj-comment-content p { margin: 0 0 0.8em; }
.mlj-comment-actions { font-size: 13px; }
.mlj-comment-actions a { color: var(--mlj-red); font-weight: 600; }
.mlj-comment-list .pingback .mlj-comment-body,
.mlj-comment-list .trackback .mlj-comment-body { box-shadow: none; padding: 0; }
.mlj-comments-nav .nav-links { display: flex; justify-content: space-between; margin: 10px 0 30px; }
.mlj-comments-nav a { color: var(--mlj-red); }
.mlj-comments-closed { font-style: italic; }

.comment-respond { margin-top: 30px; }
.comment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; color: var(--mlj-text-content); }
.comment-form > p { margin: 0 0 16px; grid-column: 1 / -1; }
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url { grid-column: auto; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--mlj-heading); font-weight: 600; font-size: 14px; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; color: var(--mlj-text-content); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.post-password-form input[type="password"] {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--mlj-border);
	border-radius: 4px;
	background: var(--mlj-white);
	color: var(--mlj-text-content);
	font-size: 15px;
}
.post-password-form input[type="password"] { display: inline-block; width: auto; max-width: 100%; }
.comment-form textarea { min-height: 160px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--mlj-red); }
.comment-form .required { color: var(--mlj-red); }
.comment-notes,
.logged-in-as { font-size: 14px; }
.logged-in-as a { color: var(--mlj-red); }

/* ==========================================================================
   Barre latérale (blocs au style « FILTRER PAR » du site)
   ========================================================================== */
.mlj-block {
	margin-bottom: 30px;
	padding: 15px 20px 18px;
	border-radius: 5px;
	background: var(--mlj-white);
	box-shadow: var(--mlj-shadow-block);
	color: var(--mlj-text);
	font-size: 14px;
	overflow-wrap: anywhere;
}
.mlj-block-title,
.mlj-block .wp-block-heading:first-child,
.mlj-block .wp-block-group > h2:first-child,
.mlj-block .wp-block-group__inner-container > h2:first-child,
.mlj-block .wp-block-search__label {
	display: block;
	margin: -15px -20px 15px;
	padding: 10px 20px;
	border-radius: 5px 5px 0 0;
	background: var(--mlj-red);
	color: var(--mlj-white);
	font-size: 18px;
	line-height: 1.35;
	font-weight: 600;
	text-transform: uppercase;
}
.mlj-block .wp-block-search__label { width: calc(100% + 40px); }
.mlj-block ul { list-style: none; margin: 0; padding: 0; }
.mlj-block li { padding: 5px 0; line-height: 1.45; }
.mlj-block li a { color: var(--mlj-text); }
.mlj-block li > a:first-child::before { content: "›"; margin-right: 5px; }
.mlj-block li a:hover { color: var(--mlj-red); }
.mlj-block .children { padding-left: 14px; }
.mlj-block select { width: 100%; padding: 8px; border: 1px solid var(--mlj-border); border-radius: 4px; background: var(--mlj-white); }
.mlj-block .wp-block-latest-comments { padding: 0; }
.mlj-block .wp-block-latest-comments__comment { margin-bottom: 10px; line-height: 1.45; }

/* Bloc « Rechercher » natif de WordPress. */
.mlj-block .wp-block-search__inside-wrapper { position: relative; border: 1px solid var(--mlj-border); border-radius: 25px; padding: 0; }
.mlj-block .wp-block-search__input { width: 100%; height: 43px; padding: 0 50px 0 12px; border: 0; border-radius: 25px; background: transparent; color: var(--mlj-text-content); }
.mlj-block .wp-block-search__input:focus { outline: none; }
.mlj-block .wp-block-search__button {
	position: absolute; top: 3px; right: 3px; width: 37px; height: 37px; margin: 0; padding: 0;
	border: 0; border-radius: 25px; background: var(--mlj-red); color: var(--mlj-white);
	font-size: 0; cursor: pointer;
}
.mlj-block .wp-block-search__button::before {
	content: ""; display: block; width: 18px; height: 18px; margin: 0 auto;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3Cpath d='M15.5 15.5L21 21' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.mlj-footer { color: var(--mlj-white); font-size: 13px; line-height: 1.35; }

/* Bandeau rouge (réassurance). */
.mlj-footer-top { background: var(--mlj-red); padding: 20px 0; }
.mlj-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.mlj-service { display: flex; align-items: center; gap: 15px; padding: 0 10px; min-width: 0; color: #000; }
.mlj-service-icon { display: flex; width: 30px; justify-content: center; flex-shrink: 0; }
.mlj-service-icon .mlj-icon { width: 26px; height: 26px; }
.mlj-service-icon .mlj-icon--truck circle { stroke: var(--mlj-red); }
.mlj-service-content { display: block; min-width: 0; }
.mlj-service-content a { display: inline-block; color: #000; font-size: 13px; letter-spacing: 1px; }
.mlj-service-content a:hover { color: #000; text-decoration: underline; }
.mlj-service-content strong { font-weight: 700; }
.mlj-service-text { display: block; font-size: 12px; font-style: italic; letter-spacing: 1px; line-height: 1.35; }
.mlj-small { font-size: 10px; }

/* Colonnes. */
.mlj-footer-middle {
	background-color: var(--mlj-footer);
	background-repeat: no-repeat;
	background-position: 0 0;
	padding: 30px 0 35px;
}
.mlj-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mlj-footer-col { padding: 0 10px; min-width: 0; }
.mlj-footer-logo { margin-bottom: 20px; }
.mlj-footer-logo .mlj-logo-img.is-default { width: 120px; }
.mlj-footer-logo .mlj-logo-img.is-custom { max-height: 114px; max-width: 240px; }
.mlj-footer-logo .mlj-brand-text { font-size: 20px; }
.mlj-footer-title { margin: 0 0 10px; color: var(--mlj-white); font-size: 14px; line-height: 1.35; font-weight: 600; }
.mlj-footer-links { list-style: none; }
.mlj-footer-links li { padding: 5px 0; font-size: 14px; line-height: 1.35; }
.mlj-footer-links a { color: var(--mlj-white); }
.mlj-hover-link a { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.mlj-hover-link a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--mlj-red);
	transform: translate3d(-110%, 0, 0);
	transition: transform 0.3s ease;
}
.mlj-hover-link a:hover { color: var(--mlj-red); }
.mlj-hover-link a:hover::after,
.mlj-hover-link a:focus-visible::after { transform: translate3d(0, 0, 0); }

/* Newsletter. */
.mlj-newsletter { margin-top: 6px; }
.mlj-newsletter-form { position: relative; max-width: 340px; }
.mlj-newsletter-icon { position: absolute; left: 10px; top: 11px; width: 19px; height: 19px; color: var(--mlj-white); pointer-events: none; }
.mlj-newsletter-form input[type="email"] {
	display: block;
	width: 100%;
	height: 40px;
	padding: 0 34px 0 35px;
	border: 0;
	border-bottom: 1px solid #bdbdbd;
	border-radius: 0;
	background: transparent;
	color: var(--mlj-white);
	font-size: 14px;
	line-height: 40px;
}
.mlj-newsletter-form input::placeholder { color: var(--mlj-white); opacity: 1; }
.mlj-newsletter-form input:focus { outline: none; border-bottom-color: var(--mlj-white); }
.mlj-newsletter-submit {
	position: absolute;
	right: 0;
	top: 0;
	width: 34px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mlj-white);
	cursor: pointer;
}
.mlj-newsletter-submit .mlj-icon { width: 20px; height: 20px; }

/* Bas de page. */
.mlj-footer-bottom { background: var(--mlj-footer-bottom); padding: 20px 0; }
.mlj-footer-bottom p { margin: 0; padding: 0 10px; font-size: 14px; }

/* Bouton « haut de page ». */
.mlj-backtotop {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 1px solid #d9d9d9;
	border-radius: 50%;
	background: var(--mlj-white);
	color: #333;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}
.mlj-backtotop.is-visible { opacity: 1; visibility: visible; }
.mlj-backtotop:hover { color: var(--mlj-red); }
.mlj-backtotop .mlj-icon { width: 26px; height: 26px; }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */
@media (max-width: 1199px) {
	.mlj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
	.mlj-topbar-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mlj-tb-end { display: none; }
	.mlj-rubriques-btn { width: auto; padding: 8px 18px; }
	.mlj-rubriques-label { display: none; }
	.mlj-rubriques-list { left: 0; }
	.mlj-columns { grid-template-columns: 240px minmax(0, 1fr); column-gap: 30px; }
	.mlj-services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
	.mlj-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
	.comment-form { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
	/* Bandeau supérieur resserré. */
	.mlj-topbar-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
	.mlj-tb-col { padding: 0; }
	.mlj-tb-baseline { flex-basis: 100%; text-align: center; }
	.mlj-tb-phone a,
	.mlj-tb-rating { padding-left: 0; }

	/* Header : menu | logo | raccourcis, puis recherche pleine largeur. */
	.mlj-header-main { padding: 10px; }
	.mlj-header-row { min-height: 0; column-gap: 10px; }
	.mlj-nav-toggle { display: inline-flex; order: 1; }
	.mlj-brand { order: 2; max-width: calc(100% - 44px - 200px); margin-right: 0; }
	.mlj-logo-img.is-default { width: 72px; }
	.mlj-logo-img.is-custom { max-height: 72px; }
	.mlj-brand-text { font-size: 17px; }
	.mlj-features { order: 3; gap: 6px; }
	.mlj-rubriques { display: none; }
	.mlj-search { order: 4; flex: 1 1 100%; margin-right: 0; }

	.mlj-feature a { min-height: 0; gap: 0; }
	.mlj-feature-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
	.mlj-feature { display: flex; align-items: center; padding: 4px; }
	.mlj-feature--store { width: auto; }
	.mlj-feature .mlj-icon,
	.mlj-feature--store .mlj-icon { width: 30px; height: 30px; margin: 0; }

	/* Menu rouge replié derrière le bouton. */
	.mlj-nav { display: none; padding: 0; text-align: left; }
	.mlj-nav.is-open,
	.no-js .mlj-nav { display: block; }
	.mlj-nav-list { display: block; }
	.mlj-nav-item { display: block; border-top: 1px solid rgba(255, 255, 255, 0.18); }
	.mlj-nav-link { padding: 13px 20px; font-size: 13px; }

	/* Contenu. */
	.mlj-page-title { font-size: 26px; }
	.mlj-columns { display: block; }
	.mlj-sidebar { margin-top: 50px; }
	.mlj-grid { grid-template-columns: minmax(0, 1fr); }
	.mlj-post-nav { grid-template-columns: minmax(0, 1fr); }
	.mlj-post-nav-next { text-align: left; }
	.mlj-comment-list .children { margin-left: 16px; }
	.alignleft,
	.alignright { float: none; margin: 0 0 1em; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	/* Footer. */
	.mlj-services { grid-template-columns: minmax(0, 1fr); }
	.mlj-footer-cols { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
	.mlj-features { gap: 2px; }
	.mlj-feature .mlj-icon,
	.mlj-feature--store .mlj-icon { width: 26px; height: 26px; }
	.mlj-brand { max-width: calc(100% - 44px - 165px); }
}

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