/*
 * Liverpool Xtra — styles
 *
 * 1. Repères (couleurs, typo, espacements)
 * 2. Bases
 * 3. Bandeau et navigation
 * 4. Menu mobile et recherche
 * 5. Éléments communs
 * 6. Accueil
 * 7. Mercato
 * 8. Effectif et fiche joueur
 * 9. Article
 * 10. Commentaires
 * 11. Newsletter et pied de page
 * 12. Archives, pagination, états vides
 */

/* 1. Repères ------------------------------------------------------------ */

:root {
	--accent: #c8102e;           /* rouge Anfield, modifiable dans le Personnalisateur */
	--accent-deep: color-mix(in srgb, var(--accent) 74%, #000);
	--accent-ink: var(--accent); /* rouge utilisé pour du texte */
	--accent-ring: color-mix(in srgb, var(--accent) 28%, transparent);
	--teal: #00877e;
	--yellow: #f6eb61;

	--paper: #ffffff;
	--paper-2: #f4f5f7;
	--paper-3: #e7e9ec;
	--ink: #16181d;
	--ink-2: #464a53;
	--ink-3: #6b707a;
	--rule: #dfe2e6;
	--rule-strong: #c2c6cc;
	--ok: #15803d;
	--warn: #a15c07;
	--bad: #b91c1c;

	--font-display: "Archivo", "Arial Narrow", sans-serif;
	--font-ui: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Source Serif 4", Georgia, serif;

	--max-w: 1280px;
	--read-w: 700px;
	--gutter: 20px;
	--radius: 4px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--masthead-h: 96px;
	--nav-h: 52px;
	--sticky-top: 0px;

	color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

:root[data-theme="dark"] {
	--accent-ink: color-mix(in srgb, var(--accent) 60%, #fff);
	--teal: #2dd4bf;
	--paper: #121418;
	--paper-2: #1a1d22;
	--paper-3: #262a31;
	--ink: #eceef1;
	--ink-2: #b6bbc4;
	--ink-3: #8d939d;
	--rule: #2b3037;
	--rule-strong: #3d434c;
	--ok: #4ade80;
	--warn: #facc15;
	--bad: #f87171;
	color-scheme: dark;
}

.admin-bar { --sticky-top: 32px; }
@media (max-width: 782px) { .admin-bar { --sticky-top: 46px; } }
@media (max-width: 600px) { .admin-bar { --sticky-top: 0px; } }

/* 2. Bases -------------------------------------------------------------- */

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

html {
	background: var(--paper);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--sticky-top) + var(--nav-h) + 16px);
}

body {
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

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

.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 1000;
	padding: 12px 18px;
	background: var(--ink); color: var(--paper);
	font-weight: 700;
}

.container {
	width: 100%;
	max-width: var(--max-w);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.img-fallback {
	display: block;
	width: 100%; height: 100%;
	background: var(--paper-3);
}

/* 3. Bandeau et navigation --------------------------------------------- */

.masthead {
	position: relative;
	z-index: 60;
	background: var(--accent);
	color: #fff;
}

.masthead__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--masthead-h);
}

.masthead__start { display: flex; align-items: center; gap: 8px; min-width: 0; }
.masthead__menu { display: none; }
.masthead__date { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.masthead__actions { justify-self: end; display: flex; gap: 2px; }

.brand { line-height: 0; }

.wordmark {
	display: inline-block;
	font-family: var(--font-display);
	font-stretch: 62%;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .005em;
	line-height: .9;
	white-space: nowrap;
}

.masthead .wordmark { font-size: clamp(46px, 5.6vw, 72px); color: #fff; }
.masthead .custom-logo { max-height: 64px; width: auto; }

.icon-btn {
	width: 42px; height: 42px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	transition: background-color .15s;
}
.masthead .icon-btn:hover { background: rgba(255, 255, 255, .16); }
.masthead :focus-visible { outline-color: #fff; }

.theme-ico--light { display: none; }
:root[data-theme="dark"] .theme-ico--dark { display: none; }
:root[data-theme="dark"] .theme-ico--light { display: block; }

.primary-nav {
	position: sticky;
	top: var(--sticky-top);
	z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
	transition: box-shadow .2s;
}
.primary-nav.is-stuck { box-shadow: 0 6px 18px rgba(0, 0, 0, .07); }

.primary-nav__inner { display: flex; align-items: stretch; gap: 28px; height: var(--nav-h); }

.primary-nav .brand { display: none; align-items: center; }
.primary-nav.is-stuck .brand { display: flex; }
.primary-nav .wordmark { font-size: 26px; color: var(--accent-ink); }

.primary-nav__menu {
	display: flex;
	gap: 4px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.primary-nav__menu::-webkit-scrollbar { display: none; }
.primary-nav__menu li { display: flex; }

.primary-nav__menu a {
	display: flex; align-items: center;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-2);
	white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent;
	transition: color .15s, box-shadow .15s;
}
.primary-nav__menu li:first-child a { padding-left: 0; }
.primary-nav__menu a:hover { color: var(--ink); }
.primary-nav__menu .current-menu-item > a,
.primary-nav__menu .current-menu-ancestor > a,
.primary-nav__menu .current-cat > a,
.primary-nav__menu a[aria-current="page"] {
	color: var(--ink);
	box-shadow: inset 0 -3px 0 var(--accent);
}

@media (max-width: 899px) {
	:root { --masthead-h: 60px; }
	html { scroll-padding-top: calc(var(--sticky-top) + var(--masthead-h) + 16px); }
	.masthead { position: sticky; top: var(--sticky-top); }
	.masthead__date { display: none; }
	.masthead__menu { display: inline-flex; margin-left: -10px; }
	.masthead__actions { margin-right: -10px; }
	.masthead .wordmark { font-size: 34px; }
	.masthead .custom-logo { max-height: 40px; }
	.primary-nav { display: none; }
}

.scroll-progress {
	position: fixed;
	left: 0; width: 100%; height: 3px;
	top: calc(var(--sticky-top) + var(--nav-h));
	z-index: 55;
	background: var(--accent);
	transform-origin: 0 50%;
	transform: scaleX(var(--progress, 0));
}
@media (max-width: 899px) {
	.scroll-progress { top: calc(var(--sticky-top) + var(--masthead-h)); background: var(--ink); z-index: 65; }
}

/* 4. Menu mobile et recherche ------------------------------------------ */

.drawer,
.search-overlay {
	position: fixed;
	inset: 0;
	visibility: hidden;
	transition: visibility 0s .3s;
}
.drawer { z-index: 200; }
.search-overlay { z-index: 210; }
.drawer.is-open,
.search-overlay.is-open { visibility: visible; transition: none; }

.drawer__backdrop,
.search-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 15, .55);
	opacity: 0;
	transition: opacity .3s var(--ease);
}
.is-open > .drawer__backdrop,
.is-open > .search-overlay__backdrop { opacity: 1; }

.drawer__panel {
	position: absolute;
	inset: 0 auto 0 0;
	width: min(380px, 88vw);
	display: flex; flex-direction: column;
	background: var(--paper);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(-100%);
	transition: transform .3s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 60px;
	padding: 0 8px 0 20px;
	background: var(--accent);
	color: #fff;
}
.drawer__head .wordmark { font-size: 30px; }

.drawer__nav { flex: 1; padding: 8px 20px; }

.drawer__menu a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule);
	font-family: var(--font-display);
	font-stretch: 72%;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.05;
}
.drawer__menu a:hover,
.drawer__menu .current-menu-item > a { color: var(--accent-ink); }

.drawer__foot { display: grid; gap: 16px; padding: 20px; border-top: 1px solid var(--rule); }
.drawer__foot .socials { margin-top: 0; }

.search-overlay { display: flex; justify-content: center; align-items: flex-start; padding: max(10vh, 24px) 16px 16px; }

.search-overlay__panel {
	position: relative;
	width: 100%;
	max-width: 680px;
	padding: 20px;
	background: var(--paper);
	border-top: 4px solid var(--accent);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	opacity: 0;
	transform: translateY(-12px);
	transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.search-overlay.is-open .search-overlay__panel { opacity: 1; transform: none; }

.search-overlay__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.search-overlay__title { font-family: var(--font-display); font-stretch: 72%; font-size: 30px; font-weight: 800; line-height: 1; }

.search-form { display: flex; gap: 8px; }
.search-form__field {
	flex: 1;
	min-width: 0;
	height: 50px;
	padding: 0 16px;
	font-size: 17px;
	background: var(--paper-2);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.search-form__field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.search-form__submit {
	height: 50px;
	padding: 0 20px;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	transition: background-color .15s;
}
.search-form__submit:hover { background: var(--accent-deep); }

@media (max-width: 480px) {
	.search-form { flex-direction: column; }
}

/* 5. Éléments communs --------------------------------------------------- */

.kicker {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--accent-ink);
}
a.kicker:hover { text-decoration: underline; text-underline-offset: 3px; }

.meta { font-size: 14px; color: var(--ink-3); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 700;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.text-link { font-size: 15px; font-weight: 700; color: var(--accent-ink); white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.block { margin-top: clamp(48px, 6vw, 72px); }

.block-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
	padding-top: 12px;
	border-top: 3px solid var(--ink);
}
.block-head__title {
	font-family: var(--font-display);
	font-stretch: 72%;
	font-size: clamp(30px, 3.2vw, 42px);
	font-weight: 800;
	line-height: 1;
}

/* Vignettes */
.tiles {
	display: grid;
	gap: 36px 28px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.tiles--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.tile__link { display: flex; flex-direction: column; height: 100%; }
.tile__media {
	aspect-ratio: 3 / 2;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-3);
}
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__title {
	margin-top: 4px;
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.06;
	text-wrap: balance;
}
.tiles--4 .tile__title { font-size: 21px; }
.tile__link:hover .tile__title { color: var(--accent-ink); }
.tile__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 8px;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink-2);
}
.tile__meta { margin-top: 10px; }

/* Lignes compactes */
.row { border-bottom: 1px solid var(--rule); }
.row__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 104px;
	gap: 16px;
	align-items: start;
	padding: 16px 0;
}
.row__media { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.row__media img { width: 100%; height: 100%; object-fit: cover; }
.row__title {
	margin-top: 4px;
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.08;
	text-wrap: balance;
}
.row__link:hover .row__title { color: var(--accent-ink); }
.row .meta { display: block; margin-top: 8px; font-size: 13px; }

/* Article principal */
.lead__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--paper-3);
}
.lead__media img { width: 100%; height: 100%; object-fit: cover; }
.lead__body { padding-top: 16px; }
.lead__title {
	margin-top: 6px;
	font-family: var(--font-display);
	font-stretch: 66%;
	font-size: clamp(38px, 5.2vw, 72px);
	font-weight: 900;
	line-height: .94;
	letter-spacing: -.005em;
	text-wrap: balance;
}
.lead__link:hover .lead__title {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 4px;
	text-underline-offset: 8px;
}
.lead__excerpt {
	max-width: 62ch;
	margin-top: 14px;
	font-family: var(--font-body);
	font-size: 19px;
	line-height: 1.5;
	color: var(--ink-2);
}
.lead__meta { margin-top: 12px; }

.lead--wide .lead__link { display: grid; gap: 20px; }
.lead--wide .lead__title { font-size: clamp(34px, 4.2vw, 56px); }
@media (min-width: 860px) {
	.lead--wide .lead__link { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
	.lead--wide .lead__body { padding-top: 0; }
}

/* Réseaux */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--rule-strong);
	border-radius: 50%;
	color: var(--ink-2);
	transition: color .15s, border-color .15s;
}
.socials a:hover { color: var(--ink); border-color: var(--ink); }

/* Fil d'Ariane */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 14px; color: var(--ink-3); }
.breadcrumb a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb__sep { color: var(--rule-strong); }

/* 6. Accueil ------------------------------------------------------------ */

.home-top { display: grid; gap: 24px; padding-top: 28px; }
.home-top__side { display: flex; flex-direction: column; }
.home-top__side .row:first-child .row__link { padding-top: 0; }

@media (min-width: 960px) {
	.home-top {
		grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
		gap: 40px;
		padding-top: 36px;
	}
	.home-top__side { padding-left: 28px; border-left: 1px solid var(--rule); }
}

.home-split { display: grid; gap: 40px; }
@media (min-width: 960px) {
	.home-split { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; }
	.home-split > .newsletter { margin-top: 15px; }
}
@media (min-width: 700px) {
	.rows-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* 7. Mercato ------------------------------------------------------------ */

.transfers { border-top: 1px solid var(--rule); }
.transfer { border-bottom: 1px solid var(--rule); }

.transfer__link {
	display: grid;
	grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr) auto;
	align-items: center;
	gap: 20px;
	padding: 16px 8px;
	transition: background-color .15s;
}
.transfer__link:hover { background: var(--paper-2); }

.transfer__photo {
	width: 56px; height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--paper-3);
}
.transfer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.transfer__name {
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.05;
}
.transfer__link:hover .transfer__name { color: var(--accent-ink); }
.transfer__dir { margin-top: 3px; font-size: 13px; color: var(--ink-3); }

.transfer__move { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 600; }
.transfer__move span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transfer__move .icon { flex: none; color: var(--accent-ink); }
.transfer__fee { margin-top: 3px; font-size: 14px; color: var(--ink-3); }

.transfer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

@media (max-width: 760px) {
	.transfer__link { grid-template-columns: 48px minmax(0, 1fr); gap: 10px 14px; padding: 14px 0; }
	.transfer__photo { width: 48px; height: 48px; grid-row: span 2; align-self: start; }
	.transfer__deal { grid-column: 2; }
	.transfer__side { grid-column: 2; flex-direction: row; align-items: center; }
	.transfer__link:hover { background: none; }
}

.status {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--paper-3);
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--discussions { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.status--accord,
.status--medicale { color: var(--teal); background: color-mix(in srgb, var(--teal) 13%, transparent); }
.status--officiel { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.status--dementi { color: var(--bad); background: color-mix(in srgb, var(--bad) 11%, transparent); }

/* Barres de fiabilité, façon signal réseau */
.reliability { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; vertical-align: middle; }
.reliability__bar { width: 5px; border-radius: 1px; background: var(--rule-strong); }
.reliability__bar:nth-child(1) { height: 6px; }
.reliability__bar:nth-child(2) { height: 9px; }
.reliability__bar:nth-child(3) { height: 12px; }
.reliability__bar:nth-child(4) { height: 15px; }
.reliability__bar:nth-child(5) { height: 18px; }
.reliability__bar.is-on { background: var(--accent); }

.filters {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	padding-bottom: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
	flex: none;
	display: inline-flex; align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--rule-strong);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-2);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Encadré en haut d'une piste */
.deal {
	display: grid;
	gap: 14px;
	margin: 24px 0;
	padding: 20px 22px;
	background: var(--paper-2);
	border-left: 4px solid var(--accent);
}
.deal__move {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
}
.deal__move .icon { color: var(--accent-ink); }
.deal__facts { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.deal__facts dt { font-size: 13px; color: var(--ink-3); }
.deal__facts dd { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 700; }
.deal__facts a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* 8. Effectif et fiche joueur ------------------------------------------ */

.squad-group + .squad-group { margin-top: 56px; }
.squad-group__title {
	display: flex; align-items: baseline; gap: 12px;
	margin-bottom: 24px;
	padding-top: 12px;
	border-top: 3px solid var(--ink);
	font-family: var(--font-display);
	font-stretch: 72%;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	line-height: 1;
}
.squad-group__count { font-family: var(--font-ui); font-stretch: 100%; font-size: 14px; font-weight: 500; color: var(--ink-3); }

.squad { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .squad { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .squad { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.player__link { display: block; }
.player__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--accent);
}
.player__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.player__number {
	position: absolute;
	top: 8px; left: 12px;
	font-family: var(--font-display);
	font-stretch: 62%;
	font-size: clamp(48px, 6vw, 72px);
	font-weight: 900;
	line-height: 1;
	color: #fff;
	text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.player__name {
	margin-top: 12px;
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 23px;
	font-weight: 800;
	line-height: 1.04;
}
.player__link:hover .player__name { color: var(--accent-ink); }
.player__pos { margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.player__alert { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--bad); }
.player__stats {
	display: flex; flex-wrap: wrap; gap: 4px 16px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--rule);
	font-size: 13px;
	color: var(--ink-3);
}
.player__stats strong {
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 20px;
	font-weight: 800;
	color: var(--ink);
}

.profile { display: grid; gap: 28px; padding-top: 32px; }
@media (min-width: 820px) {
	.profile { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 56px; align-items: end; }
}
.profile__media {
	position: relative;
	max-width: 360px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--accent);
}
.profile__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile__number {
	position: absolute;
	top: 10px; left: 16px;
	font-family: var(--font-display);
	font-stretch: 62%;
	font-size: 120px;
	font-weight: 900;
	line-height: 1;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.profile__name {
	margin-top: 4px;
	font-family: var(--font-display);
	font-stretch: 62%;
	font-size: clamp(56px, 8.5vw, 120px);
	font-weight: 900;
	line-height: .86;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.profile .player__alert { margin-top: 14px; font-size: 16px; }
.profile__facts { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: 22px; }
.profile__facts dt { font-size: 13px; color: var(--ink-3); }
.profile__facts dd { font-size: 17px; font-weight: 700; }

.statline__caption { margin-top: 32px; font-size: 14px; color: var(--ink-3); }
.statline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	margin-top: 8px;
	border-top: 3px solid var(--ink);
}
.statline__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
.statline__value {
	font-family: var(--font-display);
	font-stretch: 66%;
	font-size: clamp(44px, 5vw, 64px);
	font-weight: 900;
	line-height: 1;
}
.statline__label { margin-top: 4px; font-size: 14px; color: var(--ink-3); }

.profile__bio { max-width: var(--read-w); margin-top: 48px; }

/* 9. Article ------------------------------------------------------------ */

.article-head { max-width: 900px; padding-top: clamp(28px, 4vw, 48px); }
.article-title {
	margin-top: 8px;
	font-family: var(--font-display);
	font-stretch: 70%;
	font-size: clamp(40px, 5.6vw, 68px);
	font-weight: 800;
	line-height: .97;
	letter-spacing: -.005em;
	text-wrap: balance;
}
.article-lede {
	max-width: 62ch;
	margin-top: 16px;
	font-family: var(--font-body);
	font-size: clamp(19px, 2vw, 22px);
	line-height: 1.5;
	color: var(--ink-2);
}
.article-meta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 16px;
	max-width: var(--read-w);
	margin-top: 24px;
	padding: 14px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}
.byline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.byline img { border-radius: 50%; }
.byline__name { display: block; font-size: 15px; font-weight: 700; }
.byline__name:hover { color: var(--accent-ink); }
.byline__time { display: block; font-size: 14px; color: var(--ink-3); }

.share { display: flex; gap: 6px; }
.share__btn {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--rule-strong);
	border-radius: 50%;
	color: var(--ink-2);
	transition: color .15s, border-color .15s, background-color .15s;
}
.share__btn:hover { color: var(--ink); border-color: var(--ink); }
.share__btn.is-done { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.article-layout { display: grid; gap: 56px; padding-top: 28px; }
@media (min-width: 1080px) {
	.article-layout { grid-template-columns: minmax(0, var(--read-w)) 300px; justify-content: space-between; }
}
.article-main { min-width: 0; }

.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.article-figure + .entry-content { margin-top: 28px; }

.entry-content {
	font-family: var(--font-body);
	font-size: 19px;
	line-height: 1.72;
	overflow-wrap: break-word;
}
.entry-content > * + * { margin-top: 1.15em; }
.entry-content h2 {
	margin-top: 1.7em;
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.06;
}
.entry-content h3 {
	margin-top: 1.5em;
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.1;
}
.entry-content h2 + *, .entry-content h3 + * { margin-top: .6em; }
.entry-content a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content ul { list-style: disc; padding-left: 1.25em; }
.entry-content ol { list-style: decimal; padding-left: 1.25em; }
.entry-content li + li { margin-top: .35em; }
.entry-content li::marker { color: var(--accent-ink); }
.entry-content strong { font-weight: 700; }
.entry-content blockquote,
.entry-content .wp-block-pullquote blockquote {
	padding-left: 22px;
	border-left: 4px solid var(--accent);
	font-size: 22px;
	font-style: italic;
	line-height: 1.45;
}
.entry-content .wp-block-pullquote { padding: 0; border: 0; text-align: left; }
.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--font-ui);
	font-size: 14px;
	font-style: normal;
	color: var(--ink-3);
}
.entry-content img { border-radius: var(--radius); }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: 8px; font-family: var(--font-ui); font-size: 13px; color: var(--ink-3); }
.entry-content hr { border: 0; border-top: 1px solid var(--rule); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; line-height: 1.45; }
.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.entry-content th { background: var(--paper-2); font-weight: 700; }
.entry-content .wp-block-embed__wrapper { display: flex; justify-content: center; }
.entry-content iframe { width: 100%; }
.entry-content .twitter-tweet,
.entry-content .instagram-media { margin-inline: auto !important; }

.updated-note { margin-top: 28px; font-size: 14px; color: var(--ink-3); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tags a {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--rule-strong);
	border-radius: 999px;
	font-size: 14px;
	color: var(--ink-2);
}
.tags a:hover { border-color: var(--ink); color: var(--ink); }

.sidebar { display: none; }
@media (min-width: 1080px) {
	.sidebar {
		position: sticky;
		top: calc(var(--sticky-top) + var(--nav-h) + 24px);
		align-self: start;
		display: flex;
		flex-direction: column;
		gap: 36px;
	}
}
.side-block__title {
	padding-top: 10px;
	border-top: 3px solid var(--ink);
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.1;
}
.sidebar .row__link { grid-template-columns: minmax(0, 1fr) 72px; gap: 12px; padding: 12px 0; }
.sidebar .row__title { font-size: 18px; }
.sidebar .row:last-child { border-bottom: 0; }

.page-content { max-width: var(--read-w); }

/* 10. Commentaires ------------------------------------------------------ */

.comments { margin-top: 56px; padding-top: 12px; border-top: 3px solid var(--ink); }
.comments__title,
.comment-reply-title {
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-stretch: 76%;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
}
.comment-reply-title small { margin-left: 8px; font-family: var(--font-ui); font-stretch: 100%; font-size: 14px; font-weight: 600; }

.comment-list .comment,
.comment-list .pingback { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.comment-list .children { margin-top: 12px; margin-left: 12px; padding-left: 16px; border-left: 2px solid var(--rule); }
.comment-list .children .comment { border-bottom: 0; padding-bottom: 0; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 8px; font-size: 13px; color: var(--ink-3); }
.comment-metadata a:hover { text-decoration: underline; }
.comment-awaiting-moderation { font-size: 14px; color: var(--warn); }
.comment-content { font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
.comment-content p + p { margin-top: .8em; }
.reply { margin-top: 8px; }
.comment-reply-link { font-size: 14px; font-weight: 700; color: var(--accent-ink); }

.comment-respond { margin-top: 28px; }
.comment-notes,
.logged-in-as { font-size: 14px; color: var(--ink-3); }
.comment-form { display: grid; gap: 14px; margin-top: 12px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--paper-2);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.comment-form-cookies-consent label { margin: 0; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.form-submit { margin-top: 4px; }

/* 11. Newsletter et pied de page --------------------------------------- */

.newsletter {
	padding: 28px;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
}
.newsletter__title {
	font-family: var(--font-display);
	font-stretch: 66%;
	font-size: 36px;
	font-weight: 900;
	line-height: .95;
	text-wrap: balance;
}
.newsletter__copy { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.newsletter__form { display: grid; gap: 10px; margin-top: 18px; }
.newsletter__input {
	height: 48px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--radius);
	background: #fff;
	color: #16181d;
}
.newsletter__btn {
	height: 48px;
	border-radius: var(--radius);
	background: #16181d;
	color: #fff;
	font-weight: 700;
	transition: background-color .15s;
}
.newsletter__btn:hover { background: #000; }
.newsletter__note { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.newsletter :focus-visible,
.newsletter__input:focus { outline: 3px solid var(--yellow); outline-offset: 1px; }
.newsletter__embed { margin-top: 16px; }

.site-footer {
	margin-top: clamp(64px, 8vw, 104px);
	background: var(--paper-2);
	border-top: 1px solid var(--rule);
}
.footer__top { display: grid; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .wordmark { font-size: 44px; color: var(--accent-ink); }
.footer__desc { max-width: 36ch; margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.footer__heading { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.footer__links { display: grid; gap: 8px; }
.footer__links a { font-size: 15px; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	padding-top: 18px;
	padding-bottom: 28px;
	border-top: 1px solid var(--rule);
	font-size: 13px;
	color: var(--ink-3);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal a:hover { color: var(--ink); text-decoration: underline; }

/* 12. Archives, pagination, états vides -------------------------------- */

.page-head { padding-top: clamp(32px, 5vw, 56px); }
.page-head__title {
	font-family: var(--font-display);
	font-stretch: 64%;
	font-size: clamp(52px, 7.5vw, 104px);
	font-weight: 900;
	line-height: .9;
	letter-spacing: -.01em;
	text-wrap: balance;
}
.page-head--page .page-head__title { font-size: clamp(42px, 5.5vw, 72px); }
.page-head--page { margin-bottom: 28px; }
.page-head__desc { max-width: 60ch; margin-top: 14px; font-family: var(--font-body); font-size: 18px; color: var(--ink-2); }
.page-head__search { max-width: 560px; margin-top: 20px; }
.page-body { padding-top: 36px; }

.archive-lead { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers {
	min-width: 42px; height: 42px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0 14px;
	border: 1px solid var(--rule-strong);
	border-radius: var(--radius);
	font-size: 15px;
	font-weight: 700;
}
a.page-numbers:hover { border-color: var(--ink); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-numbers.dots { border-color: transparent; }

.empty { max-width: 620px; padding: 48px 0; }
.empty__title {
	font-family: var(--font-display);
	font-stretch: 66%;
	font-size: clamp(40px, 5.5vw, 64px);
	font-weight: 900;
	line-height: .94;
	text-wrap: balance;
}
.empty p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.empty .search-form,
.empty .btn { margin-top: 24px; }
.empty--404 .empty__title { font-size: clamp(52px, 8vw, 104px); }
.empty__back { margin-top: 20px; }

/* Mouvements réduits ---------------------------------------------------- */

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