/*
Theme Name: Repère
Theme URI: https://www.patbol.net/
Author: Arold A.
Description: Thème sur mesure de patbol.net. Tenue de guide d'achat : titres en Plus Jakarta Sans, texte en Source Serif 4, une couleur par rubrique. Une seule feuille de style, polices servies par le site, vignette dessinée pour les articles sans photo.
Version: 1.0.2
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: repere
Tags: blog, two-columns, custom-menu, featured-images, translation-ready, block-styles
*/

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

@font-face {
	font-family: "Jakarta";
	src: url("assets/fonts/jakarta-latin.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Jakarta";
	src: url("assets/fonts/jakarta-latin-ext.woff2") format("woff2");
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Serif Repere";
	src: url("assets/fonts/serif-400-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Serif Repere";
	src: url("assets/fonts/serif-400-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Serif Repere";
	src: url("assets/fonts/serif-600-latin.woff2") format("woff2");
	font-weight: 600 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Serif Repere";
	src: url("assets/fonts/serif-600-latin-ext.woff2") format("woff2");
	font-weight: 600 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Serif Repere";
	src: url("assets/fonts/serif-400-italique-latin.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Serif Repere";
	src: url("assets/fonts/serif-400-italique-latin-ext.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
	--rp-titre: "Jakarta", "Segoe UI", system-ui, -apple-system, sans-serif;
	--rp-texte: "Serif Repere", Georgia, "Times New Roman", serif;

	--rp-fond: #F5F8F9;
	--rp-surface: #FFFFFF;
	--rp-encre: #101828;
	--rp-encre-2: #1D2939;
	--rp-gris: #667085;
	--rp-gris-clair: #98A2B3;
	--rp-filet: #E4E9EE;
	--rp-filet-fort: #CFD8E0;

	--rp-accent: #0F766E;
	--rp-accent-fonce: #0B5A54;
	--rp-accent-fond: #EDF6F5;
	--rp-accent-filet: #CFE4E1;

	--rp-or: #F5B942;
	--rp-or-fond: #FDF4DE;
	--rp-or-encre: #8A6510;

	--rp-large: 1180px;
	--rp-etroit: 720px;
	--rp-gouttiere: 22px;
	--rp-rayon: 12px;
	--rp-rayon-s: 8px;

	--rp-c: #0F766E;
	--rp-c-fond: #EDF6F5;
}

/* Une couleur par rubrique : elle habille l'étiquette, la vignette de repli,
   la tuile du pavé et le filet de l'en-tête de rubrique. */
.rp-rub--bebe { --rp-c: #0F766E; --rp-c-fond: #E9F4F2; }
.rp-rub--maman-grossesse { --rp-c: #A2436A; --rp-c-fond: #FAEDF2; }
.rp-rub--activites-et-jeux { --rp-c: #B0741B; --rp-c-fond: #FBF2E1; }
.rp-rub--maison { --rp-c: #35689E; --rp-c-fond: #EAF1F8; }
.rp-rub--economies { --rp-c: #4C6B45; --rp-c-fond: #EDF3EB; }

/* =========================================================================
   3. Base
   ====================================================================== */

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

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

body {
	margin: 0;
	background: var(--rp-fond);
	color: var(--rp-encre-2);
	font-family: var(--rp-texte);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--rp-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--rp-accent-fonce);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--rp-titre);
	color: var(--rp-encre);
	line-height: 1.18;
	letter-spacing: -0.018em;
	margin: 0;
	text-wrap: balance;
}

:focus-visible {
	outline: 2px solid var(--rp-accent);
	outline-offset: 2px;
	border-radius: 3px;
}

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

.rp-evitement {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--rp-accent);
	color: #fff;
	padding: 10px 18px;
	font-family: var(--rp-titre);
	font-weight: 700;
	border-radius: 0 0 var(--rp-rayon-s) 0;
}

.rp-evitement:focus {
	left: 0;
	color: #fff;
}

.rp-large {
	width: 100%;
	max-width: var(--rp-large);
	margin-inline: auto;
	padding-inline: var(--rp-gouttiere);
}

.rp-etroit {
	width: 100%;
	max-width: var(--rp-etroit);
	margin-inline: auto;
	padding-inline: var(--rp-gouttiere);
}

/* =========================================================================
   4. En-tête
   ====================================================================== */

.rp-entete {
	background: var(--rp-surface);
	border-bottom: 1px solid var(--rp-filet);
	position: sticky;
	top: 0;
	z-index: 40;
}

.rp-entete-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 68px;
}

.rp-marque {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--rp-encre);
	flex: none;
}

.rp-signe {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--rp-accent);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--rp-titre);
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
}

.rp-marque-image {
	max-height: 46px;
	width: auto;
}

.rp-marque-mots {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.rp-marque-nom {
	font-family: var(--rp-titre);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -0.03em;
}

.rp-marque-desc {
	font-family: var(--rp-titre);
	font-weight: 500;
	font-size: 11px;
	color: var(--rp-gris);
	letter-spacing: 0.01em;
	margin-top: 2px;
}

.rp-nav {
	margin-left: auto;
}

.rp-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--rp-titre);
	font-size: 14px;
	font-weight: 600;
}

.rp-menu a {
	color: var(--rp-encre-2);
	text-decoration: none;
	padding: 6px 0;
	display: block;
	border-bottom: 2px solid transparent;
}

.rp-menu a:hover {
	color: var(--rp-accent);
}

.rp-menu .current-menu-item > a,
.rp-menu .current-cat > a {
	color: var(--rp-accent);
	border-bottom-color: var(--rp-accent);
}

.rp-menu .sub-menu {
	display: none;
}

.rp-nav-recherche {
	display: none;
}

.rp-entete-recherche {
	flex: none;
	width: 210px;
}

.rp-bascule {
	display: none;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	background: none;
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon-s);
	padding: 8px 12px;
	font-family: var(--rp-titre);
	font-weight: 700;
	font-size: 13px;
	color: var(--rp-encre);
	cursor: pointer;
}

.rp-bascule-barres {
	display: grid;
	gap: 3px;
}

.rp-bascule-barres span {
	display: block;
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

/* Recherche */

.rp-formulaire-recherche {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #FBFCFD;
	border: 1px solid var(--rp-filet);
	border-radius: 999px;
	padding: 4px 6px 4px 14px;
}

.rp-formulaire-recherche input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	font-family: var(--rp-titre);
	font-size: 13px;
	color: var(--rp-encre);
	padding: 5px 0;
}

.rp-formulaire-recherche input[type="search"]:focus {
	outline: none;
}

.rp-formulaire-recherche button {
	flex: none;
	border: 0;
	background: var(--rp-accent);
	color: #fff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.rp-formulaire-recherche button:hover {
	background: var(--rp-accent-fonce);
}

.rp-recherche-grande {
	max-width: 420px;
	margin-top: 14px;
}

/* =========================================================================
   5. Accueil : tête, barre de rubriques
   ====================================================================== */

.rp-accueil-tete {
	background: var(--rp-surface);
	border-bottom: 1px solid var(--rp-filet);
	padding-block: 40px 34px;
}

.rp-accueil-sur {
	font-family: var(--rp-titre);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rp-accent);
	margin: 0 0 10px;
}

.rp-accueil-tete h1 {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	margin: 0 0 12px;
}

.rp-accueil-texte {
	margin: 0;
	max-width: 62ch;
	color: var(--rp-gris);
	font-size: 17px;
}

.rp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-block: 24px 22px;
}

.rp-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--rp-titre);
	font-size: 13px;
	font-weight: 700;
	color: var(--rp-encre-2);
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: 999px;
	padding: 7px 14px;
	text-decoration: none;
	line-height: 1.2;
}

.rp-chip i {
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	color: var(--rp-gris-clair);
	font-variant-numeric: tabular-nums;
}

.rp-chip:hover {
	border-color: var(--rp-c);
	color: var(--rp-c);
}

.rp-chip.est-actif {
	background: var(--rp-c);
	border-color: var(--rp-c);
	color: #fff;
}

.rp-chip.est-actif i {
	color: rgba(255, 255, 255, 0.72);
}

/* =========================================================================
   6. Article de tête
   ====================================================================== */

.rp-une {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	gap: 0;
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	overflow: hidden;
	margin-bottom: 26px;
}

.rp-une .rp-vignette {
	aspect-ratio: 1.6;
	height: 100%;
	border-radius: 0;
}

.rp-une-corps {
	padding: 26px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
}

.rp-une-titre {
	font-size: clamp(21px, 2.4vw, 27px);
	font-weight: 800;
	margin: 0;
}

.rp-une-titre a {
	color: inherit;
	text-decoration: none;
}

.rp-une-titre a:hover {
	color: var(--rp-accent);
}

.rp-une-chapo {
	margin: 0;
	color: var(--rp-gris);
	font-size: 16px;
	line-height: 1.6;
}

/* =========================================================================
   7. Grille et cartes
   ====================================================================== */

.rp-grille {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
	gap: 24px 22px;
}

.rp-carte {
	display: flex;
	flex-direction: column;
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	overflow: hidden;
}

.rp-carte:hover {
	border-color: var(--rp-filet-fort);
}

.rp-vignette {
	display: block;
	aspect-ratio: 1.9;
	background: var(--rp-c-fond);
	overflow: hidden;
	position: relative;
}

.rp-vignette img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rp-repli {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--rp-c-fond);
}

.rp-repli::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid var(--rp-c);
	opacity: 0.22;
	border-radius: var(--rp-rayon-s);
}

.rp-repli-mot {
	font-family: var(--rp-titre);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rp-c);
	opacity: 0.8;
	padding: 0 14px;
	text-align: center;
}

.rp-carte-corps {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	flex: 1;
}

.rp-carte-haut {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}

.rp-rubrique {
	display: inline-block;
	font-family: var(--rp-titre);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--rp-c);
	background: var(--rp-c-fond);
	border-radius: 5px;
	padding: 4px 8px;
	text-decoration: none;
	line-height: 1;
}

.rp-rubrique:hover {
	color: #fff;
	background: var(--rp-c);
}

.rp-note {
	display: inline-flex;
	align-items: center;
	font-family: var(--rp-titre);
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rp-or-encre);
	background: var(--rp-or-fond);
	border-radius: 5px;
	padding: 4px 8px;
	line-height: 1;
}

.rp-note--une {
	color: var(--rp-gris);
	background: #F1F4F7;
}

.rp-carte-titre {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.28;
	margin: 0;
}

.rp-carte-titre a {
	color: inherit;
	text-decoration: none;
}

.rp-carte-titre a:hover {
	color: var(--rp-accent);
}

.rp-carte-chapo {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--rp-gris);
}

.rp-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-family: var(--rp-titre);
	font-size: 12px;
	font-weight: 600;
	color: var(--rp-gris);
	margin-top: auto;
	padding-top: 4px;
}

.rp-point {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--rp-gris-clair);
	display: block;
}

.rp-pastille-auteur {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--rp-accent-fond);
	color: var(--rp-accent);
	display: grid;
	place-items: center;
	font-size: 11px;
	font-weight: 800;
}

/* =========================================================================
   8. Pavé des rubriques
   ====================================================================== */

.rp-pave {
	margin-block: 46px 10px;
	padding-top: 34px;
	border-top: 1px solid var(--rp-filet);
}

.rp-pave h2 {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 18px;
}

.rp-pave-grille {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
}

.rp-pave-tuile {
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: var(--rp-c-fond);
	border-radius: var(--rp-rayon);
	padding: 16px 18px;
	text-decoration: none;
	border: 1px solid transparent;
}

.rp-pave-tuile:hover {
	border-color: var(--rp-c);
}

.rp-pave-tuile strong {
	font-family: var(--rp-titre);
	font-size: 15px;
	font-weight: 800;
	color: var(--rp-c);
}

.rp-pave-tuile span {
	font-family: var(--rp-titre);
	font-size: 12px;
	font-weight: 600;
	color: var(--rp-gris);
}

/* =========================================================================
   9. En-tête de rubrique, recherche, page vide
   ====================================================================== */

.rp-archive-tete {
	background: var(--rp-surface);
	border-bottom: 1px solid var(--rp-filet);
	padding-block: 32px 28px;
}

.rp-archive-tete h1 {
	font-size: clamp(26px, 3.4vw, 34px);
	font-weight: 800;
	margin: 10px 0 8px;
	position: relative;
	padding-top: 14px;
}

.rp-archive-tete h1::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 3px;
	border-radius: 3px;
	background: var(--rp-c);
}

.rp-archive-desc {
	max-width: 68ch;
	color: var(--rp-gris);
	margin-bottom: 6px;
}

.rp-archive-compte {
	font-family: var(--rp-titre);
	font-size: 13px;
	font-weight: 600;
	color: var(--rp-gris);
	margin: 0;
}

.rp-fil {
	font-family: var(--rp-titre);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--rp-gris);
}

.rp-fil a {
	color: var(--rp-gris);
	text-decoration: none;
}

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

.rp-vide {
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	padding: 40px 28px;
	text-align: center;
	margin-block: 30px 40px;
}

.rp-vide h2 {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 8px;
}

.rp-vide p {
	color: var(--rp-gris);
	margin-top: 0;
}

.rp-vide .rp-formulaire-recherche {
	max-width: 380px;
	margin-inline: auto;
}

.rp-vide .rp-chips {
	justify-content: center;
	padding-bottom: 0;
}

.rp-404-code {
	font-family: var(--rp-titre);
	font-size: 56px;
	font-weight: 800;
	color: var(--rp-accent-fond);
	margin: 0;
	line-height: 1;
}

/* =========================================================================
   10. Article
   ====================================================================== */

.rp-article-tete {
	background: var(--rp-surface);
	border-bottom: 1px solid var(--rp-filet);
	padding-block: 26px 28px;
}

.rp-article-tete .rp-carte-haut {
	margin-block: 14px 12px;
}

.rp-article-tete h1 {
	font-size: clamp(27px, 3.8vw, 37px);
	font-weight: 800;
	margin: 0 0 14px;
	line-height: 1.14;
}

.rp-image-une {
	margin: 0;
	background: var(--rp-surface);
	padding-bottom: 6px;
}

.rp-image-une img {
	width: 100%;
	border-radius: var(--rp-rayon);
}

.rp-image-une figcaption {
	font-family: var(--rp-titre);
	font-size: 12px;
	color: var(--rp-gris);
	margin-top: 8px;
}

.rp-corps {
	padding-block: 28px 10px;
}

.rp-verdict {
	background: var(--rp-accent-fond);
	border: 1px solid var(--rp-accent-filet);
	border-radius: var(--rp-rayon);
	padding: 16px 18px;
	margin-bottom: 22px;
}

.rp-verdict strong {
	display: block;
	font-family: var(--rp-titre);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--rp-accent);
	margin-bottom: 6px;
}

.rp-verdict p {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--rp-encre-2);
}

.rp-sommaire {
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	padding: 16px 20px;
	margin-bottom: 26px;
}

.rp-sommaire strong {
	display: block;
	font-family: var(--rp-titre);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--rp-gris);
	margin-bottom: 10px;
}

.rp-sommaire ol {
	margin: 0;
	padding-left: 20px;
	font-family: var(--rp-titre);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.55;
}

.rp-sommaire li {
	margin-bottom: 5px;
	color: var(--rp-gris-clair);
}

.rp-sommaire li::marker {
	font-weight: 700;
	color: var(--rp-accent);
}

.rp-sommaire a {
	color: var(--rp-encre-2);
	text-decoration: none;
}

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

/* Corps du texte */

.rp-corps > p,
.rp-corps > ul,
.rp-corps > ol,
.rp-corps > blockquote,
.rp-corps > figure,
.rp-corps > table,
.rp-corps > .wp-block-image,
.rp-corps > .rp-tableau {
	font-size: 18px;
	line-height: 1.78;
	margin: 0 0 1.15em;
	color: var(--rp-encre-2);
}

.rp-corps h2 {
	font-size: clamp(21px, 2.6vw, 25px);
	font-weight: 800;
	margin: 1.8em 0 0.6em;
	scroll-margin-top: 90px;
}

.rp-corps h3 {
	font-size: clamp(18px, 2.2vw, 20px);
	font-weight: 700;
	margin: 1.5em 0 0.5em;
	scroll-margin-top: 90px;
}

.rp-corps h4 {
	font-size: 17px;
	font-weight: 700;
	margin: 1.4em 0 0.45em;
}

.rp-corps ul,
.rp-corps ol {
	padding-left: 24px;
}

.rp-corps li {
	margin-bottom: 0.45em;
}

.rp-corps li::marker {
	color: var(--rp-accent);
}

.rp-corps a {
	color: var(--rp-accent);
	text-decoration: underline;
	text-decoration-color: var(--rp-accent-filet);
	text-decoration-thickness: 2px;
}

.rp-corps a:hover {
	text-decoration-color: var(--rp-accent);
}

.rp-corps strong {
	font-weight: 600;
	color: var(--rp-encre);
}

.rp-corps blockquote {
	border-left: 3px solid var(--rp-accent);
	padding-left: 18px;
	margin-left: 0;
	font-style: italic;
	color: var(--rp-encre);
}

.rp-corps img,
.rp-corps figure img {
	border-radius: var(--rp-rayon-s);
}

.rp-corps figure {
	margin-inline: 0;
}

.rp-corps figcaption {
	font-family: var(--rp-titre);
	font-size: 12.5px;
	color: var(--rp-gris);
	margin-top: 8px;
	text-align: center;
}

.rp-tableau {
	overflow-x: auto;
}

.rp-corps table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--rp-titre);
	font-size: 15px;
}

.rp-corps th,
.rp-corps td {
	border: 1px solid var(--rp-filet);
	padding: 10px 12px;
	text-align: left;
}

.rp-corps th {
	background: var(--rp-accent-fond);
	font-weight: 700;
	color: var(--rp-encre);
}

.rp-pages-article {
	font-family: var(--rp-titre);
	font-weight: 700;
	margin-bottom: 20px;
}

/* Auteur, navigation, commentaires */

.rp-auteur {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	padding: 16px 18px;
	margin-block: 30px 24px;
}

.rp-auteur-photo {
	border-radius: 50%;
	flex: none;
}

.rp-auteur-nom {
	font-family: var(--rp-titre);
	font-weight: 800;
	margin: 0 0 4px;
	color: var(--rp-encre);
}

.rp-auteur-bio {
	margin: 0;
	font-size: 15px;
	color: var(--rp-gris);
	line-height: 1.55;
}

.rp-nav-articles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 12px;
	margin-block: 26px;
}

.rp-nav-articles a {
	display: block;
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	padding: 14px 16px;
	text-decoration: none;
}

.rp-nav-articles a:hover {
	border-color: var(--rp-accent);
}

.rp-nav-articles span {
	display: block;
	font-family: var(--rp-titre);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rp-gris);
	margin-bottom: 5px;
}

.rp-nav-articles strong {
	font-family: var(--rp-titre);
	font-size: 15px;
	font-weight: 700;
	color: var(--rp-encre);
	line-height: 1.3;
	display: block;
}

.rp-nav-suiv {
	text-align: right;
}

/* =========================================================================
   11. Articles liés
   ====================================================================== */

.rp-lies {
	border-top: 1px solid var(--rp-filet);
	margin-top: 36px;
	padding-block: 34px 10px;
}

.rp-titre-section {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.rp-titre-section h2 {
	font-size: 21px;
	font-weight: 800;
	margin: 0;
}

.rp-lien-suite {
	font-family: var(--rp-titre);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.rp-lien-suite:hover {
	text-decoration: underline;
}

/* =========================================================================
   12. Pagination
   ====================================================================== */

.rp-pagination {
	margin-block: 34px 8px;
}

.rp-pagination-liens {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: center;
}

.rp-pagination a,
.rp-pagination span {
	font-family: var(--rp-titre);
	font-size: 14px;
	font-weight: 700;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon-s);
	color: var(--rp-encre-2);
	text-decoration: none;
}

.rp-pagination a:hover {
	border-color: var(--rp-accent);
	color: var(--rp-accent);
}

.rp-pagination .current {
	background: var(--rp-accent);
	border-color: var(--rp-accent);
	color: #fff;
}

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

/* =========================================================================
   13. Commentaires
   ====================================================================== */

.rp-commentaires {
	border-top: 1px solid var(--rp-filet);
	margin-top: 30px;
	padding-top: 26px;
}

.rp-commentaires-titre {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 16px;
}

.rp-liste-commentaires {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.rp-liste-commentaires ol {
	list-style: none;
	padding-left: 22px;
}

.rp-liste-commentaires .comment-body {
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	padding: 16px 18px;
	margin-bottom: 12px;
}

.rp-liste-commentaires .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--rp-titre);
	font-weight: 700;
	color: var(--rp-encre);
}

.rp-liste-commentaires .comment-author img {
	border-radius: 50%;
}

.rp-liste-commentaires .comment-meta,
.rp-liste-commentaires .comment-metadata {
	font-family: var(--rp-titre);
	font-size: 12px;
	color: var(--rp-gris);
	margin-bottom: 8px;
}

.rp-liste-commentaires .comment-meta a,
.rp-liste-commentaires .comment-metadata a {
	color: var(--rp-gris);
	text-decoration: none;
}

.rp-liste-commentaires .reply {
	font-family: var(--rp-titre);
	font-size: 13px;
	font-weight: 700;
}

.rp-commentaires-note {
	font-family: var(--rp-titre);
	font-size: 13px;
	color: var(--rp-gris);
}

.comment-form label {
	display: block;
	font-family: var(--rp-titre);
	font-size: 13px;
	font-weight: 700;
	color: var(--rp-encre);
	margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon-s);
	padding: 10px 12px;
	font-family: var(--rp-texte);
	font-size: 16px;
	background: var(--rp-surface);
	color: var(--rp-encre-2);
	margin-bottom: 14px;
}

.comment-form textarea {
	min-height: 130px;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--rp-accent);
	outline-offset: 1px;
	border-color: transparent;
}

.comment-form .form-submit {
	margin: 0;
}

.comment-form input[type="submit"],
.rp-bouton {
	font-family: var(--rp-titre);
	font-size: 14px;
	font-weight: 800;
	background: var(--rp-accent);
	color: #fff;
	border: 0;
	border-radius: var(--rp-rayon-s);
	padding: 12px 22px;
	cursor: pointer;
}

.comment-form input[type="submit"]:hover,
.rp-bouton:hover {
	background: var(--rp-accent-fonce);
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--rp-titre);
	font-size: 13px;
	color: var(--rp-gris);
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 600;
	color: var(--rp-gris);
}

/* =========================================================================
   14. Pied de page
   ====================================================================== */

.rp-pied {
	background: var(--rp-encre);
	color: #C6D0DA;
	margin-top: 56px;
	padding-block: 44px 26px;
	font-size: 15px;
}

.rp-pied a {
	color: #C6D0DA;
	text-decoration: none;
}

.rp-pied a:hover {
	color: #fff;
	text-decoration: underline;
}

.rp-pied-haut {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 30px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rp-pied .rp-marque {
	color: #fff;
}

.rp-pied .rp-signe {
	background: var(--rp-accent);
	color: #fff;
}

.rp-pied .rp-marque-nom {
	color: #fff;
}

.rp-pied-marque p {
	margin: 14px 0 0;
	color: #96A3B0;
	font-size: 14.5px;
	line-height: 1.6;
	max-width: 46ch;
}

.rp-pied-bloc h2 {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7D8B99;
	margin-bottom: 12px;
}

.rp-pied-bloc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--rp-titre);
	font-size: 14px;
	font-weight: 600;
	display: grid;
	gap: 8px;
}

.rp-pied-affilie {
	font-size: 13px;
	color: #7D8B99;
	max-width: 80ch;
	margin: 22px 0 0;
	line-height: 1.6;
}

.rp-pied-bas {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
	font-family: var(--rp-titre);
	font-size: 13px;
	color: #7D8B99;
}

.rp-pied-bas p {
	margin: 0;
}

/* =========================================================================
   15. Extensions : on les accorde au thème
   ====================================================================== */

/* Bandeau Amazon de l'extension maison. */
.raa-banner {
	--raa-btn-bg: #0F766E;
	--raa-btn-fg: #FFFFFF;
	border-radius: var(--rp-rayon) !important;
	border: 1px solid var(--rp-accent-filet) !important;
	font-family: var(--rp-titre);
}

.raa-banner .raa-title {
	font-family: var(--rp-titre);
	letter-spacing: -0.02em;
}

/* Articles liés de YARPP : mêmes formes que le reste. */
.yarpp-related {
	background: var(--rp-surface);
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon);
	padding: 16px 20px;
	margin-block: 26px;
}

.yarpp-related h3 {
	font-size: 15px;
	font-weight: 800;
	margin: 0 0 10px;
}

.yarpp-related ol,
.yarpp-related ul {
	margin: 0;
	padding-left: 20px;
	font-family: var(--rp-titre);
	font-size: 14.5px;
	font-weight: 600;
}

.yarpp-related li {
	margin-bottom: 6px;
}

.yarpp-related a {
	text-decoration: none;
	color: var(--rp-encre-2);
}

.yarpp-related a:hover {
	color: var(--rp-accent);
	text-decoration: underline;
}

/* Formulaire de contact. */
.wpcf7 label {
	display: block;
	font-family: var(--rp-titre);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 12px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	border: 1px solid var(--rp-filet);
	border-radius: var(--rp-rayon-s);
	padding: 10px 12px;
	font-family: var(--rp-texte);
	font-size: 16px;
	margin-top: 5px;
}

.wpcf7 input[type="submit"] {
	font-family: var(--rp-titre);
	font-weight: 800;
	background: var(--rp-accent);
	color: #fff;
	border: 0;
	border-radius: var(--rp-rayon-s);
	padding: 12px 22px;
	cursor: pointer;
}

/* Blocs de l'éditeur. */
.rp-corps .wp-block-image {
	margin-block: 1.4em;
}

.rp-corps .wp-block-image img {
	width: 100%;
}

.rp-corps .aligncenter {
	text-align: center;
}

.rp-corps .alignleft,
.rp-corps .alignright {
	max-width: 46%;
}

.rp-corps .alignleft {
	float: left;
	margin: 0.4em 1.4em 1em 0;
}

.rp-corps .alignright {
	float: right;
	margin: 0.4em 0 1em 1.4em;
}

.rp-corps .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--rp-filet);
	margin-block: 2em;
}

/* Bandeau des cookies : il reprend au moins la police du site. */
#cookie-notice,
#cookie-notice * {
	font-family: var(--rp-titre) !important;
}

/* =========================================================================
   16. Écrans étroits
   ====================================================================== */

@media (max-width: 1000px) {
	.rp-entete-recherche {
		display: none;
	}

	.rp-une {
		grid-template-columns: 1fr;
	}

	.rp-une .rp-vignette {
		aspect-ratio: 2;
	}

	.rp-pied-haut {
		grid-template-columns: 1fr 1fr;
	}

	.rp-pied-marque {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	.rp-bascule {
		display: inline-flex;
	}

	.rp-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--rp-surface);
		border-bottom: 1px solid var(--rp-filet);
		box-shadow: 0 16px 28px rgba(16, 24, 40, 0.1);
		padding: 16px var(--rp-gouttiere) 20px;
	}

	.rp-menu-ouvert .rp-nav {
		display: block;
	}

	.rp-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		font-size: 16px;
	}

	.rp-menu li {
		border-bottom: 1px solid var(--rp-filet);
	}

	.rp-menu a {
		padding: 12px 0;
		border-bottom: 0;
	}

	.rp-nav-recherche {
		display: block;
		margin-top: 16px;
	}

	.rp-entete-inner {
		position: relative;
		min-height: 62px;
	}
}

@media (max-width: 640px) {
	:root {
		--rp-gouttiere: 18px;
	}

	body {
		font-size: 16.5px;
	}

	.rp-grille {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.rp-une-corps {
		padding: 20px;
	}

	.rp-corps > p,
	.rp-corps > ul,
	.rp-corps > ol,
	.rp-corps > blockquote {
		font-size: 17px;
		line-height: 1.72;
	}

	.rp-marque-desc {
		display: none;
	}

	.rp-nav-suiv {
		text-align: left;
	}

	.rp-pied-haut {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.rp-corps .alignleft,
	.rp-corps .alignright {
		float: none;
		max-width: 100%;
		margin: 1.2em 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
