/*
 * Maison l'Estran — styles du thème enfant (chargés après Sober).
 *
 * 1. Variables et typographie globale
 * 2. En-tête, bandeau, sélecteur de langue
 * 3. Mise en page des contenus en blocs
 * 4. Styles de blocs (boutons, listes, images, accordéons, filets, titres)
 * 5. Accueil
 * 6. Pages professionnelles, héritage, tarifs
 * 7. FAQ
 * 8. Contact
 * 9. Grille d'articles (Journal)
 * 10. Boutique en mode vitrine
 * 11. Pied de page et popup
 * 12. Adaptations tablette et mobile
 */

/* 1. Variables et typographie globale ------------------------------------ */

:root {
	--mle-font: "Neue-Einstellung", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--mle-ink: #23232c;
	--mle-black: #1d1d1d;
	--mle-text: #292929;
	--mle-cream: #eceae4;
	--mle-linen: #eaeade;
	--mle-linen-hover: #e0dfde;
	--mle-mist: #f1f2f4;
	--mle-sage: #7f8f7a;
	--mle-muted: #909097;
	--mle-radius: 10px;
	--mle-width: 1140px;
	--mle-gap: 20px;
	--mle-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2L210.1 439.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E");
	--mle-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.5 273L91.1 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.7-22.7c-9.4-9.4-9.4-24.5 0-33.9L188.5 256 34.5 101.3c-9.3-9.4-9.3-24.5 0-33.9l22.7-22.7c9.4-9.4 24.6-9.4 33.9 0L285.5 239c9.4 9.4 9.4 24.6 0 34z'/%3E%3C/svg%3E");
}

body {
	background-color: var(--mle-cream);
}

body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.nav-menu > li > a,
.side-menu .menu > li > a,
.side-menu .sub-menu a,
.primary-menu.side-menu .menu > li > a,
.primary-menu.side-menu .sub-menu li a,
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.footer-info,
.topbar {
	font-family: var(--mle-font) !important;
}

h2, .h2 {
	font-weight: 600;
}

/* Titre du bandeau de page (Sober utilisait « Sofia Pro »). */
.page-header .page-title,
.page-header h1 {
	font-family: var(--mle-font) !important;
	font-weight: 300;
}

/* 2. En-tête, bandeau, sélecteur de langue -------------------------------- */

.topbar .mle-topbar-text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.topbar .mle-topbar-text::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M320 96a32 32 0 1 1-64 0 32 32 0 1 1 64 0zm21.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c88.4 0 160-71.6 160-160v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-56-56c-9.4-9.4-24.6-9.4-33.9 0l-56 56c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 53-43 96-96 96H320V240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1z'/%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 576 512'%3E%3Cpath d='M320 96a32 32 0 1 1-64 0 32 32 0 1 1 64 0zm21.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c88.4 0 160-71.6 160-160v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-56-56c-9.4-9.4-24.6-9.4-33.9 0l-56 56c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 53-43 96-96 96H320V240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Sélecteur de langue (ajouté au menu du bandeau). */
.topbar-menu .mle-lang-item > a {
	padding-left: 0;
	padding-right: 0;
	opacity: .6;
	transition: opacity .2s;
}

.topbar-menu .mle-lang-item + .mle-lang-item {
	margin-left: 12px !important;
}

.topbar-menu .mle-lang-item--first {
	margin-left: 28px !important;
	padding-left: 28px !important;
	border-left: 1px solid rgba(255, 255, 255, .35);
}

.topbar-menu .mle-lang-item > a:hover,
.topbar-menu .mle-lang-item.current-lang > a {
	opacity: 1;
}

.topbar-menu .mle-lang-item.current-lang > a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mle-lang-switcher ul {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mle-lang-switcher .is-current a {
	text-decoration: underline;
}

/* Éléments d'achat de Sober et des anciennes extensions (filet de sécurité). */
.header-icon .menu-item-cart,
.header-icon .menu-item-account,
.header-icon .menu-item-wishlist,
.mobile-menu .menu-item-cart,
.mobile-menu .menu-item-account,
.mobile-menu .menu-item-wishlist,
#cart-modal,
#login-modal,
.sticky-cart-form,
.wcboost-wishlist-button,
.add-to-wishlist-button,
.sober-loop-atc-button,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce .widget_price_filter,
.woocommerce-store-notice,
.woocs-style-1-dropdown,
.wcboost-variation-swatches__wrapper .price {
	display: none !important;
}

/* 3. Mise en page des contenus en blocs ----------------------------------- */

.mle-page {
	max-width: var(--mle-width);
	margin: 0 auto;
	padding: 50px 0 60px;
	color: #000;
}

.container .mle-page,
.sober-container .mle-page {
	padding-left: 0;
	padding-right: 0;
}

.entry-content .mle-page > *:first-child {
	margin-top: 0;
}

.mle-page p,
.mle-page li {
	font-size: 15px;
	line-height: 20px;
}

.mle-page p {
	margin: 0 0 22.5px;
}

.mle-page ul:not([class*="is-style-mle"]):not(.mle-info-list),
.mle-page ol {
	margin: 0 0 22.5px;
	padding-left: 40px;
	list-style: disc;
}

.mle-page .has-text-align-justify,
.mle-justify p {
	text-align: justify;
}

.mle-page strong {
	font-weight: 700;
}

.mle-page h2,
.mle-page h3 {
	color: var(--mle-ink);
	font-weight: 600;
	margin: 0 0 20px;
}

.mle-page h2 {
	font-size: 30px;
	line-height: 1;
}

.mle-page h3 {
	font-size: 20px;
	line-height: 1;
}

.mle-page .wp-block-image {
	margin: 0;
}

.mle-page .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.mle-page .wp-block-columns {
	margin-bottom: 0;
}

.mle-stack > * + * {
	margin-top: 20px;
}

.mle-row {
	display: flex;
	gap: var(--mle-gap);
}

.mle-row > * {
	flex: 1 1 0;
	min-width: 0;
}

.mle-fullbleed {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	max-width: 100vw;
}

.mle-center {
	text-align: center;
}

/* 4. Styles de blocs ------------------------------------------------------- */

/* Titres de section (27 px, majuscules) et surtitres. */
.mle-page .is-style-mle-section,
.is-style-mle-section {
	font-size: 27px;
	line-height: 1;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--mle-ink);
	margin: 0 0 20px;
}

.mle-page .is-style-mle-kicker,
.is-style-mle-kicker {
	font-size: 15px;
	line-height: 1.2;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--mle-ink);
	margin: -8px 0 20px;
}

/* Filet noir. */
.wp-block-separator.is-style-mle-line,
.mle-page hr.wp-block-separator {
	border: 0;
	border-top: 1px solid #000;
	width: 100%;
	max-width: none;
	height: 0;
	margin: 35px 0;
	opacity: 1;
	background: none;
}

/* Boutons. */
.wp-block-button.is-style-mle-outline .wp-block-button__link,
.mle-btn--outline {
	display: inline-block;
	background: #fff;
	color: #000;
	border: 2px solid #000;
	border-radius: 5px;
	padding: 12px 24px;
	font-family: var(--mle-font);
	font-size: 15px;
	line-height: 15px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 1s, color 1s;
}

.wp-block-button.is-style-mle-outline .wp-block-button__link:hover,
.wp-block-button.is-style-mle-outline .wp-block-button__link:focus,
.mle-btn--outline:hover,
.mle-btn--outline:focus {
	background: #000;
	color: #fff;
}

.wp-block-button.is-style-mle-soft {
	width: 100%;
}

.wp-block-button.is-style-mle-soft .wp-block-button__link {
	display: block;
	width: 100%;
	background: var(--mle-linen);
	color: #000;
	border: 0;
	border-radius: 3px;
	padding: 12px 24px;
	font-size: 18px;
	line-height: 18px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	transition: background-color .3s;
}

.wp-block-button.is-style-mle-soft .wp-block-button__link:hover,
.wp-block-button.is-style-mle-soft .wp-block-button__link:focus {
	background: rgba(224, 223, 222, .82);
	color: #000;
}

.wp-block-button.is-style-mle-link .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	color: #0e0e0e;
	border: 0;
	border-radius: 0;
	padding: 0 21px 21px 0;
	font-size: 15px;
	line-height: 15px;
	font-weight: 900;
	text-decoration: none;
}

.wp-block-button.is-style-mle-link .wp-block-button__link::before {
	content: "";
	width: 8px;
	height: 12px;
	background: currentColor;
	-webkit-mask: var(--mle-chevron) center / contain no-repeat;
	mask: var(--mle-chevron) center / contain no-repeat;
}

.wp-block-buttons.mle-buttons-row {
	gap: 30px;
	justify-content: center;
	margin-top: 10px;
}

/* Listes à coches et à flèches. */
ul.is-style-mle-check,
ul.is-style-mle-check-lg,
ul.is-style-mle-arrow {
	list-style: none;
	margin: 0 0 22.5px;
	padding: 0;
}

ul.is-style-mle-check li,
ul.is-style-mle-check-lg li,
ul.is-style-mle-arrow li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

ul.is-style-mle-check li {
	padding: 4px 0;
	font-size: 15px;
	line-height: 20px;
}

ul.is-style-mle-check li::before,
ul.is-style-mle-check-lg li::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--mle-check) center / contain no-repeat;
	mask: var(--mle-check) center / contain no-repeat;
}

ul.is-style-mle-check-lg li {
	padding: 3.5px 0;
	gap: 14px;
	font-size: 19px;
	line-height: 37px;
	font-weight: 700;
	color: var(--mle-ink);
}

ul.is-style-mle-check-lg li::before {
	width: 26px;
	height: 26px;
	background: var(--mle-sage);
}

ul.is-style-mle-arrow li {
	font-size: 18px;
	line-height: 1.3;
	padding: 6px 0;
}

ul.is-style-mle-arrow li::before {
	content: "→";
	font-size: 14px;
}

/* Images : bandeau et photo (350 px de haut, recadrées). */
.wp-block-image.is-style-mle-banner img,
.wp-block-image.is-style-mle-photo img {
	width: 100%;
	height: 350px !important;
	object-fit: cover;
	object-position: center center;
}

.wp-block-image.is-style-mle-banner {
	margin: 0;
}

.mle-pos-top img { object-position: center top !important; }
.mle-pos-bottom img { object-position: center bottom !important; }
.mle-pos-top-left img { object-position: left top !important; }
.mle-pos-top-right img { object-position: right top !important; }
.mle-pos-bottom-right img { object-position: right bottom !important; }
.mle-pos-right img { object-position: right center !important; }

/* Accordéon (bloc « Détails »). */
.wp-block-details.is-style-mle-accordion {
	border: 1px solid #d5d8dc;
	background: transparent;
	margin: 0 !important;
}

.wp-block-details.is-style-mle-accordion + .wp-block-details.is-style-mle-accordion {
	border-top: 0;
}

.wp-block-details.is-style-mle-accordion > summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 10px;
	font-size: 17px;
	line-height: 1.8;
	text-transform: uppercase;
	color: var(--mle-ink);
	cursor: pointer;
	list-style: none;
}

.wp-block-details.is-style-mle-accordion > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-mle-accordion > summary::before {
	content: "+";
	flex: 0 0 15px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.wp-block-details.is-style-mle-accordion[open] > summary::before {
	content: "–";
}

.wp-block-details.is-style-mle-accordion[open] > summary {
	border-bottom: 1px solid #d5d8dc;
}

.wp-block-details.is-style-mle-accordion > :not(summary) {
	padding: 10px 12px 0;
	margin: 0;
	font-size: 13px;
	line-height: 30px;
}

.wp-block-details.is-style-mle-accordion > :last-child:not(summary) {
	padding-bottom: 16px;
}

/* 5. Accueil --------------------------------------------------------------- */

.mle-home {
	padding-top: 30px;
	padding-bottom: 30px;
}

.mle-hero.wp-block-columns {
	gap: 0;
	align-items: stretch;
	margin: 0 0 30px;
}

.mle-hero__visual {
	padding: 16px 8px 8px;
}

.mle-hero__visual .wp-block-image {
	text-align: right;
}

.mle-hero__visual .wp-block-image img {
	width: 91%;
	margin-left: auto;
}

.mle-hero__content {
	position: relative;
	padding: 60px 10px 26px;
}

.mle-hero__content .mle-hero__logo {
	position: absolute;
	top: 14px;
	right: 5px;
	width: 155px;
	margin: 0;
	pointer-events: none;
}

.mle-hero__content .mle-hero__logo img {
	width: 155px;
}

.mle-page .mle-hero__title {
	position: relative;
	margin: 10px 0 9px -2px;
	font-size: 60px;
	line-height: 47px;
	font-weight: 800;
	color: #313131;
}

.mle-page p.mle-hero__subtitle {
	margin: 0 0 15px;
	font-size: 15px;
	line-height: 23px;
	text-transform: uppercase;
	color: var(--mle-black);
}

.mle-page p.mle-hero__notes {
	margin: 0 0 42px;
	font-size: 15px;
	line-height: 18px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--mle-black);
}

.mle-page p.mle-hero__text {
	margin: 0 33% 31px 0;
	font-size: 15px;
	line-height: 23px;
	text-align: justify;
	color: var(--mle-black);
}

.mle-split.wp-block-columns {
	gap: 23px;
	margin: 0 0 31px;
}

.mle-split .mle-split__text p {
	font-size: 15px;
	line-height: 23px;
	text-align: justify;
	color: var(--mle-black);
}

.mle-split .mle-split__text h2 {
	margin: 0 0 20px;
}

.mle-split .mle-split__text h3 {
	margin: 0 0 20px;
}

.mle-split .mle-split__media {
	min-height: 240px;
	border-radius: var(--mle-radius);
	overflow: hidden;
}

.mle-split .mle-split__media.wp-block-cover {
	padding: 0;
	margin: 0;
}

.mle-split--tall .mle-split__media {
	min-height: 337px;
}

.mle-home .mle-home__journal-title {
	margin: 0 0 30px;
}

/* 6. Pages professionnelles, héritage, tarifs ----------------------------- */

.mle-cards.wp-block-columns {
	gap: 20px;
	margin: 20px 0 0;
}

.mle-cards .wp-block-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.mle-cards h2 {
	margin: 20px 0 20px;
}

.mle-cards p {
	font-size: 15px;
	line-height: 31.7px;
	color: var(--mle-text);
}

.mle-pair.wp-block-columns {
	gap: 20px;
	margin: 30px 0 0;
}

.mle-pair--half {
	max-width: 75%;
}

.mle-iconboxes.wp-block-columns {
	gap: 30px;
	margin: 40px 0 30px;
}

.mle-iconbox {
	text-align: center;
}

.mle-iconbox::before {
	content: "";
	display: block;
	width: 50px;
	height: 50px;
	margin: 0 auto 20px;
	background: #000;
	-webkit-mask: var(--mle-icon) center / contain no-repeat;
	mask: var(--mle-icon) center / contain no-repeat;
}

.mle-page .mle-iconbox h3 {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 20px;
}

.mle-page .mle-iconbox p {
	font-size: 13px;
	line-height: 30px;
	color: var(--mle-muted);
}

.mle-icon-quality { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M224 32c0-17.67-14.33-32-32-32h-64c-17.67 0-32 14.33-32 32v96h128V32zm256 96c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm-256 32H96c-53.02 0-96 42.98-96 96v224c0 17.67 14.33 32 32 32h256c17.67 0 32-14.33 32-32V256c0-53.02-42.98-96-96-96zm-64 256c-44.18 0-80-35.82-80-80s35.82-80 80-80 80 35.82 80 80-35.82 80-80 80zM480 96c17.67 0 32-14.33 32-32s-14.33-32-32-32-32 14.33-32 32 14.33 32 32 32zm-96 32c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm-96-96c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm96 0c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32zm96 192c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z'/%3E%3C/svg%3E"); }
.mle-icon-vegan { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z'/%3E%3C/svg%3E"); }
.mle-icon-leaf { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M546.2 9.7c-5.6-12.5-21.6-13-28.3-1.2C486.9 62.4 431.4 96 368 96h-80C182 96 96 182 96 288c0 7 .8 13.7 1.5 20.5C161.3 262.8 253.4 224 384 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C132.6 256 26 410.1 2.4 468c-6.6 16.3 1.2 34.9 17.5 41.6 16.4 6.8 35-1.1 41.8-17.3 1.5-3.6 20.9-47.9 71.9-90.6 32.4 43.9 94 85.8 174.9 77.2C465.5 467.5 576 326.7 576 154.3c0-50.2-10.8-102.2-29.8-144.6z'/%3E%3C/svg%3E"); }
.mle-icon-flask { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z'/%3E%3C/svg%3E"); }
.mle-icon-signs { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M507.31 84.69L464 41.37c-6-6-14.14-9.37-22.63-9.37H288V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v16H56c-13.25 0-24 10.75-24 24v80c0 13.25 10.75 24 24 24h385.37c8.49 0 16.62-3.37 22.63-9.37l43.31-43.31c6.25-6.26 6.25-16.38 0-22.63zM224 496c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h-64v112zm232-272H288v-32h-64v32H70.63c-8.49 0-16.62 3.37-22.63 9.37L4.69 276.69c-6.25 6.25-6.25 16.38 0 22.63L48 342.63c6 6 14.14 9.37 22.63 9.37H456c13.25 0 24-10.75 24-24v-80c0-13.25-10.75-24-24-24z'/%3E%3C/svg%3E"); }
.mle-icon-cocktail { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M296 464h-56V338.78l168.74-168.73c15.52-15.52 4.53-42.05-17.42-42.05H24.68c-21.95 0-32.94 26.53-17.42 42.05L176 338.78V464h-56c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h240c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40zM432 0c-62.61 0-115.35 40.2-135.18 96h52.54c16.65-28.55 47.27-48 82.64-48 52.93 0 96 43.06 96 96s-43.07 96-96 96c-14.04 0-27.29-3.2-39.32-8.64l-35.26 35.26C379.23 279.92 404.59 288 432 288c79.53 0 144-64.47 144-144S511.53 0 432 0z'/%3E%3C/svg%3E"); }

.mle-page .mle-price-title {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 20px;
}

.mle-page .mle-price-title + p {
	font-size: 13px;
	margin-bottom: 30px;
}

.mle-legal h2 {
	font-size: 22px !important;
	line-height: 1.3 !important;
	margin: 30px 0 15px !important;
}

/* 7. FAQ ------------------------------------------------------------------- */

.mle-faq-intro {
	max-width: 750px;
	margin: 0 auto 40px;
}

.mle-page .mle-faq-intro h2 {
	font-size: 27px;
	line-height: 1.545;
	margin-bottom: 15px;
}

.mle-page .mle-faq-intro p {
	font-size: 16px;
	line-height: 2;
	color: var(--mle-text);
}

.wp-block-details.is-style-mle-faq {
	border: 2px solid var(--mle-ink);
	margin: 0 0 20px !important;
	padding: 0;
	background: transparent;
}

.wp-block-details.is-style-mle-faq > summary {
	position: relative;
	display: block;
	padding: 50px 150px 50px 140px;
	font-size: 20px;
	line-height: 1.6;
	color: var(--mle-ink);
	cursor: pointer;
	list-style: none;
}

.wp-block-details.is-style-mle-faq > summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.is-style-mle-faq > summary::before {
	content: "Question";
	position: absolute;
	left: 30px;
	top: 56px;
	font-size: 10px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--mle-muted);
}

:lang(de) .wp-block-details.is-style-mle-faq > summary::before {
	content: "Frage";
}

.wp-block-details.is-style-mle-faq > summary::after {
	content: "+";
	position: absolute;
	right: 30px;
	top: 50%;
	width: 50px;
	height: 50px;
	margin-top: -25px;
	border: 2px solid var(--mle-ink);
	border-radius: 50%;
	font-size: 26px;
	font-weight: 300;
	line-height: 44px;
	text-align: center;
	transition: transform .5s;
}

.wp-block-details.is-style-mle-faq[open] > summary::after {
	content: "–";
}

.wp-block-details.is-style-mle-faq > :not(summary) {
	margin: 0;
	padding: 0 150px 0 140px;
	font-size: 15px;
	line-height: 26px;
	color: var(--mle-text);
}

.wp-block-details.is-style-mle-faq > :not(summary) + :not(summary) {
	padding-top: 15px;
}

.wp-block-details.is-style-mle-faq > :last-child:not(summary) {
	padding-bottom: 50px;
}

.wp-block-details.is-style-mle-faq ul {
	padding-left: 180px !important;
}

/* 8. Contact --------------------------------------------------------------- */

.mle-contact-intro {
	max-width: 780px;
	margin: 0 auto;
	padding: 10px 0 0;
}

.mle-page .mle-contact-intro > p {
	font-size: 18px;
	line-height: 25px;
	color: var(--mle-text);
}

.mle-info-list {
	list-style: none;
	margin: 33px 0 53px;
	padding: 0;
}

.mle-info-list li {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--mle-ink);
}

.mle-info-list__icon {
	display: inline-flex;
	width: 25px;
	margin-right: 5px;
}

.mle-info-list__icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.mle-info-list__label {
	width: 100px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--mle-muted);
}

.mle-info-list__value a {
	color: inherit;
}

.mle-contact-band {
	background: var(--mle-mist);
	padding: 0;
	margin-bottom: -60px !important;
}

.mle-contact-band > .wp-block-columns {
	gap: 0;
	margin: 0;
	align-items: center;
}

.mle-contact-band .mle-map {
	padding: 40px;
}

.mle-map iframe {
	display: block;
	width: 100%;
	height: 580px;
	border: 0;
}

.mle-contact-form {
	padding: 40px 165px;
}

.mle-page .mle-contact-form h2 {
	font-size: 30px;
	margin: 20px 0 17px;
}

.mle-contact-form .wpcf7 input[type="text"],
.mle-contact-form .wpcf7 input[type="email"],
.mle-contact-form .wpcf7 textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid #c4c4c4;
	background: transparent;
	padding: 10px 0;
	font-size: 15px;
}

.mle-contact-form .wpcf7 textarea {
	height: 90px;
}

.mle-contact-form .wpcf7 input[type="submit"] {
	width: 100%;
	height: 72px;
	background: var(--mle-ink);
	color: #fff;
	border: 0;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
}

/* 9. Grille d'articles (Journal) ------------------------------------------ */

.mle-posts .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mle-posts .wp-block-post {
	margin: 0;
	text-align: center;
}

.mle-posts .wp-block-post-featured-image {
	margin: 0 0 15px;
}

.mle-posts .wp-block-post-featured-image img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: var(--mle-radius);
}

.mle-posts .mle-post-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: 0 0 8px;
	font-size: 11px;
	line-height: 23px;
	font-weight: 500;
}

.mle-posts .wp-block-post-date {
	color: #bfbfc8;
	font-size: 11px;
}

.mle-posts .wp-block-post-terms {
	font-size: 11px;
	text-transform: uppercase;
}

.mle-posts .wp-block-post-terms a {
	color: var(--mle-ink);
}

.mle-posts .wp-block-post-terms .wp-block-post-terms__separator {
	color: transparent;
	margin-right: 6px;
}

.mle-posts .wp-block-post-title {
	margin: 0 0 15px;
	padding: 0 30px;
	font-size: 20px;
	line-height: 30px;
	font-weight: 400;
}

.mle-posts .wp-block-post-title a {
	color: var(--mle-ink);
	text-decoration: none;
}

.mle-posts .wp-block-post-excerpt {
	margin: 0 0 15px;
}

.mle-posts .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 12px;
	line-height: 24px;
	color: #1e1e23;
}

.mle-posts .wp-block-post-excerpt__more-text {
	display: none;
}

/* 10. Boutique en mode vitrine -------------------------------------------- */

/* Fiches produits, catégories et catalogue : fond blanc. */
body.single-product,
body.tax-product_cat,
body.tax-product_tag,
body.tax-product_brand,
body.post-type-archive-product {
	background-color: #fff;
}


.mle-product-cta {
	margin: 30px 0 25px;
}

.mle-product-cta__note {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--mle-muted);
}

.woocommerce div.product .woocommerce-tabs .panel .mle-product-desc p {
	font-size: 13px;
	line-height: 1.55;
}

.mle-product-desc h3 {
	font-size: 17px;
	font-weight: 700;
	margin: 30px 0 20px;
}

.mle-quality-box {
	background: var(--mle-mist);
	border-radius: 15px;
	padding: 20px 28px;
}

.mle-page .mle-quality-box h3,
.mle-quality-box h3 {
	font-size: 20px;
	text-transform: uppercase;
	margin: 0 0 15px;
}

.mle-quality-box .mle-footnote {
	font-size: 10px !important;
	line-height: 2 !important;
}

/* 11. Pied de page et popup ----------------------------------------------- */

.site-footer .mle-footer-title {
	margin: 0;
	color: #fffef2;
}

.site-footer .mle-footer-links,
.site-footer .mle-footer-address {
	margin: 0;
	font-size: 14px;
	line-height: 2.11;
}

.site-footer .mle-footer-map {
	height: auto;
}

.sober-popup .mle-popup-title {
	color: #000;
	font-size: 17px;
	font-weight: 700;
}

.sober-popup .mle-popup-text {
	color: #000;
	font-size: 12px;
}

/* 12. Adaptations tablette et mobile -------------------------------------- */

@media (max-width: 1199px) {
	.mle-page {
		padding-left: 15px;
		padding-right: 15px;
	}

	.container .mle-page {
		padding-left: 0;
		padding-right: 0;
	}

	.mle-contact-form {
		padding: 40px;
	}
}

@media (max-width: 1024px) {
	.mle-page p.mle-hero__text {
		margin-right: 0;
	}

	.mle-hero__content .mle-hero__logo {
		width: 110px;
	}

	.mle-hero__content .mle-hero__logo img {
		width: 110px;
	}

	.wp-block-details.is-style-mle-faq > summary {
		padding: 40px 100px 40px 30px;
	}

	.wp-block-details.is-style-mle-faq > summary::before {
		position: static;
		display: block;
		margin-bottom: 10px;
	}

	.wp-block-details.is-style-mle-faq > :not(summary) {
		padding-left: 30px;
		padding-right: 30px;
	}

	.wp-block-details.is-style-mle-faq ul {
		padding-left: 60px !important;
	}

	.mle-iconboxes.wp-block-columns {
		flex-wrap: wrap !important;
	}

	.mle-iconboxes.wp-block-columns > .wp-block-column {
		flex-basis: calc(50% - 15px) !important;
	}
}

@media (max-width: 781px) {
	.mle-page {
		padding-top: 30px;
	}

	.mle-hero__visual {
		padding: 12px 0 38px;
	}

	.mle-hero__visual .wp-block-image img {
		width: 100%;
	}

	.mle-hero__content {
		padding: 30px 0 31px;
	}

	.mle-hero__content .mle-hero__logo {
		top: -60px;
		right: 0;
		width: 90px;
	}

	.mle-hero__content .mle-hero__logo img {
		width: 90px;
	}

	.mle-page .mle-hero__title {
		font-size: 48px;
		line-height: 40px;
	}

	.mle-split .mle-split__media,
	.mle-split--tall .mle-split__media {
		min-height: 240px;
	}

	.mle-split--media-first > .wp-block-column:last-child {
		order: -1;
	}

	.mle-posts .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
	}

	.mle-pair--half {
		max-width: none;
	}

	.mle-iconboxes.wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
	}

	.wp-block-buttons.mle-buttons-row {
		flex-direction: column;
		gap: 15px;
	}

	.mle-contact-band .mle-map {
		padding: 0;
	}

	.mle-map iframe {
		height: 360px;
	}

	.mle-contact-form {
		padding: 30px 15px;
	}

	.mle-info-list__label {
		width: 80px;
	}

	.wp-block-details.is-style-mle-faq > summary {
		padding: 30px 80px 30px 20px;
		font-size: 17px;
	}

	.wp-block-details.is-style-mle-faq > summary::after {
		right: 15px;
		width: 40px;
		height: 40px;
		margin-top: -20px;
		line-height: 34px;
	}

	.wp-block-details.is-style-mle-faq > :not(summary) {
		padding-left: 20px;
		padding-right: 20px;
	}

	.wp-block-details.is-style-mle-faq ul {
		padding-left: 40px !important;
	}

	.topbar-menu .mle-lang-item--first {
		margin-left: 12px !important;
		padding-left: 12px !important;
	}
}

/* 13. Reprise de l'ancien « CSS additionnel » du Personnaliser ------------ */

.widget_text .has-small-font-size,
.footer-widgets .has-small-font-size {
	color: #fffef2;
}

.text-dark,
.text-dark a,
.text-dark a:hover,
.text-dark p,
.text-dark strong,
.text-dark h1,
.text-dark h2,
.text-dark h3,
.text-dark h4,
.text-dark h5,
.text-dark h6 {
	color: #fffef2;
}

.footer-widgets {
	font-size: 14px;
}

.footer-widgets a {
	color: #fffef2;
}

.footer-widgets a:hover {
	color: #fff;
}

.widget {
	padding: 0 0 10px 0;
	margin: 0;
	border-bottom: 1px solid #f1f2f4;
}

.attachment-sober-blog-grid.size-sober-blog-grid.wp-post-image {
	width: 360px;
	aspect-ratio: auto 360 / 240;
	height: 240px;
	border-radius: 10px;
}

.woocommerce div.product p.stock {
	display: none;
}

.woocommerce .star-rating span::before {
	color: #c9cccf;
}

.woocommerce #reviews #comments ol.commentlist li .meta {
	float: none;
	text-align: left;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0 0 5px 0;
	border-bottom: 1px solid #f1f2f4;
}

.woocommerce #reviews #comments ol.commentlist li {
	margin-bottom: 15px;
}

.woocommerce div.product .product_title {
	font-size: 32px;
	font-weight: 300;
	text-transform: none;
	color: #1e1e23;
	text-align: left;
	padding-bottom: 20px;
}

.woocommerce div.product .star-rating {
	float: none;
	margin: 0;
}

.entry-summary {
	color: #1e1e23;
}

.woocommerce div.product div.summary {
	font-size: 14px;
	text-align: justify;
	padding-left: 15px;
	padding-top: 40px;
	overflow: visible;
	max-height: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
	text-align: justify;
	margin-bottom: 60px;
	box-shadow: none;
	border-radius: 0;
}

.pswp__bg {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
	transform: translateZ(0);
	backface-visibility: hidden;
	will-change: opacity;
}

.sober-post-grid .read-more,
.sober-product-grid .product-filter {
	display: none;
}

/* 14. Coordonnées (page Contact) ------------------------------------------ */

.mle-contact-details {
	margin: 33px 0 53px;
}

.mle-page p.mle-info {
	display: flex;
	align-items: center;
	margin: 0 0 30px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--mle-ink);
}

.mle-page p.mle-info::before {
	content: "";
	flex: 0 0 16px;
	height: 16px;
	margin-right: 14px;
	background: currentColor;
	-webkit-mask: var(--mle-icon) center / contain no-repeat;
	mask: var(--mle-icon) center / contain no-repeat;
}

.mle-page p.mle-info strong {
	flex: 0 0 100px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--mle-muted);
}

.mle-info--address { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z'/%3E%3C/svg%3E"); }
.mle-info--email { --mle-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z'/%3E%3C/svg%3E"); }

@media (max-width: 781px) {
	.mle-page p.mle-info strong {
		flex-basis: 80px;
	}
}

/* 15. Lisibilité : tailles de texte minimales ---------------------------- */

.mle-page p,
.mle-page li {
	font-size: 16px;
	line-height: 1.65;
}

.mle-page p.mle-hero__text,
.mle-split .mle-split__text p {
	font-size: 16px;
	line-height: 25px;
}

.mle-cards p {
	font-size: 16px;
	line-height: 28px;
}

.mle-page .mle-iconbox p,
.wp-block-details.is-style-mle-accordion > :not(summary) {
	font-size: 15px;
	line-height: 26px;
}

.mle-page .mle-price-title + p {
	font-size: 15px;
}

.wp-block-details.is-style-mle-faq > summary::before {
	font-size: 12px;
}

.wp-block-details.is-style-mle-faq > :not(summary) {
	font-size: 16px;
	line-height: 27px;
}

.mle-page p.mle-info {
	font-size: 16px;
}

.mle-page p.mle-info strong {
	font-size: 13px;
}

.mle-product-cta__note {
	font-size: 14px;
}

.mle-quality-box .mle-footnote {
	font-size: 12px !important;
}

/* Articles (accueil, Journal, article). */
.mle-posts .mle-post-meta,
.mle-posts .wp-block-post-date,
.mle-posts .wp-block-post-terms,
.sober-post-grid .entry-meta,
.sober-post-grid .entry-meta a,
.sober-post-grid .entry-meta time,
.entry-meta,
.entry-meta a,
.entry-meta time {
	font-size: 13px;
}

.mle-posts .wp-block-post-excerpt__excerpt,
.sober-post-grid .entry-summary,
.post-summary .entry-summary,
.post-summary .entry-summary p {
	font-size: 14px;
	line-height: 24px;
}

.post-summary .read-more,
.post-navigation a,
.post-navigation span,
.entry-footer .tags-links a {
	font-size: 13px;
}

/* Fil d'Ariane, boutique, fiches produits. */
.breadcrumb,
.breadcrumb a,
.breadcrumb span,
.woocommerce-breadcrumb,
.woocommerce-breadcrumb a,
.woocommerce-result-count {
	font-size: 13px;
}

.woocommerce div.product div.summary,
.woocommerce div.product .woocommerce-product-details__short-description {
	font-size: 15px;
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce div.product .woocommerce-tabs .panel li,
.woocommerce div.product .woocommerce-tabs .panel .mle-product-desc p {
	font-size: 15px;
	line-height: 1.75;
}

.woocommerce div.product .product_meta,
.woocommerce div.product .product_meta a,
.woocommerce-review-link {
	font-size: 12px;
}

/* Pied de page. */
.footer-widgets,
.site-footer .mle-footer-links,
.site-footer .mle-footer-address {
	font-size: 15px;
}

.footer-widgets .has-small-font-size,
.site-footer .mle-footer-title {
	font-size: 14px;
}

.footer-bottom {
	font-size: 13px;
}

/* 16. Avis et notes clients retirés -------------------------------------- */

.star-rating,
.woocommerce-product-rating,
.woocommerce .products .star-rating,
.woocommerce-tabs .reviews_tab,
.woocommerce-tabs #tab-reviews,
#reviews {
	display: none !important;
}

/* 17. FAQ : cadres et croix noirs ----------------------------------------- */

.sober-faq,
.sober-faq .toggle-icon,
.sober-faq.open .toggle-icon {
	border-color: #23232c;
}

.sober-faq .toggle-icon:before,
.sober-faq .toggle-icon:after,
.sober-faq.open .toggle-icon:after {
	background-color: #23232c;
}

.wp-block-details.is-style-mle-faq,
.wp-block-details.is-style-mle-faq > summary::after {
	border-color: #23232c;
	color: #23232c;
}

/* 18. Ajustements après migration ---------------------------------------- */

.mle-page .wp-block-separator.is-style-mle-line,
.wp-block-separator.is-style-mle-line:not(.is-style-wide):not(.is-style-dots) {
	width: 100% !important;
	max-width: none !important;
	border: 0 !important;
	border-top: 1px solid #000 !important;
}

.mle-page > p {
	text-align: justify;
}

/* 19. Accueil et listes d'articles : ajustements ------------------------- */

.mle-home {
	padding-top: 40px;
}

.header-transparent .mle-home {
	padding-top: 150px;
}

.mle-hero__content .mle-hero__logo {
	top: 30px;
	opacity: 1;
}

.mle-posts .wp-block-post-template,
.entry-content .mle-posts .wp-block-post-template {
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.mle-posts .wp-block-post-template > li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mle-posts .wp-block-post-template > li::marker {
	content: "";
}

.wp-block-details.is-style-mle-accordion:first-of-type,
.mle-pair + .wp-block-details.is-style-mle-accordion {
	margin-top: 10px !important;
}

.wp-block-details.is-style-mle-accordion + .wp-block-image {
	margin-top: 10px;
}

@media (max-width: 781px) {
	.mle-home,
	.header-transparent .mle-home {
		padding-top: 30px;
	}
}

/* 20. Mobile : pas d'icône panier, loupe de recherche à la place --------- */

.header-icon .menu-item-mobile-cart,
.header-icon .cart-contents,
.cart-counter {
	display: none !important;
}

@media (max-width: 1199px) {
	.header-icon > ul.hidden-xs {
		display: block !important;
		margin: 0;
		text-align: right;
	}

	.header-icon > ul.hidden-xs .menu-item-search {
		display: inline-block;
	}
}


/* 21. Mise en page identique dans toutes les langues ---------------------- */
/* Cartes du journal : titres et extraits calés sur 2 lignes, quelle que soit la longueur du texte traduit. */
.mle-posts .wp-block-post {
	display: flex;
	flex-direction: column;
}
.mle-posts .wp-block-post-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: 60px;
}
.mle-posts .wp-block-post-excerpt__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: 48px;
}
.mle-posts .mle-post-meta {
	flex-wrap: wrap;
	row-gap: 0;
}
/* Textes justifiés : césure des mots longs (allemand surtout) pour éviter les grands blancs. */
.mle-page p,
.mle-page li {
	-webkit-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 8 4 4;
	overflow-wrap: break-word;
}
.mle-page h1,
.mle-page h2,
.mle-page h3,
.mle-page h4 {
	overflow-wrap: break-word;
}
@media (max-width: 767px) {
	.mle-page h1,
	.mle-page h2,
	.mle-page h3 {
		-webkit-hyphens: auto;
		hyphens: auto;
		hyphenate-limit-chars: 10 4 4;
	}
}


/* 22. Fluidité : défilement amorti, en-tête fixe, FAQ ---------------------- */

/* Défilement amorti (Lenis) — styles recommandés par la bibliothèque. */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}

.lenis [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

/* Sans Lenis (écrans tactiles) : ancres et retour en haut en douceur. */
@media (prefers-reduced-motion: no-preference) {
	html:not(.lenis) {
		scroll-behavior: smooth;
	}

	/* En-tête : il glisse en place quand il devient fixe au lieu d'apparaître d'un coup. */
	.site-header.sticky {
		animation: mle-header-in .45s cubic-bezier(.22, .61, .36, 1);
	}
}

@keyframes mle-header-in {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

/* FAQ : le « + » se transforme en « – » en douceur (deux traits dessinés). */
.wp-block-details.is-style-mle-faq > summary::after,
.wp-block-details.is-style-mle-faq[open] > summary::after {
	content: "";
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40% 2px, 2px 40%;
	transition: background-size .4s cubic-bezier(.4, 0, .2, 1), transform .4s cubic-bezier(.4, 0, .2, 1);
}

.wp-block-details.is-style-mle-faq[open]:not(.mle-closing) > summary::after {
	background-size: 40% 2px, 2px 0;
	transform: rotate(180deg);
}

.wp-block-details.is-style-mle-accordion > summary::before,
.wp-block-details.is-style-mle-accordion[open] > summary::before {
	content: "";
	height: 15px;
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 2px, 2px 12px;
	transition: background-size .4s cubic-bezier(.4, 0, .2, 1);
}

.wp-block-details.is-style-mle-accordion[open]:not(.mle-closing) > summary::before {
	background-size: 12px 2px, 2px 0;
}

.wp-block-details.is-style-mle-accordion > summary,
.wp-block-details.is-style-mle-faq > summary {
	transition: border-color .4s ease;
}


/* 23. Ouverture de l'accueil (logo rond) et transitions entre les pages ----- */

@property --mle-sweep {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@property --mle-r {
	syntax: "<length>";
	inherits: false;
	initial-value: 0px;
}

.mle-intro {
	display: none;
}

html.mle-intro-active .mle-intro {
	--mle-intro-size: min(46vmin, 260px);
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: block;
	pointer-events: auto;
	/* Filet de sécurité : sans JavaScript, le voile s'efface seul. */
	animation: mle-intro-out .8s ease 4.2s forwards;
}

.mle-intro__veil {
	position: absolute;
	inset: 0;
	background: var(--mle-cream);
	-webkit-mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent var(--mle-r), #000 calc(var(--mle-r) + 1px));
	mask-image: radial-gradient(circle at var(--x, 50%) var(--y, 50%), transparent var(--mle-r), #000 calc(var(--mle-r) + 1px));
}

.mle-intro__stage {
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--mle-intro-size);
	height: var(--mle-intro-size);
	margin: calc(var(--mle-intro-size) / -2) 0 0 calc(var(--mle-intro-size) / -2);
}

/* Le cercle se trace d'un trait fin, puis s'évanouit comme une onde. */
.mle-intro__ring {
	position: absolute;
	inset: -9%;
	width: 118%;
	height: 118%;
	overflow: visible;
	transform: rotate(-90deg);
	animation: mle-ring-draw 1.15s cubic-bezier(.65, 0, .35, 1) .1s both, mle-ring-wave .8s cubic-bezier(.22, 1, .36, 1) 1.3s forwards;
	animation-play-state: paused;
}

.mle-intro__ring circle {
	fill: none;
	stroke: var(--mle-ink);
	stroke-width: .35;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: mle-ring-stroke 1.15s cubic-bezier(.65, 0, .35, 1) .1s forwards;
	animation-play-state: paused;
}

/* Le logo apparaît en balayage circulaire, en pivotant légèrement jusqu'à sa position. */
.mle-intro__badge {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	-webkit-mask-image: conic-gradient(#000 calc(var(--mle-sweep) - 10deg), transparent var(--mle-sweep));
	mask-image: conic-gradient(#000 calc(var(--mle-sweep) - 10deg), transparent var(--mle-sweep));
	will-change: transform;
	animation: mle-badge-sweep 1.15s cubic-bezier(.65, 0, .35, 1) .2s both, mle-badge-settle 1.6s cubic-bezier(.22, 1, .36, 1) .2s both;
	animation-play-state: paused;
}

html.mle-intro-go .mle-intro__ring,
html.mle-intro-go .mle-intro__ring circle,
html.mle-intro-go .mle-intro__badge {
	animation-play-state: running;
}

@keyframes mle-ring-stroke {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes mle-ring-draw {
	from {
		opacity: 0;
	}

	to {
		opacity: .55;
	}
}

@keyframes mle-ring-wave {
	from {
		opacity: .55;
		transform: rotate(-90deg) scale(1);
	}

	to {
		opacity: 0;
		transform: rotate(-90deg) scale(1.16);
	}
}

@keyframes mle-badge-sweep {
	from {
		--mle-sweep: 0deg;
	}

	to {
		--mle-sweep: 370deg;
	}
}

@keyframes mle-badge-settle {
	from {
		opacity: 0;
		transform: rotate(-38deg) scale(.9);
	}

	12% {
		opacity: 1;
	}

	to {
		opacity: 1;
		transform: rotate(0) scale(1);
	}
}

@keyframes mle-intro-out {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

/* Le logo de la page reste caché jusqu'à ce que le logo animé s'y pose. */
html.mle-intro-active:not(.mle-intro-landed) .mle-hero__logo img {
	opacity: 0;
}

/* Entrée de l'accueil : le texte monte en fondu, l'image se pose. */
@media (prefers-reduced-motion: no-preference) {
	html.mle-intro-reveal .mle-home .mle-hero__visual img {
		animation: mle-hero-settle 1.6s cubic-bezier(.22, 1, .36, 1) both;
	}

	html.mle-intro-reveal .mle-home .mle-hero__visual figure {
		overflow: hidden;
	}

	html.mle-intro-reveal .mle-hero__content > :not(.mle-hero__logo) {
		animation: mle-rise 1s cubic-bezier(.22, 1, .36, 1) both;
	}

	html.mle-intro-reveal .mle-hero__content > :nth-child(2) {
		animation-delay: .1s;
	}

	html.mle-intro-reveal .mle-hero__content > :nth-child(3) {
		animation-delay: .18s;
	}

	html.mle-intro-reveal .mle-hero__content > :nth-child(4) {
		animation-delay: .26s;
	}

	html.mle-intro-reveal .mle-hero__content > :nth-child(5) {
		animation-delay: .34s;
	}

	html.mle-intro-reveal .mle-hero__content > :nth-child(n+6) {
		animation-delay: .42s;
	}
}

@keyframes mle-hero-settle {
	from {
		transform: scale(1.06);
	}

	to {
		transform: scale(1);
	}
}

@keyframes mle-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}


/* Transitions entre les pages : fondu enchaîné, l'en-tête reste en place. */
@view-transition {
	navigation: auto;
}

.topbar {
	view-transition-name: mle-topbar;
}

.site-header {
	view-transition-name: mle-header;
}

/* Arrivée sur l'accueil : l'en-tête reste sous le voile de l'ouverture pendant la transition. */
html.mle-intro-active .topbar,
html.mle-intro-active .site-header {
	view-transition-name: none;
}

@media (prefers-reduced-motion: no-preference) {
	::view-transition-old(root) {
		animation: mle-page-out .35s cubic-bezier(.4, 0, 1, 1) both;
	}

	::view-transition-new(root) {
		animation: mle-page-in .7s cubic-bezier(.22, 1, .36, 1) .05s both;
	}

	html.mle-intro-active::view-transition-new(root) {
		animation: mle-fade-in .45s cubic-bezier(0, 0, .2, 1) both;
	}

	::view-transition-group(mle-header),
	::view-transition-group(mle-topbar) {
		animation-duration: .5s;
		animation-timing-function: cubic-bezier(.22, 1, .36, 1);
	}

	/* Navigateurs sans transitions natives (Firefox) : la page apparaît en fondu. */
	html.mle-no-vt .site-content {
		animation: mle-page-in .7s cubic-bezier(.22, 1, .36, 1) both;
	}
}

@media (prefers-reduced-motion: reduce) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}
}

@keyframes mle-fade-in {
	from {
		opacity: 0;
	}
}

@keyframes mle-page-out {
	to {
		opacity: 0;
	}
}

@keyframes mle-page-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}


/* 24. Chargement sans saut, barre du haut sur mobile, sélecteur de langue -- */

/* Sober place l'en-tête en position absolue et réserve sa hauteur par script, après le premier
   affichage : la page sautait alors de 112 px. La même marge est posée dès le départ. */
body.header-sticky.header-white #topbar {
	margin-bottom: 112px;
}

@media (max-width: 767px) {
	/* Mobile : pas de barre du haut. L'en-tête (77 px) reste fixé en haut de l'écran. */
	#topbar {
		display: none !important;
	}

	body.header-sticky.header-white #page {
		padding-top: 77px;
	}

	/* Fixé dès le chargement : pas de glissement d'entrée. */
	.site-header.sticky {
		animation: none !important;
	}
}

/* Sélecteur de langue : icône globe, puis FR · EN · DE · CH (langue affichée soulignée). */
.mle-lang-globe {
	display: flex;
	align-items: center;
	gap: 14px;
}

.mle-lang-globe__icon {
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
}

.mle-lang-globe ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mle-lang-globe li {
	margin: 0 !important;
	padding: 0 !important;
}

.mle-lang-globe a {
	display: inline-block;
	padding: 10px 0;
	color: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1;
	text-decoration: none;
	opacity: .55;
	transition: opacity .2s;
}

.mle-lang-globe a:hover,
.mle-lang-globe a:focus-visible,
.mle-lang-globe .is-current a {
	color: inherit;
	opacity: 1;
}

.mle-lang-globe .is-current a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

/* Menu mobile : à la place du champ de recherche, en haut du menu ; la croix de fermeture à droite. */
.mobile-menu .mobile-menu-top {
	margin: 0 0 26px;
	padding: 0 44px 14px 0;
	background: none;
	border-bottom: 1px solid rgba(35, 35, 44, .12);
}

.mobile-menu.has-top-content .toggle-nav {
	top: 4px;
	right: 0;
	left: auto;
	margin: 0;
}

.mle-lang-globe--menu {
	color: #23232c;
}

.mle-lang-globe--menu a {
	padding: 12px 0;
	font-size: 14px;
}

/* Pied de page : sur la ligne des liens légaux. */
.footer-info .copyright:has(.mle-lang-globe) {
	display: block;
	margin: 0 0 18px;
	color: inherit;
}

.mle-lang-globe--footer {
	justify-content: center;
}

@media (min-width: 992px) {
	.footer-info .site-info {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 30px;
	}

	.footer-info .copyright:has(.mle-lang-globe) {
		margin: 0;
	}

	.mle-lang-globe--footer {
		justify-content: flex-start;
	}
}
