/*
Theme Name: Cochlée
Theme URI: https://www.auriculaire.com/
Author: Arold A.
Description: Thème sur mesure d'auriculaire.com. Magazine de santé auditive et de bien-être : bleu nuit et sarcelle, titres en Familjen Grotesk, texte en Literata, polices servies en local. Aucune dépendance à une extension de mise en page.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cochlee
Tags: blog, magazine, health, one-column, custom-menu, featured-images, translation-ready
*/

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

@font-face {
	font-family: "Familjen Grotesk";
	src: url("assets/fonts/familjen.woff2") format("woff2-variations"),
	     url("assets/fonts/familjen.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Literata";
	src: url("assets/fonts/literata.woff2") format("woff2-variations"),
	     url("assets/fonts/literata.woff2") format("woff2");
	font-weight: 400 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Literata";
	src: url("assets/fonts/literata-italique.woff2") format("woff2-variations"),
	     url("assets/fonts/literata-italique.woff2") format("woff2");
	font-weight: 400 600;
	font-style: italic;
	font-display: swap;
}

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

:root {
	--encre: #0F2B38;
	--encre-clair: #1D3F4E;
	--sarcelle: #0E6E78;
	--sarcelle-fonce: #094C53;
	--turquoise: #7FC8CC;
	--turquoise-pale: #E6F3F3;
	--papier: #F4F8F8;
	--blanc: #FFFFFF;
	--gris: #5B7480;
	--gris-clair: #8098A2;
	--trait: #DCE7E8;
	--trait-doux: #EAF1F1;
	--alerte: #9C4221;

	--titre: "Familjen Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
	--texte: "Literata", Georgia, "Times New Roman", serif;

	--large: 1180px;
	--lecture: 42rem;
	--rayon: 14px;
	--rayon-petit: 8px;

	--ombre: 0 1px 2px rgba(15, 43, 56, .05), 0 10px 26px rgba(15, 43, 56, .07);
	--ombre-forte: 0 2px 6px rgba(15, 43, 56, .08), 0 18px 40px rgba(15, 43, 56, .12);
}

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

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

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

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

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

body {
	margin: 0;
	background: var(--papier);
	color: var(--encre);
	font-family: var(--texte);
	font-size: 1.0625rem;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

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

img {
	display: block;
}

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

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--titre);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -.012em;
	color: var(--encre);
	text-wrap: balance;
	margin: 0 0 .6em;
}

p, ul, ol, dl, table, figure, blockquote, pre {
	margin: 0 0 1.35em;
}

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

.coc-invisible {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.coc-evitement {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--blanc);
	color: var(--encre);
	padding: 12px 20px;
	font-family: var(--titre);
	font-weight: 600;
	border-radius: 0 0 var(--rayon-petit) 0;
}

.coc-evitement:focus {
	left: 0;
}

.coc-large {
	width: 100%;
	max-width: var(--large);
	margin-inline: auto;
	padding-inline: 20px;
}

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

.coc-entete {
	position: relative;
	background: var(--encre);
	color: var(--turquoise-pale);
	overflow: hidden;
}

.coc-entete::after {
	content: "";
	position: absolute;
	right: -70px;
	top: 50%;
	width: 340px;
	height: 340px;
	transform: translateY(-50%);
	background-image:
		radial-gradient(circle at 0 50%, transparent 0 58px, rgba(127, 200, 204, .14) 58px 60px, transparent 60px),
		radial-gradient(circle at 0 50%, transparent 0 96px, rgba(127, 200, 204, .12) 96px 98px, transparent 98px),
		radial-gradient(circle at 0 50%, transparent 0 134px, rgba(127, 200, 204, .10) 134px 136px, transparent 136px),
		radial-gradient(circle at 0 50%, transparent 0 172px, rgba(127, 200, 204, .08) 172px 174px, transparent 174px);
	pointer-events: none;
}

.coc-entete-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 74px;
	padding-block: 12px;
}

/* --- marque --- */

.coc-marque {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: inherit;
	flex: none;
}

.coc-marque:hover {
	color: inherit;
}

.coc-marque svg {
	flex: none;
	color: var(--turquoise);
}

.coc-marque-texte {
	font-family: var(--titre);
	font-weight: 700;
	font-size: 1.28rem;
	letter-spacing: -.02em;
	line-height: 1;
	color: var(--blanc);
}

.coc-marque-texte span {
	color: var(--turquoise);
}

.coc-marque-desc {
	display: block;
	font-family: var(--titre);
	font-weight: 500;
	font-size: .66rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(230, 243, 243, .62);
	margin-top: 4px;
}

.coc-marque img {
	max-height: 48px;
	width: auto;
}

/* --- navigation --- */

.coc-nav-zone {
	display: flex;
	align-items: center;
	gap: 8px;
}

.coc-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.coc-menu li {
	position: relative;
}

.coc-menu a {
	display: block;
	padding: 9px 13px;
	font-family: var(--titre);
	font-weight: 500;
	font-size: .94rem;
	color: rgba(234, 244, 244, .88);
	text-decoration: none;
	border-radius: var(--rayon-petit);
	transition: background-color .15s ease, color .15s ease;
}

.coc-menu a:hover,
.coc-menu a:focus-visible {
	background: rgba(127, 200, 204, .14);
	color: var(--blanc);
}

.coc-menu .current-menu-item > a,
.coc-menu .current-menu-parent > a,
.coc-menu .current-post-ancestor > a {
	color: var(--blanc);
	background: rgba(127, 200, 204, .18);
}

/* sous-menus */

.coc-menu .sub-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	min-width: 220px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--blanc);
	border-radius: var(--rayon-petit);
	box-shadow: var(--ombre-forte);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 30;
}

.coc-menu li:hover > .sub-menu,
.coc-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.coc-menu .sub-menu a {
	color: var(--encre);
	font-size: .9rem;
	padding: 8px 11px;
}

.coc-menu .sub-menu a:hover {
	background: var(--turquoise-pale);
	color: var(--sarcelle-fonce);
}

/* --- recherche de l'en-tête --- */

.coc-loupe {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(127, 200, 204, .14);
	color: var(--turquoise-pale);
	cursor: pointer;
	transition: background-color .15s ease;
}

.coc-loupe:hover {
	background: rgba(127, 200, 204, .26);
	color: var(--blanc);
}

.coc-tiroir {
	display: none;
	background: var(--encre-clair);
	padding-block: 16px;
}

.coc-tiroir.est-ouvert {
	display: block;
}

/* --- bouton du menu mobile --- */

.coc-bascule {
	display: none;
	align-items: center;
	gap: 9px;
	padding: 9px 14px 9px 12px;
	border: 1px solid rgba(127, 200, 204, .32);
	border-radius: 999px;
	background: transparent;
	color: var(--turquoise-pale);
	font-family: var(--titre);
	font-weight: 600;
	font-size: .88rem;
	cursor: pointer;
}

.coc-bascule-barres {
	display: grid;
	gap: 4px;
	width: 17px;
}

.coc-bascule-barres span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

.coc-bascule[aria-expanded="true"] .coc-bascule-barres span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.coc-bascule[aria-expanded="true"] .coc-bascule-barres span:nth-child(2) {
	opacity: 0;
}

.coc-bascule[aria-expanded="true"] .coc-bascule-barres span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* Sous 620 px, la ligne de description et le mot « Menu » ne tiennent plus à côté
   de la marque : le bouton sortait de l'écran et se faisait couper par l'en-tête. */
@media (max-width: 620px) {
	.coc-entete-inner {
		gap: 12px;
		min-height: 64px;
	}

	.coc-marque {
		min-width: 0;
	}

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

	.coc-marque-texte {
		font-size: 1.16rem;
	}

	.coc-nav-zone {
		gap: 6px;
	}

	.coc-bascule {
		width: 40px;
		height: 40px;
		padding: 0;
		gap: 0;
		justify-content: center;
		border-radius: 50%;
	}

	.coc-bascule-mot {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

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

	.coc-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--encre-clair);
		padding: 10px 20px 20px;
		box-shadow: var(--ombre-forte);
		z-index: 40;
	}

	.coc-nav.est-ouvert {
		display: block;
	}

	.coc-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.coc-menu a {
		padding: 12px 14px;
		font-size: 1rem;
	}

	.coc-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
		box-shadow: none;
		padding: 0 0 0 14px;
	}

	.coc-menu .sub-menu a {
		color: rgba(234, 244, 244, .8);
	}

	.coc-menu .sub-menu a:hover {
		background: rgba(127, 200, 204, .14);
		color: var(--blanc);
	}
}

/* ==========================================================================
   5. Formulaire de recherche
   ========================================================================== */

.coc-recherche {
	display: flex;
	gap: 8px;
	max-width: 520px;
}

.coc-recherche input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 11px 15px;
	font-family: var(--texte);
	font-size: 1rem;
	color: var(--encre);
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon-petit);
}

.coc-recherche input[type="search"]::placeholder {
	color: var(--gris-clair);
}

.coc-recherche button {
	padding: 11px 20px;
	border: 0;
	border-radius: var(--rayon-petit);
	background: var(--sarcelle);
	color: var(--blanc);
	font-family: var(--titre);
	font-weight: 600;
	font-size: .95rem;
	cursor: pointer;
	transition: background-color .15s ease;
}

.coc-recherche button:hover {
	background: var(--sarcelle-fonce);
}

/* ==========================================================================
   6. Éléments communs de contenu
   ========================================================================== */

.coc-rubrique {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--titre);
	font-weight: 700;
	font-size: .7rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--sarcelle);
	text-decoration: none;
}

.coc-rubrique:hover {
	color: var(--sarcelle-fonce);
}

.coc-onde {
	display: inline-block;
	flex: none;
	width: 9px;
	height: 12px;
	border: 1.6px solid currentColor;
	border-left: 0;
	border-radius: 0 12px 12px 0;
}

.coc-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	font-family: var(--titre);
	font-weight: 500;
	font-size: .82rem;
	color: var(--gris);
}

.coc-meta .coc-point {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--gris-clair);
	flex: none;
}

.coc-titre-section {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--encre);
}

.coc-titre-section h2 {
	font-size: clamp(1.28rem, 2.4vw, 1.6rem);
	margin: 0;
}

.coc-titre-section .coc-compte {
	font-family: var(--titre);
	font-weight: 500;
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gris);
	white-space: nowrap;
}

.coc-lien-suite {
	font-family: var(--titre);
	font-weight: 600;
	font-size: .88rem;
	color: var(--sarcelle);
	text-decoration: none;
	white-space: nowrap;
}

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

/* Sur téléphone, le titre de section et son lien se disputent la ligne :
   « À lire aussi dans Forme & Bien-être » passait sur deux lignes serrées. */
@media (max-width: 560px) {
	.coc-titre-section {
		flex-direction: column;
		align-items: flex-start;
		gap: 7px;
	}
}

/* ==========================================================================
   7. Cartes d'articles
   ========================================================================== */

.coc-grille {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}

/* Ceinture : une extension de mise en page qui glisserait ses propres classes
   de colonnes sur les articles ne doit pas rétrécir les cartes. */
.coc-grille > * {
	width: auto;
	max-width: none;
	float: none;
	margin: 0;
}

.coc-carte {
	display: flex;
	flex-direction: column;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.coc-carte:hover {
	transform: translateY(-3px);
	box-shadow: var(--ombre);
	border-color: var(--turquoise);
}

.coc-carte-image {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--turquoise-pale);
	overflow: hidden;
}

.coc-carte-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.coc-carte:hover .coc-carte-image img {
	transform: scale(1.03);
}

.coc-carte-corps {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 17px 19px 20px;
	flex: 1;
}

.coc-carte-titre {
	font-size: 1.08rem;
	line-height: 1.28;
	margin: 0;
}

.coc-carte-titre a {
	color: var(--encre);
	text-decoration: none;
}

.coc-carte-titre a:hover {
	color: var(--sarcelle);
}

.coc-carte-chapo {
	font-size: .93rem;
	line-height: 1.6;
	color: var(--gris);
	margin: 0;
}

.coc-carte-pied {
	margin-top: auto;
	padding-top: 12px;
}

/* ==========================================================================
   8. Accueil
   ========================================================================== */

.coc-accueil {
	padding-block: 34px 60px;
}

.coc-bloc + .coc-bloc {
	margin-top: 54px;
}

/* --- la une --- */

.coc-une {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	gap: 0;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon);
	overflow: hidden;
	box-shadow: var(--ombre);
}

.coc-une-image {
	display: block;
	position: relative;
	min-height: 320px;
	background: var(--turquoise-pale);
}

.coc-une-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.coc-une-corps {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 13px;
	padding: 34px 38px;
}

.coc-une-corps h2 {
	font-size: clamp(1.5rem, 3.1vw, 2.05rem);
	margin: 0;
}

.coc-une-corps h2 a {
	color: var(--encre);
	text-decoration: none;
}

.coc-une-corps h2 a:hover {
	color: var(--sarcelle);
}

.coc-une-chapo {
	color: var(--gris);
	font-size: 1rem;
	margin: 0;
}

@media (max-width: 860px) {
	.coc-une {
		grid-template-columns: 1fr;
	}

	.coc-une-image {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

	.coc-une-image img {
		position: static;
	}

	.coc-une-corps {
		padding: 24px 22px 28px;
	}
}

/* --- bandeau de rubriques --- */

.coc-rubriques {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
	margin-top: 26px;
}

.coc-rubrique-carte {
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 20px 22px;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-left: 4px solid var(--sarcelle);
	border-radius: var(--rayon-petit);
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.coc-rubrique-carte:hover {
	box-shadow: var(--ombre);
	border-left-color: var(--turquoise);
}

.coc-rubrique-carte strong {
	font-family: var(--titre);
	font-size: 1.1rem;
	color: var(--encre);
}

.coc-rubrique-carte span {
	font-size: .9rem;
	line-height: 1.55;
	color: var(--gris);
}

.coc-rubrique-carte em {
	font-family: var(--titre);
	font-style: normal;
	font-weight: 600;
	font-size: .76rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sarcelle);
}

/* ==========================================================================
   9. Bandeau de page (archives, recherche, pages)
   ========================================================================== */

.coc-bandeau {
	background: var(--blanc);
	border-bottom: 1px solid var(--trait);
	padding-block: 34px 30px;
}

.coc-bandeau h1 {
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	margin: 8px 0 0;
	max-width: 24ch;
}

.coc-bandeau-desc {
	margin: 12px 0 0;
	max-width: 62ch;
	color: var(--gris);
	font-size: 1.02rem;
}

.coc-fil {
	font-family: var(--titre);
	font-size: .82rem;
	font-weight: 500;
	color: var(--gris);
}

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

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

.coc-fil span[aria-current] {
	color: var(--encre);
}

.coc-liste {
	padding-block: 38px 60px;
}

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

.coc-article-tete {
	background: var(--blanc);
	border-bottom: 1px solid var(--trait);
	padding-block: 30px 34px;
}

.coc-article-tete .coc-large {
	max-width: calc(var(--lecture) + 40px);
}

.coc-article-tete h1 {
	font-size: clamp(1.8rem, 4.4vw, 2.7rem);
	margin: 14px 0 0;
}

.coc-article-tete .coc-rubrique {
	margin-top: 14px;
}

.coc-article-tete .coc-meta {
	margin-top: 16px;
}

.coc-auteur-pastille {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--turquoise-pale);
	color: var(--sarcelle-fonce);
	font-family: var(--titre);
	font-weight: 700;
	font-size: .78rem;
	flex: none;
}

.coc-image-une {
	margin: 0;
	background: var(--blanc);
	border-bottom: 1px solid var(--trait);
}

.coc-image-une img {
	display: block;
	width: 100%;
	max-width: 1180px;
	margin-inline: auto;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

@media (max-width: 700px) {
	.coc-image-une img {
		aspect-ratio: 16 / 10;
	}
}

.coc-image-une figcaption {
	max-width: var(--lecture);
	margin: 10px auto 0;
	padding: 0 20px 16px;
	font-size: .85rem;
	color: var(--gris);
}

.coc-article {
	padding-block: 34px 56px;
}

.coc-article-corps {
	max-width: var(--lecture);
	margin-inline: auto;
	font-size: 1.09rem;
	line-height: 1.78;
}

.coc-article-corps h2 {
	font-size: clamp(1.35rem, 3vw, 1.68rem);
	margin: 2em 0 .55em;
	padding-top: .2em;
}

.coc-article-corps h3 {
	font-size: 1.22rem;
	margin: 1.7em 0 .5em;
	color: var(--encre-clair);
}

.coc-article-corps h4 {
	font-size: 1.06rem;
	margin: 1.5em 0 .45em;
}

.coc-article-corps ul,
.coc-article-corps ol {
	padding-left: 1.3em;
}

.coc-article-corps li {
	margin-bottom: .5em;
}

.coc-article-corps ul li::marker {
	color: var(--sarcelle);
}

.coc-article-corps ol li::marker {
	color: var(--sarcelle);
	font-family: var(--titre);
	font-weight: 700;
}

.coc-article-corps img {
	border-radius: var(--rayon-petit);
	margin-inline: auto;
}

.coc-article-corps figure {
	margin-inline: 0;
}

.coc-article-corps figcaption {
	font-size: .86rem;
	color: var(--gris);
	text-align: center;
	margin-top: 8px;
}

.coc-article-corps blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--turquoise);
	color: var(--encre-clair);
	font-size: 1.1rem;
}

.coc-article-corps blockquote p:last-child {
	margin-bottom: 0;
}

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

.coc-article-corps a {
	text-decoration-color: var(--turquoise);
}

.coc-tableau-enveloppe {
	overflow-x: auto;
	margin-bottom: 1.5em;
	border: 1px solid var(--trait);
	border-radius: var(--rayon-petit);
}

.coc-article-corps table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-family: var(--titre);
	font-size: .94rem;
	background: var(--blanc);
}

.coc-article-corps th,
.coc-article-corps td {
	padding: 11px 15px;
	text-align: left;
	border-bottom: 1px solid var(--trait-doux);
	vertical-align: top;
}

.coc-article-corps thead th {
	background: var(--encre);
	color: var(--blanc);
	font-weight: 600;
	font-size: .85rem;
	letter-spacing: .02em;
}

.coc-article-corps tbody tr:last-child td {
	border-bottom: 0;
}

.coc-article-corps tbody tr:nth-child(even) {
	background: var(--papier);
}

/* --- sommaire --- */

.coc-sommaire {
	margin: 0 0 2em;
	padding: 20px 24px 22px;
	background: var(--turquoise-pale);
	border-radius: var(--rayon);
}

.coc-sommaire > strong {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--titre);
	font-weight: 700;
	font-size: .74rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--sarcelle-fonce);
	margin-bottom: 11px;
}

.coc-sommaire ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: som;
	display: grid;
	gap: 6px;
}

.coc-sommaire li {
	counter-increment: som;
	margin: 0;
}

.coc-sommaire a {
	display: flex;
	gap: 10px;
	font-family: var(--titre);
	font-size: .96rem;
	line-height: 1.4;
	color: var(--encre);
	text-decoration: none;
}

.coc-sommaire a::before {
	content: counter(som) ".";
	color: var(--sarcelle);
	font-weight: 700;
	flex: none;
}

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

/* --- encadré d'avertissement santé --- */

.coc-avis {
	max-width: var(--lecture);
	margin: 2.4em auto 0;
	padding: 16px 20px;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-left: 4px solid var(--turquoise);
	border-radius: var(--rayon-petit);
	font-size: .92rem;
	line-height: 1.6;
	color: var(--gris);
}

.coc-avis strong {
	display: block;
	font-family: var(--titre);
	font-size: .74rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--sarcelle-fonce);
	margin-bottom: 5px;
}

/* --- auteur --- */

.coc-auteur {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	max-width: var(--lecture);
	margin: 2.6em auto 0;
	padding: 20px 22px;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon);
}

.coc-auteur img {
	border-radius: 50%;
	flex: none;
}

.coc-auteur-nom {
	font-family: var(--titre);
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--encre);
	margin: 0 0 4px;
}

.coc-auteur-bio {
	margin: 0;
	font-size: .93rem;
	line-height: 1.6;
	color: var(--gris);
}

/* --- navigation entre articles --- */

.coc-nav-articles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	max-width: var(--lecture);
	margin: 2.2em auto 0;
}

.coc-nav-articles a {
	display: block;
	padding: 15px 18px;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon-petit);
	text-decoration: none;
	transition: border-color .15s ease;
}

.coc-nav-articles a:hover {
	border-color: var(--turquoise);
}

.coc-nav-articles span {
	display: block;
	font-family: var(--titre);
	font-weight: 600;
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sarcelle);
	margin-bottom: 5px;
}

.coc-nav-articles strong {
	font-family: var(--titre);
	font-weight: 600;
	font-size: .98rem;
	line-height: 1.3;
	color: var(--encre);
}

/* --- articles liés --- */

.coc-lies {
	background: var(--blanc);
	border-top: 1px solid var(--trait);
	padding-block: 44px 56px;
}

/* ==========================================================================
   11. Pagination
   ========================================================================== */

.coc-pagination {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

.coc-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	align-items: center;
}

.coc-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 13px;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon-petit);
	font-family: var(--titre);
	font-weight: 600;
	font-size: .95rem;
	color: var(--encre);
	text-decoration: none;
}

.coc-pagination .page-numbers:hover {
	border-color: var(--turquoise);
	color: var(--sarcelle);
}

.coc-pagination .page-numbers.current {
	background: var(--encre);
	border-color: var(--encre);
	color: var(--blanc);
}

.coc-pagination .dots {
	border: 0;
	background: transparent;
	min-width: 20px;
	padding: 0;
}

/* ==========================================================================
   12. Page simple et contenu éditorial
   ========================================================================== */

.coc-page {
	padding-block: 38px 60px;
}

.coc-page-corps {
	max-width: var(--lecture);
	margin-inline: auto;
	font-size: 1.06rem;
	line-height: 1.75;
}

.coc-page-corps h2 {
	font-size: 1.5rem;
	margin: 1.9em 0 .5em;
}

.coc-page-corps h3 {
	font-size: 1.18rem;
	margin: 1.6em 0 .45em;
}

.coc-page-corps ul,
.coc-page-corps ol {
	padding-left: 1.3em;
}

/* formulaire Contact Form 7 */

.wpcf7 {
	max-width: var(--lecture);
	margin-inline: auto;
}

.wpcf7 label {
	display: block;
	font-family: var(--titre);
	font-weight: 600;
	font-size: .92rem;
	color: var(--encre);
	margin-bottom: 14px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 14px;
	font-family: var(--texte);
	font-size: 1rem;
	color: var(--encre);
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon-petit);
}

.wpcf7 textarea {
	min-height: 170px;
	resize: vertical;
}

.wpcf7 input[type="submit"] {
	padding: 12px 26px;
	border: 0;
	border-radius: var(--rayon-petit);
	background: var(--sarcelle);
	color: var(--blanc);
	font-family: var(--titre);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
	background: var(--sarcelle-fonce);
}

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

.coc-commentaires {
	max-width: var(--lecture);
	margin: 2.6em auto 0;
}

.coc-commentaires h2 {
	font-size: 1.3rem;
}

.coc-commentaires ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.coc-commentaires .comment-body {
	padding: 18px 20px;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: var(--rayon-petit);
	margin-bottom: 14px;
}

.coc-commentaires .children {
	list-style: none;
	margin: 0;
	padding-left: 22px;
}

.coc-commentaires .fn {
	font-family: var(--titre);
	font-weight: 700;
	font-style: normal;
}

.coc-commentaires .comment-metadata {
	font-family: var(--titre);
	font-size: .82rem;
	color: var(--gris);
	margin-bottom: 8px;
}

.comment-form label {
	display: block;
	font-family: var(--titre);
	font-weight: 600;
	font-size: .92rem;
	margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	font-family: var(--texte);
	font-size: 1rem;
	border: 1px solid var(--trait);
	border-radius: var(--rayon-petit);
	background: var(--blanc);
	margin-bottom: 14px;
}

.comment-form .submit {
	padding: 12px 26px;
	border: 0;
	border-radius: var(--rayon-petit);
	background: var(--sarcelle);
	color: var(--blanc);
	font-family: var(--titre);
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
}

/* ==========================================================================
   14. Page 404 et résultats vides
   ========================================================================== */

.coc-vide {
	max-width: 44rem;
	margin-inline: auto;
	padding-block: 60px 80px;
	text-align: center;
}

.coc-vide h1 {
	font-size: clamp(1.9rem, 5vw, 2.8rem);
}

.coc-vide p {
	color: var(--gris);
	font-size: 1.05rem;
}

.coc-vide .coc-recherche {
	margin: 26px auto 34px;
}

.coc-vide-liens {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.coc-vide-liens a {
	display: inline-block;
	padding: 9px 17px;
	background: var(--blanc);
	border: 1px solid var(--trait);
	border-radius: 999px;
	font-family: var(--titre);
	font-weight: 600;
	font-size: .92rem;
	color: var(--encre);
	text-decoration: none;
}

.coc-vide-liens a:hover {
	border-color: var(--turquoise);
	color: var(--sarcelle);
}

/* ==========================================================================
   15. Pied de page
   ========================================================================== */

.coc-pied {
	background: var(--encre);
	color: rgba(230, 243, 243, .78);
	padding-block: 46px 0;
	margin-top: 0;
}

.coc-pied a {
	color: rgba(230, 243, 243, .85);
	text-decoration: none;
}

.coc-pied a:hover {
	color: var(--turquoise);
	text-decoration: underline;
}

/* Pas de repeat(auto-fit) ici : mêlé à une piste en fr, il rend toute la
   déclaration invalide et le pied s'empile sur une seule colonne. */
.coc-pied-colonnes {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1.4fr 1fr;
	gap: 36px 40px;
	padding-bottom: 40px;
}

@media (max-width: 980px) {
	.coc-pied-colonnes {
		grid-template-columns: 1fr 1fr;
	}

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

@media (max-width: 560px) {
	.coc-pied-colonnes {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.coc-pied-marque .coc-marque {
	margin-bottom: 14px;
}

.coc-pied-marque p {
	font-size: .95rem;
	line-height: 1.65;
	max-width: 40ch;
	margin: 0;
}

.coc-pied h2,
.coc-pied .widget-title {
	font-family: var(--titre);
	font-weight: 700;
	font-size: .76rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--turquoise);
	margin: 0 0 14px;
}

.coc-pied ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-family: var(--titre);
	font-size: .95rem;
}

.coc-pied .widget {
	margin-bottom: 0;
}

/* rubriques : le nom d'un côté, le nombre d'articles de l'autre */
.coc-pied-rubriques li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 9px;
	border-bottom: 1px solid rgba(127, 200, 204, .12);
}

.coc-pied-rubriques li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.coc-pied-rubriques span {
	font-size: .8rem;
	font-variant-numeric: tabular-nums;
	color: var(--turquoise);
	opacity: .8;
}

/* derniers articles : titre sur deux lignes, date en dessous */
.coc-pied-articles li {
	display: grid;
	gap: 3px;
}

.coc-pied-articles a {
	font-size: .93rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.coc-pied-articles time {
	font-size: .78rem;
	color: rgba(230, 243, 243, .5);
}

.coc-pied-bas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	align-items: baseline;
	justify-content: space-between;
	padding-block: 18px 24px;
	border-top: 1px solid rgba(127, 200, 204, .18);
	font-family: var(--titre);
	font-size: .86rem;
	color: rgba(230, 243, 243, .6);
}

/* Pas de max-width ici : elle cassait la phrase en deux lignes alors que la
   barre du bas a la place de la tenir d'un seul tenant. */
.coc-pied-avertissement {
	color: rgba(230, 243, 243, .48);
	text-align: right;
}

@media (max-width: 860px) {
	.coc-pied-avertissement {
		text-align: left;
	}
}

/* ==========================================================================
   16. Impression
   ========================================================================== */

@media print {
	.coc-entete,
	.coc-pied,
	.coc-sommaire,
	.coc-lies,
	.coc-nav-articles {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.coc-article-corps {
		max-width: none;
	}
}
