/*
Theme Name: Le One Center — Actualités
Theme URI: https://www.le-one-center.fr
Author: Le One Center
Description: Thème du blog « Actualités » de Le One Center (Tournefeuille). Reprend à l’identique le header, le menu, les couleurs, les polices et le footer du site principal. L’URL du site principal se règle à un seul endroit : config.php.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: le-one-center
Tags: blog, one-column, two-columns, right-sidebar, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Polices (hébergées dans le thème — mêmes familles que le site :
   « DM Sans » pour le texte, « Playfair Display » pour les titres)
   ========================================================================== */

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-400-italic.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Playfair Display";
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url("assets/fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
}

/* ==========================================================================
   Couleurs relevées sur le site (styles calculés, sept. 2026)
   ========================================================================== */

:root {
	--loc-cream: #f9f5f0;        /* fond de page + header défilé */
	--loc-sand: #ede5dc;         /* fond de la section « Mes soins » */
	--loc-hero: #e6d9d2;         /* fond de l'en-tête des pages prestations */
	--loc-plum: #3f1d37;         /* titres, bouton « Réserver » */
	--loc-ink: #32182b;          /* texte principal */
	--loc-text: #5e4756;         /* paragraphes, liens du menu */
	--loc-text-soft: #6e5865;    /* textes des cartes */
	--loc-muted: #806975;
	--loc-link: #5d344f;         /* liens secondaires */
	--loc-accent: #b66f4e;       /* survol des liens du menu */
	--loc-em: #a26250;           /* italiques des titres, « CENTER » */
	--loc-eyebrow: #9d5c44;      /* surtitres */
	--loc-eyebrow-line: rgba(188, 128, 108, 0.7);
	--loc-num: #ae7565;          /* numéros des cartes */
	--loc-chip: #e9dfd5;         /* pastille ronde des cartes */
	--loc-chip-ink: #523044;
	--loc-gold: #e8c391;
	--loc-focus: #c49056;        /* anneau de focus */
	--loc-footer: #281221;       /* fond du footer */
	--loc-mobile-num: #a36a53;
	--loc-mobile-phone: #6e5163;
	--loc-back: #6f4e5f;         /* lien « Retour aux prestations » */
	--loc-kicker: #8d6656;       /* surtitre des pages prestations */
	--loc-lead: #624d57;         /* chapô des pages prestations */
	--loc-border: rgba(63, 29, 55, 0.1);
	--loc-border-grid: rgba(63, 29, 55, 0.12);
	--loc-border-strong: rgba(63, 29, 55, 0.18);

	--loc-font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
	--loc-font-display: "Playfair Display", Georgia, serif;

	--loc-gutter: 20px;
	--loc-header-h: 73px;
	--loc-adminbar: var(--wp-admin--admin-bar--height, 0px);
}

@media (min-width: 640px) {
	:root { --loc-gutter: 32px; }
}
@media (min-width: 1024px) {
	:root { --loc-gutter: 48px; }
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--loc-header-h) + var(--loc-adminbar) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--loc-cream);
	color: var(--loc-ink);
	font-family: var(--loc-font-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html.menu-open {
	overflow: hidden;
}

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

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote {
	margin: 0;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--loc-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

.icon {
	display: block;
	flex: none;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
}

.site-main > :last-child {
	flex: 1 0 auto;
}

.container {
	width: 100%;
	max-width: calc(1250px + 2 * var(--loc-gutter));
	margin-inline: auto;
	padding-inline: var(--loc-gutter);
}

/* Accessibilité */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: calc(var(--loc-adminbar) + 8px);
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	background: var(--loc-plum);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 999px;
}

/* ==========================================================================
   Boutons (repris du site)
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	font-family: var(--loc-font-sans);
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn:active {
	transform: scale(0.97);
}

.btn--dark {
	background: var(--loc-plum);
	color: #fff;
}

.btn--lg {
	padding: 16px 24px;
	font-size: 11px;
	line-height: 16.5px;
	letter-spacing: 0.14em;
}

/* ==========================================================================
   Header — état « défilé » du header du site (fond crème, flou, ombre)
   ========================================================================== */

.site-header {
	position: sticky;
	top: var(--loc-adminbar);
	z-index: 50;
	padding: 12px 0;
	background: rgba(249, 245, 240, 0.95);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	border-bottom: 1px solid var(--loc-border);
	box-shadow: 0 6px 30px rgba(45, 24, 40, 0.07);
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1440px;
	min-height: 48px;
	margin: 0 auto;
	padding: 0 var(--loc-gutter);
}

/* Logo / titre */
.brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 0;
	border-radius: 2px;
}

.brand--logo .brand__img {
	display: block;
	width: auto;
	height: 48px;
	max-width: 200px;
	object-fit: contain;
	transition: transform 0.3s;
}

.brand--logo:hover .brand__img {
	transform: scale(1.05);
}

/* Le logo d'origine est blanc : inversé dans le header clair (comme sur le site). */
.brand--header.is-light-logo .brand__img {
	filter: invert(1);
}

/* Logo foncé importé : affiché en blanc sur le footer foncé. */
.brand--footer.is-dark-logo .brand__img {
	filter: brightness(0) invert(1);
}

/* Repli sans logo : mot-symbole des pages internes du site (« LE ONE CENTER »). */
.brand--text {
	display: block;
	max-width: min(300px, 58vw);
	font-family: var(--loc-font-display);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.06em;
	text-transform: uppercase;
	color: var(--loc-ink);
	overflow-wrap: break-word;
}

.brand--text.is-long {
	max-width: min(260px, 58vw);
	font-size: 17px;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

@media (max-width: 639px) {
	.brand--text.is-long { font-size: 15px; }
}

.brand__accent {
	color: var(--loc-em);
}

/* Menu principal */
.primary-nav {
	display: none;
}

@media (min-width: 1024px) {
	.primary-nav {
		display: flex;
		flex: 0 1 auto;
		align-items: center;
		gap: 28px;
		min-width: 0;
	}
}

.primary-nav__link {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--loc-text);
	transition: color 0.15s;
}

.primary-nav__link:hover,
.primary-nav__link.is-current {
	color: var(--loc-accent);
}

/* Boutons de droite */
.site-header__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.btn--book {
	display: none;
}

@media (min-width: 640px) {
	.btn--book { display: inline-flex; }
}

.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(63, 29, 55, 0.15);
	border-radius: 999px;
	background: transparent;
	color: var(--loc-plum);
	cursor: pointer;
	transition: color 0.15s, border-color 0.15s;
}

.menu-toggle__close,
.site-header.is-open .menu-toggle__open {
	display: none;
}

.site-header.is-open .menu-toggle__close {
	display: block;
}

@media (min-width: 1024px) {
	.site-header:not(.is-compact) .menu-toggle { display: none; }
	.site-header.is-compact .primary-nav { display: none; }
	.site-header:not(.is-compact) ~ .mobile-panel { display: none !important; }
}

/* Sans JavaScript : le menu passe à la ligne au lieu de se chevaucher. */
.no-js .menu-toggle {
	display: none !important;
}

.no-js .site-header__inner {
	flex-wrap: wrap;
}

.no-js .primary-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	order: 3;
	width: 100%;
}

@media (min-width: 1200px) {
	.no-js .primary-nav { order: 0; width: auto; }
	.no-js .site-header__inner { flex-wrap: nowrap; }
}

/* Menu mobile — panneau plein écran du site */
.mobile-panel {
	position: fixed;
	inset: 0;
	top: var(--loc-adminbar);
	z-index: 40;
	overflow-y: auto;
	padding: 112px 28px 48px;
	background: var(--loc-cream);
	overscroll-behavior: contain;
}

.mobile-panel[hidden] {
	display: none;
}

.mobile-panel__nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-panel__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--loc-border);
	font-family: var(--loc-font-display);
	font-size: 30px;
	line-height: 36px;
	color: var(--loc-ink);
}

.mobile-panel__link.is-current,
.mobile-panel__link:hover {
	color: var(--loc-accent);
}

.mobile-panel__num {
	flex: none;
	font-family: var(--loc-font-sans);
	font-size: 11px;
	line-height: 16.5px;
	letter-spacing: 0.14em;
	color: var(--loc-mobile-num);
}

.mobile-panel__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	padding: 16px 20px;
	border-radius: 999px;
	background: var(--loc-plum);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 16.5px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.mobile-panel__phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
	font-size: 14px;
	line-height: 20px;
	color: var(--loc-mobile-phone);
}

/* ==========================================================================
   Footer — identique au site
   ========================================================================== */

.site-footer {
	padding: 40px var(--loc-gutter);
	background: var(--loc-footer);
	color: rgba(255, 255, 255, 0.65);
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1250px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.site-footer__inner {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

.site-footer__brand {
	min-width: 0;
}

.brand--footer.brand--text {
	color: #fff;
}

.brand--footer .brand__accent {
	color: var(--loc-gold);
}

.site-footer__text {
	max-width: 384px;
	margin-top: 20px;
	font-size: 12px;
	line-height: 20px;
	color: rgba(255, 255, 255, 0.45);
}

.site-footer__meta {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	.site-footer__meta { align-items: flex-end; }
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	color: rgba(255, 255, 255, 0.65);
}

.site-footer__links a {
	transition: color 0.15s;
}

.site-footer__links a:hover {
	color: #fff;
}

.site-footer__copy {
	color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Sections, surtitres, grands titres
   ========================================================================== */

.section {
	padding: 96px 0;
}

@media (min-width: 1024px) {
	.section { padding: 144px 0; }
}

.section--sand {
	background: var(--loc-sand);
}

.section-head {
	margin-bottom: 56px;
}

@media (min-width: 640px) {
	.section-head { margin-bottom: 64px; }
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--loc-eyebrow);
}

.eyebrow__line {
	flex: none;
	width: 32px;
	height: 1px;
	background: var(--loc-eyebrow-line);
}

.display-title {
	max-width: 42rem;
	font-family: var(--loc-font-display);
	font-size: clamp(3.1rem, 6vw, 5.6rem);
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.07em;
	color: var(--loc-ink);
	overflow-wrap: break-word;
}

.display-title em {
	font-weight: 400;
	color: var(--loc-em);
}

.section-head__desc {
	max-width: 640px;
	margin-top: 28px;
	font-size: 18px;
	line-height: 32px;
	color: var(--loc-text);
}

.section-head__desc p + p {
	margin-top: 1em;
}

.section-head__search {
	margin-top: 32px;
}

/* ==========================================================================
   Grille d'articles — cartes de la section « Mes soins »
   ========================================================================== */

.post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border-top: 1px solid var(--loc-border-grid);
	border-left: 1px solid var(--loc-border-grid);
}

@media (min-width: 640px) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.post-card {
	position: relative;
	border-right: 1px solid var(--loc-border-grid);
	border-bottom: 1px solid var(--loc-border-grid);
	background: var(--loc-cream);
	transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
	z-index: 10;
	transform: translateY(-4px);
	box-shadow: 0 22px 50px rgba(75, 44, 55, 0.14);
}

.post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 320px;
	color: inherit;
}

.post-card__link:focus-visible {
	outline-offset: -2px;
	border-radius: 0;
}

.post-card__media {
	aspect-ratio: 10 / 7;
	overflow: hidden;
	background: var(--loc-sand);
}

.post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 28px;
}

@media (min-width: 640px) {
	.post-card__body { padding: 32px; }
}

.post-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.post-card__meta {
	padding-top: 4px;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--loc-num);
}

.post-card__icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--loc-chip);
	color: var(--loc-chip-ink);
	transition: transform 0.3s;
}

.post-card:hover .post-card__icon {
	transform: scale(1.1) rotate(6deg);
}

.post-card__title {
	margin-top: 28px;
	font-family: var(--loc-font-display);
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--loc-ink);
	overflow-wrap: break-word;
}

.post-card__excerpt {
	max-width: 285px;
	margin-top: 16px;
	font-size: 14px;
	line-height: 24px;
	color: var(--loc-text-soft);
}

/* « En savoir plus » en bas de carte, comme sur le site */
.post-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 28px;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--loc-chip-ink);
}

.post-card__more .icon {
	transition: transform 0.2s;
}

.post-card:hover .post-card__more .icon {
	transform: translateX(4px);
}

.no-results {
	max-width: 640px;
	font-size: 18px;
	line-height: 32px;
	color: var(--loc-text);
}

.no-results p + p,
.no-results .search-form {
	margin-top: 24px;
}

.no-results a {
	color: var(--loc-em);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Pagination */
.pagination {
	margin-top: 56px;
}

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

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(63, 29, 55, 0.15);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--loc-link);
	transition: color 0.15s, border-color 0.15s;
}

a.page-numbers:hover {
	border-color: rgba(182, 111, 78, 0.45);
	color: var(--loc-accent);
}

.page-numbers.current {
	border-color: var(--loc-plum);
	background: var(--loc-plum);
	color: #fff;
}

.page-numbers.dots {
	min-width: 0;
	padding: 0 4px;
	border: 0;
}

/* ==========================================================================
   Article seul / page — en-tête des pages prestations du site
   ========================================================================== */

.entry-hero {
	padding: 80px 0;
	background: var(--loc-hero);
}

@media (min-width: 1024px) {
	.entry-hero { padding: 128px 0; }
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 48px;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--loc-back);
	transition: color 0.15s;
}

.back-link:hover {
	color: var(--loc-accent);
}

.entry-kicker {
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--loc-kicker);
}

.entry-kicker a {
	transition: color 0.15s;
}

.entry-kicker a:hover {
	color: var(--loc-accent);
}

.entry-title {
	max-width: 48rem;
	margin-top: 20px;
	font-family: var(--loc-font-display);
	font-size: clamp(3.4rem, 7vw, 6.6rem);
	font-weight: 400;
	line-height: 0.88;
	letter-spacing: -0.08em;
	color: var(--loc-plum);
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}

@media (max-width: 639px) {
	.entry-title { font-size: 2.75rem; line-height: 0.92; letter-spacing: -0.06em; }
}

.entry-lead {
	max-width: 720px;
	margin-top: 32px;
	font-size: 20px;
	line-height: 32px;
	color: var(--loc-lead);
}

.entry-cover {
	margin-top: 56px;
}

@media (min-width: 1024px) {
	.entry-cover { margin-top: 80px; }
}

.entry-cover img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--loc-sand);
}

.entry-cover figcaption {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--loc-muted);
}

.entry-layout {
	padding-top: 56px;
	padding-bottom: 96px;
}

@media (min-width: 1024px) {
	.entry-layout {
		padding-top: 80px;
		padding-bottom: 144px;
	}

	.entry-layout--sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: start;
		gap: 80px;
	}
}

.entry-main {
	min-width: 0;
	max-width: 760px;
}

/* Contenu éditorial */
.prose {
	font-size: 18px;
	line-height: 1.8;
	color: var(--loc-text);
	overflow-wrap: break-word;
}

.prose > * + * {
	margin-top: 1.35em;
}

.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
	color: var(--loc-ink);
	font-weight: 400;
}

.prose h2 {
	margin-top: 2.1em;
	font-family: var(--loc-font-display);
	font-size: clamp(2rem, 3.4vw, 2.75rem);
	line-height: 1.02;
	letter-spacing: -0.05em;
}

.prose h3 {
	margin-top: 1.9em;
	font-family: var(--loc-font-display);
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.prose h4,
.prose h5,
.prose h6 {
	margin-top: 2.4rem;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.prose h5,
.prose h6 {
	font-size: 11px;
	color: var(--loc-eyebrow);
}

.prose > h2 + *,
.prose > h3 + *,
.prose > h4 + * {
	margin-top: 0.8em;
}

.prose a {
	color: var(--loc-em);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s;
}

.prose a:hover {
	color: var(--loc-accent);
}

.prose strong,
.prose b {
	font-weight: 700;
	color: var(--loc-ink);
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.45em;
}

.prose li::marker {
	color: var(--loc-accent);
}

.prose blockquote,
.prose .wp-block-quote {
	padding: 4px 0 4px 28px;
	border-left: 1px solid var(--loc-eyebrow-line);
	font-family: var(--loc-font-display);
	font-size: 1.55rem;
	font-style: italic;
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--loc-plum);
}

.prose blockquote p + p {
	margin-top: 0.8em;
}

.prose blockquote cite,
.prose .wp-block-quote cite,
.prose .wp-block-pullquote cite {
	display: block;
	margin-top: 16px;
	font-family: var(--loc-font-sans);
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--loc-eyebrow);
}

.prose .wp-block-pullquote {
	padding: 40px 0;
	border-top: 1px solid var(--loc-border-grid);
	border-bottom: 1px solid var(--loc-border-grid);
	text-align: left;
}

.prose .wp-block-pullquote blockquote {
	padding: 0;
	border: 0;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.prose img {
	display: block;
	max-width: 100%;
	height: auto;
}

.prose figure {
	margin-inline: 0;
}

.prose figcaption,
.prose .wp-element-caption,
.wp-caption-text,
.gallery-caption {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--loc-muted);
}

.prose hr,
.prose .wp-block-separator {
	margin: 3em 0;
	border: 0;
	border-top: 1px solid var(--loc-border-grid);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.prose th,
.prose td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--loc-border-grid);
	text-align: left;
	vertical-align: top;
}

.prose th {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--loc-ink);
}

.prose .wp-block-table {
	overflow-x: auto;
	margin-bottom: 0;
}

.prose .wp-block-table table,
.prose .wp-block-table th,
.prose .wp-block-table td {
	border: 0;
	border-bottom: 1px solid var(--loc-border-grid);
}

.prose .wp-block-table thead {
	border-bottom: 1px solid rgba(63, 29, 55, 0.3);
}

.prose .wp-block-table table {
	border-bottom: 0;
}

.prose .wp-block-table tfoot {
	border-top: 1px solid rgba(63, 29, 55, 0.3);
}

.prose code {
	padding: 0.15em 0.4em;
	border-radius: 4px;
	background: var(--loc-sand);
	font-size: 0.88em;
	color: var(--loc-ink);
}

.prose pre {
	overflow-x: auto;
	padding: 20px;
	background: var(--loc-ink);
	color: var(--loc-cream);
	font-size: 14px;
	line-height: 1.6;
}

.prose pre code {
	padding: 0;
	background: none;
	color: inherit;
}

.prose .wp-block-embed iframe,
.prose iframe {
	width: 100%;
}

.prose .more-link {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}

.alignleft,
.alignright,
.aligncenter {
	display: block;
	margin-inline: auto;
}

@media (min-width: 640px) {
	.alignleft {
		float: left;
		max-width: 50%;
		margin: 0.3em 28px 16px 0;
	}

	.alignright {
		float: right;
		max-width: 50%;
		margin: 0.3em 0 16px 28px;
	}
}

.prose .alignwide,
.prose .alignfull {
	width: 100%;
	max-width: 100%;
}

.prose::after {
	content: "";
	display: table;
	clear: both;
}

/* Boutons de l'éditeur (blocs) = boutons du site */
.prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 24px;
	border-radius: 999px;
	background: var(--loc-plum);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 16.5px;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 0.2s, box-shadow 0.2s;
}

.prose .wp-block-button__link:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.prose .is-style-outline .wp-block-button__link {
	border: 1px solid rgba(63, 29, 55, 0.3);
	background: transparent;
	color: var(--loc-plum);
}

/* Couleurs de la palette de l'éditeur */
.has-prune-color { color: #3f1d37 !important; }
.has-encre-color { color: #32182b !important; }
.has-terracotta-color { color: #b66f4e !important; }
.has-brique-color { color: #a26250 !important; }
.has-sable-color { color: #ede5dc !important; }
.has-creme-color { color: #f9f5f0 !important; }
.has-or-color { color: #e8c391 !important; }
.has-prune-background-color { background-color: #3f1d37 !important; }
.has-encre-background-color { background-color: #32182b !important; }
.has-terracotta-background-color { background-color: #b66f4e !important; }
.has-brique-background-color { background-color: #a26250 !important; }
.has-sable-background-color { background-color: #ede5dc !important; }
.has-creme-background-color { background-color: #f9f5f0 !important; }
.has-or-background-color { background-color: #e8c391 !important; }

/* Pagination interne d'un article */
.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 40px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.page-links a,
.page-links > span:not(.page-links__label) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	border: 1px solid rgba(63, 29, 55, 0.15);
	border-radius: 999px;
	text-decoration: none;
}

/* Étiquettes */
.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 56px;
}

.entry-tags__label {
	margin-right: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--loc-eyebrow);
}

.tag-pill {
	padding: 8px 14px;
	border: 1px solid rgba(63, 29, 55, 0.15);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--loc-link);
	transition: color 0.15s, border-color 0.15s;
}

.tag-pill:hover {
	border-color: rgba(182, 111, 78, 0.45);
	color: var(--loc-accent);
}

/* Articles précédent / suivant */
.post-nav {
	display: grid;
	margin-top: 56px;
	border-top: 1px solid var(--loc-border-grid);
}

@media (min-width: 640px) {
	.post-nav {
		grid-template-columns: 1fr 1fr;
		column-gap: 32px;
	}

	.post-nav__item--next {
		grid-column: 2;
		align-items: flex-end;
		text-align: right;
	}
}

.post-nav__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px 0;
	border-bottom: 1px solid var(--loc-border-grid);
}

.post-nav__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--loc-eyebrow);
}

.post-nav__title {
	font-family: var(--loc-font-display);
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--loc-ink);
	transition: color 0.15s;
}

.post-nav__item:hover .post-nav__title {
	color: var(--loc-accent);
}

/* ==========================================================================
   Barre latérale
   ========================================================================== */

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 48px;
	min-width: 0;
	margin-top: 80px;
}

@media (min-width: 1024px) {
	.sidebar {
		position: sticky;
		top: calc(var(--loc-header-h) + var(--loc-adminbar) + 40px);
		margin-top: 0;
	}
}

.widget-title,
.sidebar .wp-block-heading,
.sidebar .wp-block-search__label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-family: var(--loc-font-sans);
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--loc-eyebrow);
}

.widget-title::before,
.sidebar .wp-block-heading::before,
.sidebar .wp-block-search__label::before {
	content: "";
	flex: none;
	width: 32px;
	height: 1px;
	background: var(--loc-eyebrow-line);
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--loc-border-grid);
}

.sidebar ul li,
.sidebar ol li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--loc-border-grid);
	font-size: 15px;
	line-height: 1.4;
	color: var(--loc-text);
}

.sidebar li a {
	color: var(--loc-ink);
	transition: color 0.15s;
}

.sidebar li a:hover {
	color: var(--loc-accent);
}

.sidebar .widget_recent_entries li,
.sidebar .wp-block-latest-posts li {
	flex-direction: column;
	align-items: flex-start;
}

.sidebar .widget_recent_entries li a,
.sidebar .wp-block-latest-posts__post-title {
	font-family: var(--loc-font-display);
	font-size: 19px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.sidebar .post-date,
.sidebar .count,
.sidebar .wp-block-latest-posts__post-date {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--loc-num);
}

.sidebar ol {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--loc-border-grid);
}

.sidebar .wp-block-latest-comments__comment {
	display: block;
	margin: 0;
	line-height: 1.45;
}

.sidebar .wp-block-latest-comments__comment-meta,
.sidebar .wp-block-latest-comments__comment-excerpt {
	margin-left: 0 !important;
}

.sidebar .wp-block-latest-comments__comment-excerpt p {
	margin: 6px 0 0;
	font-size: 14px;
}

.sidebar .wp-block-latest-comments__comment-date {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--loc-num);
}

.sidebar .widget > .wp-block-group > * + *,
.sidebar .widget > * + * {
	margin-top: 0;
}

.sidebar .wp-block-search__inside-wrapper {
	max-width: none;
}

.sidebar li ul,
.sidebar li ol {
	width: 100%;
	border-top: 0;
	padding-left: 14px;
}

.sidebar .search-form__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.sidebar .search-form__submit {
	padding: 0 14px;
}

.sidebar p,
.sidebar .textwidget {
	font-size: 15px;
	line-height: 1.7;
	color: var(--loc-text);
}

/* ==========================================================================
   Formulaire de recherche
   ========================================================================== */

.search-form,
.wp-block-search__inside-wrapper {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 520px;
	padding: 4px;
	border: 1px solid var(--loc-border-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.search-form:focus-within,
.wp-block-search__inside-wrapper:focus-within {
	border-color: var(--loc-focus);
	box-shadow: 0 0 0 1px var(--loc-focus);
}

.search-form__field,
.wp-block-search__input {
	flex: 1;
	min-width: 0;
	padding: 10px 16px;
	border: 0 !important;
	background: transparent;
	font-size: 15px;
	color: var(--loc-ink);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.search-form__field::placeholder,
.wp-block-search__input::placeholder {
	color: var(--loc-muted);
	opacity: 1;
}

.search-form__field:focus-visible {
	outline: none;
}

.search-form__submit,
.wp-block-search__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--loc-plum);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

/* ==========================================================================
   Commentaires
   ========================================================================== */

.comments {
	margin-top: 72px;
	padding-top: 48px;
	border-top: 1px solid var(--loc-border-grid);
}

.comments__title,
.comment-reply-title {
	margin: 0 0 28px;
	font-family: var(--loc-font-display);
	font-size: clamp(1.8rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--loc-ink);
}

.comment-reply-title small {
	display: block;
	margin-top: 10px;
	font-family: var(--loc-font-sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.comment-reply-title small a {
	color: var(--loc-link);
}

.comment-list {
	margin: 0 0 56px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--loc-border-grid);
}

.comment-list .children {
	margin: 0;
	padding-left: 28px;
	list-style: none;
	border-left: 1px solid var(--loc-border-grid);
}

.comment-body {
	padding: 24px 0;
	border-bottom: 1px solid var(--loc-border-grid);
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 14px;
}

.comment-avatar {
	flex: none;
	border-radius: 999px;
}

.comment-author {
	font-family: var(--loc-font-display);
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--loc-ink);
}

.comment-date {
	margin-top: 2px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--loc-num);
}

.comment-content {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--loc-text);
}

.comment-content p + p {
	margin-top: 0.9em;
}

.comment-content a {
	color: var(--loc-em);
	text-decoration: underline;
}

.comment-awaiting-moderation {
	margin-top: 10px;
	font-size: 13px;
	color: var(--loc-eyebrow);
}

.comment-actions {
	display: flex;
	gap: 16px;
	margin-top: 14px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.comment-actions a {
	color: var(--loc-link);
	transition: color 0.15s;
}

.comment-actions a:hover {
	color: var(--loc-accent);
}

.comments__closed,
.comment-notes,
.must-log-in {
	font-size: 14px;
	line-height: 1.6;
	color: var(--loc-muted);
}

.comment-form {
	display: grid;
	gap: 18px;
}

@media (min-width: 640px) {
	.comment-form {
		grid-template-columns: 1fr 1fr;
	}

	.comment-form > * {
		grid-column: 1 / -1;
	}

	.comment-form .comment-form-author { grid-column: 1; }
	.comment-form .comment-form-email { grid-column: 2; }
}

.comment-form label,
.post-password-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--loc-ink);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.post-password-form input[type="password"] {
	display: block;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--loc-border-strong);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.55);
	font-size: 15px;
	line-height: 1.5;
	color: var(--loc-ink);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-form textarea {
	min-height: 160px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus,
.post-password-form input:focus {
	border-color: var(--loc-focus);
	box-shadow: 0 0 0 1px var(--loc-focus);
	outline: none;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--loc-text);
}

.comment-form .comment-form-cookies-consent input {
	margin-top: 3px;
	accent-color: var(--loc-plum);
}

.comment-form .required {
	color: var(--loc-accent);
}

.form-submit {
	margin: 0;
}

.post-password-form__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
	margin-top: 16px;
}

.post-password-form__row label {
	width: 100%;
	margin: 0;
}

.post-password-form__row input {
	flex: 1;
	min-width: 200px;
}

/* ==========================================================================
   404
   ========================================================================== */

.error-404__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}

.error-404__search {
	width: 100%;
	max-width: 520px;
}

/* ==========================================================================
   Classes WordPress
   ========================================================================== */

.sticky,
.bypostauthor {
	position: relative;
}

.wp-caption {
	max-width: 100%;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
}

.gallery-item {
	margin: 0;
}
