/* WeGeek – styles du site. Mobile d'abord ; ruptures à 768, 1024 et 1280 px. */

@font-face { font-family: Manrope; src: url("../fonts/manrope-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* Arial ajustée aux proportions de Manrope : le texte ne bouge pas quand la police arrive. */
@font-face { font-family: "Manrope Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 102%; descent-override: 29%; line-gap-override: 0%; }

:root {
	--violet: #6435e8;
	--violet-hover: #5126c5;
	--bg: #fff;
	--surface: #f7f5fc;
	--ink: #171321;
	--muted: #625d70;
	--line: #ddd7eb;
	--link: #6435e8;
	--tag-bg: #ede7ff;
	--tag-fg: #6435e8;
	--partner-bg: #fff3e0;
	--partner-fg: #8a4b00;
	--success: #167044;
	--error: #b42318;
	--disabled-bg: #e3dfeb;

	--night: #171321;
	--night-2: #221c30;
	--night-line: #352e47;
	--night-text: #f3f1f8;
	--night-muted: #b4aec4;

	--font: Manrope, "Manrope Fallback", system-ui, sans-serif;
	--gutter: 20px;
	--header-h: 60px;
	--radius: 12px;
	--radius-sm: 8px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	color-scheme: light;
}

[data-theme="dark"] {
	--bg: #120f1a;
	--surface: #1d1828;
	--ink: #f3f1f8;
	--muted: #aaa4b9;
	--line: #322b43;
	--link: #b49dff;
	--tag-bg: #2a2241;
	--tag-fg: #cbbcff;
	--partner-bg: #33260f;
	--partner-fg: #f2c37a;
	--success: #5ccf95;
	--error: #ff8f84;
	--disabled-bg: #2a2438;

	--night: #1d1828;
	--night-2: #272035;

	color-scheme: dark;
}

@media (min-width: 768px) {
	:root { --gutter: 32px; --header-h: 72px; }
}

/* Base */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }

h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
[data-theme="dark"] :focus-visible { outline-color: var(--link); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px; left: 8px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--violet);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 700;
	transform: translateY(-150%);
}
.skip-link:focus { transform: none; color: #fff; }

.container {
	width: min(100% - 2 * var(--gutter), 1280px);
	margin-inline: auto;
}

.site-main { display: block; min-height: 60vh; outline: 0; }

/* Boutons */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	border-radius: var(--radius-sm);
	background: var(--violet);
	color: #fff;
	font: 700 16px/24px var(--font);
	cursor: pointer;
	transition: background-color .15s, box-shadow .15s;
}
.button:hover { background: var(--violet-hover); color: #fff; }
.button:disabled { background: var(--disabled-bg); color: var(--muted); cursor: default; }
.button .icon { width: 20px; height: 20px; }

.button--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button--ghost:hover { background: var(--ink); color: var(--bg); }

.icon { width: 24px; height: 24px; flex: none; }

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	cursor: pointer;
}
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.icon-btn .icon { width: 22px; height: 22px; }

/* Bandeau supérieur */

.topbar { display: none; background: var(--night); color: var(--night-muted); font-size: 13px; line-height: 20px; font-weight: 500; }
.topbar-inner { display: flex; align-items: center; gap: 16px; height: 36px; }
.topbar-date { color: var(--night-text); font-weight: 600; }
.topbar-tagline { padding-left: 16px; border-left: 1px solid var(--night-line); }
.topbar-social { margin-left: auto; gap: 0; }
.topbar-social a { min-height: 36px; padding: 8px; color: var(--night-muted); }
.topbar-social a:hover { color: #fff; }
.topbar-social .icon { width: 16px; height: 16px; }

@media (min-width: 768px) {
	.topbar { display: block; }
}

/* En-tête */

.site-header {
	position: relative;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar.has-sticky-header .site-header { top: 0; } }

.header-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: var(--header-h);
}

.menu-toggle { margin-left: -10px; }
.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-title { margin: 0; font-size: 0; line-height: 0; letter-spacing: 0; }

.site-logo, .custom-logo-link { display: inline-flex; align-items: center; color: var(--violet); }
.site-logo:hover { color: var(--violet); }
.site-logo svg { height: 34px; width: auto; }
[data-theme="dark"] .site-logo { color: #fff; }
.custom-logo { max-height: 40px; width: auto; }

.main-nav { display: none; }

.header-tools { display: flex; gap: 4px; margin-left: auto; margin-right: -10px; }

.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

@media (min-width: 1024px) {
	.menu-toggle { display: none; }
	.site-logo svg { height: 38px; }

	.main-nav { display: block; align-self: stretch; margin-left: 40px; min-width: 0; }
	.main-menu { display: flex; height: 100%; list-style: none; }
	.main-menu > li { display: flex; }
	.main-menu a {
		position: relative;
		display: flex;
		align-items: center;
		padding: 0 14px;
		font-weight: 700;
		font-size: 15px;
		white-space: nowrap;
	}
	.main-menu a::after {
		content: "";
		position: absolute;
		left: 14px; right: 14px; bottom: -1px;
		height: 3px;
		border-radius: 3px 3px 0 0;
		background: var(--violet);
		transform: scaleX(0);
		transition: transform .2s var(--ease);
	}
	.main-menu a:hover { color: var(--ink); }
	.main-menu a:hover::after,
	.main-menu .current-menu-item > a::after,
	.main-menu .current-menu-ancestor > a::after,
	.main-menu .current-cat > a::after { transform: none; }
	.main-menu .current-menu-item > a,
	.main-menu .current-menu-ancestor > a,
	.main-menu .current-cat > a { color: var(--link); }
}

.search-panel { border-top: 1px solid var(--line); padding-block: 16px; background: var(--bg); }

.search-form { display: flex; gap: 8px; max-width: 720px; }
.search-field {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--ink);
	font: 500 16px var(--font);
}
.search-field::placeholder { color: var(--muted); }
.search-field:focus { border-color: var(--violet); outline: 0; box-shadow: 0 0 0 1px var(--violet); }
.search-form .button { min-height: 48px; }

.read-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--violet); transform: scaleX(0); transform-origin: 0 50%; }

/* À suivre */

.trending { border-bottom: 1px solid var(--line); }
.trending-inner { display: flex; align-items: center; gap: 16px; height: 48px; }
.trending-title {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--link);
	font-size: 13px;
	font-weight: 800;
}
.trending-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--violet); }
.trending ul {
	display: flex;
	gap: 6px;
	min-width: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
}
.trending ul::-webkit-scrollbar { display: none; }
.trending a {
	display: block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--surface);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}
.trending a:hover { background: var(--tag-bg); color: var(--tag-fg); }

/* Menu mobile */

.drawer {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 49;
	overflow-y: auto;
	background: var(--bg);
	overscroll-behavior: contain;
}
.admin-bar .drawer { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)); }
.drawer-inner { padding: 16px var(--gutter) 40px; }
.drawer-search { margin-bottom: 8px; }
.drawer-search .button { padding: 0 14px; }

.drawer-menu { list-style: none; }
.drawer-menu > li { border-bottom: 1px solid var(--line); }
.drawer-menu a { display: block; padding: 14px 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.drawer-menu .sub-menu { list-style: none; padding: 0 0 12px; }
.drawer-menu .sub-menu a { padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.drawer-label { margin: 28px 0 12px; color: var(--muted); font-size: 13px; font-weight: 700; }

@media (min-width: 1024px) {
	.drawer { display: none !important; }
}

/* Réseaux sociaux */

.social-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.social-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 15px;
}
.social-links .icon { width: 20px; height: 20px; }
.social-links--labels a { padding: 10px 14px 10px 12px; box-shadow: inset 0 0 0 1px var(--line); }

/* Étiquettes et métadonnées */

.label {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--tag-bg);
	color: var(--tag-fg);
	font-size: 12px;
	line-height: 18px;
	font-weight: 700;
}
a.label:hover { color: var(--tag-fg); text-decoration: underline; }
.label--partner { background: var(--partner-bg); color: var(--partner-fg); }
a.label--partner:hover { color: var(--partner-fg); }

.card-meta, .byline-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	color: var(--muted);
	font-size: 13px;
	line-height: 19px;
	font-weight: 500;
}
.card-meta > * + *::before, .byline-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 3px; height: 3px;
	margin: 0 8px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
}
.card-meta > span:first-child { color: var(--ink); font-weight: 700; }

/* Cartes */

.card { position: relative; display: grid; gap: 12px; align-content: start; }

.card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface);
	isolation: isolate;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }

.thumb-fallback { display: grid; place-items: center; height: 100%; color: var(--line); }
.thumb-fallback .icon { width: 30%; height: auto; }

.card-body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.card-top { display: flex; gap: 8px; }
.card-top:empty { display: none; }

.card-title { font-size: 17px; line-height: 23px; font-weight: 800; letter-spacing: -.015em; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-title a { transition: color .2s var(--ease); }
.card:hover .card-title a { color: var(--link); }
.card-excerpt { color: var(--muted); font-size: 16px; line-height: 24px; }

.seal {
	position: absolute;
	right: 10px; top: 10px;
	z-index: 1;
	width: 64px; height: 64px;
	border-radius: 50%;
	transform: rotate(-10deg);
	filter: drop-shadow(0 2px 6px rgba(18, 15, 26, .35));
	pointer-events: none;
}
.seal svg { display: block; width: 100%; height: 100%; }

/* Carte sur image (mosaïque d'accueil) */

.card--overlay { display: block; overflow: hidden; border-radius: var(--radius); background: var(--night); color: #fff; }
.card--overlay .card-media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.card--overlay .card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 15, 26, .94) 0%, rgba(18, 15, 26, .7) 32%, rgba(18, 15, 26, 0) 68%);
}
.card--overlay .card-body { position: relative; z-index: 1; height: 100%; align-content: end; padding: 20px; gap: 10px; pointer-events: none; }
.card--overlay .card-body a { pointer-events: auto; }
.card--overlay .card-title { color: #fff; font-size: 19px; line-height: 25px; }
.card--overlay .card-title a:hover, .card--overlay:hover .card-title a { color: #cbbcff; }
.card--overlay .card-meta, .card--overlay .card-meta > span:first-child, .card--overlay .card-excerpt { color: rgba(255, 255, 255, .8); }
.card--overlay .label { background: var(--violet); color: #fff; }
.card--overlay .label--partner { background: #f2c37a; color: #33260f; }
.card--overlay .seal { top: 16px; right: 16px; width: 76px; height: 76px; }
.card--overlay-lead .seal { width: 92px; height: 92px; }

.card--overlay-lead .card-title { font-size: 26px; line-height: 31px; letter-spacing: -.02em; }
.card--overlay-lead .card-excerpt { display: none; }

@media (min-width: 768px) {
	.card--overlay .card-body { padding: 28px; }
	.card--overlay-lead .card-title { font-size: 36px; line-height: 42px; max-width: 22ch; }
	.card--overlay-lead .card-excerpt { display: block; max-width: 60ch; font-size: 17px; line-height: 26px; }
}

/* Ligne du fil : vignette à droite sur mobile, à gauche sur grand écran. */
.card--row,
.card--grid {
	grid-template-columns: minmax(0, 1fr) 120px;
	gap: 16px;
	padding-block: 16px;
	border-top: 1px solid var(--line);
}
.card--row .card-media,
.card--grid .card-media { order: 2; border-radius: var(--radius-sm); }
.card--row .card-excerpt { display: none; }
/* Trop petit pour lire le texte : seul le « w » reste. */
.card--row .seal,
.card--grid .seal { top: 6px; right: 6px; width: 32px; height: 32px; --seal-text: transparent; }
.card--mini .seal { top: 4px; right: 4px; width: 24px; height: 24px; --seal-text: transparent; transform: none; }
.card--feature .seal { width: 84px; height: 84px; }

/* Grande carte d'ouverture de rubrique */
.card--feature { gap: 16px; }
.card--feature .card-title { font-size: 24px; line-height: 30px; }
.card--feature .card-excerpt { font-size: 16px; line-height: 25px; }

/* Petites listes de la colonne */
.card--mini {
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding-block: 12px;
	border-top: 1px solid var(--line);
}
.card--mini .card-media { aspect-ratio: 1; border-radius: var(--radius-sm); }
.card--mini .card-title { font-size: 15px; line-height: 21px; font-weight: 700; }
.side-block .card--mini:first-of-type { border-top: 0; padding-top: 4px; }

/* En continu */
.card--brief { gap: 6px; }
.brief-time { color: var(--link); font-size: 13px; line-height: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.card--brief .card-title { font-size: 15px; line-height: 21px; font-weight: 700; }

/* Classement */
.rank-list { list-style: none; }
.card--rank { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding-block: 14px; border-top: 1px solid var(--line); }
.rank-list > li:first-child .card--rank { border-top: 0; padding-top: 4px; }
.rank-num { color: var(--violet); font-size: 36px; line-height: 36px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
@supports (-webkit-text-stroke: 1px black) {
	.rank-num { color: transparent; -webkit-text-stroke: 1.5px var(--violet); }
	[data-theme="dark"] .rank-num { -webkit-text-stroke-color: var(--link); }
}
.card--rank .card-title { font-size: 15px; line-height: 21px; font-weight: 700; }
.card--rank .card-body { gap: 4px; }

@media (min-width: 768px) {
	.card--grid { grid-template-columns: none; gap: 12px; padding: 0; border: 0; }
	.card--grid .card-media { order: 0; border-radius: var(--radius); }
	.card--grid .seal { top: 10px; right: 10px; width: 60px; height: 60px; --seal-text: #fff; }

	.card--row { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding-block: 24px; align-items: center; }
	.card--row .card-media { order: 0; border-radius: var(--radius); }
	.card--row .card-title { font-size: 22px; line-height: 28px; }
	.card--row .card-excerpt { display: block; }
	.card--row .seal { top: 10px; right: 10px; width: 60px; height: 60px; --seal-text: #fff; }

	.card--feature .card-title { font-size: 30px; line-height: 36px; }
}

/* Titres de section */

.section-head {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 16px;
	padding-top: 14px;
	margin-bottom: 8px;
	border-top: 2px solid var(--ink);
}
.section-head::before {
	content: "";
	position: absolute;
	left: 0; top: -2px;
	width: 56px; height: 4px;
	background: var(--violet);
}
.section-title { font-size: 22px; line-height: 28px; font-weight: 800; }
.section-title a:hover { color: var(--link); }
.section-sub { display: none; gap: 4px; list-style: none; }
.section-sub a { display: block; padding: 2px 10px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 600; }
.section-sub a:hover { background: var(--surface); color: var(--ink); }
.section-more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
	color: var(--link);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
.section-more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.section-more:hover .icon { transform: translateX(3px); }

@media (min-width: 768px) {
	.section-head { margin-bottom: 20px; }
	.section-title { font-size: 28px; line-height: 34px; }
	.section-sub { display: flex; }
	.side .section-title { font-size: 20px; line-height: 26px; }
	.side .section-head { margin-bottom: 8px; }
}

/* Accueil : mosaïque */

.home-hero { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: 1fr 1fr; }
.home-hero > .card--overlay-lead { grid-column: 1 / -1; min-height: 420px; }
.home-hero > .card--overlay:not(.card--overlay-lead) { min-height: 220px; }
.home-hero > .card--overlay:not(.card--overlay-lead) .card-body { padding: 14px; }
.home-hero > .card--overlay:not(.card--overlay-lead) .card-title { font-size: 15px; line-height: 20px; }
.home-hero > .card--overlay:not(.card--overlay-lead) .card-meta { display: none; }

@media (min-width: 768px) {
	.home-hero { gap: 16px; margin-top: 28px; }
	.home-hero > .card--overlay:not(.card--overlay-lead) { min-height: 280px; }
	.home-hero > .card--overlay:not(.card--overlay-lead) .card-body { padding: 24px; }
	.home-hero > .card--overlay:not(.card--overlay-lead) .card-title { font-size: 20px; line-height: 26px; }
	.home-hero > .card--overlay:not(.card--overlay-lead) .card-meta { display: flex; }
}

@media (min-width: 1024px) {
	.home-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; height: 560px; }
	.home-hero > .card--overlay-lead { grid-column: 1; grid-row: 1 / span 2; min-height: 0; }
	.home-hero > .card--overlay:not(.card--overlay-lead) { min-height: 0; }
}

/* En continu */

.brief { margin-top: 24px; padding: 16px 0; border-block: 1px solid var(--line); }
.brief-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; line-height: 20px; font-weight: 800; letter-spacing: 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--tag-bg); }
.brief-list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(240px, 72%);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.brief-list::-webkit-scrollbar { display: none; }
.brief-list > .card { scroll-snap-align: start; }

@media (min-width: 1024px) {
	.brief { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: start; margin-top: 32px; padding: 20px 0; }
	.brief-title { margin: 2px 0 0; }
	.brief-list { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 0; }
	.brief-list > .card { padding: 0 20px; border-left: 1px solid var(--line); }
}

/* Fil + colonne */

.layout-split { display: grid; gap: 48px; margin-top: 40px; }
.side { display: grid; gap: 40px; align-content: start; }
.side-sticky:empty { display: none; }

@media (min-width: 1024px) {
	.layout-split { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; margin-top: 56px; }
	.side-sticky { position: sticky; top: calc(var(--header-h) + 24px); }
	.admin-bar .side-sticky { top: calc(var(--header-h) + 56px); }
}

.feed > .card--row:first-of-type,
.feed > .section-head + .card--row { border-top: 0; padding-top: 8px; }
.feed-more { margin-top: 24px; }

/* Bandeau des tests */

.band {
	margin-top: 64px;
	padding: 40px 0 48px;
	background: var(--night);
	color: var(--night-text);
}
.band .section-head { border-top-color: var(--night-text); }
.band .section-title, .band .section-title a { color: #fff; }
.band .section-more { color: #cbbcff; }
.band .card--grid { border-top-color: var(--night-line); }
.band .card-title a { color: #fff; }
.band .card:hover .card-title a { color: #cbbcff; }
.band .card-meta, .band .card-meta > span:first-child { color: var(--night-muted); }
.band .label { background: var(--night-2); color: #cbbcff; }
.band .card-media { background: var(--night-2); }
.band .grid-cards > .card--grid:first-child { border-top: 0; }

@media (min-width: 768px) {
	.band { margin-top: 80px; padding: 56px 0 64px; }
}

/* Rubriques */

.home-section { margin-top: 56px; }
.grid-cards { display: grid; }
.grid-cards > .card--grid:first-child { border-top: 0; }

.feature-layout { display: grid; gap: 8px; }
.feature-list > .card--row:first-child { border-top: 0; }

@media (min-width: 768px) {
	.home-section { margin-top: 72px; }
	.grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.feature-layout { gap: 32px; }
}
@media (min-width: 1024px) {
	.grid-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.feature-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 40px; align-items: start; }
	.feature-list .card--row { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding-block: 16px; }
	.feature-list .card--row:first-child { padding-top: 0; }
	.feature-list .card--row .card-title { font-size: 17px; line-height: 23px; }
	.feature-list .card--row .card-excerpt { display: none; }
	.feature-list .card--row .seal { top: 6px; right: 6px; width: 36px; height: 36px; --seal-text: transparent; }
}

/* Listes et archives */

.page-head { padding-top: 32px; }
.page-kicker { color: var(--link); font-size: 13px; line-height: 19px; font-weight: 800; margin-bottom: 8px; }
.page-title { font-size: 34px; line-height: 39px; font-weight: 800; }
.page-desc { margin-top: 12px; max-width: 70ch; color: var(--muted); font-size: 17px; line-height: 28px; }
.page-desc p + p { margin-top: 8px; }

.author-head { display: flex; gap: 20px; align-items: center; }
.author-head img { border-radius: 50%; flex: none; }

.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; }
.subnav a, .tags a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--surface);
	font-size: 14px;
	font-weight: 600;
}
.subnav a:hover, .tags a:hover { background: var(--tag-bg); color: var(--tag-fg); }

@media (min-width: 768px) {
	.page-head { padding: 48px 0 32px; border-bottom: 1px solid var(--line); }
	.page-title { font-size: 52px; line-height: 56px; }
}

.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px; height: 44px;
	padding: 0 14px;
	border-radius: var(--radius-sm);
	box-shadow: inset 0 0 0 1px var(--line);
	font-weight: 700;
}
.page-numbers.current { background: var(--violet); color: #fff; box-shadow: none; }
.page-numbers.dots { box-shadow: none; }
a.page-numbers:hover { background: var(--surface); color: var(--ink); }

.empty { display: grid; gap: 20px; padding: 32px 0; color: var(--muted); }


/* Article */

.article-top { margin-top: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; color: var(--muted); font-size: 13px; line-height: 20px; font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--link); }

.article { min-width: 0; }
.article-layout { margin-top: 16px; }

.article-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.article-cat { color: var(--muted); font-size: 14px; font-weight: 700; }
.article-cat:hover { color: var(--link); }

.article-title { font-size: 32px; line-height: 37px; font-weight: 800; letter-spacing: -.025em; }
.article-standfirst { margin-top: 16px; font-size: 19px; line-height: 29px; font-weight: 500; opacity: .86; }

.byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin-top: 24px;
	padding-block: 14px;
	border-block: 1px solid var(--line);
}
.byline-avatar img { border-radius: 50%; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--tag-bg); }
.byline-text { min-width: 0; }
.byline-author { font-size: 15px; line-height: 22px; font-weight: 600; }
.byline-author a { color: var(--ink); font-weight: 800; }
.byline-author a:hover { color: var(--link); }
.byline .share--compact { margin-left: auto; }

.article-hero { margin-top: 24px; }
.article-hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero figcaption, .entry-content figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 13px;
	line-height: 19px;
	font-weight: 500;
}

@media (min-width: 768px) {
	.article-title { font-size: 48px; line-height: 53px; }
	.article-standfirst { font-size: 21px; line-height: 32px; }
}

.sponsor-notice {
	margin-top: 24px;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	background: var(--partner-bg);
	color: var(--partner-fg);
	font-size: 14px;
	line-height: 21px;
	font-weight: 600;
}

.summary {
	margin-top: 28px;
	padding: 20px 24px 22px;
	border-radius: var(--radius);
	background: var(--tag-bg);
}
.summary-title { color: var(--tag-fg); font-size: 15px; line-height: 22px; font-weight: 800; letter-spacing: 0; }
.summary ul { margin-top: 10px; list-style: none; display: grid; gap: 10px; }
.summary li { position: relative; padding-left: 28px; font-size: 16px; line-height: 25px; font-weight: 500; }
.summary li::before {
	content: "";
	position: absolute;
	left: 0; top: 3px;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.toc { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.toc details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc ol { padding: 0 20px 18px; display: grid; gap: 2px; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 6px 0; font-size: 15px; line-height: 22px; font-weight: 600; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--link); font-weight: 800; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--link); }

.article-body { margin-top: 32px; }
.share-rail { display: none; }

@media (min-width: 1280px) {
	.article-body { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 36px; }
	.share-rail { display: block; }
	.share--rail { position: sticky; top: calc(var(--header-h) + 32px); flex-direction: column; }
	.admin-bar .share--rail { top: calc(var(--header-h) + 64px); }
}

/* Corps de texte */

.entry-content {
	font-size: 17px;
	line-height: 28px;
	overflow-wrap: break-word;
}
.entry-content > * { max-width: 70ch; }
.entry-content > :is(figure, .wp-block-image, .wp-block-embed, .wp-block-gallery, .wp-block-table, .alignwide, .alignfull, .yt, .ad, table) { max-width: none; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content > :first-child { margin-top: 0; }

.entry-content h2 { margin-top: 2em; font-size: 26px; line-height: 32px; font-weight: 800; }
.entry-content h2::before { content: ""; display: block; width: 32px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: var(--violet); }
.entry-content h3 { margin-top: 1.6em; font-size: 21px; line-height: 28px; font-weight: 800; }
.entry-content h4 { margin-top: 1.5em; font-size: 18px; line-height: 26px; font-weight: 800; letter-spacing: 0; }
.entry-content :is(h2, h3, h4) + * { margin-top: .6em; }

.entry-content a { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content :is(.button, .wp-block-button__link, .yt-play) { text-decoration: none; }

.entry-content strong { font-weight: 800; }
.entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: none; padding-left: 1.4em; }
.entry-content ul > li { position: relative; }
.entry-content ul > li::before { content: ""; position: absolute; left: -1.1em; top: .72em; width: 7px; height: 7px; border-radius: 2px; background: var(--violet); }
.entry-content li + li { margin-top: .45em; }
.entry-content ol > li::marker { color: var(--link); font-weight: 800; }

.entry-content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 8px 0 0 56px;
	font-size: 21px;
	line-height: 32px;
	font-weight: 700;
	letter-spacing: -.01em;
}
.entry-content blockquote::before {
	content: "“";
	position: absolute;
	left: 0; top: -6px;
	color: var(--violet);
	font-size: 80px;
	line-height: 1;
	font-weight: 800;
}
.entry-content blockquote p + p { margin-top: .6em; }
.entry-content blockquote cite { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 20px; font-style: normal; font-weight: 600; }

.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-image.is-style-rounded img { border-radius: 999px; }

.entry-content hr { height: 1px; border: 0; background: var(--line); margin-block: 2.5em; }

.entry-content code, .entry-content kbd {
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--surface);
	font: 500 .9em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.entry-content pre {
	overflow-x: auto;
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	background: var(--night);
	color: var(--night-text);
	font-size: 14px;
	line-height: 22px;
}
.entry-content pre code { padding: 0; background: none; color: inherit; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 800; }
.entry-content thead th { background: var(--surface); border-bottom: 0; }
.entry-content thead th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.entry-content thead th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.entry-content .wp-block-button__link {
	padding: 12px 22px;
	border-radius: var(--radius-sm);
	background: var(--violet);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
}
.entry-content .wp-block-button__link:hover { background: var(--violet-hover); color: #fff; }

.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; }

.entry-content .wp-block-embed iframe { width: 100%; border-radius: var(--radius); }

@media (min-width: 768px) {
	.entry-content { font-size: 18px; line-height: 30px; }
	.entry-content h2 { font-size: 32px; line-height: 38px; }
	.entry-content h3 { font-size: 24px; line-height: 31px; }
}

.has-violet-color { color: var(--violet) !important; }
.has-ink-color { color: var(--ink) !important; }
.has-muted-color { color: var(--muted) !important; }
.has-white-color { color: #fff !important; }
.has-violet-background-color { background-color: var(--violet) !important; color: #fff; }
.has-ink-background-color { background-color: #171321 !important; color: #fff; }
.has-mist-background-color { background-color: var(--surface) !important; }
.has-lavender-background-color { background-color: var(--tag-bg) !important; }
.has-white-background-color { background-color: var(--bg) !important; }
.has-background { padding: 20px 24px; border-radius: var(--radius); }
.has-small-font-size { font-size: 14px !important; line-height: 21px; }
.has-normal-font-size { font-size: 18px !important; }
.has-large-font-size { font-size: 24px !important; line-height: 1.3; }

/* Vidéos YouTube chargées au clic */

.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.yt-play { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; opacity: .9; }
.yt-icon {
	position: absolute;
	left: 50%; top: 50%;
	display: grid;
	place-items: center;
	width: 72px; height: 72px;
	border-radius: 50%;
	background: var(--violet);
	color: #fff;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 8px rgba(100, 53, 232, .3);
	transition: transform .2s var(--ease);
}
.yt-play:hover .yt-icon { transform: translate(-50%, -50%) scale(1.08); }
.yt-icon .icon { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; stroke: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fiche test et offres */

.review {
	margin-top: 48px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.review > * { padding-inline: 20px; }
.review > * + * { margin-top: 20px; }
.review > :last-child { padding-bottom: 20px; }

.review-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 20px;
	background: var(--night);
	color: #fff;
}
.review-kicker { color: #cbbcff; font-size: 13px; line-height: 19px; font-weight: 800; }
.review-product { margin-top: 4px; font-size: 22px; line-height: 28px; font-weight: 800; }
.review-score {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 84px; height: 84px;
	border-radius: 50%;
	background: conic-gradient(var(--violet) calc(var(--score, 0) * 1%), rgba(255, 255, 255, .14) 0);
}
.review-score::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--night); }
.review-score-inner { position: relative; display: flex; align-items: baseline; }
.review-score-value { font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.review-score-max { margin-left: 1px; color: var(--night-muted); font-size: 13px; font-weight: 700; }
.review-verdict { font-size: 17px; line-height: 28px; font-weight: 500; }

.review-pros-cons { display: grid; gap: 16px; }
.review-list { padding: 16px; border-radius: var(--radius-sm); }
.review-list--pros { background: color-mix(in srgb, var(--success) 9%, var(--bg)); }
.review-list--cons { background: color-mix(in srgb, var(--error) 8%, var(--bg)); }
.review-list h3 { font-size: 15px; line-height: 22px; font-weight: 800; letter-spacing: 0; }
.review-list--pros h3 { color: var(--success); }
.review-list--cons h3 { color: var(--error); }
.review-list ul { margin-top: 10px; list-style: none; display: grid; gap: 8px; }
.review-list li { display: flex; gap: 8px; font-size: 15px; line-height: 22px; font-weight: 500; }
.review-list .icon { width: 18px; height: 18px; margin-top: 2px; }
.review-list--pros .icon { color: var(--success); }
.review-list--cons .icon { color: var(--error); }

.review-specs { padding-top: 16px; border-top: 1px solid var(--line); }
.review-specs summary { font-weight: 800; cursor: pointer; }
.review-specs dl { margin: 12px 0 0; display: grid; }
.review-specs dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.review-specs dt { color: var(--muted); font-weight: 600; }
.review-specs dd { margin: 0; font-weight: 700; }

.offers { padding-top: 20px; border-top: 1px solid var(--line); }
.review > .offers:first-child { border-top: 0; }
.offers-title { font-size: 18px; line-height: 26px; font-weight: 800; }
.offers ul { margin-top: 12px; list-style: none; display: grid; gap: 8px; }
.offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px 16px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.offer:first-child { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet); }
.offer-shop { font-weight: 800; }
.offer-price { display: flex; align-items: baseline; gap: 8px; justify-self: end; }
.offer-price strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.offer-price del { color: var(--muted); font-size: 14px; }
.offer-link { grid-column: 1 / -1; }
.offers-note { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 19px; font-weight: 500; }

@media (min-width: 768px) {
	.review > * { padding-inline: 28px; }
	.review > :last-child { padding-bottom: 28px; }
	.review-head { padding-block: 24px; }
	.review-product { font-size: 26px; line-height: 32px; }
	.review-score { width: 96px; height: 96px; }
	.review-score-value { font-size: 36px; }
	.review-pros-cons { grid-template-columns: 1fr 1fr; }
	.offer { grid-template-columns: minmax(0, 1fr) auto auto; }
	.offer-link { grid-column: auto; }
}

/* Partage */

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-title { margin-right: 8px; font-weight: 800; }
.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px; height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.share-btn .icon { width: 19px; height: 19px; }
.share-btn:hover { background: var(--violet); color: #fff; }
.share--compact .share-btn, .share--rail .share-btn { width: 40px; min-width: 40px; height: 40px; padding: 0; }
.share--compact { gap: 6px; }

.share--bar { padding: 16px 20px; border-radius: var(--radius); background: var(--surface); }
.share--bar .share-btn { background: var(--bg); }
.share--bar .share-btn:hover { background: var(--violet); }

/* Pied d'article */

.article-foot { display: grid; gap: 24px; margin-top: 40px; }
.tags-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tags-title { font-weight: 800; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

.author-box { display: flex; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { border-radius: 50%; flex: none; }
.author-box-kicker { color: var(--link); font-size: 13px; font-weight: 800; }
.author-box-name { margin-top: 2px; font-size: 20px; line-height: 26px; font-weight: 800; letter-spacing: -.01em; }
.author-box-bio { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 23px; }
.author-box-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--link); font-size: 15px; font-weight: 700; }
.author-box-link .icon { width: 18px; height: 18px; }

.page-links { margin-top: 24px; display: flex; gap: 8px; font-weight: 600; }

.related { margin-top: 72px; padding: 48px 0 56px; background: var(--surface); }

.page-article { max-width: 800px; padding-top: 40px; }
.page-article .entry-content { margin-top: 24px; }

/* Commentaires */

.comments-wrap { margin-top: 64px; }
.comments { max-width: 800px; }
.comments > .section-title { position: relative; padding-top: 14px; border-top: 2px solid var(--ink); }
.comments > .section-title::before { content: ""; position: absolute; left: 0; top: -2px; width: 56px; height: 4px; background: var(--violet); }

.comment-list { list-style: none; margin-top: 16px; }
.comment-list .children { list-style: none; padding-left: 20px; border-left: 2px solid var(--tag-bg); }
.comment-body { padding-block: 18px; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin-top: 2px; font-size: 13px; color: var(--muted); }
.comment-metadata a:hover { color: var(--link); }
.comment-content { margin-top: 8px; font-size: 16px; line-height: 26px; }
.comment-content p + p { margin-top: .8em; }
.reply { margin-top: 8px; }
.comment-reply-link { color: var(--link); font-size: 14px; font-weight: 700; }

.comment-respond { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.comment-reply-title { font-size: 21px; line-height: 28px; font-weight: 800; }
.comment-reply-title small { margin-left: 8px; font-size: 14px; font-weight: 600; }
.comment-form { display: grid; gap: 16px; margin-top: 16px; }
.comment-form p { display: grid; gap: 6px; }
.comment-form label { font-size: 14px; font-weight: 700; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.5 var(--font);
}
.comment-form :is(input, textarea):focus { border-color: var(--violet); outline: 0; box-shadow: 0 0 0 1px var(--violet); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 500; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: 14px; }
.comments-closed { margin-top: 16px; color: var(--muted); }

/* En-tête immersif */

.hero-immersive {
	position: relative;
	display: grid;
	min-height: 560px;
	overflow: hidden;
	background: var(--night);
	color: #fff;
}
.hero-immersive-media { position: absolute; inset: 0; }
.hero-immersive-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-immersive-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 15, 26, .96) 0%, rgba(18, 15, 26, .78) 38%, rgba(18, 15, 26, .15) 75%, rgba(18, 15, 26, .35) 100%);
}
.hero-immersive-media figcaption {
	position: absolute;
	right: var(--gutter); top: 16px;
	z-index: 1;
	max-width: 50%;
	color: rgba(255, 255, 255, .7);
	font-size: 12px;
	line-height: 16px;
	text-align: right;
}
.hero-immersive-inner {
	position: relative;
	z-index: 1;
	display: grid;
	align-content: space-between;
	gap: 40px;
	padding-block: 20px 32px;
}
.hero-immersive .breadcrumb ol { color: rgba(255, 255, 255, .75); }
.hero-immersive .breadcrumb li + li::before { color: rgba(255, 255, 255, .4); }
.hero-immersive .breadcrumb a:hover { color: #fff; }
.hero-immersive .article-head { max-width: 860px; }
.hero-immersive .article-title { color: #fff; }
.hero-immersive .article-standfirst { color: #fff; opacity: .88; }
.hero-immersive .article-cat { color: rgba(255, 255, 255, .8); }
.hero-immersive .article-cat:hover { color: #fff; }
.hero-immersive .label { background: var(--violet); color: #fff; }
.hero-immersive .label--partner { background: #f2c37a; color: #33260f; }
.hero-immersive .byline { border-color: rgba(255, 255, 255, .2); }
.hero-immersive .byline-author, .hero-immersive .byline-author a { color: #fff; }
.hero-immersive .byline-meta { color: rgba(255, 255, 255, .75); }
.hero-immersive .byline-avatar img { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--violet); }
.hero-immersive .share-btn { background: rgba(255, 255, 255, .14); color: #fff; }
.hero-immersive .share-btn:hover { background: var(--violet); }
.hero-immersive + .article-layout { margin-top: 32px; }

@media (min-width: 768px) {
	.hero-immersive { min-height: min(82vh, 760px); }
	.hero-immersive-inner { padding-block: 24px 48px; }
	.hero-immersive .article-title { font-size: 56px; line-height: 60px; }
}
@media (min-width: 1024px) {
	.hero-immersive + .article-layout { margin-top: 48px; }
}

/* Page auteur */

.author-hero {
	position: relative;
	overflow: hidden;
	padding: 40px 0 36px;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}
.author-hero-mark {
	position: absolute;
	right: -4%; bottom: -18%;
	width: 46%;
	max-width: 620px;
	color: var(--tag-bg);
	pointer-events: none;
}
[data-theme="dark"] .author-hero-mark { color: var(--line); opacity: .5; }
.author-hero-mark .icon { width: 100%; height: auto; }
.author-hero-inner { position: relative; display: grid; gap: 24px; }
.author-hero-photo img {
	width: 120px; height: 120px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--bg), 0 0 0 7px var(--violet);
}
.author-hero-bio { margin-top: 14px; max-width: 62ch; font-size: 17px; line-height: 28px; }
.author-expertise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; list-style: none; }
.author-expertise li { padding: 4px 12px; border-radius: 999px; background: var(--tag-bg); color: var(--tag-fg); font-size: 13px; font-weight: 700; }
.author-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.author-social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px 8px 12px;
	border-radius: 999px;
	background: var(--bg);
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 14px;
	font-weight: 700;
}
.author-social .icon { width: 18px; height: 18px; }
.author-social a:hover { background: var(--violet); color: #fff; box-shadow: none; }

.author-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.author-stats > div { min-width: 104px; padding: 14px 18px; border-radius: var(--radius); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.author-stats dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.author-stats dd { margin: 2px 0 0; color: var(--link); font-size: 30px; line-height: 34px; font-weight: 800; letter-spacing: -.03em; }

.author-box-job { color: var(--muted); font-size: 14px; font-weight: 600; }

@media (min-width: 768px) {
	.author-hero { padding: 64px 0 56px; }
	.author-hero-inner { grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; }
	.author-hero-photo img { width: 176px; height: 176px; }
	.author-stats { grid-column: 2; }
}
@media (min-width: 1024px) {
	.author-hero-inner { grid-template-columns: auto minmax(0, 1fr) auto; }
	.author-stats { grid-column: auto; flex-direction: column; }
}

/* 404 */

.not-found { display: grid; gap: 32px; padding-block: 48px 64px; }
.nf-code { display: flex; align-items: center; gap: .06em; font-size: 128px; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.nf-zero {
	display: grid;
	place-items: center;
	width: .78em; height: .78em;
	border-radius: .14em;
	background: var(--violet);
	color: #fff;
}
.nf-zero .icon { width: 64%; height: auto; }
.nf-quip { margin-top: 14px; max-width: 46ch; font-size: 20px; line-height: 30px; font-weight: 700; letter-spacing: -.01em; }
.nf-text .page-desc { margin-top: 10px; }
.nf-text .search-form { margin-top: 28px; }
.nf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 24px; }
.nf-links > span { color: var(--muted); font-size: 14px; font-weight: 700; }
.nf-links .subnav { margin: 0; }
.not-found + .related { margin-top: 0; }

@media (min-width: 768px) {
	.nf-code { font-size: 220px; }
}
@media (min-width: 1024px) {
	.not-found { grid-template-columns: auto minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 88px; }
	.nf-code { font-size: 260px; }
}

/* Publicité */

.ad {
	display: grid;
	grid-template-rows: auto 1fr;
	justify-items: center;
	min-height: calc(var(--ad-h-m) + 20px);
	margin-block: 24px;
	overflow: hidden;
}
.ad-label { margin-bottom: 4px; color: var(--muted); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ad-inner { display: grid; place-items: center; width: 100%; }
.ad[style*="--ad-h-m:0px"] { display: none; }

@media (min-width: 768px) {
	.ad { min-height: calc(var(--ad-h) + 20px); }
	.ad[style*="--ad-h-m:0px"] { display: grid; }
	.ad[style*="--ad-h:0px"] { display: none; }
}

.header-ad .ad { margin-block: 16px 0; }
.side .ad { margin-block: 0; }

/* Pied de page */

.site-footer {
	margin-top: 80px;
	padding-top: 56px;
	background: var(--night);
	color: var(--night-text);
}
.site-main:has(> .related:last-child, > .band:last-child) + .site-footer { margin-top: 0; }
.site-footer a:hover { color: #cbbcff; }

.footer-grid { display: grid; gap: 40px; }
.footer-brand .site-logo { color: #fff; }
.footer-tagline { margin-top: 14px; font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -.02em; }
.footer-about { margin-top: 8px; max-width: 42ch; color: var(--night-muted); font-size: 15px; line-height: 23px; }

.footer-title { margin-bottom: 12px; color: var(--night-muted); font-size: 13px; line-height: 20px; font-weight: 800; letter-spacing: 0; }
.footer-menu { list-style: none; display: grid; gap: 2px; }
.footer-menu a { display: inline-block; padding: 6px 0; font-weight: 600; }

.site-footer .social-links { flex-direction: column; align-items: flex-start; gap: 2px; }
.site-footer .social-links--labels a { padding: 6px 0; min-height: 36px; box-shadow: none; }
.site-footer .social-links a .icon { width: 18px; height: 18px; color: var(--night-muted); }
.site-footer .social-links a:hover .icon { color: #cbbcff; }

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 48px;
	padding-block: 20px 28px;
	border-top: 1px solid var(--night-line);
	color: var(--night-muted);
	font-size: 13px;
	font-weight: 500;
}
.legal-menu { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; }

@media (min-width: 768px) {
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
	.footer-brand { grid-column: auto; }
}

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

@media print {
	.topbar, .trending, .site-header, .drawer, .site-footer, .side, .ad, .share, .share-rail, .related, .comments-wrap, .toc { display: none !important; }
	.layout-split, .article-body { display: block; }
	body { color: #000; background: #fff; }
}
