/* ==========================================================================
   Onyx Mag — styles
   Toute l'identité visuelle se règle dans les variables ci-dessous
   (accent, secondaire et fond sont aussi modifiables dans Apparence > Personnaliser > Couleurs).
   ========================================================================== */

:root {
	--color-bg: #0b0b0d;
	--color-surface: #151518;
	--color-surface-2: #1d1d21;
	--color-border: #28282e;
	--color-text: #ffffff;
	--color-text-soft: #dcdce2;
	--color-muted: #9d9da8;
	--color-primary: #ff3d1f;
	--color-secondary: #6c2bd9;
	/* Fond des badges : accent assombri pour garder un contraste lisible avec le texte blanc. */
	--color-badge: color-mix(in srgb, var(--color-primary) 80%, #000);

	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--radius-sm: 6px;
	--gap: clamp(16px, 2vw, 24px);
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-bg);
	/* Dégradé violet / rouge en haut de page, derrière l'en-tête et l'introduction. */
	background-image:
		radial-gradient(ellipse 55% 75% at 8% 0%, color-mix(in srgb, var(--color-secondary) 55%, transparent), transparent 70%),
		radial-gradient(ellipse 45% 65% at 88% 0%, color-mix(in srgb, var(--color-primary) 32%, transparent), transparent 70%);
	background-repeat: no-repeat;
	background-size: 100% 560px;
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-primary); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; }
button, input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 12px; left: 12px; z-index: 100;
	padding: 10px 16px; background: var(--color-text); color: var(--color-bg); border-radius: var(--radius-sm);
}

/* ---------- En-tête ---------- */

.site-header { position: relative; z-index: 20; }

/* Comme la référence : logo + recherche sur la première ligne, menu en dessous. */
.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	padding-block: 22px 4px;
}

.site-brand { flex: 1 1 0; min-width: 0; }
.site-brand .custom-logo-link { display: inline-block; }
.site-brand img { height: 56px; width: auto; display: block; }

.site-title {
	display: inline;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -.02em;
	text-transform: uppercase;
	color: var(--color-text);
	overflow-wrap: anywhere;
}
.site-title:hover { color: var(--color-text); }
.site-title__mark { color: var(--color-primary); margin-left: 6px; vertical-align: -1px; }

.site-nav { order: 4; flex-basis: 100%; }
.search-toggle { order: 2; }
.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	font-size: .84rem;
	font-weight: 700;
	color: var(--color-text-soft);
}
.site-nav .menu > li > a::before {
	content: "";
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--color-primary);
	flex-shrink: 0;
}
.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-cat > a,
.site-nav .current-menu-ancestor > a { color: var(--color-text); }

/* Sous-menus (desktop : au survol / focus) */
.site-nav .sub-menu,
.site-nav .children {
	list-style: none;
	margin: 0;
	padding: 8px;
	min-width: 220px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 10px;
	position: absolute;
	top: 100%;
	left: -12px;
	display: none;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { padding: 8px 12px; width: 100%; }

.search-toggle,
.nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.search-toggle:hover,
.nav-toggle:hover,
.search-toggle[aria-expanded="true"] { border-color: var(--color-text); background: rgba(255, 255, 255, .06); }
.search-toggle .icon { width: 16px; height: 16px; }

.nav-toggle { display: none; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px; height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

html:not(.js) .search-toggle { display: none; }

.header-search {
	position: absolute;
	left: 0; right: 0; top: 100%;
	padding: 16px 0;
	background: rgba(11, 11, 13, .96);
	border-block: 1px solid var(--color-border);
}

@media (max-width: 1023px) {
	.site-header__inner { padding-block: 14px; gap: 12px 10px; }
	.site-title { font-size: 1.2rem; }
	.site-brand img { height: 44px; }
	.js .nav-toggle { display: inline-grid; order: 3; }
	.js .site-nav { display: none; }
	.js .nav-open .site-nav { display: block; }
	.site-nav .menu {
		flex-direction: column;
		gap: 0;
		padding: 8px 0 16px;
		border-top: 1px solid var(--color-border);
	}
	.site-nav .menu a { padding: 13px 0; font-size: 1rem; width: 100%; }
	.site-nav .sub-menu,
	.site-nav .children { position: static; display: block; border: 0; background: none; padding: 0 0 0 16px; }
}

/* ---------- Introduction (hero) ---------- */

.hero {
	padding-block: clamp(40px, 7vw, 80px) clamp(40px, 6vw, 72px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--color-text-soft);
}
.breadcrumbs li { display: flex; gap: 10px; max-width: 100%; }
.breadcrumbs li + li::before { content: "—"; color: var(--color-muted); }
.breadcrumbs [aria-current] {
	color: var(--color-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 40ch;
}

.hero__title {
	margin: 0;
	font-size: clamp(2.25rem, 5.2vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.08;
	max-width: 22ch;
	text-wrap: balance;
}
.hero__title--single { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 26ch; margin-block: 14px 18px; }
.hero__desc { max-width: 62ch; margin-top: 16px; color: var(--color-text-soft); font-size: 1.05rem; }
.hero__desc p { margin: 0 0 .5em; }
.hero__avatar img { border-radius: 50%; margin-bottom: 14px; display: block; }
.hero__search { max-width: 520px; margin-top: 24px; }
.hero--single .meta { font-size: .9rem; }

/* ---------- Barre de filtre + compteur ---------- */

.listing { padding-block: 36px 72px; }

.listing__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-bottom: 28px;
}
.listing__count {
	margin: 0 0 0 auto;
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.cat-filter { position: relative; }
.cat-filter__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	cursor: pointer;
	list-style: none;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--color-text-soft);
}
.cat-filter__toggle::-webkit-details-marker { display: none; }
.cat-filter__toggle::after {
	content: "";
	border: 4px solid transparent;
	border-top-color: currentColor;
	margin-top: 4px;
	transition: transform .2s;
}
.cat-filter[open] .cat-filter__toggle::after { transform: rotate(180deg) translateY(4px); }
.cat-filter__toggle:hover { color: var(--color-text); }

.cat-filter__list {
	position: absolute;
	z-index: 10;
	top: calc(100% + 4px);
	left: 0;
	min-width: 260px;
	max-height: 60vh;
	overflow: auto;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}
.cat-filter__list a {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: .92rem;
	color: var(--color-text-soft);
}
.cat-filter__list a:hover,
.cat-filter__list a[aria-current] { background: var(--color-surface-2); color: var(--color-text); }
.cat-filter__list a[aria-current] { box-shadow: inset 3px 0 0 var(--color-primary); }
.cat-filter__count { color: var(--color-muted); font-size: .8rem; }

/* ---------- Grille + cartes ---------- */

.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
}
@media (max-width: 1023px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid { grid-template-columns: 1fr; } }

.card {
	display: flex;
	flex-direction: column;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #3a3a42; transform: translateY(-2px); }

.card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--color-surface-2);
}
.card__media img,
.media-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card__media img { transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 16px 20px;
}
.card__title {
	margin: 12px 0 16px;
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}
.card__title a:hover { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--color-primary); text-underline-offset: 4px; }
.card .meta { margin-top: auto; }

/* ---------- Badges ---------- */

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
	display: inline-block;
	padding: 5px 10px;
	border-radius: var(--radius-sm);
	font-size: .7rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.badge--featured { background: #f2f2f4; color: #0b0b0d; }
.badge--cat { background: var(--color-badge); color: #fff; }
.badge--cat:hover { color: #fff; filter: brightness(1.12); }

/* ---------- Métadonnées ---------- */

.meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: .8rem;
	color: var(--color-muted);
}
.meta__item { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { flex-shrink: 0; }
.meta__author .icon { color: #8b6cf0; }
.meta__date .icon { color: #5aa2ff; }
.meta__time .icon { color: var(--color-primary); }
.meta a:hover { color: var(--color-text); }

/* ---------- Pagination ---------- */

.pagination { margin-top: 48px; }
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background: var(--color-surface);
	font-size: .9rem;
	font-weight: 700;
	color: var(--color-text-soft);
}
.pagination a.page-numbers:hover { border-color: var(--color-primary); color: var(--color-text); }
.pagination .page-numbers.current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pagination .page-numbers.dots { border: 0; background: none; }

/* ---------- Recherche ---------- */

.search-form { display: flex; gap: 8px; }
.search-form__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 16px;
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 10px;
}
.search-form__input::placeholder { color: var(--color-muted); }
.search-form__input:focus { border-color: var(--color-primary); outline: none; }
.search-form__submit,
.button,
.comment-form .submit {
	height: 46px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
.search-form__submit:hover,
.button:hover,
.comment-form .submit:hover { filter: brightness(1.1); }

.empty { padding: 48px 0; max-width: 560px; }
.empty__title { font-size: 1.5rem; }

/* ---------- Article ---------- */

.single__layout {
	display: grid;
	gap: 48px;
	padding-block: 40px 80px;
	max-width: calc(820px + 2 * var(--gutter));
}
.single__layout.has-sidebar {
	max-width: calc(var(--container) + 2 * var(--gutter));
	grid-template-columns: minmax(0, 1fr) 320px;
}
@media (max-width: 1023px) {
	.single__layout.has-sidebar { grid-template-columns: minmax(0, 1fr); }
}
.single__main { min-width: 0; }

.single__cover {
	margin: 0 0 36px;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--color-surface-2);
}
.single__cover figcaption { padding: 10px 0; font-size: .85rem; color: var(--color-muted); }

/* Zone de lecture : contraste élevé, ligne de 70 caractères environ. */
.prose {
	font-size: 1.1rem;
	line-height: 1.75;
	color: var(--color-text-soft);
	overflow-wrap: break-word;
}
.prose > * { max-width: 72ch; }
.prose > .alignwide,
.prose > .alignfull,
.prose > figure,
.prose > .wp-block-image,
.prose > .wp-block-table { max-width: none; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table, .prose pre { margin: 0 0 1.4em; }
.prose h2, .prose h3, .prose h4 { color: var(--color-text); letter-spacing: -.015em; scroll-margin-top: 24px; }
.prose h2 { font-size: 1.65rem; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.4em; }
.prose a {
	color: #ff7a5c;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.prose a:hover { color: var(--color-text); }
.prose strong { color: var(--color-text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--color-primary); }
.prose img { border-radius: 10px; }
.prose figcaption,
.prose .wp-element-caption { font-size: .85rem; color: var(--color-muted); margin-top: 8px; text-align: center; }
.prose blockquote {
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--color-primary);
	color: var(--color-text);
	font-size: 1.15rem;
}
.prose code {
	padding: 2px 6px;
	background: var(--color-surface-2);
	border-radius: 4px;
	font-size: .9em;
}
.prose pre { padding: 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; overflow-x: auto; }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--color-border); text-align: left; }
.prose th { background: var(--color-surface); color: var(--color-text); }
.prose hr { border: 0; border-top: 1px solid var(--color-border); margin: 2.5em 0; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .aligncenter { margin-inline: auto; }

.page-links { margin: 24px 0; display: flex; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.tags a {
	padding: 6px 12px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: .82rem;
	color: var(--color-text-soft);
}
.tags a:hover { border-color: var(--color-primary); color: var(--color-text); }

.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 40px;
	padding: 20px 24px;
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--color-secondary);
	border-radius: 12px;
	background: var(--color-surface);
}
.cta p { margin: 0; max-width: 56ch; color: var(--color-text-soft); }
.cta__link { font-weight: 700; color: var(--color-text); white-space: nowrap; }

.author-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-top: 24px;
	padding: 20px 24px;
	border-radius: 12px;
	background: var(--color-surface);
}
.author-box img { border-radius: 50%; flex-shrink: 0; }
.author-box__name { margin: 0; font-weight: 700; }
.author-box__name a { color: var(--color-primary); }
.author-box__bio { margin: 6px 0 0; color: var(--color-muted); font-size: .95rem; }

.post-navigation { margin-top: 40px; }
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--gap);
}
.post-navigation a {
	display: block;
	height: 100%;
	padding: 18px 20px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: var(--color-surface);
}
.post-navigation a:hover { border-color: var(--color-primary); color: var(--color-text); }
.post-navigation .nav-next { grid-column: 2; text-align: right; }
.post-nav__label { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 6px; }
.post-nav__title { font-weight: 700; line-height: 1.35; }
@media (max-width: 639px) {
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: auto; }
}

.section-title { font-size: 1.35rem; margin-bottom: 20px; }
.related { margin-top: 56px; }
.grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.has-sidebar .grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.has-sidebar .grid--related .card:nth-child(3) { display: none; }
@media (max-width: 767px) {
	.grid--related,
	.has-sidebar .grid--related { grid-template-columns: 1fr; }
	.has-sidebar .grid--related .card:nth-child(3) { display: flex; }
}

/* ---------- Barre latérale ---------- */

.sidebar { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) {
	.sidebar { position: sticky; top: 24px; align-self: start; }
}
.widget {
	padding: 22px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
	font-size: .95rem;
}
.widget-title,
.widget h2 {
	margin: 0 0 16px;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--color-text);
}
.widget ul, .widget ol { margin: 0; padding: 0; list-style: none; }
.widget li + li { margin-top: 10px; }
.widget a { color: var(--color-text-soft); }
.widget a:hover { color: var(--color-text); }
.widget_categories li { display: flex; justify-content: space-between; gap: 8px; color: var(--color-muted); }
.widget .search-form { flex-direction: column; }
.widget .search-form__input { flex: none; }

.rank-list { counter-reset: rank; }
.rank-list li { display: flex; gap: 14px; counter-increment: rank; line-height: 1.4; }
.rank-list li::before {
	content: counter(rank, decimal-leading-zero);
	font-weight: 800;
	color: var(--color-primary);
	flex-shrink: 0;
}
.rank-list li + li { padding-top: 10px; border-top: 1px solid var(--color-border); }

.mini-list li { display: flex; gap: 12px; align-items: center; }
.mini-list__media { flex-shrink: 0; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; }
.mini-list__title { display: block; line-height: 1.35; font-weight: 600; }
.mini-list time { font-size: .78rem; color: var(--color-muted); }

/* ---------- Pages ---------- */

.page-entry__body { padding-block: 40px 80px; }

/* ---------- Commentaires ---------- */

.comments { margin-top: 56px; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--color-border); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font-size: .8rem; color: var(--color-muted); margin: 4px 0 8px; }
.comment-content { color: var(--color-text-soft); }
.reply a { font-size: .85rem; font-weight: 700; color: var(--color-primary); }
.comment-form label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--color-text-soft); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--color-surface-2);
	border: 1px solid var(--color-border);
	border-radius: 10px;
}
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { margin: 0; }
.comment-notes, .logged-in-as { font-size: .9rem; color: var(--color-muted); }

/* ---------- Pied de page ---------- */

.site-footer {
	margin-top: auto;
	border-top: 1px solid var(--color-border);
	background: #070708;
	font-size: .92rem;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: 40px;
	padding-block: 56px 40px;
}
@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-about__text { color: var(--color-muted); max-width: 40ch; margin: 14px 0 18px; }
.footer-about .custom-logo { height: 52px; width: auto; display: block; }
.footer-title {
	margin: 0 0 16px;
	font-size: .78rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--color-text);
}
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin-bottom: 4px; }
.footer-list a { display: inline-block; padding: 5px 0; color: var(--color-muted); }
.footer-list a:hover { color: var(--color-text); }

.social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: .8rem;
	color: var(--color-text-soft);
}
.social a:hover { border-color: var(--color-primary); color: var(--color-text); }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px 28px;
	border-top: 1px solid var(--color-border);
	font-size: .82rem;
	color: var(--color-muted);
}
.site-footer__bottom p { margin: 0; }

/* ---------- Blocs WordPress courants ---------- */

.wp-block-button__link,
.prose .wp-block-button__link {
	display: inline-block;
	padding: 14px 24px;
	background: var(--color-primary);
	color: #fff;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
}
.prose .wp-block-button__link:hover { color: #fff; filter: brightness(1.1); }
.prose .wp-block-buttons { margin-bottom: 1.4em; }
.wp-block-separator { border-color: var(--color-border); }
.wp-block-quote cite { color: var(--color-muted); font-size: .9rem; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
