/* ==========================================================================
   CHR Rugby – feuille de style principale
   Charte : bleu foncé #0b0f49 · jaune #ebc72d · rouge #c20800 · noir · blanc
   Polices : Anton (titres, en-tête en italique) · DM Serif Display italique
   (sous-titres, citations) · Lovelo (majuscules) · League Spartan (texte)
   ========================================================================== */

:root {
	--navy: #0b0f49;
	--navy-2: #161c6e;
	--yellow: #ebc72d;
	--red: #c20800;
	--black: #000;
	--white: #fff;
	--grey: #f3f3f6;
	--line: #dfe0ea;
	--text: #161833;
	--muted: #5d6080;

	--font-title: "Anton", Impact, "Arial Narrow", sans-serif;
	--font-serif: "DM Serif Display", Georgia, serif;
	--font-caps: "Lovelo", "League Spartan", system-ui, sans-serif;
	--font-body: "League Spartan", system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 28px);
	--radius: 4px;
	--header-h: 104px;
	--shadow: 0 10px 30px rgba(11, 15, 73, .12);
}

/* --- Base --------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--font-title);
	font-weight: 400;
	line-height: 1.1;
	color: var(--navy);
	letter-spacing: .01em;
	text-transform: uppercase;
	margin: 0 0 .5em;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 1000;
	padding: 12px 18px;
	background: var(--yellow); color: var(--navy);
	font-weight: 700;
}

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* --- Boutons, puces ----------------------------------------------------- */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .8em 1.5em .7em;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font-family: var(--font-caps);
	font-size: .9rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.btn .icon { width: 1em; height: 1em; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--white); color: var(--navy); }
.btn--navy, .wp-block-button__link { background: var(--navy); color: var(--white); }
.btn--navy:hover, .wp-block-button__link:hover { background: var(--red); color: var(--white); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--yellow); color: var(--navy); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border-color: var(--navy); }

.chip {
	display: inline-block;
	padding: .3em .7em .2em;
	background: var(--yellow);
	color: var(--navy);
	font-family: var(--font-caps);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* Barre tricolore (rouge / noir / jaune) reprise du bandeau de pied de page de la charte */
.tri-bar {
	display: block;
	width: 72px; height: 6px;
	background: linear-gradient(90deg, var(--red) 0 50%, var(--black) 50% 62%, var(--yellow) 62%);
}

/* Titre de section façon « » Classement » */
.section-title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.section-title__text {
	position: relative;
	margin: 0;
	padding-bottom: .55rem;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-style: italic;
}
.section-title__text::before { content: "» "; color: var(--red); font-style: normal; }
.section-title__text::after {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 64px; height: 5px;
	background: linear-gradient(90deg, var(--red) 0 70%, var(--yellow) 70%);
}
.section-title__more {
	display: inline-flex; align-items: center; gap: .35em;
	padding-bottom: .55rem;
	font-family: var(--font-caps);
	font-size: .78rem; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--navy); text-decoration: none; white-space: nowrap;
}
.section-title__more:hover { color: var(--red); }
.section-title__more .icon { width: 1em; height: 1em; }

.admin-hint {
	margin: .75rem 0;
	padding: .6rem .9rem;
	border: 2px dashed var(--yellow);
	background: #fffbe8;
	color: var(--text);
	font-size: .9rem;
}
.empty-state { color: var(--muted); font-style: italic; }

/* --- En-tête ------------------------------------------------------------ */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--white);
	transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(11, 15, 73, .12); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: var(--header-h);
}

.site-brand {
	display: flex; align-items: center; gap: .75rem;
	text-decoration: none; color: var(--navy);
	flex: none;
}
.site-brand__logo { width: auto; height: 84px; transition: height .25s; }
.is-scrolled .site-brand__logo { height: 64px; }
.site-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.site-brand__name {
	max-width: 9.5em;
	font-family: var(--font-title);
	font-size: 1.05rem;
	font-style: italic;
	text-transform: uppercase;
}
.site-brand__short { display: none; }

.site-nav { margin-left: auto; }

.menu, .menu ul { list-style: none; margin: 0; padding: 0; }

.menu--primary { display: flex; align-items: stretch; gap: clamp(.9rem, 2.2vw, 2.4rem); }
.menu--primary > li { position: relative; display: flex; align-items: center; }
.menu--primary > li > a {
	position: relative;
	display: block;
	padding: 1.9rem 0 1.4rem;
	font-family: var(--font-title);
	font-size: 1.2rem;
	font-style: italic;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--navy);
	text-decoration: none;
	white-space: nowrap;
}
/* Barre sous chaque entrée, comme sur le site de Dax */
.menu--primary > li > a::after {
	content: "";
	position: absolute; left: 0; bottom: .85rem;
	width: 48px; height: 6px;
	background: var(--red);
	transition: width .25s, background-color .25s;
}
.menu--primary > li:hover > a::after,
.menu--primary > li:focus-within > a::after,
.menu--primary > li.current-menu-item > a::after,
.menu--primary > li.current-menu-ancestor > a::after,
.menu--primary > li.current-page-ancestor > a::after { width: 100%; }

/* Entrée mise en avant (Inscriptions), l'équivalent de « Billetterie » chez Dax */
.menu--primary > li.menu-highlight > a { color: var(--red); }
.menu--primary > li.menu-highlight > a::after { background: var(--yellow); }

.menu--primary .sub-menu {
	position: absolute; top: 100%; left: -1rem;
	min-width: 240px;
	padding: .5rem 0;
	background: var(--white);
	box-shadow: var(--shadow);
	border-top: 4px solid var(--navy);
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.menu--primary > li:hover > .sub-menu,
.menu--primary > li:focus-within > .sub-menu,
.menu--primary > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu--primary .sub-menu a {
	display: block;
	padding: .65rem 1.25rem;
	border-left: 4px solid transparent;
	font-family: var(--font-caps);
	font-size: .82rem; font-weight: 800;
	letter-spacing: .08em; text-transform: uppercase;
	color: #5a5c70;
	text-decoration: none;
}
.menu--primary .sub-menu a:hover,
.menu--primary .sub-menu .current-menu-item > a { background: var(--grey); color: var(--navy); border-left-color: var(--red); }

.submenu-toggle { display: none; }
.nav-toggle { display: none; }

/* Barre de réseaux sociaux fixe à droite (desktop) */
.social-rail {
	position: fixed; right: 14px; top: 50%; z-index: 90;
	transform: translateY(-50%);
	display: flex; flex-direction: column; gap: 10px;
	list-style: none; margin: 0; padding: 0;
}
.social-rail a {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border: 2px solid var(--navy); border-radius: 50%;
	background: var(--white); color: var(--navy);
	transition: background-color .2s, color .2s;
}
.social-rail a:hover { background: var(--navy); color: var(--yellow); }
.social-rail .icon { width: 18px; height: 18px; }

/* --- Navigation mobile -------------------------------------------------- */

@media (max-width: 1180px) {
	:root { --header-h: 76px; }
	.site-brand__logo, .is-scrolled .site-brand__logo { height: 58px; }

	.nav-toggle {
		display: grid; place-items: center;
		margin-left: auto;
		width: 48px; height: 48px;
		border: 0; background: var(--navy); color: var(--white);
		border-radius: var(--radius);
		cursor: pointer;
	}
	.nav-toggle__bars,
	.nav-toggle__bars::before,
	.nav-toggle__bars::after {
		display: block; width: 22px; height: 3px;
		background: currentColor;
		transition: transform .25s, opacity .25s;
	}
	.nav-toggle__bars { position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -7px; }
	.nav-toggle__bars::after { top: 7px; }
	.nav-open .nav-toggle__bars { background: transparent; }
	.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0;
		margin: 0;
		overflow-y: auto;
		background: var(--navy);
		padding: 1rem var(--gutter) 3rem;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s, visibility .3s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }

	.menu--primary { flex-direction: column; gap: 0; }
	.menu--primary > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.menu--primary > li > a { flex: 1; padding: 1rem 0; color: var(--white); font-size: 1.5rem; }
	.menu--primary > li > a::after { display: none; }
	.menu--primary > li.menu-highlight > a { color: var(--yellow); }

	.submenu-toggle {
		display: grid; place-items: center;
		width: 48px; height: 48px;
		border: 0; background: transparent; color: var(--yellow);
		cursor: pointer;
	}
	.submenu-toggle::before {
		content: ""; width: 10px; height: 10px;
		border-right: 3px solid currentColor; border-bottom: 3px solid currentColor;
		transform: rotate(45deg) translate(-2px, -2px);
		transition: transform .2s;
	}
	.is-open > .submenu-toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }

	.menu--primary .sub-menu {
		position: static; flex-basis: 100%;
		display: none;
		min-width: 0; padding: 0 0 .75rem;
		background: transparent; box-shadow: none; border: 0;
		opacity: 1; visibility: visible; transform: none;
	}
	.menu--primary > li.is-open > .sub-menu { display: block; }
	.menu--primary .sub-menu a { color: rgba(255, 255, 255, .85); padding-left: 1rem; }
	.menu--primary .sub-menu a:hover,
	.menu--primary .sub-menu .current-menu-item > a { background: rgba(255, 255, 255, .08); color: var(--white); border-left-color: var(--yellow); }

	.social-rail { display: none; }
}

@media (max-width: 560px) {
	.site-brand__name { display: none; }
	.site-brand__short { display: block; font-family: var(--font-title); font-size: 2rem; font-style: italic; color: var(--navy); }
}

/* --- Accueil : diaporama ------------------------------------------------ */

.hero {
	position: relative;
	height: clamp(460px, 72vh, 680px);
	background: var(--navy);
	color: var(--white);
	overflow: hidden;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
	display: flex; align-items: flex-end;
	opacity: 0; visibility: hidden;
	transition: opacity .8s ease, visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: 70% 40%;
}
.hero__bg--pattern {
	background:
		repeating-linear-gradient(115deg, transparent 0 46px, rgba(235, 199, 45, .08) 46px 92px),
		linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero__slide::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(11, 15, 73, .88) 0%, rgba(11, 15, 73, .55) 45%, rgba(11, 15, 73, .05) 80%),
		linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, transparent 45%);
}
.hero__content { position: relative; z-index: 1; padding-bottom: clamp(4.5rem, 9vh, 6rem); }

.hero__brand { margin: 0; color: var(--white); line-height: .9; }
.hero__chr {
	display: block;
	font-size: clamp(6rem, 17vw, 12.5rem);
	color: var(--yellow);
	letter-spacing: .01em;
	text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.hero__baseline {
	display: block;
	margin-top: .5rem;
	font-family: var(--font-caps);
	font-size: clamp(1rem, 2.2vw, 1.55rem);
	font-weight: 800;
	letter-spacing: .06em;
}
.hero__tagline {
	max-width: 34rem;
	margin: 1rem 0 1.6rem;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1.35;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__meta { display: flex; align-items: center; gap: .9rem; margin: 0 0 .8rem; font-family: var(--font-caps); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.hero__title {
	max-width: 15em;
	margin: 0 0 1.4rem;
	color: var(--white);
	font-size: clamp(2rem, 5vw, 3.75rem);
	text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}

.hero__nav {
	position: absolute; left: 0; right: 0; bottom: 1.6rem; z-index: 2;
	display: flex; gap: 10px;
}
.hero__dot {
	width: 46px; height: 6px;
	padding: 0; border: 0;
	background: rgba(255, 255, 255, .45);
	cursor: pointer;
	transition: background-color .2s, width .2s;
}
.hero__dot.is-active { width: 72px; background: var(--yellow); }
.hero__dot:hover { background: var(--white); }

/* --- Accueil : classement / calendrier / partenaire du match ------------ */

.home-matches,
.home-media,
.home-news,
.home-sections,
.home-squad { padding-block: clamp(2.5rem, 5vw, 3.75rem) 0; }

.home-matches {
	display: grid;
	grid-template-columns: minmax(0, 270px) minmax(0, 1fr) minmax(0, 250px);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	align-items: start;
}
.home-matches--no-ranking { grid-template-columns: minmax(0, 1fr) minmax(0, 250px); }

.ranking__title { margin: -.4rem 0 .6rem; font-family: var(--font-serif); font-style: italic; color: var(--muted); font-size: 1rem; }
.ranking__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ranking__table th, .ranking__table td { padding: .45rem .5rem; text-align: left; border-bottom: 1px solid var(--line); }
.ranking__table thead th { font-family: var(--font-caps); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ranking__table tbody th { font-weight: 600; }
.ranking__table td:first-child { width: 2.2em; font-weight: 700; color: var(--muted); }
.ranking__table td:last-child, .ranking__table thead th:last-child { text-align: right; font-weight: 800; }
.ranking__table tr.is-chr { background: var(--navy); }
.ranking__table tr.is-chr th, .ranking__table tr.is-chr td { color: var(--yellow); border-color: var(--navy); }
.ranking__updated { margin: .5rem 0 0; font-size: .8rem; color: var(--muted); }
.ranking:not(.ranking--compact) { max-width: 640px; }

/* Carrousels (matchs, effectif) */
.carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 210px;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 4px 2px 6px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.home-matches__fixtures .carousel__track { grid-auto-columns: minmax(200px, calc((100% - 28px) / 3)); }
.carousel__controls { display: flex; justify-content: center; gap: 10px; margin-top: 1rem; }
.carousel__btn {
	display: grid; place-items: center;
	width: 36px; height: 36px;
	border: 2px solid var(--navy); border-radius: var(--radius);
	background: var(--white); color: var(--navy);
	cursor: pointer;
	transition: background-color .2s, color .2s, opacity .2s;
}
.carousel__btn:hover:not(:disabled) { background: var(--navy); color: var(--yellow); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel__btn .icon { width: 18px; height: 18px; }

/* Carte de match */
.match-card {
	position: relative;
	display: flex; flex-direction: column; align-items: center;
	padding: 1rem .9rem .9rem;
	background: var(--grey);
	border-top: 5px solid var(--navy);
	text-align: center;
}
.match-card--next { background: var(--navy); color: var(--white); border-top-color: var(--yellow); }
.match-card__flag {
	position: absolute; top: -5px; right: 0;
	padding: .25rem .5rem .15rem;
	background: var(--yellow); color: var(--navy);
	font-family: var(--font-caps); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.match-card__date { display: flex; align-items: center; gap: .5rem; color: var(--navy); }
.match-card--next .match-card__date { color: var(--white); }
.match-card__day { font-family: var(--font-title); font-size: 2.6rem; line-height: 1; }
.match-card__month { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--font-caps); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; }
.match-card__time { color: var(--red); }
.match-card--next .match-card__time { color: var(--yellow); }
.match-card__meta { min-height: 2.4em; margin: .5rem 0 .6rem; font-size: .76rem; font-weight: 600; color: var(--muted); line-height: 1.2; }
.match-card--next .match-card__meta { color: rgba(255, 255, 255, .75); }
.match-card__teams { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.match-card__vs { font-family: var(--font-title); color: var(--red); font-size: .95rem; text-transform: uppercase; }
.match-card--next .match-card__vs { color: var(--yellow); }
.match-card__names { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; margin: .45rem 0 0; font-size: .72rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.match-card__names span { overflow: hidden; text-overflow: ellipsis; }
.match-card__score { display: flex; align-items: center; justify-content: center; gap: .3rem; min-height: 2.6rem; margin: .4rem 0; font-family: var(--font-title); font-size: 1.9rem; color: var(--navy); }
.match-card--next .match-card__score { color: var(--white); }
.match-card__dash { color: var(--muted); font-size: 1.2rem; }
.match-card--victoire .match-card__score { color: var(--navy); }
.match-card--defaite .match-card__score { color: var(--red); }
.match-card__upcoming { font-family: var(--font-caps); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.match-card--next .match-card__upcoming { color: var(--yellow); }
.match-card__place { display: flex; align-items: center; gap: .35rem; margin-top: auto; font-size: .74rem; font-weight: 600; color: var(--muted); }
.match-card--next .match-card__place { color: rgba(255, 255, 255, .8); }
.match-card__place .icon { width: 16px; height: 16px; color: var(--red); }
.match-card--next .match-card__place .icon { color: var(--yellow); }
.match-card__link { position: absolute; inset: 0; }

.team-badge { width: 52px; height: 52px; object-fit: contain; }
.team-badge--chr { width: auto; height: 60px; }
.team-badge--initials {
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--white); color: var(--navy);
	border: 2px solid var(--line);
	font-family: var(--font-title); font-size: 1.15rem;
}

/* Partenaire du match */
.partner-spotlight {
	display: grid; place-items: center;
	min-height: 220px;
	padding: 1.25rem;
	background: var(--white);
	border: 2px solid var(--line);
	text-align: center;
}
.partner-spotlight .partner-logo { width: 100%; min-height: 160px; border: 0; }
.partner-spotlight--cta {
	gap: .4rem; align-content: center;
	background: var(--yellow); border-color: var(--yellow);
	color: var(--navy); text-decoration: none;
	font-weight: 600;
}
.partner-spotlight--cta:hover { color: var(--navy); background: #f1d65c; }
.partner-spotlight__title { font-family: var(--font-title); font-size: 1.6rem; text-transform: uppercase; }

/* --- Partenaires -------------------------------------------------------- */

.partner-logo {
	display: grid; place-items: center;
	min-height: 110px;
	padding: .9rem 1.1rem;
	background: var(--white);
	border: 1px solid var(--line);
	text-decoration: none;
	transition: border-color .2s, transform .2s;
}
a.partner-logo:hover { border-color: var(--navy); transform: translateY(-2px); }
.partner-logo img { max-height: 90px; width: auto; object-fit: contain; }
.partner-logo__name { font-family: var(--font-title); font-size: 1.15rem; color: var(--navy); text-transform: uppercase; text-align: center; line-height: 1.15; }

.partners-strip { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 2rem; background: var(--grey); }
.partners-strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.partners-strip__more { margin: 1rem 0 0; text-align: center; }
.partners-strip__more a { font-family: var(--font-caps); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }

.partners__level { margin-top: 2rem; font-size: 1.4rem; }
.partners__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.partners__grid--majeur { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.partners__grid--majeur .partner-logo { min-height: 160px; }

/* --- Accueil : vestiaire + inscriptions --------------------------------- */

.home-media { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--black); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame--placeholder img { width: 100%; height: 100%; object-fit: cover; }
.video-frame__overlay {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: clamp(1rem, 3vw, 2rem);
	background: linear-gradient(0deg, rgba(11, 15, 73, .92) 0%, rgba(11, 15, 73, .2) 70%);
	color: var(--white);
}
.video-frame__overlay p { margin: 0 0 .5rem; }
.video-frame__title { font-family: var(--font-title); font-size: clamp(1.5rem, 3vw, 2.25rem); text-transform: uppercase; color: var(--yellow); }
.video-frame__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem !important; }

.join-card {
	display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
	height: 100%; min-height: 260px;
	padding: clamp(1.4rem, 3vw, 2rem);
	background:
		repeating-linear-gradient(90deg, transparent 0 28px, rgba(194, 8, 0, .1) 28px 44px),
		var(--yellow);
	color: var(--navy);
}
.home-media__join { display: flex; flex-direction: column; }
.home-media__join .join-card { flex: 1; }
.join-card__title { margin: 0 0 .5rem; font-family: var(--font-title); font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; line-height: 1; }
.join-card__text { margin: 0 0 1.25rem; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.35; }
.entry-content .join-card { min-height: 0; margin-block: 2rem; }

/* --- Actualités --------------------------------------------------------- */

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.news-grid--home { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.news-card { background: var(--white); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.news-card__head { flex: 1; padding: .9rem 1rem 1rem; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin: 0 0 .4rem; font-family: var(--font-caps); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.news-card__cat { color: var(--muted); }
.news-card__title { margin: 0; font-size: 1.12rem; line-height: 1.15; color: var(--navy); }
.news-card:hover .news-card__title { color: var(--red); }
.news-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__media img { transform: scale(1.04); }

.media-fallback {
	display: grid; place-items: center;
	width: 100%; height: 100%;
	background:
		repeating-linear-gradient(115deg, transparent 0 30px, rgba(235, 199, 45, .07) 30px 60px),
		var(--navy);
}
.media-fallback img { width: 64px; height: auto; opacity: .9; transform: none !important; object-fit: contain; }

/* --- Accueil : nos équipes ---------------------------------------------- */

.section-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.section-tile {
	position: relative;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 210px;
	padding: 1.4rem 1.3rem;
	overflow: hidden;
	color: var(--white); text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.section-tile::before {
	content: "";
	position: absolute; right: -40px; top: -40px;
	width: 170px; height: 170px;
	border-radius: 50%;
	border: 22px solid rgba(255, 255, 255, .08);
}
.section-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--white); }
.section-tile--navy { background: var(--navy); }
.section-tile--red { background: var(--red); }
.section-tile--black { background: var(--black); }
.section-tile--yellow { background: var(--yellow); color: var(--navy); }
.section-tile--yellow:hover { color: var(--navy); }
.section-tile__title { font-family: var(--font-title); font-size: clamp(1.6rem, 2.4vw, 2.1rem); text-transform: uppercase; line-height: 1; }
.section-tile__text { margin-top: .4rem; font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.25; }
.section-tile__arrow { position: absolute; top: 1.2rem; left: 1.3rem; width: 26px; height: 26px; transition: transform .2s; }
.section-tile:hover .section-tile__arrow { transform: translateX(6px); }

/* --- Effectif ----------------------------------------------------------- */

.home-squad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.home-squad--empty { grid-template-columns: 1fr; }
.home-squad--empty .home-squad__aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.home-squad--empty .home-squad__aside .section-title { grid-column: 1 / -1; }
.home-squad__aside { display: flex; flex-direction: column; gap: 14px; }
.home-squad__aside .section-title { margin-bottom: .2rem; }

.member-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); text-align: center; }
.member-card__head { flex: 1; padding: .75rem .6rem .6rem; }
.member-card__name { margin: 0; font-size: 1.05rem; line-height: 1.1; color: var(--navy); }
.member-card__role { margin: .2rem 0 0; font-size: .78rem; font-weight: 700; color: var(--red); line-height: 1.2; }
.member-card__photo { position: relative; aspect-ratio: 4 / 5; background: var(--navy); overflow: hidden; }
.member-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.member-card__number {
	position: absolute; top: .4rem; left: .5rem;
	font-family: var(--font-title); font-size: 2.6rem; line-height: 1;
	color: var(--yellow);
	text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.member-card--dirigeant .member-card__photo { aspect-ratio: 1; }
.member-card__contact { list-style: none; margin: 0; padding: .7rem .8rem .9rem; font-size: .85rem; text-align: left; }
.member-card__contact li { display: flex; align-items: center; gap: .45rem; overflow-wrap: anywhere; }
.member-card__contact .icon { width: 16px; height: 16px; color: var(--red); }

.squad { margin-block: 2rem; }
.squad__title, .org__title, .fixtures__month { font-size: 1.4rem; padding-bottom: .4rem; border-bottom: 3px solid var(--navy); }
.squad__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }

.org__level { margin-block: 2rem; }
.org__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.org__level--top .org__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); justify-content: center; }
.org__level--top .org__title { text-align: center; border: 0; }
.org__level--top .member-card { border: 3px solid var(--yellow); }

/* Supporters & Instagram */
.supporters-card {
	position: relative;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 210px;
	padding: 1.3rem;
	overflow: hidden;
	background: var(--white);
	border: 3px solid var(--navy);
	color: var(--navy); text-decoration: none;
}
.supporters-card__stripes {
	position: absolute; inset: 0 0 auto 0; height: 92px;
	background: repeating-linear-gradient(180deg, var(--navy) 0 12px, var(--white) 12px 24px);
	opacity: .95;
}
.supporters-card__title { position: relative; font-family: var(--font-title); font-size: 2rem; text-transform: uppercase; line-height: 1; }
.supporters-card__text { position: relative; margin-top: .4rem; font-family: var(--font-serif); font-style: italic; line-height: 1.3; }
.supporters-card:hover { color: var(--red); }

.insta-card {
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 1.3rem;
	background: linear-gradient(135deg, var(--navy) 0%, #3b1f6b 55%, var(--red) 100%);
	color: var(--white);
}
.insta-card__icon { width: 34px; height: 34px; color: var(--yellow); }
.insta-card__title { margin: .6rem 0 .2rem; font-family: var(--font-title); font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }
.insta-card__text { margin: 0 0 1rem; font-size: .95rem; }
.entry-content .insta-card { margin-block: 2rem; max-width: 520px; }

/* --- Calendrier (pages) ------------------------------------------------- */

.fixtures__month { margin-top: 2.2rem; text-transform: capitalize; }
.fixtures__list { list-style: none; margin: 0; padding: 0; }
.fixture {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) minmax(0, 220px) 90px;
	align-items: center;
	gap: 1rem;
	padding: .9rem .4rem;
	border-bottom: 1px solid var(--line);
}
.fixture__date { display: flex; flex-direction: column; line-height: 1.1; }
.fixture__day { font-family: var(--font-title); font-size: 1.3rem; color: var(--navy); text-transform: uppercase; }
.fixture__month { font-family: var(--font-caps); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fixture__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .8rem; }
.fixture__team { display: flex; align-items: center; gap: .6rem; font-weight: 700; line-height: 1.15; }
.fixture__team--home { justify-content: flex-end; text-align: right; }
.fixture__team.is-chr { color: var(--navy); }
.fixture__team .team-badge { width: 38px; height: 38px; font-size: .9rem; }
.fixture__team .team-badge--chr { width: auto; height: 44px; }
.fixture__score { min-width: 5.5rem; padding: .35rem .6rem .25rem; background: var(--navy); color: var(--white); font-family: var(--font-title); font-size: 1.2rem; text-align: center; }
.fixture--defaite .fixture__score { background: var(--red); }
.fixture--nul .fixture__score { background: var(--muted); }
.fixture__info { display: flex; flex-direction: column; gap: .15rem; font-size: .82rem; color: var(--muted); line-height: 1.25; }
.fixture__comp { font-weight: 700; color: var(--text); }
.fixture__place { display: flex; align-items: center; gap: .3rem; }
.fixture__place .icon { width: 15px; height: 15px; color: var(--red); }
.fixture__result { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.fixture__link { font-size: .78rem; font-weight: 700; }
.result-chip {
	display: grid; place-items: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	font-family: var(--font-title); font-size: .95rem;
}
.result-chip--victoire { background: var(--yellow); color: var(--navy); }
.result-chip--defaite { background: var(--red); color: var(--white); }
.result-chip--nul { background: var(--line); color: var(--navy); }

/* --- Pages intérieures -------------------------------------------------- */

.page-banner {
	position: relative;
	padding-block: clamp(2.8rem, 7vw, 5rem) clamp(2.2rem, 5vw, 3.5rem);
	overflow: hidden;
	background:
		repeating-linear-gradient(115deg, transparent 0 56px, rgba(235, 199, 45, .06) 56px 112px),
		var(--navy);
	color: var(--white);
}
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner--image::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(11, 15, 73, .92) 0%, rgba(11, 15, 73, .55) 60%, rgba(11, 15, 73, .3) 100%);
}
.page-banner__inner { position: relative; z-index: 2; }
.page-banner__kicker { margin: 0 0 .35rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--yellow); }
.page-banner__title { max-width: 18em; margin: 0 0 1rem; color: var(--white); font-size: clamp(2.3rem, 6vw, 4.2rem); }

.entry { padding-block: clamp(2rem, 5vw, 3.5rem); }
/* Contenus alignés à gauche du conteneur : le texte reste lisible (800px), les blocs de données prennent toute la largeur. */
.entry-content > * { max-width: 800px; margin-inline: 0; }
.entry-content > .alignwide { max-width: var(--container); }
.entry-content > .alignfull { max-width: none; margin-inline: calc(50% - 50vw); }
.entry-content > .fixtures,
.entry-content > .squad,
.entry-content > .org,
.entry-content > .partners,
.entry-content > .contacts,
.entry-content > .wp-block-shortcode { max-width: var(--container); }
.entry-content h2 { margin-top: 2.2rem; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.entry-content h3 { margin-top: 1.8rem; font-size: 1.4rem; }
.entry-content p.lead, .lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.4; color: var(--navy); }
.entry-content blockquote, .wp-block-quote, .wp-block-pullquote {
	margin-block: 2rem;
	padding: 1.2rem 1.6rem;
	border-left: 6px solid var(--red);
	background: var(--grey);
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.45;
	color: var(--navy);
}
.wp-block-quote cite, .wp-block-pullquote cite { display: block; margin-top: .6rem; font-family: var(--font-caps); font-style: normal; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.entry-content ul li::marker { color: var(--red); }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: .5rem .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.wp-block-columns { gap: 2rem; }
.wp-block-separator { border: 0; height: 6px; width: 72px; background: linear-gradient(90deg, var(--red) 0 50%, var(--black) 50% 62%, var(--yellow) 62%); }

/* Repère « À compléter » visible dans les contenus provisoires */
.chr-todo {
	padding: .8rem 1rem;
	border: 2px dashed var(--yellow);
	background: #fffbe8;
	font-size: .95rem;
}
.chr-todo::before { content: "À compléter · "; font-weight: 800; color: var(--red); }

.entry-meta { display: flex; align-items: center; gap: .45rem; max-width: 800px; margin: 0 0 1.5rem; font-family: var(--font-caps); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.entry-meta .icon { width: 18px; height: 18px; color: var(--red); }
.entry-share { display: flex; align-items: center; gap: .8rem; max-width: 800px; margin: 2.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); font-weight: 700; }
.entry-share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); }
.entry-share a:hover { background: var(--red); }
.related { padding-bottom: 3.5rem; }

.subpages { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; max-width: var(--container); margin: 3rem 0 0; }
.subpages__link {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.1rem 1.2rem;
	background: var(--navy); color: var(--white);
	font-family: var(--font-title); font-size: 1.2rem; text-transform: uppercase; text-decoration: none;
	border-bottom: 5px solid var(--yellow);
}
.subpages__link:hover { background: var(--red); color: var(--white); }

.listing { padding-block: 2.5rem 3.5rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filters__item {
	padding: .45rem 1rem .35rem;
	border: 2px solid var(--navy);
	font-family: var(--font-caps); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--navy); text-decoration: none;
}
.filters__item:hover, .filters__item.is-active { background: var(--navy); color: var(--yellow); }
.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .6rem; border: 2px solid var(--line); color: var(--navy); font-weight: 800; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.page-numbers .icon { width: 18px; height: 18px; }

/* Contacts */
.contacts { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 2rem; align-items: start; }
.contact-club { padding: 1.5rem; background: var(--navy); color: var(--white); border-bottom: 6px solid var(--yellow); }
.contact-club__title { color: var(--yellow); font-size: 1.6rem; }
.contact-club a { color: var(--white); }
.contact-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.contact-people .member-card__photo { display: none; }
.contact-people .member-card { text-align: left; border-left: 5px solid var(--red); }
.contact-people .member-card__head { padding-bottom: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; overflow-wrap: anywhere; }
.contact-list .icon { width: 20px; height: 20px; margin-top: .1rem; color: var(--yellow); }
.contact-form { max-width: 800px; margin-top: 1rem; }

/* Formulaires (Contact Form 7, recherche) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], textarea, select {
	width: 100%;
	padding: .75rem .9rem;
	border: 2px solid var(--line);
	border-radius: var(--radius);
	font: inherit;
	background: var(--white);
}
input:focus, textarea:focus, select:focus { border-color: var(--navy); outline: none; }
.wpcf7 label { display: block; font-weight: 700; color: var(--navy); }
.wpcf7 p { margin: 0 0 1rem; }
.wpcf7-submit, input[type="submit"], .search-submit {
	padding: .85rem 1.6rem .75rem;
	border: 0; border-radius: var(--radius);
	background: var(--navy); color: var(--white);
	font-family: var(--font-caps); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	cursor: pointer;
}
.wpcf7-submit:hover, input[type="submit"]:hover { background: var(--red); }
.search-form { display: flex; gap: .5rem; max-width: 520px; }

/* Boutons réseaux sociaux ([chr_reseaux]) */
.social-buttons { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.5rem auto; padding: 0; }
.social-button { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.social-button:hover { background: var(--red); color: var(--white); }

/* --- Bandeau réseaux + pied de page ------------------------------------- */

.socials-band { padding-block: 2.5rem; text-align: center; border-top: 1px solid var(--line); }
.socials-band__title { margin-bottom: 1.2rem; font-size: 1.6rem; font-style: italic; }
.socials-band__list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 5vw, 4rem); list-style: none; margin: 0; padding: 0; }
.socials-band__link { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--navy); text-decoration: none; font-weight: 700; font-size: .9rem; }
.socials-band__link .icon { width: 58px; height: 58px; padding: 12px; border-radius: 14px; background: var(--navy); color: var(--white); transition: background-color .2s, transform .2s; }
.socials-band__link:hover .icon { background: var(--red); transform: translateY(-3px); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .85); }
.stripes { display: grid; grid-template-rows: 8px 4px 8px; }
.stripes span:nth-child(1) { background: var(--red); }
.stripes span:nth-child(2) { background: var(--black); }
.stripes span:nth-child(3) { background: var(--yellow); }

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	padding-block: 3rem;
}
.site-footer__brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; color: var(--white); text-decoration: none; font-family: var(--font-title); font-size: 1.3rem; font-style: italic; text-transform: uppercase; line-height: 1.05; }
.site-footer__brand img { height: 80px; width: auto; }
.contact-list--light { font-size: .95rem; }
.contact-list--light a { color: var(--white); }
.contact-list--light a:hover { color: var(--yellow); }

.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 1.8rem 1.2rem; }
.footer-menu > li > a {
	position: relative; display: inline-block;
	padding-bottom: .55rem; margin-bottom: .7rem;
	font-family: var(--font-title); font-size: 1.15rem; font-style: italic; text-transform: uppercase;
	color: var(--white); text-decoration: none;
}
.footer-menu > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 5px; background: var(--yellow); }
.footer-menu .sub-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-menu .sub-menu a { color: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: 600; text-decoration: none; }
.footer-menu a:hover { color: var(--yellow); }

.site-footer__bottom { background: #06092e; font-size: .82rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-block: 1rem; }
.site-footer__bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.legal-menu a { color: rgba(255, 255, 255, .8); text-decoration: none; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; font-size: .75rem; }
.legal-menu a:hover { color: var(--yellow); }

/* --- Adaptations écrans moyens et mobiles ------------------------------- */

@media (max-width: 1100px) {
	.home-matches { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.home-matches__fixtures { grid-column: 1 / -1; grid-row: 1; }
	.news-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.news-grid--home > :nth-child(n+4) { display: none; }
	.section-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fixture { grid-template-columns: 80px minmax(0, 1fr) 60px; }
	.fixture__info { grid-column: 2; grid-row: 2; }
	.fixture__result { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 860px) {
	.home-media, .home-squad, .contacts, .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.news-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news-grid--home > :nth-child(n+4) { display: block; }
	.news-grid--home > :nth-child(n+5) { display: none; }
	.home-squad__aside { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
	.home-squad__aside .section-title { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.home-matches, .home-matches--no-ranking { grid-template-columns: minmax(0, 1fr); }
	.news-grid--home, .section-tiles { grid-template-columns: minmax(0, 1fr); }
	.section-tile { min-height: 150px; }
	.hero__nav { justify-content: center; }
	.hero__dot { width: 30px; }
	.hero__dot.is-active { width: 48px; }
	.fixture { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .8rem; }
	.fixture__date { grid-column: 1; flex-direction: row; align-items: baseline; gap: .5rem; }
	.fixture__teams { grid-column: 1 / -1; grid-row: 2; }
	.fixture__info { grid-column: 1 / -1; grid-row: 3; }
	.fixture__result { grid-column: 2; grid-row: 1; flex-direction: row; }
	.fixture__name { font-size: .85rem; }
	.fixture__team .team-badge { display: none; }
	.section-title { flex-wrap: wrap; }
}
