/**
 * Eco Renov – pages affichées par le gabarit WordPress du thème (articles du blog, fiches réalisations) : sans modèle
 * Elementor, elles sortaient sans marges, sous l'en-tête fixe, avec la colonne de démonstration du thème
 * (Recherche, Recent Posts, Archives…) et des liens « Previous / Next » en anglais. Mise au style du site.
 */

html body.single #primary {
	box-sizing: border-box;
	max-width: 860px;
	margin: 0 auto;
	padding: 160px 24px 88px;
	font-family: Helvetica, Arial, sans-serif;
	color: #1A161E;
}

/* Colonne de démonstration du thème : masquée. */
html body.single #secondary {
	display: none;
}

html body.single .entry-header {
	margin-bottom: 24px;
}

html body.single .entry-title {
	margin: 0 0 12px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: clamp(30px, 2.4vw + 18px, 44px);
	font-weight: 300;
	line-height: 1.15;
	color: #1A161E;
}

html body.single .entry-meta {
	font-size: 14px;
	color: #6B6560;
}

html body.single .entry-meta .byline {
	display: none;
}

html body.single .post-thumbnail {
	margin: 0 0 32px;
}

html body.single .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

html body.single .entry-content {
	font-size: 17px;
	line-height: 1.7;
}

html body.single .entry-content > * {
	max-width: 72ch;
}

html body.single .entry-footer {
	margin-top: 24px;
	font-size: 14px;
	color: #6B6560;
}

html body.single #primary a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: #D45B32;
	text-underline-offset: 3px;
}

html body.single #primary a:hover,
html body.single #primary a:focus-visible {
	color: #B0461F;
}

/* Liens vers la fiche précédente / suivante, en français et en cartes. */
html body.single .post-navigation {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid #E6DFD3;
}

html body.single .post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

html body.single .post-navigation .nav-next {
	text-align: right;
}

html body.single .post-navigation a {
	display: block;
	text-decoration: none !important;
}

html body.single .post-navigation .nav-subtitle {
	display: block;
	margin-bottom: 6px;
	font-size: 0;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #B0461F;
}

html body.single .post-navigation .nav-previous .nav-subtitle::before {
	content: "← Précédent";
	font-size: 12px;
}

html body.single .post-navigation .nav-next .nav-subtitle::before {
	content: "Suivant →";
	font-size: 12px;
}

html body.single .post-navigation .nav-title {
	font-size: 17px;
	line-height: 1.4;
}

@media (max-width: 767px) {
	html body.single #primary {
		padding: 112px 20px 64px;
	}

	html body.single .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	html body.single .post-navigation .nav-next {
		text-align: left;
	}
}
