/* Gabarit article — handoff §5.2.
   Colonne de texte 700 px, rail de sommaire 250 px, gouttière 52 px. */

/* --- Chapeau -------------------------------------------------------------- */

.pt-article__head {
	padding-top: 52px;
	max-width: calc(880px + var(--pt-gutter) * 2);
	margin-left: 0;
}

.pt-article__head .pt-kicker {
	margin-bottom: 16px;
}

a.pt-kicker:hover {
	color: var(--pt-night);
}

.pt-article__title {
	font-size: 48px;
	line-height: 1.06;
	letter-spacing: -0.7px;
}

.pt-article__lede {
	margin: 20px 0 0;
	font-size: 20px;
	max-width: 720px;
}

.pt-article__byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 26px;
	padding-bottom: 26px;
	border-bottom: var(--pt-border);
	font-size: 12.5px;
	color: var(--pt-ink-muted);
}

.pt-article__byline img,
.pt-article__avatar {
	width: 34px;
	height: 34px;
	flex: none;
}

.pt-article__author {
	color: var(--pt-ink);
	font-weight: 600;
}

@media (max-width: 767px) {
	.pt-article__head {
		padding-top: 26px;
	}

	.pt-article__head .pt-kicker {
		margin-bottom: 12px;
	}

	.pt-article__title {
		font-size: 31px;
		line-height: 1.1;
		letter-spacing: -0.4px;
	}

	.pt-article__lede {
		margin-top: 14px;
		font-size: 16px;
	}

	.pt-article__byline {
		gap: 10px;
		margin-top: 18px;
		padding-bottom: 18px;
		font-size: 11.5px;
	}

	.pt-article__byline img,
	.pt-article__avatar {
		width: 28px;
		height: 28px;
	}
}

/* --- Grille rail / corps -------------------------------------------------- */

.pt-article__grid {
	display: grid;
	grid-template-columns: var(--pt-rail) minmax(0, 1fr);
	gap: var(--pt-rail-gap);
	align-items: start;
	padding-top: 40px;
}

.pt-article__body {
	max-width: var(--pt-measure);
	min-width: 0;
}

.pt-article__hero {
	margin: 0 0 36px;
}

.pt-article__hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

@media (max-width: 767px) {
	.pt-article__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-top: 22px;
	}

	.pt-article__hero {
		margin-bottom: 22px;
	}
}

/* --- Sommaire collant ----------------------------------------------------- */

.pt-rail {
	position: sticky;
	top: 96px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.pt-toc {
	border-top: var(--pt-border-strong);
	padding-top: 16px;
}

.pt-toc .pt-kicker {
	margin-bottom: 10px;
}

.pt-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pt-toc__item a {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	color: var(--pt-ink-muted);
	padding: 7px 0 7px 12px;
	border-left: 2px solid var(--pt-line);
	transition: color var(--pt-transition-card), border-color var(--pt-transition-card);
}

.pt-toc__item--h3 a {
	padding-left: 24px;
	font-size: 12.5px;
}

.pt-toc__item a:hover {
	color: var(--pt-ink);
}

.pt-toc__item.is-active a {
	color: var(--pt-ink);
	font-weight: 600;
	border-left-color: var(--pt-primary);
}

@media (max-width: 767px) {
	.pt-rail {
		display: none;
	}
}

/* Sommaire mobile : une barre dépliable */
.pt-toc-mobile {
	display: none;
	margin: 18px 0 0;
	border: var(--pt-border);
	background: var(--pt-card);
}

.pt-toc-mobile summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	min-height: 44px;
	cursor: pointer;
	list-style: none;
}

.pt-toc-mobile summary::-webkit-details-marker {
	display: none;
}

.pt-toc-mobile__sign {
	position: relative;
	width: 14px;
	height: 14px;
	flex: none;
}

.pt-toc-mobile__sign::before,
.pt-toc-mobile__sign::after {
	content: "";
	position: absolute;
	background: var(--pt-primary);
	transition: opacity var(--pt-transition-card);
}

.pt-toc-mobile__sign::before {
	top: 6px;
	left: 0;
	width: 14px;
	height: 2px;
}

.pt-toc-mobile__sign::after {
	top: 0;
	left: 6px;
	width: 2px;
	height: 14px;
}

.pt-toc-mobile[open] .pt-toc-mobile__sign::after {
	opacity: 0;
}

.pt-toc-mobile .pt-toc__list {
	padding: 0 16px 14px;
}

@media (max-width: 767px) {
	.pt-toc-mobile {
		display: block;
		margin: 0 0 22px;
	}
}

/* --- Corps d'article ------------------------------------------------------ */

.pt-prose {
	font-size: 16.5px;
	line-height: 1.75;
	color: var(--pt-ink-body);
}

.pt-prose > *:first-child {
	margin-top: 0;
}

.pt-prose p {
	margin: 0 0 20px;
}

.pt-prose h2 {
	margin: 36px 0 14px;
	font-size: 30px;
	line-height: 1.15;
	scroll-margin-top: 96px;
}

.pt-prose h3 {
	margin: 28px 0 12px;
	font-size: 21px;
	line-height: 1.25;
	scroll-margin-top: 96px;
}

.pt-prose h4 {
	margin: 24px 0 10px;
	font-family: var(--pt-font-body);
	font-size: 15px;
	font-weight: 600;
	color: var(--pt-ink);
}

.pt-prose a {
	color: var(--pt-ink-body);
	border-bottom: 1px solid var(--pt-primary-lite);
}

.pt-prose a:hover {
	color: var(--pt-primary);
	border-bottom-color: var(--pt-primary);
}

.pt-prose strong {
	color: var(--pt-ink);
	font-weight: 600;
}

.pt-prose ul,
.pt-prose ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

.pt-prose li {
	margin-bottom: 8px;
}

.pt-prose li::marker {
	color: var(--pt-primary);
}

.pt-prose figure {
	margin: 28px 0;
}

.pt-prose figcaption {
	margin-top: 10px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--pt-ink-muted);
}

.pt-prose hr {
	border: 0;
	border-top: var(--pt-border);
	margin: 36px 0;
}

/* Citation : la voix de la marque, filet gauche brun */
.pt-prose blockquote {
	margin: 28px 0;
	padding: 22px 24px;
	background: var(--pt-cream-deep);
	border-left: 2px solid var(--pt-brown);
	font-family: var(--pt-font-title);
	font-style: italic;
	font-size: 18px;
	line-height: 1.6;
	color: var(--pt-ink-soft);
}

.pt-prose blockquote p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.pt-prose {
		font-size: 16px;
	}

	.pt-prose h2 {
		margin: 26px 0 12px;
		font-size: 25px;
		line-height: 1.18;
	}

	.pt-prose h3 {
		font-size: 19px;
	}
}

/* --- Tableaux ------------------------------------------------------------- */

.pt-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 28px;
	font-size: 14px;
}

.pt-prose thead th {
	background: var(--pt-night);
	color: #fff;
	font-family: var(--pt-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-align: left;
	padding: 12px 14px;
}

.pt-prose tbody td {
	border: var(--pt-border);
	padding: 12px 14px;
	line-height: 1.6;
	color: var(--pt-ink-soft);
}

.pt-prose tbody tr:nth-child(odd) {
	background: var(--pt-card);
}

.pt-prose table figcaption,
.pt-prose .wp-block-table figcaption {
	margin-top: 10px;
}

/* Sous 768 px, un tableau devient une pile de cartes — jamais de défilement
   horizontal. Les libellés viennent des `data-label` posés par inc/content.php. */
@media (max-width: 767px) {
	.pt-prose table,
	.pt-prose thead,
	.pt-prose tbody,
	.pt-prose tr,
	.pt-prose td {
		display: block;
		width: 100%;
	}

	.pt-prose thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.pt-prose tbody tr {
		border: var(--pt-border);
		background: var(--pt-card);
		margin-bottom: 14px;
		padding: 4px 16px;
	}

	.pt-prose tbody td {
		border: 0;
		border-top: var(--pt-border);
		padding: 10px 0;
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 16px;
		text-align: right;
	}

	.pt-prose tbody td:first-child {
		border-top: 0;
		font-weight: 600;
		color: var(--pt-ink);
	}

	.pt-prose tbody td::before {
		content: attr(data-label);
		flex: none;
		max-width: 45%;
		text-align: left;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: 0.4px;
		color: var(--pt-ink-muted);
	}

	/* La première cellule porte déjà le titre de la ligne : pas de doublon. */
	.pt-prose tbody td:first-child::before {
		content: "";
	}
}

/* --- FAQ dépliable -------------------------------------------------------- */

.pt-prose details {
	border-bottom: var(--pt-border);
	padding: 16px 0;
}

.pt-prose details:first-of-type {
	border-top: var(--pt-border);
}

.pt-prose summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	list-style: none;
	font-family: var(--pt-font-title);
	font-size: 19px;
	line-height: 1.3;
	color: var(--pt-ink);
	min-height: 44px;
}

.pt-prose summary::-webkit-details-marker {
	display: none;
}

.pt-prose summary::after {
	content: "+";
	flex: none;
	font-family: var(--pt-font-body);
	font-size: 18px;
	color: var(--pt-primary);
}

.pt-prose details[open] summary::after {
	content: "\2212"; /* − */
}

.pt-prose details > *:not(summary) {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--pt-ink-soft);
}

@media (max-width: 767px) {
	.pt-prose summary {
		font-size: 17px;
	}
}

/* --- CTA de fin d'article -------------------------------------------------- */

/* Le CTA de fin d'article — panneau photo (handoff v3, §5.2).

   Il sort de la colonne de texte de 700 px : c'est un panneau, pas un encart.
   Sur cream, pas sur night — la photo porte seule la profondeur. */
.pt-cta {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	margin: 48px 0 0;
	background: var(--pt-cream);
	border: var(--pt-border);
}

.pt-cta__photo {
	position: relative;
	min-height: 420px;
	background-color: var(--pt-night);
	background-size: cover;
	background-position: center;
}

.pt-cta__tag {
	position: absolute;
	left: 0;
	bottom: 0;
	background: var(--pt-night);
	color: var(--pt-sand);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	padding: 12px 18px;
}

.pt-cta__panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 48px 44px;
	justify-content: center;
}

.pt-cta__title {
	margin: 0;
	font-family: var(--pt-font-title);
	font-size: 32px;
	line-height: 1.15;
	color: var(--pt-ink);
	text-wrap: pretty;
}

.pt-cta__body {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.7;
	color: var(--pt-ink-soft);
}

.pt-cta__action {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 6px;
	border-top: 1px solid var(--pt-night);
	padding-top: 22px;
}

.pt-cta__note {
	margin: 0;
	font-size: 11.5px;
	color: var(--pt-ink-muted);
}

.pt-price {
	margin: 0;
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.pt-price__now {
	font-family: var(--pt-font-title);
	font-size: 48px;
	line-height: 0.9;
	color: var(--pt-ink);
}

.pt-price__was {
	font-family: var(--pt-font-body);
	font-size: 12.5px;
	color: var(--pt-ink-muted);
	text-decoration: line-through;
	padding-bottom: 6px;
}

/* ⚠ Les trois cartes sont ALIGNÉES, plus décalées en escalier — comme celles
   du hub, alignées le matin même. Trois articles de même rang n'ont aucune
   raison d'être posés à trois hauteurs, et le même objet ne peut pas avoir deux
   apparences selon l'écran. Écart assumé à la maquette, arbitré par Loïc le
   4 août 2026. */
.pt-related__grid {
	align-items: stretch;
}

@media (max-width: 1023px) {
	.pt-cta {
		grid-template-columns: minmax(0, 1fr);
	}

	.pt-cta__photo {
		min-height: 240px;
	}

	.pt-cta__panel {
		padding: 36px 28px;
	}

	/* Le contre-pied du décalage n'a plus rien à défaire : les cartes sont
	   alignées à toutes les tailles. Règle supprimée plutôt que laissée là —
	   une règle qui ne mord sur rien fait croire, à la relecture, qu'un réglage
	   existe encore. */
}

.pt-author {
	border-top: var(--pt-border);
	margin-top: 44px;
	padding-top: 28px;
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.pt-author__portrait img {
	width: 88px;
	height: 88px;
	object-fit: cover;
}

.pt-author__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pt-author__name {
	font-family: var(--pt-font-title);
	font-size: 22px;
	line-height: 1.25;
	color: var(--pt-ink);
}

.pt-author p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--pt-ink-soft);
}

@media (max-width: 767px) {
	.pt-author {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 16px;
		margin-top: 26px;
		padding-top: 22px;
	}

	.pt-author__portrait img {
		width: 64px;
		height: 64px;
	}

	.pt-author__name {
		font-size: 18px;
	}

	.pt-author p {
		font-size: 13px;
	}
}

/* --- La suite logique ------------------------------------------------------ */

.pt-related {
	background: var(--pt-cream-deep);
	border-top: var(--pt-border);
	margin-top: 56px;
	padding: 56px 0;
}

.pt-related__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	border-bottom: var(--pt-border-strong);
	padding-bottom: 12px;
	margin-bottom: 22px;
}

.pt-related__head h2 {
	font-size: 28px;
}

.pt-related__head a {
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
}

.pt-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

/* ⚠ Les règles de `.pt-article-card` ne sont PLUS ici : elles ont rejoint
   `base.css`, avec `.pt-card`. Motif, mesuré le 4 août 2026 : cette carte est
   rendue par `pt_article_card()`, appelée aussi bien en fin d'article que sur
   les hubs de catégorie — or `article.css` n'est enfilée que sur un contenu
   singulier. Sur un hub, la carte sortait donc **entièrement nue** : aucun
   retrait, aucun rythme, titre à 16 px dans la police du corps, image sans
   rapport de forme. Loïc l'a vu comme « pas de marge entre le cadre et le
   contenu » — il n'y en avait pas, la règle n'était pas servie.

   Règle qui en sort : **une brique appelée depuis plusieurs gabarits ne peut
   pas être habillée dans la feuille d'un seul.** Vérifier où une fonction est
   appelée avant de choisir où l'habiller. */

@media (max-width: 1023px) {
	.pt-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.pt-related {
		margin-top: 26px;
		padding: 26px 0;
	}

	.pt-related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	/* La version mobile de la carte est passée dans `base.css` avec le reste
	   du composant — même raison. */
}

/* --- Barre CTA collante (mobile) ------------------------------------------- */

.pt-sticky-cta {
	display: none;
}

@media (max-width: 767px) {
	.pt-sticky-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 70;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		background: var(--pt-night);
		border-top: 1px solid rgba(212, 198, 163, 0.3);
		padding: 12px 16px;
		transform: translateY(100%);
		transition: transform var(--pt-transition-button);
	}

	.pt-sticky-cta[hidden] {
		display: flex; /* on pilote par la transformation, pas par l'affichage */
	}

	.pt-sticky-cta.is-visible {
		transform: translateY(0);
	}

	.pt-sticky-cta__text {
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}

	.pt-sticky-cta__price {
		font-family: var(--pt-font-title);
		font-size: 20px;
		line-height: 1.15;
		color: #fff;
		/* Une offre sans prix affiche son titre : deux lignes au maximum,
		   sinon la barre mange l'écran au lieu de le border. */
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.pt-sticky-cta .pt-btn {
		flex: none;
		padding: 13px 18px;
		font-size: 13px;
	}
}

/* --- Impression ------------------------------------------------------------ */

@media print {
	.pt-header,
	.pt-breadcrumb,
	.pt-rail,
	.pt-toc-mobile,
	.pt-cta,
	.pt-sticky-cta,
	.pt-related,
	.pt-newsletter,
	.pt-footer {
		display: none !important;
	}

	.pt-article__grid {
		display: block;
		padding: 0;
	}

	.pt-article__body {
		max-width: none;
	}

	.pt-prose {
		font-size: 12pt;
		color: #000;
	}

	.pt-prose details {
		display: block;
	}

	.pt-prose details > *:not(summary) {
		display: block !important;
	}
}

/* --- Blocs Rank Math présents dans le contenu ------------------------------ */

/* Le sommaire en ligne de Rank Math fait doublon avec le rail collant (et avec
   la barre dépliable sur mobile). On le masque sans le retirer du HTML : le
   balisage reste là pour qui le lit. */
.pt-prose .wp-block-rank-math-toc-block {
	display: none;
}

.pt-prose .wp-block-rank-math-faq-block {
	margin: 8px 0 28px;
	border-top: var(--pt-border);
}

.pt-prose .rank-math-answer {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--pt-ink-soft);
}

.pt-prose summary.rank-math-question strong {
	font-weight: 400; /* la question est déjà en Tenor : pas besoin de gras */
}

/* --- Page sans rail (page.php) --------------------------------------------- */

.pt-article__grid--full {
	grid-template-columns: minmax(0, 1fr);
}

/* === Bandeau photo de l'article (handoff v3, §5.2, version `4a`) ===========

   Le titre, le fil d'Ariane et l'en-tête sont posés sur l'image à la une.
   Trois voiles, dans cet ordre : un dégradé 100° qui assombrit le côté du
   texte, un dégradé bas qui referme l'image pour que l'encart puisse chevaucher
   sans se poser sur du clair, et un tramage horizontal très léger.

   🚨 La photo était en fond CSS (`::before` + `--pt-masthead-shot`), au motif
   qu'elle est décorative — l'article la décrit déjà par son titre. Le
   raisonnement tenait pour un lecteur ; il ne tenait pas pour Google, et
   l'audit du 9 août 2026 l'a chiffré : ce bandeau étant le SEUL endroit où
   l'image à la une paraît, plus aucun article n'avait de vignette dans les
   résultats de recherche. C'est désormais une vraie `<img>`, posée exactement
   où était le `::before` — voir `pt_masthead_shot()`.

   ⚠ Une image de fond ne peut pas être préchargée par le navigateur : c'est le
   même défaut qui tenait la moitié du LCP de l'accueil en juillet. */

.pt-masthead {
	position: relative;
	background-color: var(--pt-night);
	color: var(--pt-on-night-body);
	/* La place de l'en-tête, qui est sorti du flux. */
	padding-top: 76px;
}

/* Elle couvre le bandeau entier, retrait de l'en-tête compris — `inset: 0` part
   de la bordure, pas du contenu. Les voiles la suivent dans le document, donc
   ils la couvrent sans qu'aucun `z-index` soit nécessaire. */
.pt-masthead__shot {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

/* ⚠ TROIS couches, et la deuxième n'est pas décorative.
   Le dégradé de fond est LATÉRAL : opaque à gauche, presque transparent à
   droite — donc il ne protège rien sous le menu, qui est en haut à DROITE.
   Mesuré le 6 août 2026 sur le bandeau du cours « Foyer Résilient » (une
   illustration claire) : le fond derrière les rubriques montait à 0,66 de
   luminance, soit **1,48:1** de contraste pour du texte blanc. Le menu était
   illisible, et ça dépendait de l'image choisie.
   La lisibilité de la navigation ne peut pas dépendre du dessin qu'on met
   derrière : la couche 180deg assombrit la hauteur de l'en-tête sur toute la
   largeur. Même correction que `.pt-hub-head__veil` — quand on répare ce défaut
   quelque part, le chercher partout où le même voile est employé. */
.pt-masthead__veil {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 3px),
		linear-gradient(180deg, rgba(10, 36, 52, 0.72) 0, rgba(10, 36, 52, 0.5) 76px, rgba(10, 36, 52, 0) 160px),
		linear-gradient(100deg, rgba(10, 36, 52, 0.86) 0%, rgba(10, 36, 52, 0.66) 46%, rgba(10, 36, 52, 0.3) 100%);
}

.pt-masthead__veil::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 45%;
	background: linear-gradient(180deg, rgba(10, 36, 52, 0) 0%, rgba(10, 36, 52, 0.62) 58%, rgba(10, 36, 52, 0.94) 100%);
}

.pt-masthead__fil {
	position: relative;
	border-bottom: 1px solid rgba(229, 221, 207, 0.12);
}

/* Le fil d'Ariane du thème est écrit pour du texte sombre : sur la photo, il
   faut lui reprendre ses couleurs — sans quoi il disparaît. */
.pt-masthead__fil .pt-breadcrumb {
	color: #a9bbb2;
	background: transparent;
	border: 0;
}

.pt-masthead__fil .pt-breadcrumb a {
	color: #a9bbb2;
}

.pt-masthead__fil .pt-breadcrumb a:hover,
.pt-masthead__fil .pt-breadcrumb [aria-current] {
	color: #e4ece0;
}

/* ⚠ Ne pas poser `max-width` ici : cet élément porte aussi `.pt-wrap`, qui
   centre avec `margin: 0 auto`. Une largeur maxi le recentrerait au lieu de
   l'aligner à gauche — le titre ne tomberait plus sous le fil d'Ariane.
   La largeur se règle sur le titre et le chapeau, pas sur le conteneur. */
.pt-masthead__inner {
	position: relative;
	padding-top: 72px;
	/* Le bas est généreux : l'encart « L'essentiel » vient mordre dessus. */
	padding-bottom: 96px;
}

.pt-masthead__cat {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--pt-sand);
	text-decoration: none;
}

.pt-masthead__filet {
	width: 44px;
	height: 1px;
	background: var(--pt-sand);
	flex: none;
}

.pt-masthead__title {
	margin: 0;
	font-family: var(--pt-font-title);
	font-weight: 400;
	font-size: 54px;
	line-height: 1.04;
	letter-spacing: -1px;
	color: var(--pt-on-night);
	max-width: 880px;
	text-wrap: pretty;
	/* L'ombre n'est pas un effet : c'est ce qui garde le titre lisible quand la
	   photo est claire à cet endroit. */
	text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}

.pt-masthead__title em {
	font-style: italic;
	color: var(--pt-sand);
}

.pt-masthead__lede {
	margin: 26px 0 0;
	font-family: var(--pt-font-title);
	font-style: italic;
	font-size: 20px;
	line-height: 1.5;
	color: var(--pt-sand);
	max-width: 660px;
}

.pt-masthead__byline {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 28px;
	font-size: 12.5px;
	color: #a9bbb2;
}

.pt-masthead__avatar {
	width: 34px;
	height: 34px;
	flex: none;
	object-fit: cover;
}

.pt-masthead__author {
	color: var(--pt-on-night);
	font-weight: 600;
}

/* Le corps reprend sous le bandeau. La marge du haut laisse la place à
   l'encart chevauchant quand il y en a un. */
.pt-article--masthead .pt-article__grid {
	padding-top: 56px;
}

@media (max-width: 1023px) {
	.pt-masthead__inner {
		padding-top: 48px;
		padding-bottom: 64px;
	}

	.pt-masthead__title {
		font-size: 40px;
		letter-spacing: -0.6px;
	}

	.pt-masthead__lede {
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.pt-masthead {
		padding-top: 64px;
	}

	.pt-masthead__inner {
		padding-top: 36px;
		padding-bottom: 44px;
	}

	.pt-masthead__title {
		font-size: 31px;
		letter-spacing: -0.4px;
	}

	.pt-masthead__lede {
		font-size: 16.5px;
		margin-top: 18px;
	}

	.pt-masthead__byline {
		gap: 10px;
		font-size: 11.5px;
	}
}
