/*
Theme Name: machine-a-laver-shop.fr
Description: Thème enfant GeneratePress de machine-a-laver-shop.fr, comparatifs, avis et guides de lave-linge. Grille éditoriale suisse, filets d'encre, surligneur jaune, Archivo hébergée (une seule police variable, graisse et chasse), thème jour et thème nuit (bouton Nuit / Jour), motif de page d'accueil (guide de choix, gestes de la machine, formats, avis, carnet de dépannage), peau des blocs Fox Blocks et Fox Affiliate. Logo texte neutre (nom de domaine) en attendant le nom du site. Socle Fox embarqué (fox-socle/). Présentation seulement.
Author: Fox
Template: generatepress
Version: 1.0.0
Fox Socle: 1.5.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: machinealaver-theme
*/

/*
 * Colours: the GeneratePress palette of inc/site.php, through its variables
 * (--contrast ink, --contrast-2 ink 2, --contrast-3 line, --base sunken,
 * --base-2 paper, --base-3 surface, --accent yellow, --on-accent ink).
 * The yellow is a background only, never a text colour on paper.
 * The night theme redefines them twice below: under prefers-color-scheme
 * (unless the visitor chose day) and under html[data-theme="night"]. Deep ink
 * page, paper text, light rules; the yellow stays the accent, ink on it.
 * --mls-day / --mls-night switch what only one theme shows (.mls-day,
 * .mls-night: the two logos, the switch label).
 * One font, Archivo: --mls-narrow sets the narrow cut of the labels.
 * Floor: 12 px for any text. No backslash escape anywhere in this file.
 */

:root {
	--mls-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mls-narrow: 75%;
	--mls-rule: 1px solid var(--contrast, #16161a);
	--mls-rule-bold: 3px solid var(--contrast, #16161a);
	--mls-gutter: 40px;
	--mls-plate: var(--base-3, #fff);
	--mls-photo: none;
	--mls-day: inline;
	--mls-night: none;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="day"]) {
		--contrast: #f3f1ea;
		--contrast-2: #bdbab0;
		--contrast-3: #3a3a42;
		--base: #26262c;
		--base-2: #111114;
		--base-3: #1b1b20;
		--accent: #ffd23f;
		--on-accent: #16161a;
		--success: #6fcf8a;
		--warning: #f2b84b;
		--error: #ff8a80;
		--price: #f3f1ea;
		--mls-plate: #eceae3;
		--mls-photo: brightness(0.88);
		--mls-day: none;
		--mls-night: inline;
		color-scheme: dark;
	}
}

:root[data-theme="night"] {
	--contrast: #f3f1ea;
	--contrast-2: #bdbab0;
	--contrast-3: #3a3a42;
	--base: #26262c;
	--base-2: #111114;
	--base-3: #1b1b20;
	--accent: #ffd23f;
	--on-accent: #16161a;
	--success: #6fcf8a;
	--warning: #f2b84b;
	--error: #ff8a80;
	--price: #f3f1ea;
	--mls-plate: #eceae3;
	--mls-photo: brightness(0.88);
	--mls-day: none;
	--mls-night: inline;
	color-scheme: dark;
}

html .mls-day { display: var(--mls-day); }
html .mls-night { display: var(--mls-night); }

/* The socle passes the palette and the font to Fox Blocks and Fox Affiliate.
   Kept here, by choice of the skin: square corners, ink strong borders, the
   light plate under product images (white by day, soft paper by night: the
   product photos have a white ground), no plugin shadow. */
body {
	--fxb-border-strong: var(--contrast);
	--fxb-radius: 0;
	--fxb-radius-sm: 0;
	--fxb-radius-lg: 0;
	--fox-radius: 0;
	--fox-img-bg: var(--mls-plate);
	--fox-shadow: none;
	background: var(--base-2);
	color: var(--contrast);
	font-family: var(--mls-font);
	font-size: 17px;
	line-height: 1.6;
}

a {
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.entry-content a {
	text-decoration-color: var(--accent);
}

.entry-content a:hover {
	color: var(--contrast);
	text-decoration-color: var(--contrast);
}

::selection {
	background: var(--accent);
	color: var(--on-accent, #16161a);
}

h1, h2, h3, h4 {
	color: var(--contrast);
	font-family: var(--mls-font);
	font-weight: 900;
	letter-spacing: -0.02em;
}

h1 { font-size: 46px; line-height: 1; letter-spacing: -0.035em; }
h2 { font-size: 32px; line-height: 1.08; }
h3 { font-size: 23px; line-height: 1.15; }

/* ---------- Strap line and header ---------- */

.mls-strap {
	border-bottom: var(--mls-rule);
	background: var(--base-2);
}

.mls-strap__in {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 9px var(--mls-gutter);
	font-size: 13px;
	font-stretch: var(--mls-narrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-header {
	border-bottom: var(--mls-rule-bold);
}

.inside-header {
	align-items: flex-end;
	padding-top: 18px;
	padding-bottom: 18px;
}

.main-title {
	margin: 0;
	font-size: 0;
	line-height: 1;
}

.main-title a {
	display: inline-flex;
	color: var(--contrast);
	text-decoration: none;
}

.mls-logo {
	display: block;
	width: auto;
	height: 36px;
	max-width: 100%;
}

.main-navigation,
.main-navigation .main-nav ul li a {
	font-size: 15px;
	font-weight: 700;
}

.main-navigation .main-nav ul li a {
	padding-left: 8px;
	padding-right: 8px;
	line-height: 44px;
}

/* A parent item that only opens its sub-menu links to the home page (« /# »):
   never marked as the current page. */
.main-navigation .main-nav > ul > li.current-menu-item > a[href$="#"] {
	text-decoration: none;
}

.main-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 6px;
	text-underline-offset: 6px;
}

.main-navigation ul ul {
	border: var(--mls-rule);
	box-shadow: none;
}

.main-navigation .main-nav ul ul li a {
	line-height: 1.4;
	padding-top: 10px;
	padding-bottom: 10px;
}

.menu-toggle {
	font-weight: 700;
}

/* The Nuit / Jour switch: hidden until the head script runs (no JavaScript:
   the page follows the system). Square, ink outline, yellow on hover. The
   half-disc is drawn by CSS, decorative. */
.main-navigation .menu-bar-items {
	align-items: center;
	margin-left: 8px;
}

.mls-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 12px;
	border: 2px solid var(--contrast);
	border-radius: 0;
	background: transparent;
	color: var(--contrast);
	font-family: var(--mls-font);
	font-size: 14px;
	font-stretch: var(--mls-narrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
}

.mls-js .mls-toggle { display: inline-flex; }

.mls-toggle:hover,
.mls-toggle:focus-visible {
	border-color: var(--contrast);
	background: var(--accent);
	color: var(--on-accent, #16161a);
}

/* On a computer the switch is its half-disc only (the label stays for screen
   readers): the logo, seven menu items and the switch hold on one line. */
@media (min-width: 769px) {
	.mls-toggle {
		justify-content: center;
		width: 40px;
		padding: 0;
	}

	.mls-toggle .mls-day,
	.mls-toggle .mls-night {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

.mls-toggle__disc {
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-radius: 50%;
	background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

/* ---------- Articles and pages ---------- */

.one-container .site-content {
	padding-top: 40px;
}

.mls-eyebrow,
.mls-kicker {
	margin: 0 0 12px;
	font-size: 14px;
	font-stretch: var(--mls-narrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.mls-eyebrow a {
	color: var(--contrast);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 4px;
	text-underline-offset: 4px;
}

.entry-header {
	padding-bottom: 18px;
	border-bottom: var(--mls-rule-bold);
	margin-bottom: 28px;
}

.entry-title {
	font-size: 52px;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.entry-meta {
	margin-top: 14px;
	color: var(--contrast-2);
	font-size: 14px;
	font-stretch: var(--mls-narrow);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.entry-content > * {
	max-width: 760px;
}

.entry-content > .alignwide,
.entry-content > .alignfull,
.entry-content > .wp-block-table,
.entry-content > [class*="wp-block-fox"],
.entry-content > [class*="fxb-"],
.entry-content > [class*="fox-"],
.entry-content > [class*="fct-"],
.mls-home .entry-content > * {
	max-width: none;
}

.entry-content h2 {
	margin-top: 1.8em;
	padding-top: 14px;
	border-top: var(--mls-rule);
}

.entry-content blockquote {
	border-left: 6px solid var(--accent);
	font-style: normal;
}

.entry-content .wp-block-image figcaption,
.entry-content .wp-caption-text {
	color: var(--contrast-2);
	font-size: 13px;
}

.entry-content table:not([class*="fxb"]):not([class*="fct"]) {
	border-collapse: collapse;
	border-top: var(--mls-rule-bold);
}

.entry-content table:not([class*="fxb"]):not([class*="fct"]) th,
.entry-content table:not([class*="fxb"]):not([class*="fct"]) td {
	border: 0;
	border-bottom: var(--mls-rule);
}

/* ---------- Buttons: ink, outline, and the Fox buttons in yellow ---------- */

.wp-block-button__link,
.fxb-smartlink--button,
.fox-showcase__btn,
.fox-hl__btn,
.fct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 24px;
	border: 2px solid var(--contrast);
	border-radius: 0;
	background: var(--contrast);
	color: var(--base-2);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.entry-content .wp-block-button__link {
	color: var(--base-2);
	text-decoration: none;
}

.entry-content .wp-block-button__link:hover {
	background: var(--contrast-2);
	border-color: var(--contrast-2);
	color: var(--base-2);
}

.entry-content .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--contrast);
}

.entry-content .is-style-outline .wp-block-button__link:hover {
	background: var(--accent);
	border-color: var(--contrast);
	color: var(--on-accent, #16161a);
}

.entry-content .fxb-smartlink--button,
.entry-content .fox-product-link.fox-showcase__btn,
.entry-content .fox-product-link.fox-hl__btn,
.entry-content .fox-product-link.fct-btn {
	background: var(--accent);
	color: var(--on-accent, #16161a);
	text-decoration: none;
}

.entry-content .fxb-smartlink--button:hover,
.entry-content .fox-product-link.fox-showcase__btn:hover,
.entry-content .fox-product-link.fox-hl__btn:hover,
.entry-content .fox-product-link.fct-btn:hover {
	background: var(--contrast);
	color: var(--base-2);
}

/* ---------- Fox Blocks and Fox Affiliate skin ---------- */

.entry-content .fxb-key-points-block,
.entry-content .fxb-verdict-box,
.entry-content .fxb-pros-cons__column,
.entry-content .fxb-scores,
.entry-content .fxb-expert-tip,
.entry-content .fxb-lcard,
.entry-content .fox-showcase,
.entry-content .fox-hl__card {
	border: var(--mls-rule);
	border-radius: 0;
	box-shadow: none;
}

.entry-content .fxb-key-points-block,
.entry-content .fxb-scores {
	padding: 22px 24px;
	background: var(--base-3);
}

.fxb-key-points__heading,
.fxb-scores__title,
.fxb-ctable__title {
	font-size: 14px;
	font-stretch: var(--mls-narrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.entry-content .fxb-key-points__number {
	border-radius: 0;
	background: var(--accent);
	color: var(--on-accent, #16161a);
	font-weight: 900;
}

.entry-content .fxb-verdict-box {
	border: var(--mls-rule-bold);
	background: var(--base-3);
}

.entry-content .fxb-verdict-box .fxb-badge,
.entry-content .fxb-badge {
	border-radius: 0;
	background: var(--accent);
	color: var(--on-accent, #16161a);
	font-weight: 700;
}

.entry-content .fxb-expert-tip {
	border-left: 6px solid var(--accent);
	background: var(--base-3);
}

.entry-content .fxb-expert-tip--warning {
	border-left-color: var(--warning, #8a5a00);
}

.entry-content .fxb-expert-tip__title { font-weight: 900; }

.entry-content .fxb-scores [class*="__track"],
.entry-content .fxb-scores [class*="__bar-bg"] {
	border-radius: 0;
	background: var(--base);
}

.entry-content .fxb-scores [class*="__fill"] {
	border-radius: 0;
	background: var(--contrast);
}

.entry-content .fxb-ctable__table,
.entry-content .fct-table {
	border: 0;
	border-top: var(--mls-rule-bold);
	border-radius: 0;
	background: var(--base-3);
	box-shadow: none;
}

.entry-content .fxb-ctable__table th,
.entry-content .fxb-ctable__table td,
.entry-content .fct-table th,
.entry-content .fct-table td {
	border: 0;
	border-bottom: var(--mls-rule);
	background: transparent;
	color: var(--contrast);
}

/* Fox Affiliate surfaces the plugin still paints in fixed white or slate:
   back on the palette, so they follow the night theme. */
.entry-content .fct-row:nth-child(even) .fct-td:not(.is-highlighted) {
	background: transparent;
}

.entry-content .fct-row--cta .fct-td,
.fct-card__footer,
.fct-duel__close {
	background: var(--base);
	color: var(--contrast);
}

.fct-duel-input,
.fox-sticky-bar__inner {
	background: var(--base-3);
	color: var(--contrast);
}

.fox-sticky-bar__inner { border: var(--mls-rule); }
.fox-sticky-bar__img-wrap { background: var(--mls-plate); }

.fct-check--yes,
.fct-avail--yes,
.fox-box__availability { color: var(--success, #1e7a3c); }
.fct-avail,
.fox-box__availability { font-size: 12px; }
.fct-check--no { color: var(--error, #b3261e); }

.fxb-ctable__yes { color: var(--success, #1e7a3c); }
.fxb-ctable__no { color: var(--error, #b3261e); }

.entry-content .fxb-faq__item {
	border: 0;
	border-bottom: var(--mls-rule);
	border-radius: 0;
	background: transparent;
}

.entry-content .fxb-faq__question-text {
	font-size: 19px;
	font-weight: 800;
}

.fxb-lcard__title { font-weight: 900; }
.fxb-lcard__excerpt { color: var(--contrast-2); }

.entry-content .fxb-lcard__cta {
	color: var(--contrast);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 3px;
}

/* ---------- Home page (« Accueil » pattern) ---------- */

/* GeneratePress has no theme.json: WordPress wraps the children of every
   group block in .wp-block-group__inner-container. The home grids and flex
   rows lay out the children themselves, so the wrapper steps aside. */
[class*="mls-"] > .wp-block-group__inner-container {
	display: contents;
}

.mls-home .site-content {
	padding-top: 0;
}

.mls-home .entry-content {
	margin-top: 0;
}

.mls-home .entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

.mls-section {
	padding: 40px 0;
	border-bottom: var(--mls-rule-bold);
}

.mls-section .mls-kicker,
.mls-section__head {
	margin-bottom: 18px;
}

.mls-section__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
}

.mls-section__head > *,
.mls-section__head > .wp-block-group__inner-container > * { margin: 0; }

.mls-section__aside {
	color: var(--contrast-2);
	font-size: 14px;
}

.entry-content h2.mls-kicker {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	letter-spacing: 0.1em;
}

/* Hero: 7 columns of dossier, 5 of ranking, an ink rule between. */
.mls-hero {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	border-bottom: var(--mls-rule-bold);
}

.mls-hero > *,
.mls-hero > .wp-block-group__inner-container > * { margin: 0; }

.mls-hero__main {
	display: flex;
	flex-direction: column;
	padding: 44px 40px 44px 0;
	border-right: var(--mls-rule);
}

.mls-hero__side {
	display: flex;
	flex-direction: column;
	padding: 44px 0 44px 40px;
}

.mls-hero h1 {
	margin: 0 0 18px;
	font-size: 64px;
	line-height: 0.95;
	letter-spacing: -0.035em;
}

.mls-lead {
	max-width: 560px;
	margin: 0 0 24px;
	color: var(--contrast-2);
	font-size: 19px;
	line-height: 1.55;
}

.mls-hero .wp-block-buttons {
	margin: 0 0 28px;
	gap: 12px;
}

.mls-photo {
	position: relative;
	margin: 0;
}

.mls-photo img {
	filter: var(--mls-photo);
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
}

.mls-hero__side .mls-photo { margin-top: 24px; }
.mls-hero__side .mls-photo img { height: 280px; }

.entry-content .mls-photo figcaption {
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	padding: 8px 12px;
	background: var(--accent);
	color: var(--on-accent, #16161a);
	font-size: 13px;
	font-stretch: var(--mls-narrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Ranking: rank, product photo, name, score. */
.mls-rank {
	margin: 0;
	padding: 0;
	border-bottom: var(--mls-rule);
}

.mls-rank__item {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	border-top: var(--mls-rule);
}

.mls-rank__item > *,
.mls-rank__item > .wp-block-group__inner-container > * { margin: 0; }

.mls-rank__n {
	min-width: 30px;
	font-size: 40px;
	font-weight: 900;
	line-height: 1;
}

.mls-rank__img,
.mls-card__img {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid var(--contrast-3);
	background: var(--mls-plate);
}

/* Product photos have a white ground: multiplied, it melts into the plate.
   The photo link stacks above the card link (z-index), so it is the link
   that blends when there is one. */
.mls-rank__img img,
.mls-card__img img,
.mls-rank__img a,
.mls-card__img a,
.mls-tile__product img,
.fox-showcase__image-link img,
.fox-hl__image-cell img {
	mix-blend-mode: multiply;
}

.mls-rank__img {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
}

.mls-rank__img img,
.mls-card__img img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.mls-rank__name {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--contrast-2);
	font-size: 14px;
	line-height: 1.4;
}

.mls-rank__name a {
	display: block;
	color: var(--contrast);
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.mls-rank__name a:hover {
	text-decoration: underline;
	text-decoration-color: var(--accent);
}

.mls-score {
	padding: 2px 8px;
	border: 2px solid var(--contrast);
	font-size: 21px;
	font-weight: 900;
	line-height: 1.2;
	white-space: nowrap;
}

.mls-score--top {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--on-accent, #16161a);
}

.mls-more {
	margin: 18px 0 0;
	font-size: 15px;
	font-weight: 700;
}

/* Aisles: a 12-column grid of tiles, ink rules, one yellow tile. */
.mls-rayons {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	border-top: var(--mls-rule);
	border-left: var(--mls-rule);
}

.mls-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	grid-column: span 4;
	margin: 0;
	padding: 22px 18px;
	border-right: var(--mls-rule);
	border-bottom: var(--mls-rule);
}

.mls-tile > *,
.mls-tile > .wp-block-group__inner-container > * { margin: 0; }

.mls-tile:hover { background: var(--base); }

.mls-tile--wide { grid-column: span 6; }
.mls-tile--third { grid-column: span 3; }

.mls-tile--photo {
	min-height: 260px;
	padding: 0;
}

.mls-tile--photo .wp-block-image,
.mls-tile--photo .mls-photo {
	position: absolute;
	inset: 0;
	margin: 0;
}

.mls-tile--photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mls-tile--photo .mls-tile__label {
	position: relative;
	align-self: flex-start;
	padding: 14px 18px;
	background: var(--base-2);
}

.mls-tile--accent,
.mls-tile--accent:hover {
	background: var(--accent);
	color: var(--on-accent, #16161a);
}

.mls-tile__product {
	display: flex;
	justify-content: center;
	height: 150px;
	background: var(--mls-plate);
}

.mls-tile__product img {
	max-height: 150px;
	width: auto;
	object-fit: contain;
}

.mls-tile__label {
	display: flex;
	align-items: baseline;
	gap: 12px;
	line-height: 1.2;
}

.mls-num {
	font-size: 36px;
	font-weight: 900;
	line-height: 1;
}

.mls-tile--accent .mls-num { font-size: 60px; }

.mls-tile__label a {
	color: inherit;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}

/* The tile is one link: its label link covers the whole tile. */
.mls-tile__label a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.mls-tile__label a:focus-visible {
	outline: none;
}

.mls-tile:has(a:focus-visible) {
	outline: 3px solid var(--contrast);
	outline-offset: -3px;
}

.mls-tile__note {
	font-size: 14px;
}

/* Cards: reviews (4 columns), maintenance notebook (6 + 3 + 3). */
.mls-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.mls-cards--carnet {
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 32px;
}

.mls-cards--carnet .mls-card { grid-column: span 3; }
.mls-cards--carnet .mls-card:first-child { grid-column: span 6; }

.mls-card {
	position: relative;
	margin: 0;
}

.mls-card > *,
.mls-card > .wp-block-group__inner-container > * { margin-top: 0; }

.mls-card__img {
	height: 220px;
	margin-bottom: 12px;
}

.mls-card .mls-photo img { height: 320px; }
.mls-card .mls-photo { margin-bottom: 14px; }

.mls-card .mls-kicker {
	margin-bottom: 4px;
	font-size: 13px;
}

.entry-content .mls-card h3 {
	margin: 0 0 6px;
	font-size: 21px;
	line-height: 1.12;
}

.mls-cards--carnet .mls-card:first-child h3 { font-size: 30px; line-height: 1.05; }

.mls-card h3 a {
	color: var(--contrast);
	text-decoration: none;
}

.mls-card h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.mls-card:hover h3 a {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 4px;
}

.mls-card p:not(.mls-kicker) {
	margin: 0;
	color: var(--contrast-2);
	font-size: 15px;
	line-height: 1.45;
}

/* The product photo links to its offer and stays above the card link. */
.mls-card__img a,
.mls-rank__img a {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.entry-content .mls-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.mls-chips li { margin: 0; }

.mls-chips a {
	display: inline-block;
	padding: 8px 14px;
	border: var(--mls-rule);
	color: var(--contrast);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.mls-chips a:hover { background: var(--accent); }

.mls-dossier {
	padding-top: 40px;
}

.mls-dossier > *,
.mls-dossier > .wp-block-group__inner-container > * {
	max-width: 760px;
}

.mls-dossier > .wp-block-group__inner-container > [class*="fxb-"],
.mls-dossier > .wp-block-group__inner-container > [class*="fox-"],
.mls-dossier > .wp-block-group__inner-container > [class*="fct-"],
.mls-dossier > .wp-block-group__inner-container > [class*="wp-block-fox"],
.mls-dossier > .wp-block-group__inner-container > .wp-block-table {
	max-width: none;
}

.entry-content .mls-dossier > .wp-block-group__inner-container > h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.mls-credits {
	margin: 40px 0 0;
	padding-top: 14px;
	border-top: var(--mls-rule);
	color: var(--contrast-2);
	font-size: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
	border-top: var(--mls-rule-bold);
}

.inside-site-info {
	display: block;
	padding: 28px var(--mls-gutter) 48px;
}

.site-info .copyright-bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	width: 100%;
	text-align: left;
}

.mls-foot-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mls-foot-menu a,
.mls-foot-end {
	font-size: 14px;
	font-stretch: var(--mls-narrow);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.mls-foot-end { color: var(--contrast-2); }

/* ---------- Narrow screens ---------- */

@media (max-width: 1024px) {
	h1, .entry-title { font-size: 40px; }
	.mls-hero h1 { font-size: 48px; }
	.mls-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mls-tile--third { grid-column: span 6; }
	.mls-tile--wide { grid-column: span 12; }
	.mls-tile { grid-column: span 6; }
}

@media (max-width: 768px) {
	:root { --mls-gutter: 16px; }
	body { font-size: 16px; }
	h1, .entry-title { font-size: 34px; }
	h2 { font-size: 26px; }
	.inside-header { align-items: center; }
	.mls-logo { height: 30px; }
	.mls-hero { grid-template-columns: minmax(0, 1fr); }
	.mls-hero__main { padding: 28px 0; border-right: 0; border-bottom: var(--mls-rule); }
	.mls-hero__side { padding: 28px 0; }
	.mls-hero h1 { font-size: 38px; }
	.mls-photo img { height: 240px; }
	.mls-tile, .mls-tile--third, .mls-tile--wide { grid-column: span 12; }
	.mls-tile--photo { min-height: 220px; }
	.mls-cards--carnet .mls-card,
	.mls-cards--carnet .mls-card:first-child { grid-column: span 12; }
	.mls-card .mls-photo img { height: 220px; }
	.mls-card__img { height: 180px; }
	.mls-section { padding: 28px 0; }
}

@media (max-width: 480px) {
	.mls-cards { grid-template-columns: minmax(0, 1fr); }
	.mls-strap__in span:last-child { display: none; }
}
