/* =========================================================================
   Éveil du Digital — feuille de style principale
   Thème conçu par Ir. Julien KABUYAHIA MUSAVULI
   ========================================================================= */

/* ---------- 1. Jetons de design ---------- */
:root {
	--navy: #0a1d3a;
	--navy-2: #13305e;
	--blue: #1a9ae0;
	--blue-d: #0d6fb8;
	--yellow: #f7d618;
	--red: #ce1021;

	--bg: #f5f8fc;
	--surface: #ffffff;
	--surface-2: #eef4fb;
	--sky: #eaf5fd;
	--text: #1c2735;
	--heading: #0a1d3a;
	--muted: #5a6b80;
	--line: #dbe5f0;
	--grid: rgba(13, 111, 184, .07);
	--link: #0d6fb8;
	--shadow: 0 1px 2px rgba(10, 29, 58, .06), 0 8px 24px rgba(10, 29, 58, .07);
	--shadow-lg: 0 20px 50px rgba(10, 29, 58, .16);

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	--radius: 14px;
	--radius-sm: 10px;
	--container: 1200px;
	--narrow: 780px;
	--header-h: 72px;
}

[data-theme="dark"] {
	--bg: #061226;
	--surface: #0c1d38;
	--surface-2: #102646;
	--sky: #11294b;
	--text: #dde7f3;
	--heading: #f2f7fd;
	--muted: #9db0c7;
	--line: #1d3558;
	--grid: rgba(26, 154, 224, .08);
	--link: #5cc0f5;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
	--shadow-lg: 0 20px 50px rgba(0, 0, 0, .45);
	color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	transition: background-color .25s, color .25s;
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: calc(var(--narrow) + 48px); }

.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; z-index: 1000;
	top: 10px; left: 10px; padding: 12px 18px; background: var(--yellow); color: var(--navy); font-weight: 700; border-radius: 8px;
}

.edd-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

/* ---------- 3. Boutons, badges ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1; cursor: pointer;
	transition: transform .15s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .edd-icon { transition: transform .2s; }
.btn:hover .edd-icon { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(26, 154, 224, .35); }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 18px rgba(247, 214, 24, .28); }
.btn-yellow:hover { background: #ffe24a; color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .7em 1.1em; font-size: .88rem; }

.badge {
	display: inline-block; padding: .32em .8em; margin-bottom: .8em;
	background: var(--sky); color: var(--blue-d); border-radius: 999px;
	font: 600 .74rem/1.2 var(--font-mono); letter-spacing: .04em; text-transform: uppercase;
}
.badge:hover { background: var(--blue); color: #fff; }
[data-theme="dark"] .badge { color: #7ccdf8; }

.kicker {
	display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1em;
	font: 600 .78rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(247, 214, 24, .2); }

/* ---------- 4. Barre supérieure et en-tête ---------- */
.reading-progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 200; background: transparent; }
.reading-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--yellow)); }

.topbar { background: var(--navy); color: #b9cde4; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-date { display: inline-flex; align-items: center; gap: .5em; }
.topbar-formula { font-family: var(--font-mono); color: #6f8fb5; letter-spacing: .05em; }
.topbar-formula sup { font-size: .7em; }

.social { display: flex; gap: 6px; }
.social a {
	display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	color: inherit; background: rgba(255, 255, 255, .06); transition: background .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.social-top a { width: 28px; height: 28px; background: transparent; }
.social .edd-icon { width: 16px; height: 16px; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; min-height: var(--header-h); }
.site-branding { flex: 0 0 auto; }
.custom-logo { max-height: 54px; width: auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--heading); }
.brand:hover { color: var(--heading); }
.brand-mark { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(26, 154, 224, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.28rem/1.1 var(--font-head); letter-spacing: -.01em; }
.brand-tagline { font-size: .74rem; color: var(--muted); margin-top: 3px; max-width: 260px; }

.main-nav { order: 3; flex: 1 1 100%; display: flex; border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav .menu { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px 0; margin-left: -12px; }
.main-nav li { position: relative; }
.main-nav a {
	display: flex; align-items: center; gap: .35em; padding: .6em .7em; border-radius: 8px;
	color: var(--text); font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--blue); background: var(--sky); }
.main-nav .menu-item-has-children > a::after {
	content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.main-nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; padding: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.main-nav .sub-menu .sub-menu { top: -8px; left: 100%; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: .6em .8em; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--line); background: var(--surface); color: var(--heading); cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.icon-btn .edd-icon { width: 19px; height: 19px; }
.theme-toggle .icon-sun, [data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: inline; }
.menu-toggle { display: none; }
.menu-toggle .icon-close, .menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: inline; }

.search-panel { border-top: 1px solid var(--line); padding: 18px 0; background: var(--surface); }
.search-form {
	display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px;
	background: var(--surface); border: 2px solid var(--line); border-radius: 999px; transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--blue); }
.search-form > .edd-icon { color: var(--muted); }
.search-field { flex: 1; min-width: 0; border: 0; background: transparent; padding: .55em 0; outline: none; }

@media (max-width: 1080px) {
	.menu-toggle { display: inline-grid; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0; z-index: 99; display: block; border-top: 1px solid var(--line);
		background: var(--surface); padding: 20px 24px 40px; overflow-y: auto;
		opacity: 0; transform: translateY(-10px); visibility: hidden; pointer-events: none;
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
	}
	.menu-open .main-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
	.menu-open { overflow: hidden; }
	html { scroll-padding-top: 90px; }
	.aside-sticky, .author-facts { top: 96px; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 4px; margin-left: 0; padding: 0; }
	.main-nav a { white-space: normal; }
	.main-nav a { font-size: 1.05rem; padding: .85em 1em; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; }
	.brand-tagline { display: none; }
	.topbar-formula { display: none; }
}

/* ---------- 5. Motifs mathématiques ---------- */
.math-grid, .hero, .page-hero, .author-hero, .error-404, .section-alt {
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 32px 32px;
}

/* ---------- 6. Bannière d'accueil ---------- */
.hero, .author-hero, .error-404 {
	--grid: rgba(120, 190, 250, .08);
	position: relative; overflow: hidden; color: #d7e6f7;
	background-color: var(--navy);
	background-image:
		radial-gradient(1000px 500px at 85% -10%, rgba(26, 154, 224, .35), transparent 60%),
		radial-gradient(700px 400px at -10% 110%, rgba(247, 214, 24, .10), transparent 60%),
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: auto, auto, 32px 32px, 32px 32px;
}
.hero { padding: 88px 0 0; }
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .kicker, .author-hero .kicker { color: #8fd0f7; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; margin-bottom: .45em; }
.hero-title span { display: block; background: linear-gradient(90deg, #5cc0f5, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; max-width: 560px; color: #c2d5ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-panel {
	position: relative; border-radius: 18px; overflow: hidden;
	background: rgba(9, 25, 52, .72); border: 1px solid rgba(120, 190, 250, .22);
	box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
	backdrop-filter: blur(6px);
}
.panel-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(120, 190, 250, .15); }
.panel-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.panel-bar span:nth-child(2) { background: #febc2e; }
.panel-bar span:nth-child(3) { background: #28c840; }
.panel-bar em { margin-left: 10px; font: 400 .78rem var(--font-mono); color: #6f8fb5; font-style: normal; }
.formula-list { margin: 0; padding: 8px 0; }
.formula { padding: 14px 22px; border-left: 3px solid transparent; transition: background .3s, border-color .3s; }
.formula.is-active { background: rgba(26, 154, 224, .1); border-left-color: var(--yellow); }
.formula dt { font: 600 .72rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: #6f9ccc; margin-bottom: 4px; }
.formula dd { margin: 0; font: 500 1.25rem/1.4 var(--font-mono); color: #fff; }
.formula var { font-style: italic; color: #7fd0ff; }
.formula sup, .formula sub { font-size: .65em; }

.pillars {
	position: relative; list-style: none; margin: 72px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(120, 190, 250, .18);
}
.pillars li { padding: 26px 22px 30px; border-right: 1px solid rgba(120, 190, 250, .12); display: flex; flex-direction: column; gap: 4px; }
.pillars li:last-child { border-right: 0; }
.pillar-num { font: 600 .78rem var(--font-mono); color: var(--yellow); }
.pillars strong { font: 700 1.15rem var(--font-head); color: #fff; }
.pillars span:last-child { font-size: .9rem; color: #9fb7d2; }

/* ---------- 7. Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background-color: var(--surface-2); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.section-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); order: 2; }
.section-head .section-more { order: 3; }
.section-head-sub { margin-top: 64px; }
.section-index {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border-radius: 12px;
	background: var(--navy); color: var(--yellow); font: 600 .95rem var(--font-mono);
}
[data-theme="dark"] .section-index { background: var(--blue-d); }
.section-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; white-space: nowrap; }

/* À la une */
.featured {
	display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.featured-media { display: block; min-height: 340px; background: var(--navy); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured:hover .featured-media img { transform: scale(1.04); }
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.featured-title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: .5em; }
.featured-title a { color: var(--heading); }
.featured-title a:hover { color: var(--blue); }
.featured-body > p { color: var(--muted); }
.featured .post-meta { margin: 6px 0 22px; }

/* Grilles et cartes */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-placeholder {
	position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%;
	background:
		linear-gradient(rgba(120, 190, 250, .1) 1px, transparent 1px) 0 0 / 22px 22px,
		linear-gradient(90deg, rgba(120, 190, 250, .1) 1px, transparent 1px) 0 0 / 22px 22px,
		linear-gradient(135deg, var(--navy), var(--blue-d));
}
.card-placeholder span { font: 700 3.4rem var(--font-head); color: rgba(255, 255, 255, .9); text-shadow: 0 6px 30px rgba(26, 154, 224, .7); }
.card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.card-title { font-size: 1.18rem; line-height: 1.3; margin-bottom: .55em; }
.card-title a { color: var(--heading); }
.card-title a:hover { color: var(--blue); }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card .badge { position: relative; z-index: 1; }
.card-excerpt { color: var(--muted); font-size: .94rem; line-height: 1.6; margin-bottom: 1em; }
.card-meta { margin-top: auto; display: flex; gap: .5em; font: 500 .78rem var(--font-mono); color: var(--muted); }

/* Métadonnées */
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .88rem; color: var(--muted); }
.meta-item { display: inline-flex; align-items: center; gap: .45em; }
.meta-item a { color: inherit; font-weight: 600; }
.meta-item .edd-icon { color: var(--blue); }

/* Thématiques */
.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topics a {
	display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px;
	padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--heading);
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.topics a:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.topic-symbol {
	grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
	background: var(--sky); color: var(--blue-d); font: 600 1.4rem var(--font-mono);
}
[data-theme="dark"] .topic-symbol { color: #7ccdf8; }
.topic-name { font: 600 1rem/1.3 var(--font-head); align-self: end; }
.topic-count { font: 500 .78rem var(--font-mono); color: var(--muted); }

/* Bandeau auteur */
.author-cta {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 32px; padding: 36px 40px;
	border-radius: 22px; color: #c7d8ec;
	background:
		radial-gradient(500px 240px at 100% 0, rgba(247, 214, 24, .14), transparent 70%),
		linear-gradient(rgba(120, 190, 250, .07) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(120, 190, 250, .07) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(120deg, var(--navy), var(--navy-2));
}
.author-cta img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--yellow); flex: 0 0 auto; }
.author-cta-text { flex: 1; }
.author-cta h2 { color: #fff; margin-bottom: .3em; font-size: 1.6rem; }
.author-cta .kicker { color: #8fd0f7; margin-bottom: .4em; }
.author-cta p:last-child { margin: 0; }

/* ---------- 8. En-têtes de page, fil d'Ariane ---------- */
.page-hero { padding: 56px 0 44px; background-color: var(--surface-2); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0; }
.page-desc { color: var(--muted); margin-top: .6em; max-width: 680px; }
.page-desc p:last-child { margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 .8rem var(--font-mono); color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs .sep { opacity: .5; }
.author-hero .breadcrumbs, .author-hero .breadcrumbs a { color: #8aa5c6; }

/* ---------- 9. Article ---------- */
.article-header { padding: 48px 0 28px; }
.article-header .container { display: grid; grid-template-columns: minmax(0, var(--narrow)) 300px; column-gap: 56px; justify-content: center; }
.article-header .container > * { grid-column: 1; }
.article-header .badge { justify-self: start; }
.entry-content figure { margin-inline: 0; }
.article-title { font-size: clamp(2rem, 4.4vw, 3.15rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: .4em; }
.article-lead { font-size: 1.22rem; line-height: 1.55; color: var(--muted); margin-bottom: 1.2em; }
.article-cover { margin: 0 auto 8px; }
.article-cover img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }
.article-cover figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); text-align: center; }

.article-layout { display: grid; grid-template-columns: minmax(0, var(--narrow)) 300px; gap: 56px; justify-content: center; padding-top: 28px; padding-bottom: 40px; }
.article-aside { min-width: 0; }
.aside-sticky { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 24px; }

.article-tools {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; margin-bottom: 36px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.tool-btn {
	display: inline-flex; align-items: center; gap: .5em; padding: .6em 1em; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--surface-2); color: var(--heading); font-weight: 600; font-size: .88rem;
	transition: background .2s, color .2s, border-color .2s;
}
.tool-btn:hover, .tool-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tts-rate select { padding: .5em .7em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .85rem; }
.share { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.share-label { font: 600 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share-btn {
	display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
	border: 1px solid var(--line); background: var(--surface); color: var(--heading); transition: .2s;
}
.share-btn:hover { color: #fff; transform: translateY(-2px); background: var(--blue); border-color: var(--blue); }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; }
.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.share-x:hover { background: #000; border-color: #000; }
.share-btn .edd-icon { width: 16px; height: 16px; }

/* Sommaire */
.toc { padding: 20px 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.toc-title { display: flex; align-items: center; gap: .5em; margin: 0 0 10px; font: 600 .76rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.toc-title::before { content: "∑"; font-size: 1.1rem; color: var(--blue); }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; max-height: 60vh; overflow: auto; }
.toc li { counter-increment: toc; }
.toc a {
	display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 8px; border-radius: 8px;
	font-size: .88rem; line-height: 1.4; color: var(--text); border-left: 2px solid transparent;
}
.toc a::before { content: counter(toc, decimal-leading-zero); font: 500 .74rem/1.9 var(--font-mono); color: var(--muted); }
.toc a:hover { background: var(--sky); color: var(--blue-d); }
.toc a.is-active { background: var(--sky); color: var(--blue-d); border-left-color: var(--blue); font-weight: 600; }
[data-theme="dark"] .toc a:hover, [data-theme="dark"] .toc a.is-active { color: #8fd5fb; }

/* ---------- 10. Contenu rédigé ---------- */
.entry-content { font-size: 1.08rem; line-height: 1.8; }
.entry-content > * { margin-block: 0 1.3em; }
.edd-justify .entry-content p, .edd-justify .entry-content li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.entry-content h2 {
	position: relative; font-size: 1.75rem; margin: 2.1em 0 .8em; padding-left: 18px;
}
.entry-content h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 4px; background: linear-gradient(var(--blue), var(--yellow)); }
.entry-content h3 { font-size: 1.35rem; margin: 1.8em 0 .6em; }
.entry-content h4 { font-size: 1.12rem; margin: 1.6em 0 .5em; }
.entry-content a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 45%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.entry-content a:hover { text-decoration-color: var(--blue); }
.entry-content strong { color: var(--heading); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul li::marker { color: var(--blue); }
.entry-content ol li::marker { color: var(--blue); font-family: var(--font-mono); font-weight: 600; }
.entry-content li { margin-bottom: .45em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figcaption, .wp-element-caption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: .6em; }
.entry-content hr { border: 0; height: 1px; margin: 2.5em 0; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* Lettrine */
.edd-dropcap.single .entry-content > p:first-of-type::first-letter {
	float: left; font: 700 4.4em/.8 var(--font-head); color: var(--blue);
	padding: .08em .12em 0 0; margin-top: .04em; text-shadow: 3px 3px 0 color-mix(in srgb, var(--yellow) 60%, transparent);
}

/* Citations */
.entry-content blockquote, .wp-block-quote {
	position: relative; margin: 2em 0; padding: 22px 26px 22px 64px;
	background: var(--surface-2); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0;
	font-size: 1.12rem; font-style: italic; color: var(--heading);
}
.entry-content blockquote::before { content: "“"; position: absolute; left: 18px; top: 4px; font: 700 3.6rem/1 Georgia, serif; color: var(--blue); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content blockquote cite { display: block; margin-top: .6em; font-style: normal; font-size: .88rem; color: var(--muted); }
.wp-block-pullquote { border-block: 4px solid var(--blue); padding: 2em 1em; text-align: center; }
.wp-block-pullquote blockquote { background: none; border: 0; padding: 0; font-size: 1.4rem; }
.wp-block-pullquote blockquote::before { display: none; }

/* Tableaux */
.entry-content table, .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
.wp-block-table, .entry-content .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.entry-content th, .entry-content thead td {
	background: var(--navy); color: #fff; text-align: left; padding: 13px 16px;
	font: 600 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; border: 0;
}
.entry-content thead th:first-child { box-shadow: inset 4px 0 0 var(--yellow); }
.entry-content td { padding: 12px 16px; border: 0; border-top: 1px solid var(--line); vertical-align: top; text-align: left !important; hyphens: manual; }
.entry-content tbody tr:nth-child(even) td { background: var(--surface-2); }
.entry-content tbody tr:hover td { background: var(--sky); }
.wp-block-table figcaption { padding: 10px; }

/* Code */
.entry-content code { font-family: var(--font-mono); font-size: .88em; padding: .15em .4em; border-radius: 6px; background: var(--sky); color: var(--blue-d); }
[data-theme="dark"] .entry-content code { color: #8fd5fb; }
.entry-content pre, .wp-block-code {
	position: relative; overflow-x: auto; padding: 22px 24px; border-radius: var(--radius);
	background: #071427; color: #d6e6f7; font: .9rem/1.65 var(--font-mono); border: 1px solid #1d3558;
}
.entry-content pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

/* Formules (KaTeX) */
.katex-display { overflow-x: auto; overflow-y: hidden; padding: 18px 12px; margin: 1.6em 0 !important; background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius); }
.katex { font-size: 1.12em; color: var(--heading); }

/* Blocs Gutenberg */
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; text-align: center; }
.wp-block-image img { height: auto; }
.wp-block-button__link { border-radius: 999px; background: var(--blue); color: #fff; padding: .8em 1.4em; font-weight: 600; text-decoration: none !important; }
.wp-block-separator { border: 0; height: 1px; background: var(--line); }
.has-navy-color { color: var(--navy) !important; } .has-navy-background-color { background-color: var(--navy) !important; }
.has-blue-color { color: var(--blue) !important; } .has-blue-background-color { background-color: var(--blue) !important; }
.has-sky-color { color: #eaf5fd !important; } .has-sky-background-color { background-color: #eaf5fd !important; }
.has-yellow-color { color: var(--yellow) !important; } .has-yellow-background-color { background-color: var(--yellow) !important; }
.has-red-color { color: var(--red) !important; } .has-red-background-color { background-color: var(--red) !important; }
.has-ink-color { color: #1f2a37 !important; } .has-ink-background-color { background-color: #1f2a37 !important; }
.has-white-color { color: #fff !important; } .has-white-background-color { background-color: #fff !important; }

/* Lecture audio : bloc en cours */
.tts-reading { background: color-mix(in srgb, var(--yellow) 28%, transparent); box-shadow: -8px 0 0 color-mix(in srgb, var(--yellow) 28%, transparent), 8px 0 0 color-mix(in srgb, var(--yellow) 28%, transparent); border-radius: 4px; transition: background .3s; }

/* Pied d'article */
.article-footer { margin-top: 48px; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.tags span { font: 600 .76rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 6px; }
.tags a { padding: .35em .85em; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--text); }
.tags a::before { content: "#"; color: var(--blue); margin-right: 2px; }
.tags a:hover { border-color: var(--blue); color: var(--blue); }

.author-box {
	display: flex; gap: 22px; align-items: flex-start; padding: 26px; margin-bottom: 32px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	border-top: 4px solid var(--blue);
}
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 3px solid var(--sky); }
.author-box .kicker { margin-bottom: .3em; }
.author-box h2 { font-size: 1.3rem; margin-bottom: .3em; }
.author-box p { color: var(--muted); font-size: .96rem; margin-bottom: .6em; }
.author-box a { font-weight: 600; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-navigation a:hover { border-color: var(--blue); }
.post-navigation .nav-next a { text-align: right; }
.nav-label { font: 600 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.nav-title { font: 600 1rem/1.35 var(--font-head); color: var(--heading); }

.related { padding: 40px 0 24px; border-top: 1px solid var(--line); }

/* Barre latérale & widgets */
.widget { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.widget-area { display: flex; flex-direction: column; gap: 24px; }
.widget-title { font: 600 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--text); }
.widget a:hover { color: var(--blue); }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px;
	border: 1px solid var(--line); background: var(--surface); color: var(--heading); font: 600 .9rem var(--font-mono);
}
.page-numbers.current, a.page-numbers:hover { background: var(--navy); color: var(--yellow); border-color: var(--navy); }

/* Commentaires & formulaires */
.comments-area { padding: 40px 0 64px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list ol { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px; margin-bottom: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8rem; margin: 4px 0 10px; }
.comment-metadata a { color: var(--muted); }
.reply a { font-size: .85rem; font-weight: 600; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .8em 1em; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--blue); outline: none; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- 11. Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; margin-top: 0; background: var(--navy); color: #a9bfd8; font-size: .94rem; }
.footer-grid-bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(700px 300px at 100% 0, rgba(26, 154, 224, .18), transparent 70%),
		linear-gradient(rgba(120, 190, 250, .06) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, rgba(120, 190, 250, .06) 1px, transparent 1px) 0 0 / 32px 32px;
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blue) 0 72%, var(--yellow) 72% 82%, var(--red) 82% 90%, var(--yellow) 90%); }
.footer-inner { position: relative; display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.3fr; gap: 44px; padding-top: 72px; padding-bottom: 56px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-tagline { color: #8aa5c6; }
.footer-brand p { margin: 18px 0 20px; }
.footer-title { font: 600 .8rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin-bottom: 18px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.site-footer a { color: #d3e2f2; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .widget { background: none; border: 0; padding: 0; }
.site-footer .widget li { border-color: rgba(120, 190, 250, .15); }
.site-footer .widget a { color: #d3e2f2; }

.footer-author {
	padding: 26px; border-radius: 18px;
	background: linear-gradient(160deg, rgba(26, 154, 224, .16), rgba(255, 255, 255, .03));
	border: 1px solid rgba(120, 190, 250, .2);
}
.author-mini { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.author-mini img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); flex: 0 0 auto; }
.author-mini strong { display: block; color: #fff; font: 700 1rem/1.25 var(--font-head); }
.author-mini span { display: block; font-size: .8rem; color: #8fb1d6; line-height: 1.4; margin-top: 3px; }
.footer-author p { font-size: .9rem; margin-bottom: 18px; }
.site-footer .btn-yellow, .site-footer .btn-yellow:hover { color: var(--navy); }

.footer-bottom { position: relative; border-top: 1px solid rgba(120, 190, 250, .14); font-size: .84rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 20px; }
.footer-bottom p { margin: 0; }
.footer-credit a { font-weight: 600; }
.back-top { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.back-top:hover { background: var(--yellow); color: var(--navy) !important; }

/* ---------- 12. Page de présentation de l'auteur ---------- */
.author-hero { padding: 80px 0 88px; }
.author-hero-inner { position: relative; display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.author-photo { position: relative; width: 320px; height: 320px; margin: 20px auto; }
.author-photo img { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 6px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(120, 190, 250, .35); }
.orbit-1 { inset: -18px; animation: edd-spin 40s linear infinite; }
.orbit-2 { inset: -40px; border-style: solid; border-color: rgba(247, 214, 24, .18); animation: edd-spin 60s linear infinite reverse; }
.orbit-1::after, .orbit-2::after { content: ""; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 16px var(--yellow); }
.orbit-2::after { left: auto; right: -5px; top: 20%; width: 10px; height: 10px; background: var(--blue); box-shadow: 0 0 16px var(--blue); }
@keyframes edd-spin { to { transform: rotate(360deg); } }
.author-name { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: .25em; }
.author-role { font: 500 .95rem var(--font-mono); color: var(--yellow); margin-bottom: 1.1em; }
.author-short { font-size: 1.12rem; color: #c2d5ea; max-width: 620px; }
.social-author { margin-top: 24px; }
.social-author a { width: 42px; height: 42px; background: rgba(255, 255, 255, .08); color: #fff; }

.author-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.author-facts {
	position: sticky; top: 150px; padding: 26px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--yellow);
}
.facts-title { font: 600 .78rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.author-facts dl { margin: 0; }
.author-facts dl > div { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.author-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.author-facts dt { font: 600 .74rem var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.author-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--heading); }

.skills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skills li {
	position: relative; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.skills li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.skill-mark {
	display: inline-grid; place-items: center; min-width: 52px; height: 52px; padding: 0 10px; margin-bottom: 16px; border-radius: 14px;
	background: linear-gradient(135deg, var(--navy), var(--blue-d)); color: var(--yellow); font: 600 1.35rem var(--font-mono);
}
.skills h3 { font-size: 1.15rem; margin-bottom: .4em; }
.skills p { margin: 0; color: var(--muted); font-size: .95rem; }

.motto {
	position: relative; margin: 0; padding: 48px 40px 40px; text-align: center; border-radius: 22px;
	background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.motto::before {
	content: "“"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
	display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
	background: var(--yellow); color: var(--navy); font: 700 3.4rem/1.15 Georgia, serif;
}
.motto p { font: 600 clamp(1.3rem, 2.6vw, 1.75rem)/1.4 var(--font-head); color: var(--heading); margin-bottom: .8em; }
.motto cite { font: 500 .85rem var(--font-mono); color: var(--blue); font-style: normal; letter-spacing: .04em; }

/* ---------- 13. 404 et résultats vides ---------- */
.error-404 { padding: 110px 0; text-align: center; }
.error-inner { position: relative; }
.error-code { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--font-head); color: #fff; margin: 0; letter-spacing: -.04em; }
.error-code span { color: var(--yellow); }
.error-404 h1 { color: #fff; font-size: 2rem; }
.error-formula { font-family: var(--font-mono); color: #7fd0ff; }
.error-404 .search-form { max-width: 560px; margin: 28px auto; }
.no-results { text-align: center; padding: 40px 0; }
.no-results-math { font: 700 5rem/1 var(--font-head); color: var(--blue); }
.no-results .search-form { max-width: 520px; margin: 20px auto 0; }

/* ---------- 14. Responsive ---------- */
@media (max-width: 1100px) {
	.article-layout, .article-header .container { grid-template-columns: minmax(0, var(--narrow)); }
	.article-aside { order: -1; }
	.aside-sticky { position: static; }
	.article-aside .widget-area { display: none; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.hero-inner, .author-hero-inner, .author-grid { grid-template-columns: 1fr; }
	.hero { padding-top: 64px; }
	.hero-panel { max-width: 560px; }
	.pillars { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
	.pillars li:nth-child(2) { border-right: 0; }
	.pillars li:nth-child(-n+2) { border-bottom: 1px solid rgba(120, 190, 250, .12); }
	.featured { grid-template-columns: 1fr; }
	.featured-media { min-height: 0; aspect-ratio: 16 / 9; }
	.featured-body { padding: 28px; }
	.grid-3, .skills { grid-template-columns: repeat(2, 1fr); }
	.topics { grid-template-columns: repeat(2, 1fr); }
	.author-cta { flex-direction: column; text-align: center; }
	.author-hero-inner { text-align: center; }
	.author-hero .breadcrumbs, .author-hero .hero-actions, .social-author { justify-content: center; }
	.author-short { margin-inline: auto; }
	.author-facts { position: static; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.container { padding-inline: 16px; }
	.section { padding: 52px 0; }
	.grid-3, .skills, .topics { grid-template-columns: 1fr; }
	.pillars { grid-template-columns: 1fr 1fr; margin-top: 36px; }
	.pillars li { padding: 18px 14px 20px; }
	.pillars strong { font-size: 1rem; }
	.pillars span:last-child { font-size: .82rem; }
	.hero-actions .btn { justify-content: center; }
	.formula dd { font-size: 1.05rem; }
	.section-head { flex-wrap: wrap; }
	.section-head::after { display: none; }
	.section-more { width: 100%; }
	.article-tools .share { margin-left: 0; width: 100%; }
	.edd-justify .entry-content p, .edd-justify .entry-content li { text-align: left; }
	.entry-content blockquote { padding: 20px 18px 20px 52px; }
	.author-box { flex-direction: column; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next a { text-align: left; }
	.footer-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
	.author-photo { width: 240px; height: 240px; }
	.topbar-date { font-size: .76rem; }
	.brand-name { font-size: 1.1rem; }
	.brand-mark { width: 38px; height: 38px; }
	.header-inner { gap: 12px; }
	.icon-btn { width: 40px; height: 40px; }
}

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