/* ==========================================================================
   HBC Le Barp : palette inspirée du logo, en version apaisée
   Outremer #2B3BB0 (bleu électrique du logo adouci) | Nuit #161D4F
   Argent #9AA1B2 (écusson) | Fond gris-bleu #E4E7EF | Surfaces #F3F4F8
   ========================================================================== */

:root {
	--hbc-blue: #2B3BB0;
	--hbc-blue-soft: #4A59C4;
	--hbc-navy: #161D4F;
	--hbc-bg: #E4E7EF;
	--hbc-bg-alt: #D9DEE9;
	--hbc-paper: #E4E7EF;
	--hbc-surface: #F3F4F8;
	--hbc-accent: #8C9AEC;
	--hbc-accent-light: #B9C2FA;
	--hbc-silver: #9AA1B2;
	--hbc-white: #FFFFFF;
	--hbc-muted: #4A5068;
	--hbc-ink: #1B2147;
	--hbc-border: #C9CFDD;
	--hbc-header-h: 84px;
	/* Résultats : tons désaturés, accordés au bleu outremer et à l'argent */
	--hbc-win: #2F8A74;
	--hbc-draw: #B88A32;
	--hbc-loss: #B24C62;
	--hbc-unplayed: #C9CEDA;
}

body {
	background: var(--hbc-bg);
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--hbc-blue);
	outline-offset: 3px;
}

.hbc-score :focus-visible,
.hbc-contact-band :focus-visible,
.hbc-footer :focus-visible {
	outline-color: #fff;
}

.hbc-skip-link {
	position: absolute;
	z-index: 1000;
	top: 0.5rem;
	left: 0.5rem;
	transform: translateY(-160%);
	border-radius: 0.5rem;
	background: var(--hbc-surface);
	padding: 0.7rem 1rem;
	color: var(--hbc-navy);
}

.hbc-skip-link:focus {
	transform: translateY(0);
}

.hbc-container,
.hbc-header__inner,
.hbc-footer__inner,
.hbc-footer__bottom {
	width: min(100% - 3rem, 1200px);
	margin-inline: auto;
}

/* ---------- Bandeau supérieur ---------- */

.hbc-topbar {
	background: var(--hbc-navy);
	color: rgb(255 255 255 / 78%);
	font-size: 0.78rem;
}

.hbc-topbar__inner {
	width: min(100% - 3rem, 1520px);
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-inline: auto;
}

.hbc-topbar p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1.4rem;
	margin: 0;
}

.hbc-topbar a {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease;
}

.hbc-topbar a:hover {
	color: #fff;
}

.hbc-topbar__info > * + *::before {
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-right: 1.4rem;
	border-radius: 50%;
	background: var(--hbc-accent);
	content: "";
	vertical-align: middle;
	transform: translateY(-1px);
}

.hbc-topbar__social a {
	font-weight: 700;
	letter-spacing: 0.04em;
}

/* ---------- Header principal ---------- */

.hbc-header {
	position: sticky;
	z-index: 50;
	top: 0;
	border-bottom: 1px solid rgb(22 29 79 / 10%);
	background: rgb(243 244 248 / 92%);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	transition: box-shadow 200ms ease, background 200ms ease;
}

.admin-bar .hbc-header {
	top: 32px;
}

.hbc-header.is-scrolled {
	background: rgb(243 244 248 / 97%);
	box-shadow: 0 0.5rem 1.6rem rgb(22 29 79 / 10%);
}

.hbc-header__inner {
	width: min(100% - 3rem, 1520px);
	min-height: var(--hbc-header-h);
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-inline: auto;
}

.hbc-brand {
	flex: 0 0 auto;
}

.hbc-brand > a {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	color: var(--hbc-navy);
	text-decoration: none;
}

.hbc-brand__logo,
.hbc-brand .custom-logo {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	filter: drop-shadow(0 4px 8px rgb(22 29 79 / 18%));
	transition: transform 200ms ease;
}

.hbc-brand > a:hover .hbc-brand__logo {
	transform: rotate(-4deg) scale(1.04);
}

.hbc-brand .custom-logo-link {
	display: block;
	line-height: 0;
}

.hbc-brand__name {
	color: var(--hbc-navy);
	font-size: 1.12rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
}

.hbc-brand__name span {
	display: block;
	margin-top: 0.3rem;
	color: var(--hbc-muted);
	font-size: 0.62rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hbc-nav {
	min-width: 0;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

.hbc-nav__list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbc-nav__list > li {
	position: relative;
	display: flex;
	align-items: center;
}

.hbc-nav__list a {
	color: var(--hbc-navy);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.hbc-nav__list > li > a {
	position: relative;
	display: block;
	border-radius: 0.6rem;
	padding: 0.55rem 0.6rem;
	white-space: nowrap;
	transition: background 150ms ease, color 150ms ease;
}

.hbc-nav__list > li.menu-item-has-children > a {
	padding-right: 0.25rem;
}

.hbc-nav__list > li > a::after {
	position: absolute;
	right: 0.6rem;
	bottom: 0.2rem;
	left: 0.6rem;
	height: 2px;
	border-radius: 2px;
	background: var(--hbc-blue);
	content: "";
	opacity: 0;
	transform: scaleX(0.4);
	transition: opacity 150ms ease, transform 150ms ease;
}

.hbc-nav__list > li > a:hover,
.hbc-nav__list > li:hover > a {
	background: rgb(43 59 176 / 7%);
	color: var(--hbc-blue);
}

.hbc-nav__list > .current-menu-item > a,
.hbc-nav__list > .current-menu-ancestor > a,
.hbc-nav__list > .current-page-ancestor > a {
	color: var(--hbc-blue);
}

.hbc-nav__list > .current-menu-item > a::after,
.hbc-nav__list > .current-menu-ancestor > a::after,
.hbc-nav__list > .current-page-ancestor > a::after {
	opacity: 1;
	transform: scaleX(1);
}

.hbc-submenu-toggle {
	width: 1.5rem;
	height: 1.5rem;
	flex: 0 0 auto;
	margin: 0 0.15rem 0 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	padding: 0;
	color: var(--hbc-muted);
	cursor: pointer;
}

.hbc-submenu-toggle:hover {
	background: rgb(43 59 176 / 9%);
	color: var(--hbc-blue);
	box-shadow: none;
	transform: none;
}

.hbc-submenu-toggle span {
	display: block;
	line-height: 0;
}

.hbc-submenu-toggle span::after {
	display: inline-block;
	width: 0.36rem;
	height: 0.36rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: translateY(-0.1rem) rotate(45deg);
	transition: transform 150ms ease;
}

.hbc-submenu-toggle[aria-expanded="true"] span::after {
	transform: translateY(0.1rem) rotate(225deg);
}

/* Sous-menus (bureau) */

.hbc-nav__list .sub-menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.6rem);
	left: 0;
	width: max-content;
	min-width: 15rem;
	max-width: min(22rem, 90vw);
	margin: 0;
	padding: 0.45rem;
	border: 1px solid var(--hbc-border);
	border-top: 3px solid var(--hbc-blue);
	border-radius: 0 0 0.9rem 0.9rem;
	background: var(--hbc-surface);
	box-shadow: 0 1.2rem 2.8rem rgb(22 29 79 / 16%);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.4rem);
	transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.hbc-nav__list > li > .sub-menu::before {
	position: absolute;
	top: -0.95rem;
	left: 0;
	width: 100%;
	height: 0.95rem;
	content: "";
}

.hbc-nav__list li:hover > .sub-menu,
.hbc-nav__list li:focus-within > .sub-menu,
.hbc-nav__list li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.hbc-nav__list .sub-menu li {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.hbc-nav__list .sub-menu a {
	flex: 1 1 auto;
	display: block;
	border-radius: 0.5rem;
	padding: 0.55rem 0.75rem;
	color: var(--hbc-ink);
	font-weight: 650;
	white-space: normal;
}

.hbc-nav__list .sub-menu a:hover,
.hbc-nav__list .sub-menu a:focus-visible,
.hbc-nav__list .sub-menu .current-menu-item > a {
	background: rgb(43 59 176 / 8%);
	color: var(--hbc-blue);
}

.hbc-nav__list .sub-menu .hbc-submenu-toggle span::after {
	transform: rotate(-45deg);
}

.hbc-nav__list .sub-menu .sub-menu {
	top: -0.5rem;
	left: calc(100% + 0.5rem);
	border-top-width: 1px;
	border-radius: 0.9rem;
}

.hbc-nav__list .sub-menu > li > .sub-menu::before {
	position: absolute;
	top: 0;
	left: -0.6rem;
	width: 0.6rem;
	height: 100%;
	content: "";
}

/* Sous-menu très long (Nos équipes) : en colonnes */
.hbc-nav__list > li > .hbc-sub-menu--wide {
	display: grid;
	grid-template-columns: repeat(3, minmax(9rem, 1fr));
	width: min(36rem, 90vw);
	max-width: none;
	gap: 0 0.25rem;
}

/* Les dernières rubriques s'ouvrent vers la gauche pour rester à l'écran */
.hbc-nav__list > li:nth-last-child(-n + 5) > .sub-menu {
	right: 0;
	left: auto;
}

.hbc-nav__list > li:nth-last-child(-n + 5) .sub-menu .sub-menu {
	right: calc(100% + 0.5rem);
	left: auto;
}

.hbc-nav__list > li:nth-last-child(-n + 5) .sub-menu > li > .sub-menu::before {
	right: -0.6rem;
	left: auto;
}

.hbc-header__cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: var(--hbc-blue);
	padding: 0.7rem 1.15rem;
	color: #fff;
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
	transition: background 160ms ease, transform 160ms ease;
}

.hbc-header__cta:hover {
	background: var(--hbc-navy);
	color: #fff;
	transform: translateY(-1px);
}

/* Le logo ramène déjà à l'accueil : on libère de la place sur grand écran */
@media (min-width: 1361px) {
	.hbc-nav__list > .menu-item-home {
		display: none;
	}
}

.hbc-header.is-tight .hbc-brand__name {
	display: none;
}

/* Bouton burger */

.hbc-menu-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	margin-left: auto;
	border: 1px solid var(--hbc-border);
	border-radius: 999px;
	background: var(--hbc-surface);
	padding: 0.55rem 0.95rem;
	color: var(--hbc-navy);
	font-size: 0.82rem;
	font-weight: 800;
	cursor: pointer;
}

.hbc-menu-toggle:hover {
	background: #fff;
	color: var(--hbc-navy);
	box-shadow: none;
	transform: none;
}

.hbc-menu-toggle__bars,
.hbc-menu-toggle__bars::before,
.hbc-menu-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 200ms ease, background 200ms ease;
}

.hbc-menu-toggle__bars {
	position: relative;
}

.hbc-menu-toggle__bars::before,
.hbc-menu-toggle__bars::after {
	position: absolute;
	left: 0;
	content: "";
}

.hbc-menu-toggle__bars::before {
	top: -6px;
}

.hbc-menu-toggle__bars::after {
	top: 6px;
}

.is-menu-open .hbc-menu-toggle__bars {
	background: transparent;
}

.is-menu-open .hbc-menu-toggle__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.is-menu-open .hbc-menu-toggle__bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Menu mobile / tablette */

@media (max-width: 1360px) {
	.hbc-menu-toggle {
		display: inline-flex;
	}

	.hbc-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		box-sizing: border-box;
		max-height: calc(100vh - var(--hbc-header-h));
		max-height: var(--hbc-nav-max-h, calc(100dvh - var(--hbc-header-h)));
		display: none;
		flex-direction: column;
		align-items: stretch;
		/* flex-end (bureau) ferait déborder le menu vers le haut, hors de portée du défilement */
		justify-content: flex-start;
		gap: 1rem;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		border-bottom: 1px solid var(--hbc-border);
		background: var(--hbc-surface);
		padding: 0.5rem 1.5rem 1.5rem;
		box-shadow: 0 1.5rem 2.5rem rgb(22 29 79 / 14%);
	}

	.is-menu-open .hbc-nav {
		display: flex;
	}

	.hbc-nav > * {
		flex-shrink: 0;
	}

	body.hbc-menu-is-open {
		overflow: hidden;
	}

	body:not(.hbc-has-nav-js) .hbc-header:focus-within .hbc-nav {
		display: flex;
	}

	.hbc-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.hbc-nav__list > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--hbc-border);
	}

	.hbc-nav__list > li > a,
	.hbc-nav__list > li.menu-item-has-children > a {
		flex: 1 1 auto;
		padding: 0.9rem 0.25rem;
		font-size: 1rem;
	}

	.hbc-nav__list > li > a::after {
		display: none;
	}

	.hbc-nav__list > li > a:hover,
	.hbc-nav__list > li:hover > a {
		background: transparent;
	}

	.hbc-submenu-toggle {
		width: 2.4rem;
		height: 2.4rem;
	}

	.hbc-nav__list .sub-menu,
	.hbc-nav__list .sub-menu .sub-menu,
	.hbc-nav__list > li > .hbc-sub-menu--wide {
		position: static;
		width: 100%;
		min-width: 0;
		max-width: none;
		display: none;
		margin: 0 0 0.75rem;
		border: 0;
		border-left: 2px solid var(--hbc-accent);
		border-radius: 0;
		background: transparent;
		padding: 0 0 0 0.6rem;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.hbc-nav__list > li > .sub-menu::before,
	.hbc-nav__list .sub-menu > li > .sub-menu::before {
		display: none;
	}

	.hbc-nav__list > li > .hbc-sub-menu--wide {
		grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
	}

	.hbc-nav__list li.is-open > .sub-menu {
		display: block;
	}

	.hbc-nav__list > li.is-open > .hbc-sub-menu--wide {
		display: grid;
	}

	body:not(.hbc-has-nav-js) .hbc-nav__list .sub-menu {
		display: block;
	}

	.hbc-nav__list .sub-menu .hbc-submenu-toggle span::after {
		transform: translateY(-0.1rem) rotate(45deg);
	}

	.hbc-nav__list .sub-menu .hbc-submenu-toggle[aria-expanded="true"] span::after {
		transform: translateY(0.1rem) rotate(225deg);
	}

	.hbc-nav__list .sub-menu .sub-menu {
		grid-column: 1 / -1;
		margin: 0.2rem 0 0.4rem 0.5rem;
	}

	.hbc-header__cta {
		justify-content: center;
		padding-block: 0.85rem;
	}
}

/* Même menu burger, activé par le JS quand la place manque sur grand écran */
.hbc-header.is-compact .hbc-menu-toggle {
	display: inline-flex;
}

.hbc-header.is-compact .hbc-nav {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	box-sizing: border-box;
	max-height: calc(100vh - var(--hbc-header-h));
	max-height: var(--hbc-nav-max-h, calc(100dvh - var(--hbc-header-h)));
	display: none;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 1rem;
	overflow-y: auto;
	overscroll-behavior: contain;
	border-bottom: 1px solid var(--hbc-border);
	background: var(--hbc-surface);
	padding: 0.5rem 1.5rem 1.5rem;
	box-shadow: 0 1.5rem 2.5rem rgb(22 29 79 / 14%);
}

.hbc-header.is-compact.is-menu-open .hbc-nav {
	display: flex;
}

.hbc-header.is-compact .hbc-nav__list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.hbc-header.is-compact .hbc-nav__list > li {
	flex-wrap: wrap;
	border-bottom: 1px solid var(--hbc-border);
}

.hbc-header.is-compact .hbc-nav__list > li > a,
.hbc-header.is-compact .hbc-nav__list > li.menu-item-has-children > a {
	flex: 1 1 auto;
	padding: 0.9rem 0.25rem;
	font-size: 1rem;
}

.hbc-header.is-compact .hbc-nav__list > li > a::after {
	display: none;
}

.hbc-header.is-compact .hbc-nav__list > li > a:hover,
.hbc-header.is-compact .hbc-nav__list > li:hover > a {
	background: transparent;
}

.hbc-header.is-compact .hbc-submenu-toggle {
	width: 2.4rem;
	height: 2.4rem;
}

.hbc-header.is-compact .hbc-nav__list .sub-menu,
.hbc-header.is-compact .hbc-nav__list .sub-menu .sub-menu,
.hbc-header.is-compact .hbc-nav__list > li > .hbc-sub-menu--wide {
	position: static;
	width: 100%;
	min-width: 0;
	max-width: none;
	display: none;
	margin: 0 0 0.75rem;
	border: 0;
	border-left: 2px solid var(--hbc-accent);
	border-radius: 0;
	background: transparent;
	padding: 0 0 0 0.6rem;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.hbc-header.is-compact .hbc-nav__list > li > .sub-menu::before,
.hbc-header.is-compact .hbc-nav__list .sub-menu > li > .sub-menu::before {
	display: none;
}

.hbc-header.is-compact .hbc-nav__list > li > .hbc-sub-menu--wide {
	grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
}

.hbc-header.is-compact .hbc-nav__list li.is-open > .sub-menu {
	display: block;
}

.hbc-header.is-compact .hbc-nav__list > li.is-open > .hbc-sub-menu--wide {
	display: grid;
}

.hbc-header.is-compact .hbc-nav__list .sub-menu .hbc-submenu-toggle span::after {
	transform: translateY(-0.1rem) rotate(45deg);
}

.hbc-header.is-compact .hbc-nav__list .sub-menu .hbc-submenu-toggle[aria-expanded="true"] span::after {
	transform: translateY(0.1rem) rotate(225deg);
}

.hbc-header.is-compact .hbc-nav__list .sub-menu .sub-menu {
	grid-column: 1 / -1;
	margin: 0.2rem 0 0.4rem 0.5rem;
}

.hbc-header.is-compact .hbc-header__cta {
	justify-content: center;
	padding-block: 0.85rem;
}


@media (max-width: 782px) {
	.admin-bar .hbc-header {
		top: 46px;
	}
}

@media (max-width: 620px) {
	:root {
		--hbc-header-h: 70px;
	}

	.hbc-topbar__info span,
	.hbc-topbar__info a[href^="mailto"] {
		display: none;
	}

	.hbc-topbar__info > * + *::before {
		display: none;
	}

	.hbc-topbar__inner,
	.hbc-header__inner {
		width: min(100% - 2rem, 1280px);
	}

	.hbc-brand__logo,
	.hbc-brand .custom-logo {
		width: 46px;
		height: 46px;
	}

	.hbc-brand__name {
		font-size: 1rem;
	}

	.hbc-menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.hbc-menu-toggle {
		padding: 0.75rem;
	}

	.hbc-nav {
		padding-inline: 1rem;
	}
}

/* ---------- Hero (fond clair) ---------- */

.hbc-hero {
	position: relative;
	min-height: min(700px, 78vw);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(165deg, var(--hbc-bg) 0%, var(--hbc-bg) 45%, var(--hbc-bg-alt) 100%);
	color: var(--hbc-navy);
}

.hbc-hero::before,
.hbc-hero::after {
	position: absolute;
	content: "";
	pointer-events: none;
}

.hbc-hero::before {
	inset: 0 0 0 45%;
	background: radial-gradient(ellipse at 60% 50%, rgb(43 59 176 / 8%), transparent 65%);
}

.hbc-hero::after {
	right: -10vw;
	bottom: -19rem;
	width: 44rem;
	height: 44rem;
	border: 1px solid rgb(43 59 176 / 16%);
	border-radius: 50%;
	box-shadow: 0 0 0 4rem rgb(43 59 176 / 4%), 0 0 0 8rem rgb(43 59 176 / 3%);
}

/* Terrain réglementaire (SVG à l'échelle) */
.hbc-hero__court {
	position: absolute;
	top: 50%;
	right: 4%;
	width: min(50vw, 660px);
	height: auto;
	aspect-ratio: 428 / 212;
	overflow: visible;
	transform: translateY(-50%) rotate(-3deg);
	filter: drop-shadow(0 1.5rem 2.5rem rgb(22 29 79 / 12%));
	pointer-events: none;
}

.hbc-court__floor {
	fill: rgb(43 59 176 / 9%);
}

.hbc-court__area {
	fill: rgb(43 59 176 / 14%);
	stroke: rgb(43 59 176 / 45%);
	stroke-width: 1.2;
}

.hbc-court__line {
	fill: none;
	stroke: rgb(43 59 176 / 40%);
	stroke-width: 1.2;
	stroke-linecap: round;
}

.hbc-court__line--dashed {
	stroke-dasharray: 6 5;
	stroke-linecap: butt;
}

.hbc-court__outline {
	stroke: rgb(43 59 176 / 50%);
	stroke-width: 1.6;
}

.hbc-court__center {
	fill: rgb(43 59 176 / 6%);
	stroke: rgb(43 59 176 / 40%);
	stroke-width: 1.2;
}

/* Logo « peint » au sol : le blanc du logo laisse apparaître le parquet */
.hbc-court__logo {
	mix-blend-mode: multiply;
	opacity: 0.6;
}

.hbc-court__goal {
	fill: rgb(154 161 178 / 30%);
	stroke: var(--hbc-silver);
	stroke-width: 1.2;
}

.hbc-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 6rem 7rem;
}

.hbc-hero__copy {
	max-width: 700px;
}

.hbc-eyebrow {
	margin: 0 0 1rem;
	color: var(--hbc-blue);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hbc-eyebrow--light {
	color: var(--hbc-border);
}

.hbc-hero .hbc-eyebrow--light,
.hbc-agenda .hbc-eyebrow--light {
	color: var(--hbc-blue);
}

.hbc-eyebrow__dot {
	width: 0.55rem;
	height: 0.55rem;
	display: inline-block;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: var(--hbc-accent);
	vertical-align: 0.02rem;
}

.hbc-hero h1 {
	margin: 0;
	color: var(--hbc-navy);
	font-size: clamp(3.2rem, 7.5vw, 6.8rem);
	font-weight: 900;
	letter-spacing: -0.075em;
	line-height: 0.96;
}

/* Sur fond clair : texte bleu club + soulignement orange (lisibilité) */
.hbc-hero h1 em,
.hbc-section h2 em {
	background: linear-gradient(var(--hbc-accent), var(--hbc-accent)) no-repeat 0 92% / 100% 0.12em;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	color: var(--hbc-blue);
	font-style: normal;
}

/* Sur fond bleu club : texte orange (grand titre, contraste 3:1 OK) */
.hbc-score h2 em {
	color: var(--hbc-accent-light);
	font-style: normal;
}

.hbc-hero__lead {
	max-width: 540px;
	margin: 1.6rem 0 0;
	color: var(--hbc-muted);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hbc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2rem;
}

.hbc-button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 0.8rem 1.2rem;
	font-size: 0.88rem;
	font-weight: 850;
	text-decoration: none;
	transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.hbc-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 0.7rem 1.4rem rgb(22 29 79 / 18%);
}

.hbc-button--orange {
	background: var(--hbc-accent);
	color: var(--hbc-navy);
}

.hbc-button--orange:hover {
	background: var(--hbc-accent-light);
	color: var(--hbc-navy);
}

.hbc-button--outline {
	border-color: rgb(43 59 176 / 55%);
	color: var(--hbc-blue);
}

.hbc-button--outline:hover {
	background: rgb(43 59 176 / 8%);
	color: var(--hbc-blue);
}

.hbc-button--navy {
	background: var(--hbc-navy);
	color: #fff;
}

.hbc-button--navy:hover {
	background: var(--hbc-blue);
	color: #fff;
}

.hbc-button--blue {
	background: var(--hbc-blue);
	color: #fff;
}

.hbc-button--blue:hover {
	background: var(--hbc-navy);
	color: #fff;
}

/* Boutons sur sections bleu club */
.hbc-score .hbc-button--outline,
.hbc-contact-band .hbc-button--outline {
	border-color: rgb(255 255 255 / 60%);
	color: #fff;
}

.hbc-score .hbc-button--outline:hover,
.hbc-contact-band .hbc-button--outline:hover {
	background: rgb(255 255 255 / 14%);
	color: #fff;
}

.hbc-score .hbc-button--blue,
.hbc-score .hbc-button--navy,
.hbc-contact-band .hbc-button--blue,
.hbc-contact-band .hbc-button--navy {
	background: var(--hbc-surface);
	color: var(--hbc-blue);
}

.hbc-score .hbc-button--blue:hover,
.hbc-score .hbc-button--navy:hover,
.hbc-contact-band .hbc-button--blue:hover,
.hbc-contact-band .hbc-button--navy:hover {
	background: var(--hbc-bg);
	color: var(--hbc-navy);
}

.hbc-hero__scroll {
	position: absolute;
	z-index: 2;
	bottom: 0.9rem;
	left: max(1.5rem, calc((100vw - 1200px) / 2));
	color: var(--hbc-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.hbc-hero__scroll span {
	margin-right: 0.5rem;
	color: var(--hbc-accent);
}

.hbc-quick-links {
	position: relative;
	z-index: 2;
	margin-top: 0;
}

.hbc-quick-links__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	box-shadow: 0 1rem 3rem rgb(22 29 79 / 12%);
	overflow: hidden;
}

.hbc-quick-link {
	min-height: 115px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem;
	border-right: 1px solid var(--hbc-border);
	padding: 1.35rem;
	color: var(--hbc-navy);
	text-decoration: none;
}

.hbc-quick-link:last-child {
	border-right: 0;
}

.hbc-quick-link:hover {
	background: var(--hbc-bg);
	color: var(--hbc-blue);
}

.hbc-quick-link__text {
	font-size: 0.9rem;
	font-weight: 850;
	line-height: 1.25;
}

.hbc-quick-link__text small {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--hbc-muted);
	font-size: 0.62rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hbc-quick-link__arrow {
	color: var(--hbc-accent);
	font-size: 1.25rem;
	font-weight: 900;
}

/* ---------- Sections ---------- */

.hbc-section {
	padding-block: clamp(4rem, 8vw, 7rem);
}

.hbc-intro {
	background: var(--hbc-bg);
}

.hbc-intro,
.hbc-matches,
.hbc-agenda,
.hbc-news,
.hbc-partners {
	border-top: 1px solid var(--hbc-border);
}

.hbc-intro__grid,
.hbc-section-heading,
.hbc-partners__inner,
.hbc-score__inner {
	display: grid;
	grid-template-columns: 1fr 0.85fr;
	align-items: end;
	gap: clamp(2rem, 6vw, 6rem);
}

.hbc-section h2,
.hbc-score h2,
.hbc-contact-band h2 {
	margin: 0;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	letter-spacing: -0.065em;
	line-height: 0.99;
}

.hbc-section h2 {
	color: var(--hbc-navy);
}

.hbc-intro__copy p,
.hbc-section-heading > p,
.hbc-partners__inner > div:last-child p {
	color: var(--hbc-muted);
}

.hbc-intro__copy .hbc-lead {
	margin-top: 0;
	color: var(--hbc-navy);
	font-size: 1.25rem;
	font-weight: 750;
}

.hbc-text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 0.65rem;
	color: var(--hbc-blue);
	font-size: 0.88rem;
	font-weight: 850;
	text-decoration: none;
}

.hbc-text-link span {
	transition: transform 160ms ease;
}

.hbc-text-link:hover {
	color: var(--hbc-navy);
}

.hbc-text-link:hover span {
	transform: translateX(4px);
}

.hbc-values {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: clamp(3rem, 7vw, 5.5rem);
}

.hbc-value {
	min-height: 185px;
	padding: 1.5rem;
	border: 1px solid var(--hbc-border);
	border-top: 3px solid var(--hbc-blue);
	background: var(--hbc-surface);
	border-radius: 0 0 var(--hbc-radius) var(--hbc-radius);
	box-shadow: 0 0.8rem 2rem rgb(22 29 79 / 6%);
}

.hbc-value__number {
	display: inline-block;
	padding-bottom: 0.3rem;
	border-bottom: 3px solid var(--hbc-accent);
	color: var(--hbc-blue);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.hbc-value h3 {
	margin: 1.6rem 0 0.35rem;
	color: var(--hbc-navy);
	font-size: 1.25rem;
}

.hbc-value p {
	margin: 0;
	color: var(--hbc-muted);
	font-size: 0.9rem;
}

/* Agenda : fond clair, cartes blanches */

.hbc-agenda {
	background: var(--hbc-bg);
	color: var(--hbc-navy);
}

.hbc-score h2,
.hbc-contact-band h2 {
	color: #fff;
}

.hbc-section-heading {
	margin-bottom: 2.5rem;
}

.hbc-section-heading > p {
	max-width: 390px;
	margin: 0 0 0.2rem;
}

.hbc-agenda .hbc-section-heading > p {
	color: var(--hbc-muted);
}

.hbc-score__inner > div:last-child p {
	color: rgb(255 255 255 / 90%);
}

.hbc-event-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.hbc-event-card {
	min-height: 220px;
	display: flex;
	gap: 1rem;
	padding: 1.5rem;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	color: var(--hbc-muted);
	box-shadow: 0 0.8rem 2rem rgb(22 29 79 / 7%);
}

.hbc-event-card__date {
	width: 54px;
	flex: 0 0 54px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	border-radius: 0.9rem;
	background: var(--hbc-accent);
	color: var(--hbc-navy);
	padding: 0.5rem 0.25rem;
}

.hbc-event-card__date span {
	font-size: 1.35rem;
	font-weight: 900;
	line-height: 1;
}

.hbc-event-card__date small {
	margin-top: 0.25rem;
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.hbc-event-card__meta {
	margin: 0 0 0.7rem;
	color: var(--hbc-blue);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hbc-event-card h3 {
	margin: 0;
	color: var(--hbc-navy);
	font-size: 1.2rem;
}

.hbc-event-card h3 a {
	color: inherit;
	text-decoration: none;
}

.hbc-event-card h3 a:hover {
	color: var(--hbc-blue);
}

.hbc-text-link--light {
	color: var(--hbc-blue);
}

.hbc-score .hbc-text-link--light,
.hbc-contact-band .hbc-text-link--light {
	color: #fff;
}

.hbc-empty-state {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.5rem;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
}

.hbc-empty-state__icon {
	width: 3rem;
	height: 3rem;
	flex: 0 0 3rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hbc-accent);
	color: var(--hbc-navy);
	font-size: 1.25rem;
	font-weight: 900;
}

.hbc-empty-state h3,
.hbc-empty-state p {
	margin: 0;
	color: var(--hbc-navy);
}

.hbc-empty-state p {
	margin-top: 0.4rem;
	color: var(--hbc-muted);
}

.hbc-empty-state--light {
	background: var(--hbc-surface);
	color: var(--hbc-ink);
}

.hbc-empty-state--light h1,
.hbc-empty-state--light h2,
.hbc-empty-state--light p:not(.hbc-eyebrow) {
	color: var(--hbc-ink);
}

.hbc-empty-state--light p:not(.hbc-eyebrow) {
	color: var(--hbc-muted);
}

.hbc-single-post__image {
	max-height: 520px;
	margin-bottom: 2rem;
	overflow: hidden;
	border-radius: var(--hbc-radius);
}

.hbc-single-post__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hbc-entry-content {
	color: var(--hbc-ink);
	font-size: 1.05rem;
}

.hbc-entry-content > * + * {
	margin-top: 1.3rem;
}

.hbc-entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.9rem;
}

.hbc-entry-content a {
	color: var(--hbc-blue);
	font-weight: 700;
}

.hbc-entry-content a:hover {
	color: var(--hbc-navy);
}

.hbc-post-navigation {
	margin-top: 2rem;
}

.hbc-post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid var(--hbc-border);
	padding-top: 1rem;
}

.hbc-post-navigation a {
	color: var(--hbc-blue);
	font-weight: 800;
	text-decoration: none;
}

.hbc-post-navigation a:hover {
	color: var(--hbc-navy);
}

.hbc-404 {
	min-height: 320px;
	justify-content: flex-start;
}

.hbc-news {
	background: var(--hbc-bg);
}

.hbc-news .hbc-section-heading--dark .hbc-eyebrow,
.hbc-partners .hbc-eyebrow {
	color: var(--hbc-blue);
}

.hbc-section-heading--dark > p {
	color: var(--hbc-muted);
}

.hbc-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.hbc-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.hbc-category-card {
	min-width: 0;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	box-shadow: 0 1rem 2.5rem rgb(22 29 79 / 8%);
	overflow: hidden;
}

.hbc-category-card__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.hbc-category-card__image {
	height: clamp(190px, 22vw, 270px);
	background: linear-gradient(135deg, var(--hbc-blue), var(--hbc-navy));
	overflow: hidden;
}

.hbc-category-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.hbc-category-card:hover .hbc-category-card__image img {
	transform: scale(1.04);
}

.hbc-category-card__image--placeholder {
	height: clamp(120px, 12vw, 150px);
	background: radial-gradient(circle at 85% 20%, rgb(255 255 255 / 12%), transparent 45%), linear-gradient(135deg, var(--hbc-blue-soft), var(--hbc-navy));
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 1.25rem;
	color: rgb(255 255 255 / 90%);
	font-size: 1.4rem;
	font-weight: 900;
}

.hbc-category-card__image--placeholder i {
	width: 2.5rem;
	height: 2.5rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hbc-accent);
	color: var(--hbc-navy);
	font-size: 1rem;
	font-style: normal;
}

.hbc-category-card__body {
	padding: 1.4rem;
}

.hbc-category-card__eyebrow {
	margin: 0 0 0.5rem;
	color: var(--hbc-blue);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hbc-category-card h2 {
	margin: 0;
	color: var(--hbc-navy);
	font-size: 1.4rem;
}

.hbc-category-card__body > p:not(.hbc-category-card__eyebrow) {
	color: var(--hbc-muted);
	font-size: 0.9rem;
}

.hbc-category-card .hbc-text-link {
	margin-top: 0.35rem;
}

.hbc-category-description {
	max-width: 760px;
	margin-top: 1rem;
	color: var(--hbc-muted);
}

.hbc-entry-content {
	max-width: 820px;
	margin-inline: auto;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	box-shadow: 0 1rem 2.5rem rgb(22 29 79 / 7%);
}

.hbc-post-card {
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	box-shadow: 0 1rem 2.5rem rgb(22 29 79 / 8%);
	overflow: hidden;
}

.hbc-post-card__image {
	height: 220px;
	display: block;
	overflow: hidden;
	background: linear-gradient(135deg, var(--hbc-blue), var(--hbc-navy));
}

.hbc-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.hbc-post-card:hover .hbc-post-card__image img {
	transform: scale(1.04);
}

.hbc-post-card__image--placeholder {
	display: grid;
	place-items: center;
	color: rgb(255 255 255 / 80%);
	font-size: 2rem;
	font-weight: 900;
	letter-spacing: -0.06em;
	line-height: 0.95;
}

.hbc-card__body {
	padding: 1.35rem;
}

.hbc-post-card__date {
	margin: 0 0 0.6rem;
	color: var(--hbc-blue);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hbc-post-card h2,
.hbc-post-card h3 {
	margin: 0;
	font-size: 1.35rem;
}

.hbc-post-card h2 a,
.hbc-post-card h3 a {
	color: var(--hbc-navy);
	text-decoration: none;
}

.hbc-post-card h2 a:hover,
.hbc-post-card h3 a:hover {
	color: var(--hbc-blue);
}

.hbc-post-card__body > p,
.hbc-post-card .hbc-card__body > p:not(.hbc-post-card__date) {
	color: var(--hbc-muted);
	font-size: 0.9rem;
}

.hbc-empty-news {
	padding: 2rem;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	color: var(--hbc-muted);
}

/* Bandeau score : bleu club */

.hbc-score {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #26339A 0%, var(--hbc-navy) 75%);
	color: #fff;
	padding-block: clamp(4rem, 7vw, 6rem);
}

.hbc-score::after {
	position: absolute;
	right: -7rem;
	bottom: -16rem;
	width: 32rem;
	height: 32rem;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: 50%;
	box-shadow: 0 0 0 3rem rgb(255 255 255 / 5%), 0 0 0 6rem rgb(255 255 255 / 4%);
	content: "";
	pointer-events: none;
}

.hbc-score .hbc-eyebrow {
	color: var(--hbc-border);
}

.hbc-score__inner {
	position: relative;
	z-index: 1;
	align-items: center;
}

.hbc-score__inner > div:last-child p {
	max-width: 480px;
	margin-top: 0;
}

.hbc-partners {
	background: var(--hbc-bg-alt);
}

.hbc-partners__inner > div:last-child p {
	margin-top: 0;
}

.hbc-contact-band {
	background: var(--hbc-navy);
	border-bottom: 1px solid rgb(255 255 255 / 10%);
	color: #fff;
	padding-block: clamp(3rem, 6vw, 5rem);
}

.hbc-contact-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.hbc-contact-band h2 {
	font-size: clamp(2.4rem, 5vw, 4rem);
}

/* ---------- Footer ---------- */

.hbc-footer {
	background: var(--hbc-navy);
	color: rgb(255 255 255 / 82%);
	padding-top: 3.5rem;
}

.hbc-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 0.7fr;
	gap: 3rem;
	padding-bottom: 3rem;
}

.hbc-footer__eyebrow {
	margin: 0 0 0.4rem;
	color: var(--hbc-accent);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.hbc-footer__title {
	margin: 0;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 850;
}

.hbc-footer__intro > p:last-child {
	max-width: 300px;
	font-size: 0.9rem;
}

.hbc-footer h2 {
	margin: 0 0 0.9rem;
	color: #fff;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hbc-footer__contact p {
	margin: 0 0 0.7rem;
}

.hbc-footer__contact a,
.hbc-footer__social a {
	display: block;
	width: fit-content;
	margin-top: 0.5rem;
	color: rgb(255 255 255 / 88%);
	font-size: 0.9rem;
	text-decoration: none;
}

.hbc-footer a:hover {
	color: var(--hbc-accent);
}

.hbc-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid rgb(255 255 255 / 16%);
	padding-block: 1.1rem;
	font-size: 0.75rem;
}

.hbc-footer__bottom a {
	color: inherit;
	text-decoration: none;
}

.hbc-main--archive {
	min-height: 55vh;
	padding-block: 5rem;
}

.hbc-page-heading {
	margin-bottom: 2.5rem;
}

.hbc-page-heading h1 {
	margin: 0;
	color: var(--hbc-navy);
	font-size: clamp(2.5rem, 5vw, 4rem);
}

.hbc-page-heading > p:last-child {
	color: var(--hbc-muted);
}

.hbc-post-card .hbc-card__body > p:not(.hbc-post-card__date) {
	color: var(--hbc-muted);
}

.hbc-pagination {
	margin-top: 2rem;
}

/* ---------- Tablette ---------- */

@media (max-width: 900px) {
	.hbc-hero {
		min-height: 620px;
	}

	.hbc-event-grid,
	.hbc-post-grid,
	.hbc-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hbc-quick-links__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hbc-quick-link:nth-child(2) {
		border-right: 0;
	}

	.hbc-quick-link:nth-child(-n + 2) {
		border-bottom: 1px solid var(--hbc-border);
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 620px) {
	.hbc-container,
	.hbc-header__inner,
	.hbc-footer__inner,
	.hbc-footer__bottom {
		width: min(100% - 2rem, 1200px);
	}

	.hbc-hero {
		min-height: 640px;
	}

	.hbc-hero__inner {
		align-items: flex-start;
		padding-block: 5rem 6rem;
	}

	.hbc-hero h1 {
		font-size: clamp(3.2rem, 16vw, 5rem);
	}


	.hbc-hero__inner {
		padding-bottom: calc(44vw + 4rem);
	}

	.hbc-hero__court {
		top: auto;
		right: auto;
		bottom: 3rem;
		left: 6%;
		width: 88%;
		transform: rotate(-3deg);
	}

	.hbc-hero__scroll {
		display: none;
	}

	.hbc-hero__scroll {
		left: 1rem;
	}

	.hbc-intro__grid,
	.hbc-section-heading,
	.hbc-partners__inner,
	.hbc-score__inner {
		grid-template-columns: 1fr;
		gap: 1.2rem;
	}

	.hbc-section h2,
	.hbc-score h2 {
		font-size: clamp(2.5rem, 12vw, 3.6rem);
	}

	.hbc-values,
	.hbc-event-grid,
	.hbc-post-grid,
	.hbc-category-grid {
		grid-template-columns: 1fr;
	}

	.hbc-quick-links {
		margin-top: -1.25rem;
	}

	.hbc-quick-links__grid {
		grid-template-columns: 1fr;
	}

	.hbc-quick-link,
	.hbc-quick-link:nth-child(2) {
		min-height: 86px;
		border-right: 0;
		border-bottom: 1px solid var(--hbc-border);
		padding: 1rem 1.1rem;
	}

	.hbc-quick-link:last-child {
		border-bottom: 0;
	}

	.hbc-value {
		min-height: auto;
		padding-block: 1.2rem;
	}

	.hbc-event-card {
		min-height: auto;
	}

	.hbc-empty-state {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.hbc-post-card__image {
		height: 200px;
	}

	.hbc-contact-band__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.hbc-footer__inner {
		grid-template-columns: 1fr;
		gap: 1.8rem;
	}

	.hbc-footer__bottom {
		flex-wrap: wrap;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hbc-button,
	.hbc-header__cta,
	.hbc-text-link span,
	.hbc-post-card__image img,
	.hbc-category-card__image img {
		transition: none;
	}
}
/* Remplacements des shortcodes de plugins désactivés */
.hbc-sc-service {
	margin-block: 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--hbc-border);
	border-left: 3px solid var(--hbc-blue);
	border-radius: 0 0.9rem 0.9rem 0;
	background: var(--hbc-bg);
}

.hbc-sc-service > h3 {
	margin: 0 0 0.6rem;
	font-size: 1.15rem;
}

.hbc-sc-list ul {
	margin: 0;
	padding-left: 1.2rem;
}

.hbc-sc-list li::marker {
	color: var(--hbc-blue);
}

.hbc-sc-service p:empty,
.hbc-sc-list p:empty {
	display: none;
}

/* ---------- Prochains matchs (extension HBC Matchs) ---------- */

.hbc-matches {
	background: var(--hbc-bg-alt);
}

.hbc-section-heading > p .hbc-text-link {
	display: inline-flex;
	margin-left: 0.25rem;
}

.hbc-matches__period {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.25rem;
	border-radius: 999px;
	background: var(--hbc-navy);
	padding: 0.45rem 1rem;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hbc-matches__period::before {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--hbc-accent);
	content: "";
}

.hbc-matches__days {
	display: grid;
	gap: 1.25rem;
}

.hbc-matchday {
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	padding: clamp(1.1rem, 2.5vw, 1.6rem);
	box-shadow: 0 0.8rem 2rem rgb(22 29 79 / 6%);
}

.hbc-matchday__title {
	margin: 0 0 1rem;
	color: var(--hbc-navy);
	font-size: 1.25rem;
}

.hbc-matchday__groups {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
	gap: 1rem 1.5rem;
}

.hbc-matchday__label {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3rem 0.6rem;
	margin: 0 0 0.6rem;
	color: var(--hbc-muted);
	font-size: 0.82rem;
}

.hbc-matchday__label span {
	color: var(--hbc-blue);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hbc-match-list {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbc-match {
	display: grid;
	grid-template-columns: 3.4rem 3.6rem minmax(0, 1fr) auto;
	grid-template-areas: "time cat teams link";
	align-items: center;
	gap: 0.75rem;
	border: 1px solid var(--hbc-border);
	border-radius: 0.8rem;
	background: #fff;
	padding: 0.65rem 0.85rem;
}

.hbc-match:has(.hbc-match__venue) {
	grid-template-columns: 3.4rem 3.6rem minmax(0, 1fr) auto auto;
	grid-template-areas: "time cat teams venue link";
}

.hbc-match--home {
	border-left: 3px solid var(--hbc-blue);
}

.hbc-match__time {
	grid-area: time;
	color: var(--hbc-navy);
	font-size: 0.9rem;
	font-weight: 850;
	font-variant-numeric: tabular-nums;
}

.hbc-match__cat {
	grid-area: cat;
	justify-self: start;
	border-radius: 0.45rem;
	background: rgb(43 59 176 / 10%);
	padding: 0.2rem 0.45rem;
	color: var(--hbc-blue);
	font-size: 0.72rem;
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

.hbc-match__cat:hover {
	background: var(--hbc-blue);
	color: #fff;
}

/* Score en ligne : Équipe 1 [logo]  28 – 27  [logo] Équipe 2 */
.hbc-match__teams {
	grid-area: teams;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.6rem;
	min-width: 0;
}

.hbc-match__team {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	color: var(--hbc-ink);
	font-size: 0.9rem;
}

.hbc-match__team--home,
.hbc-match__team--away {
	max-width: 100%;
	overflow: hidden;
}

.hbc-match__team--home {
	flex-direction: row-reverse;
	justify-self: end;
	text-align: right;
}

.hbc-match__team--away {
	justify-self: start;
}

.hbc-match__team.is-club {
	color: var(--hbc-navy);
	font-weight: 850;
}

.hbc-match__team img,
.hbc-match__logo-placeholder {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	border-radius: 50%;
	background: var(--hbc-bg);
	object-fit: contain;
}

.hbc-match__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hbc-match__score {
	border-radius: 0.45rem;
	background: var(--hbc-navy);
	padding: 0.15rem 0.55rem;
	color: #fff;
	font-size: 0.88rem;
	font-variant-numeric: tabular-nums;
	text-align: center;
	white-space: nowrap;
}

.hbc-match__score.is-win {
	background: var(--hbc-win);
}

.hbc-match__score.is-draw {
	background: var(--hbc-draw);
}

.hbc-match__score.is-loss {
	background: var(--hbc-loss);
}

.hbc-match__vs {
	min-width: 2.2rem;
	text-align: center;
	color: var(--hbc-silver);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
}

.hbc-match__venue {
	grid-area: venue;
	color: var(--hbc-muted);
	font-size: 0.8rem;
	white-space: nowrap;
}

.hbc-match__link {
	grid-area: link;
	color: var(--hbc-muted);
	font-size: 0.72rem;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.hbc-match__link:hover {
	color: var(--hbc-blue);
}

.hbc-match-list--dated .hbc-match {
	grid-template-columns: 7.5rem 3.6rem minmax(0, 1fr) auto;
}

.hbc-match-list--dated .hbc-match:has(.hbc-match__venue) {
	grid-template-columns: 7.5rem 3.6rem minmax(0, 1fr) auto auto;
}

.hbc-match-list--dated .hbc-match__time {
	font-size: 0.8rem;
}

.hbc-matches__later {
	margin-top: 1.25rem;
}

.hbc-matches__later summary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.9rem;
	border: 1px solid var(--hbc-border);
	border-radius: 999px;
	background: var(--hbc-surface);
	padding: 0.6rem 1.1rem;
	color: var(--hbc-blue);
	font-size: 0.85rem;
	font-weight: 850;
	cursor: pointer;
	list-style: none;
}

.hbc-matches__later summary::-webkit-details-marker {
	display: none;
}

.hbc-matches__later summary::after {
	width: 0.4rem;
	height: 0.4rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: translateY(-0.1rem) rotate(45deg);
}

.hbc-matches__later[open] summary::after {
	transform: translateY(0.1rem) rotate(225deg);
}

.hbc-matches__source {
	margin: 1.25rem 0 0;
	color: var(--hbc-muted);
	font-size: 0.78rem;
}

.hbc-team-schedule {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
	gap: 1.5rem;
}

.hbc-team-schedule__block h2 {
	margin: 0 0 1rem;
	font-size: 1.5rem;
}

@media (max-width: 620px) {
	.hbc-match,
	.hbc-match:has(.hbc-match__venue),
	.hbc-match-list--dated .hbc-match,
	.hbc-match-list--dated .hbc-match:has(.hbc-match__venue) {
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"time cat link"
			"teams teams teams"
			"venue venue venue";
		gap: 0.45rem 0.6rem;
	}

	.hbc-match__teams {
		gap: 0.4rem;
	}

	.hbc-match__team {
		font-size: 0.82rem;
	}

	.hbc-team-schedule .hbc-match-list--dated .hbc-match,
	.hbc-team-schedule .hbc-match-list--dated .hbc-match:has(.hbc-match__venue) {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"time link"
			"teams teams"
			"venue venue";
	}
}

/* ---------- Page équipe : prochain match, classement, forme ---------- */

@media (min-width: 1100px) {
	.hbc-team-schedule {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
	}
}

/* Sur la page d'une équipe, la catégorie est déjà connue : place aux noms */
.hbc-team-schedule .hbc-match__cat,
.hbc-team-lists .hbc-match__cat {
	display: none;
}

.hbc-team-schedule .hbc-match-list--dated .hbc-match,
.hbc-team-lists .hbc-match-list--dated .hbc-match {
	grid-template-columns: 9.5rem minmax(0, 1fr) 7rem auto;
	grid-template-areas: "time teams venue link";
}

.hbc-team-schedule .hbc-match-list--dated .hbc-match:has(.hbc-match__venue),
.hbc-team-lists .hbc-match-list--dated .hbc-match:has(.hbc-match__venue) {
	grid-template-columns: 9.5rem minmax(0, 1fr) 7rem auto;
	grid-template-areas: "time teams venue link";
}

.hbc-team-schedule__block .hbc-matches__later {
	margin-top: 1rem;
}

.hbc-next-match {
	border: 1px solid var(--hbc-border);
	border-top: 4px solid var(--hbc-blue);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	padding: clamp(1.2rem, 3vw, 1.75rem);
	box-shadow: 0 1rem 2.5rem rgb(22 29 79 / 8%);
}

.hbc-next-match__when {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.3rem 1rem;
	margin: 0 0 1.4rem;
}

.hbc-next-match__when strong {
	color: var(--hbc-navy);
	font-size: 1.2rem;
}

.hbc-next-match__when span {
	border-radius: 0.5rem;
	background: var(--hbc-navy);
	padding: 0.2rem 0.6rem;
	color: #fff;
	font-weight: 800;
}

.hbc-next-match__teams {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
}

.hbc-next-match__team {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.6rem;
	color: var(--hbc-ink);
	font-size: 0.95rem;
	font-weight: 650;
	text-align: center;
}

.hbc-next-match__team.is-club {
	color: var(--hbc-navy);
	font-weight: 900;
}

.hbc-next-match__team img,
.hbc-next-match__team .hbc-match__logo-placeholder {
	width: 56px;
	height: 56px;
	flex-basis: 56px;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
	box-shadow: 0 0.4rem 1rem rgb(22 29 79 / 10%);
}

.hbc-next-match__vs {
	color: var(--hbc-silver);
	font-size: 0.9rem;
	font-weight: 900;
	text-transform: uppercase;
}

.hbc-next-match__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 1.4rem 0 0;
	border-top: 1px solid var(--hbc-border);
	padding-top: 1rem;
	color: var(--hbc-muted);
	font-size: 0.85rem;
}

.hbc-next-match__meta a {
	margin-left: auto;
	color: var(--hbc-blue);
	font-weight: 800;
	text-decoration: none;
}

.hbc-next-match__badge {
	border-radius: 999px;
	background: rgb(43 59 176 / 10%);
	padding: 0.2rem 0.65rem;
	color: var(--hbc-blue);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hbc-standing + .hbc-standing {
	margin-top: 2rem;
}

.hbc-standing__poule {
	margin: 0 0 0.75rem;
	color: var(--hbc-muted);
	font-size: 0.85rem;
	font-weight: 700;
}

.hbc-standing__scroll {
	overflow-x: auto;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	box-shadow: 0 0.8rem 2rem rgb(22 29 79 / 6%);
}

.hbc-standing__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.86rem;
	font-variant-numeric: tabular-nums;
}

.hbc-standing__table th,
.hbc-standing__table td {
	border-bottom: 1px solid var(--hbc-border);
	padding: 0.55rem 0.5rem;
	text-align: center;
	white-space: nowrap;
}

.hbc-standing__table tbody tr:last-child > * {
	border-bottom: 0;
}

.hbc-standing__table thead th {
	background: var(--hbc-bg);
	color: var(--hbc-muted);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hbc-standing__table abbr {
	text-decoration: none;
}

.hbc-standing__table .hbc-standing__team {
	max-width: 14rem;
	text-align: left;
}

.hbc-standing__table tbody .hbc-standing__team {
	color: var(--hbc-ink);
	font-weight: 600;
}

.hbc-standing__team-inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.hbc-standing__team-name {
	overflow: hidden;
	text-overflow: ellipsis;
}

.hbc-standing__team img,
.hbc-standing__team .hbc-match__logo-placeholder {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
}

.hbc-standing__place {
	width: 2.2rem;
	color: var(--hbc-muted);
	font-weight: 800;
}

.hbc-standing__points {
	color: var(--hbc-navy);
	font-weight: 900;
}

/* Équipe du club en surbrillance */
.hbc-standing__table tr.is-club > * {
	background: rgb(43 59 176 / 10%);
}

.hbc-standing__table tr.is-club .hbc-standing__place {
	box-shadow: inset 4px 0 0 var(--hbc-blue);
	color: var(--hbc-blue);
}

.hbc-standing__table tr.is-club .hbc-standing__team {
	color: var(--hbc-navy);
	font-weight: 900;
}

/* Forme : pastilles de couleur (victoire, nul, défaite, gris = pas encore joué) */
.hbc-form {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	vertical-align: middle;
}

.hbc-form__dot {
	width: 0.85rem;
	height: 0.85rem;
	display: inline-block;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgb(22 29 79 / 8%);
}

.hbc-form__dot--v {
	background: var(--hbc-win);
}

.hbc-form__dot--n {
	background: var(--hbc-draw);
}

.hbc-form__dot--d {
	background: var(--hbc-loss);
}

.hbc-form__dot--empty {
	background: var(--hbc-unplayed);
}

.hbc-standing__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1rem;
	margin: 0.8rem 0 0.4rem;
	color: var(--hbc-muted);
	font-size: 0.78rem;
}

.hbc-standing__legend > span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

@media (max-width: 620px) {
	.hbc-standing__detail {
		display: none;
	}

	.hbc-standing__diff {
		display: none;
	}

	.hbc-standing__table th,
	.hbc-standing__table td {
		padding-inline: 0.35rem;
	}

	.hbc-standing__table .hbc-standing__team {
		max-width: 7.5rem;
	}

	.hbc-form {
		gap: 0.2rem;
	}

	.hbc-form__dot {
		width: 0.7rem;
		height: 0.7rem;
	}

	.hbc-next-match__meta a {
		margin-left: 0;
	}
}

/* Listes de matchs d'une équipe : pleine largeur sous le prochain match et le classement */
.hbc-team-lists {
	display: grid;
	gap: 0.25rem;
	margin-top: 2rem;
}

.hbc-team-lists {
	gap: 2rem;
}

.hbc-team-lists__block h2 {
	margin: 0 0 1rem;
	font-size: 1.5rem;
}

.hbc-team-lists .hbc-matches__later {
	margin-top: 0.75rem;
}

@media (max-width: 620px) {
	.hbc-team-schedule .hbc-match-list--dated .hbc-match,
	.hbc-team-schedule .hbc-match-list--dated .hbc-match:has(.hbc-match__venue),
	.hbc-team-lists .hbc-match-list--dated .hbc-match,
	.hbc-team-lists .hbc-match-list--dated .hbc-match:has(.hbc-match__venue) {
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"time venue link"
			"teams teams teams";
	}
}

/* ---------- Lieu du match : étiquette « Domicile » ou ville ---------- */

.hbc-match__home-chip {
	display: inline-block;
	border-radius: 999px;
	background: rgb(43 59 176 / 10%);
	padding: 0.15rem 0.6rem;
	color: var(--hbc-blue);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ---------- Bouton « voir plus » placé après une liste ---------- */

.hbc-more-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.75rem;
	border: 1px solid var(--hbc-border);
	border-radius: 999px;
	background: var(--hbc-surface);
	padding: 0.6rem 1.1rem;
	color: var(--hbc-blue);
	font-size: 0.85rem;
	font-weight: 850;
	cursor: pointer;
}

.hbc-more-toggle:hover {
	background: #fff;
	color: var(--hbc-navy);
	box-shadow: none;
	transform: none;
}

.hbc-more-toggle::after {
	width: 0.4rem;
	height: 0.4rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: translateY(-0.1rem) rotate(45deg);
}

.hbc-more-toggle[aria-expanded="true"]::after {
	transform: translateY(0.1rem) rotate(225deg);
}

/* ---------- Accueil : carte du prochain week-end ---------- */

.hbc-weekend {
	overflow: hidden;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-surface);
	box-shadow: 0 1rem 2.5rem rgb(22 29 79 / 8%);
}

.hbc-weekend__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 1.5rem;
	border-bottom: 1px solid var(--hbc-border);
	padding: 1.1rem clamp(1rem, 2.5vw, 1.6rem);
}

.hbc-weekend__head .hbc-matches__period {
	margin: 0;
}

.hbc-weekend__summary {
	margin: 0;
	color: var(--hbc-muted);
	font-size: 0.88rem;
}

.hbc-weekend__summary strong {
	color: var(--hbc-blue);
}

.hbc-weekend__day + .hbc-weekend__day {
	border-top: 1px solid var(--hbc-border);
}

.hbc-weekend__day-title {
	margin: 0;
	background: var(--hbc-bg);
	padding: 0.6rem clamp(1rem, 2.5vw, 1.6rem);
	color: var(--hbc-navy);
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hbc-match-list--weekend {
	gap: 0;
}

.hbc-match-list--weekend .hbc-match,
.hbc-match-list--weekend .hbc-match:has(.hbc-match__venue) {
	grid-template-columns: 3.6rem 3.8rem minmax(0, 1fr) 7.5rem auto;
	grid-template-areas: "time cat teams venue link";
	border: 0;
	border-bottom: 1px solid var(--hbc-border);
	border-radius: 0;
	background: transparent;
	padding: 0.75rem clamp(1rem, 2.5vw, 1.6rem);
}

.hbc-match-list--weekend .hbc-match:last-child {
	border-bottom: 0;
}

.hbc-match-list--weekend .hbc-match--home {
	border-left: 0;
	box-shadow: inset 3px 0 0 var(--hbc-blue);
}

.hbc-match-list--weekend .hbc-match:hover {
	background: #fff;
}

.hbc-match__venue {
	text-align: right;
}

@media (max-width: 620px) {
	.hbc-match-list--weekend .hbc-match,
	.hbc-match-list--weekend .hbc-match:has(.hbc-match__venue) {
		grid-template-columns: auto auto 1fr auto;
		grid-template-areas:
			"time cat venue link"
			"teams teams teams teams";
		gap: 0.5rem 0.6rem;
	}

	.hbc-match-list--weekend .hbc-match__venue {
		justify-self: end;
	}
}

/* ---------- Page « Nos sponsors & partenaires » ---------- */

.hbc-entry-content:has(.hbc-sponsor-grid) {
	max-width: 1100px;
}

.hbc-sponsor-intro,
.hbc-page-intro {
	max-width: 46rem;
	color: var(--hbc-muted);
	font-size: 1.12rem;
}

.hbc-entry-content:has(.hbc-sponsor-grid) h2 {
	margin-top: 2.5rem;
	font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.hbc-sponsor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
	gap: 1rem;
}

.hbc-entry-content .hbc-sponsor-grid > * + * {
	margin-top: 0;
}

.hbc-sponsor.wp-block-image {
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: #fff;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

/* Zone du logo de hauteur fixe, avec ou sans lien */
.hbc-sponsor > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 9.5rem;
	padding: 1.25rem;
}

.hbc-sponsor > a img,
.hbc-entry-content .hbc-sponsor > a img {
	width: 100%;
	height: 100%;
	border-radius: 0.4rem;
	object-fit: contain;
}

.hbc-sponsor > img,
.hbc-entry-content .hbc-sponsor > img {
	box-sizing: border-box;
	width: 100%;
	height: 9.5rem;
	border-radius: 0;
	padding: 1.25rem;
	object-fit: contain;
}

.hbc-sponsor figcaption.wp-element-caption {
	margin: auto 0 0;
	border-top: 1px solid var(--hbc-border);
	background: var(--hbc-surface);
	padding: 0.65rem 0.9rem;
	color: var(--hbc-navy);
	font-size: 0.82rem;
	font-weight: 750;
	text-align: center;
}

.hbc-sponsor:has(a):hover {
	border-color: rgb(43 59 176 / 35%);
	box-shadow: 0 0.8rem 1.8rem rgb(22 29 79 / 12%);
	transform: translateY(-3px);
}

.hbc-sponsor:has(a) figcaption::after {
	margin-left: 0.35rem;
	color: var(--hbc-blue);
	content: "↗";
}

.hbc-sponsor-cta,
.hbc-cta {
	margin-top: 3rem;
	border-radius: var(--hbc-radius);
	background: radial-gradient(circle at 90% 10%, rgb(140 154 236 / 25%), transparent 45%), var(--hbc-navy);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	color: rgb(255 255 255 / 85%);
}

.hbc-entry-content .hbc-sponsor-cta h2,
.hbc-entry-content .hbc-cta h2 {
	margin-top: 0;
	color: #fff;
}

.hbc-sponsor-cta .wp-block-buttons,
.hbc-cta .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hbc-entry-content .hbc-sponsor-cta .wp-block-button__link,
.hbc-entry-content .hbc-cta .wp-block-button__link {
	display: inline-block;
	border-radius: 999px;
	background: #fff;
	padding: 0.8rem 1.3rem;
	color: var(--hbc-blue);
	font-weight: 850;
	text-decoration: none;
}

.hbc-entry-content .hbc-sponsor-cta .is-style-outline .wp-block-button__link,
.hbc-entry-content .hbc-cta .is-style-outline .wp-block-button__link {
	border: 1px solid rgb(255 255 255 / 55%);
	background: transparent;
	color: #fff;
}

@media (max-width: 620px) {
	.hbc-sponsor-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.6rem;
	}

	.hbc-sponsor > a,
	.hbc-sponsor > img,
	.hbc-entry-content .hbc-sponsor > img {
		height: 6.5rem;
		padding: 0.75rem;
	}

	.hbc-sponsor figcaption.wp-element-caption {
		padding: 0.5rem;
		font-size: 0.72rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hbc-sponsor.wp-block-image {
		transition: none;
	}
}

/* ---------- Éléments de contenu partagés (pages refaites en blocs) ---------- */

.hbc-entry-content h2.wp-block-heading {
	margin-top: 2.25rem;
	font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.hbc-notice {
	border: 1px solid rgb(43 59 176 / 20%);
	border-left: 4px solid var(--hbc-blue);
	border-radius: 0 0.9rem 0.9rem 0;
	background: rgb(43 59 176 / 6%);
	padding: 0.9rem 1.2rem;
}

.hbc-notice--warning {
	border-color: rgb(184 138 50 / 35%);
	border-left-color: var(--hbc-draw);
	background: rgb(184 138 50 / 9%);
}

.hbc-entry-content .hbc-notice p {
	margin: 0;
}

.hbc-zoomable.wp-block-image {
	margin-inline: 0;
}

.hbc-zoomable img {
	width: 100%;
	height: auto;
	border: 1px solid var(--hbc-border);
	background: #fff;
}

.hbc-zoomable a {
	display: block;
	cursor: zoom-in;
}

.hbc-zoomable figcaption {
	margin-top: 0.4rem;
	color: var(--hbc-muted);
	font-size: 0.78rem;
	text-align: center;
}

.hbc-table.wp-block-table {
	margin-inline: 0;
	overflow-x: auto;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: #fff;
}

.hbc-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.hbc-table th,
.hbc-table td {
	border: 0;
	border-bottom: 1px solid var(--hbc-border);
	padding: 0.7rem 0.9rem;
	text-align: left;
}

.hbc-table thead th {
	background: var(--hbc-navy);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hbc-table tbody tr:last-child td {
	border-bottom: 0;
}

.hbc-table tbody tr:nth-child(even) td {
	background: var(--hbc-surface);
}

.hbc-table td strong {
	color: var(--hbc-navy);
}

.hbc-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}

.hbc-entry-content .hbc-info-grid > * + * {
	margin-top: 0;
}

.hbc-info-card {
	border: 1px solid var(--hbc-border);
	border-top: 3px solid var(--hbc-blue);
	border-radius: 0 0 var(--hbc-radius) var(--hbc-radius);
	background: #fff;
	padding: 1.1rem 1.25rem;
}

.hbc-entry-content .hbc-info-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
}

.hbc-entry-content .hbc-info-card p {
	margin: 0;
	color: var(--hbc-muted);
	font-size: 0.92rem;
}

/* Calendrier : plusieurs week-ends empilés, bilan des résultats */
.hbc-weekend-stack {
	display: grid;
	gap: 1.5rem;
}

.hbc-entry-content .hbc-weekend-stack > * + *,
.hbc-entry-content .hbc-weekend * + * {
	margin-top: 0;
}

.hbc-entry-content .hbc-weekend h3 {
	font-size: 0.8rem;
}

.hbc-weekend__tally {
	font-weight: 850;
}

.hbc-weekend__tally--v {
	color: var(--hbc-win);
}

.hbc-weekend__tally--n {
	color: var(--hbc-draw);
}

.hbc-weekend__tally--d {
	color: var(--hbc-loss);
}

.hbc-entry-content:has(.hbc-weekend) {
	max-width: 1100px;
}

.hbc-entry-content .hbc-weekend a {
	font-weight: inherit;
}

.hbc-entry-content .hbc-weekend .hbc-match__link {
	font-weight: 800;
}

/* ---------- Formulaires Contact Form 7 (pré-inscription, contact…) ---------- */

.hbc-entry-content .wpcf7 {
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-bg);
	padding: clamp(1rem, 3vw, 2rem);
}

.hbc-entry-content .wpcf7 form > div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1.25rem;
}

.hbc-entry-content .wpcf7 form > div > * {
	grid-column: 1 / -1;
	margin: 0;
}

.hbc-entry-content .wpcf7 form > div > label:has(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select) {
	grid-column: auto;
}

.hbc-entry-content .wpcf7 h2 {
	margin: 1.5rem 0 0;
	border-top: 1px solid var(--hbc-border);
	padding-top: 1.25rem;
	font-size: 1.25rem;
}

.hbc-entry-content .wpcf7 form > div > h2:first-of-type {
	margin-top: 0;
	border-top: 0;
	padding-top: 0;
}

.hbc-entry-content .wpcf7 label {
	display: block;
	color: var(--hbc-navy);
	font-size: 0.88rem;
	font-weight: 700;
}

.hbc-entry-content .wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.3rem;
}

.hbc-entry-content .wpcf7 input[type="text"],
.hbc-entry-content .wpcf7 input[type="email"],
.hbc-entry-content .wpcf7 input[type="tel"],
.hbc-entry-content .wpcf7 input[type="date"],
.hbc-entry-content .wpcf7 select,
.hbc-entry-content .wpcf7 textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 2.75rem;
	border: 1px solid var(--hbc-border);
	border-radius: 0.6rem;
	background: #fff;
	padding: 0.55rem 0.75rem;
	color: var(--hbc-ink);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 400;
}

.hbc-entry-content .wpcf7 textarea {
	min-height: 7rem;
}

.hbc-entry-content .wpcf7 input:focus,
.hbc-entry-content .wpcf7 select:focus,
.hbc-entry-content .wpcf7 textarea:focus {
	border-color: var(--hbc-blue);
	outline: 3px solid rgb(43 59 176 / 18%);
	outline-offset: 0;
}

.hbc-entry-content .wpcf7 .wpcf7-list-item {
	margin: 0;
}

.hbc-entry-content .wpcf7 .wpcf7-list-item label,
.hbc-entry-content .wpcf7 label:has(input[type="checkbox"]) {
	font-weight: 600;
}

.hbc-entry-content .wpcf7 input[type="checkbox"] {
	width: 1.1rem;
	height: 1.1rem;
	margin-right: 0.45rem;
	accent-color: var(--hbc-blue);
	vertical-align: -0.15rem;
}

.hbc-entry-content .wpcf7 .wpcf7-form-control-wrap:has(input[type="checkbox"]) {
	display: inline;
	margin: 0;
}

.hbc-entry-content .wpcf7 p,
.hbc-entry-content .wpcf7 li {
	color: var(--hbc-muted);
	font-size: 0.92rem;
	font-weight: 400;
}

.hbc-entry-content .wpcf7 canvas {
	max-width: 100%;
	border: 1px solid var(--hbc-border);
	border-radius: 0.6rem;
	background: #fff;
}

.hbc-entry-content .wpcf7 .clear-button {
	margin-top: 0.4rem;
	border: 1px solid var(--hbc-border);
	background: var(--hbc-surface);
	padding: 0.4rem 0.9rem;
	color: var(--hbc-navy);
	font-size: 0.8rem;
}

.hbc-entry-content .wpcf7 input[type="submit"] {
	justify-self: start;
	min-height: 3rem;
	padding-inline: 2rem;
	font-size: 1rem;
	cursor: pointer;
}

.hbc-entry-content .wpcf7-not-valid-tip {
	margin-top: 0.25rem;
	color: var(--hbc-loss);
	font-size: 0.8rem;
	font-weight: 600;
}

.hbc-entry-content .wpcf7-response-output {
	margin: 1rem 0 0;
	border-radius: 0.6rem;
	padding: 0.75rem 1rem;
}

@media (max-width: 620px) {
	.hbc-entry-content .wpcf7 form > div {
		grid-template-columns: 1fr;
	}

	.hbc-entry-content .wpcf7 form > div > label:has(input, select) {
		grid-column: 1 / -1;
	}
}

/* Bloc conditionnel « parents » du formulaire : même grille à deux colonnes */
.hbc-entry-content .wpcf7 .uacf7_conditional {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1.25rem;
}

.hbc-entry-content .wpcf7 .uacf7_conditional > * {
	grid-column: 1 / -1;
	margin: 0;
}

.hbc-entry-content .wpcf7 .uacf7_conditional > label:has(input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select) {
	grid-column: auto;
}

/* Les liens du contenu sont en gras : on garde le style propre aux badges de catégorie */
.hbc-entry-content .hbc-weekend .hbc-match__cat {
	font-weight: 900;
}

@media (max-width: 620px) {
	.hbc-entry-content .wpcf7 .uacf7_conditional {
		grid-template-columns: 1fr;
	}

	.hbc-entry-content .wpcf7 .uacf7_conditional > label:has(input, select) {
		grid-column: 1 / -1;
	}
}

/* ---------- Nouvelles du club (extension HBC Nouvelles) : logo affiché en entier ---------- */

.hbc-news-card__media {
	display: grid;
	place-items: center;
	border-bottom: 1px solid var(--hbc-border);
	background: #fff;
	padding: 1rem;
}

.hbc-post-card .hbc-news-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hbc-news-card h3 a {
	color: var(--hbc-navy);
	text-decoration: none;
}

/* ---------- Bloc « Fichier » (PDF) : aperçu encadré, bouton Télécharger lisible ---------- */

.hbc-entry-content .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.hbc-entry-content .wp-block-file__embed {
	flex: 1 1 100%;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: #fff;
}

.hbc-entry-content .wp-block-file a:not(.wp-block-file__button) {
	color: var(--hbc-navy);
}

.hbc-entry-content .wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: var(--hbc-blue);
	padding: 0.55rem 1.1rem;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 850;
	text-decoration: none;
}

.hbc-entry-content .wp-block-file .wp-block-file__button:hover {
	background: var(--hbc-navy);
	color: #fff;
}

/* ---------- Pages de rubrique : contenu + « Dans cette rubrique » ---------- */

.hbc-entry-content:has(.hbc-value-grid, .hbc-doc-grid, .hbc-event-grid) {
	max-width: 1100px;
}

.hbc-subpages {
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

.hbc-subpages > h2 {
	margin: 0 0 1.5rem;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

/* Grilles de cartes dans le contenu : pas de marge entre éléments imposée par .hbc-entry-content */
.hbc-entry-content :is(.hbc-value-grid, .hbc-event-grid, .hbc-doc-grid, .hbc-photo-pair) > * + * {
	margin-top: 0;
}

/* Le Handball : les 7 valeurs */
.hbc-value-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
	gap: 1rem;
}

.hbc-value-card {
	border: 1px solid var(--hbc-border);
	border-top: 3px solid var(--hbc-blue);
	border-radius: 0 0 var(--hbc-radius) var(--hbc-radius);
	background: #fff;
	padding: 1.25rem 1.4rem;
}

.hbc-entry-content .hbc-value-card > * + * {
	margin-top: 0.7rem;
}

.hbc-entry-content .hbc-value-card__number {
	display: inline-block;
	margin: 0;
	border-bottom: 3px solid var(--hbc-accent);
	padding-bottom: 0.2rem;
	color: var(--hbc-blue);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hbc-entry-content .hbc-value-card h3 {
	margin-top: 0.6rem;
	font-size: 1.35rem;
}

.hbc-entry-content .hbc-value-card p,
.hbc-entry-content .hbc-value-card li {
	color: var(--hbc-muted);
	font-size: 0.95rem;
}

.hbc-entry-content .hbc-value-card .hbc-value-card__lead {
	color: var(--hbc-ink);
}

.hbc-entry-content .hbc-value-card ul {
	padding-left: 1.1rem;
}

.hbc-value-card li::marker {
	color: var(--hbc-blue);
}

/* La vie du club : citation et temps forts */
.hbc-quote.wp-block-quote {
	margin: 0;
	border: 0;
	border-left: 4px solid var(--hbc-accent);
	border-radius: 0 var(--hbc-radius) var(--hbc-radius) 0;
	background: #fff;
	padding: 1.1rem 1.4rem;
	color: var(--hbc-navy);
	font-size: 1.05rem;
	font-style: italic;
}

.hbc-entry-content .hbc-quote p {
	margin: 0;
}

.hbc-entry-content .hbc-quote p + p {
	margin-top: 0.4rem;
}

.hbc-entry-content .hbc-event-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 1rem;
}

.hbc-event-item {
	position: relative;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: #fff;
	padding: 1.1rem 1.25rem 1.2rem;
}

.hbc-entry-content .hbc-event-item > * + * {
	margin-top: 0.5rem;
}

.hbc-entry-content .hbc-event-item__when {
	display: inline-block;
	margin: 0;
	border-radius: 999px;
	background: var(--hbc-navy);
	padding: 0.2rem 0.7rem;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hbc-entry-content .hbc-event-item h3 {
	margin-top: 0.75rem;
	font-size: 1.1rem;
}

.hbc-entry-content .hbc-event-item p:not(.hbc-event-item__when) {
	color: var(--hbc-muted);
	font-size: 0.92rem;
}

/* Le coin des arbitres : fiches de documents */
.hbc-doc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
	gap: 1rem;
}

.hbc-doc-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: #fff;
	padding: 1.2rem 1.25rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hbc-doc-card:hover {
	border-color: rgb(43 59 176 / 35%);
	box-shadow: 0 0.8rem 1.8rem rgb(22 29 79 / 10%);
}

.hbc-entry-content .hbc-doc-card > * + * {
	margin-top: 0.55rem;
}

.hbc-entry-content .hbc-doc-card__tag {
	align-self: flex-start;
	margin: 0;
	border-radius: 999px;
	background: rgb(43 59 176 / 10%);
	padding: 0.15rem 0.6rem;
	color: var(--hbc-blue);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hbc-entry-content .hbc-doc-card h3 {
	margin-top: 0.7rem;
	font-size: 1.08rem;
	line-height: 1.25;
}

.hbc-entry-content .hbc-doc-card p:not(.hbc-doc-card__tag) {
	color: var(--hbc-muted);
	font-size: 0.9rem;
}

.hbc-entry-content .hbc-doc-card .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.75rem;
}

.hbc-entry-content :is(.hbc-doc-card, .hbc-notice) .wp-block-button__link {
	display: inline-flex;
	border-radius: 999px;
	background: var(--hbc-blue);
	padding: 0.5rem 1rem;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 850;
	text-decoration: none;
}

.hbc-entry-content :is(.hbc-doc-card, .hbc-notice) .wp-block-button__link:hover {
	background: var(--hbc-navy);
	color: #fff;
}

.hbc-entry-content :is(.hbc-doc-card, .hbc-notice) .is-style-outline .wp-block-button__link {
	border: 1px solid rgb(43 59 176 / 45%);
	background: transparent;
	color: var(--hbc-blue);
}

.hbc-entry-content .hbc-notice .wp-block-buttons {
	margin-top: 0.75rem;
}

/* Photos avec crédit */
.hbc-photo-wide.wp-block-image,
.hbc-photo.wp-block-image {
	margin: 0;
}

.hbc-photo-wide img {
	width: 100%;
	max-height: 26rem;
	border-radius: var(--hbc-radius);
	object-fit: cover;
	object-position: center 30%;
}

.hbc-photo-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.hbc-photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--hbc-radius);
	object-fit: cover;
	object-position: center 20%;
}

.hbc-entry-content :is(.hbc-photo-wide, .hbc-photo) figcaption {
	margin-top: 0.5rem;
	color: var(--hbc-muted);
	font-size: 0.82rem;
}

.hbc-credit {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.72rem;
	opacity: 0.85;
}

.hbc-entry-content .hbc-credit a {
	color: inherit;
	font-weight: 600;
}

@media (max-width: 620px) {
	.hbc-photo-pair {
		grid-template-columns: 1fr;
	}
}

/* Affiche des gestes de l'arbitre : taille raisonnable, agrandissement au clic */
.hbc-entry-content:has(.hbc-doc-grid) .hbc-zoomable {
	max-width: 40rem;
	margin-inline: auto;
}

/* ---------- Page Contact ---------- */

.hbc-entry-content:has(.hbc-contact-grid) {
	max-width: 1000px;
}

.hbc-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 1rem;
}

.hbc-entry-content .hbc-contact-grid > * + * {
	margin-top: 0;
}

.hbc-contact-card {
	border: 1px solid var(--hbc-border);
	border-top: 3px solid var(--hbc-blue);
	border-radius: 0 0 var(--hbc-radius) var(--hbc-radius);
	background: #fff;
	padding: 1.1rem 1.25rem;
}

.hbc-entry-content .hbc-contact-card > * + * {
	margin-top: 0.45rem;
}

.hbc-entry-content .hbc-contact-card__label {
	margin: 0;
	color: var(--hbc-blue);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hbc-entry-content .hbc-contact-card h3 {
	margin-top: 0.3rem;
	font-size: 1.1rem;
}

.hbc-entry-content .hbc-contact-card p:not(.hbc-contact-card__label) {
	color: var(--hbc-muted);
	font-size: 0.95rem;
	overflow-wrap: anywhere;
}

.hbc-map {
	overflow: hidden;
	border: 1px solid var(--hbc-border);
	border-radius: var(--hbc-radius);
	background: var(--hbc-bg);
}

.hbc-map iframe {
	display: block;
	width: 100%;
	height: clamp(16rem, 35vw, 22rem);
	border: 0;
}

/* ---------- Boutons dans le contenu des pages ----------
   La règle « .hbc-entry-content a » (liens bleus) s'appliquait aussi aux boutons :
   texte bleu sur fond bleu, illisible. Les boutons gardent un texte blanc. */
.hbc-entry-content a.hbc-button,
.hbc-entry-content a.hbc-button:hover,
.hbc-entry-content .wp-block-button:not(.is-style-outline) > .wp-block-button__link,
.hbc-entry-content .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
	color: #fff;
	text-decoration: none;
}

/* Photo d'équipe des archives */
.hbc-team-photo.wp-block-image {
	margin-inline: 0;
}

.hbc-team-photo img {
	width: 100%;
	height: auto;
	border-radius: var(--hbc-radius);
}

.hbc-team-photo a {
	display: block;
	cursor: zoom-in;
}

.hbc-entry-content .hbc-team-photo figcaption {
	margin-top: 0.5rem;
	color: var(--hbc-muted);
	font-size: 0.82rem;
	text-align: center;
}

/* Encadrés bleu nuit (« Envie d'arbitrer ? », « Devenir partenaire », bénévolat…) :
   bouton principal blanc avec texte bleu. Plus spécifique que la règle « texte blanc »
   des boutons du contenu ci-dessus. */
.hbc-entry-content :is(.hbc-cta, .hbc-sponsor-cta) .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background: #fff;
	color: var(--hbc-blue);
}

.hbc-entry-content :is(.hbc-cta, .hbc-sponsor-cta) .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
	background: var(--hbc-bg);
	color: var(--hbc-navy);
}

/* Page équipe : compétition · poule, puis le bouton « Voir l'équipe en photo » sur la même ligne */
.hbc-team-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1rem;
	margin-top: 1rem;
}

.hbc-team-meta:empty {
	display: none;
}

.hbc-page-heading .hbc-team-meta__competition {
	margin: 0;
	color: var(--hbc-muted);
}

/* Pied de page : liens secondaires, dont le lien discret « Espace bureau » */
.hbc-footer__links {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
}

.hbc-footer .hbc-footer-discreet {
	color: rgb(255 255 255 / 45%);
}

.hbc-footer .hbc-footer-discreet:hover {
	color: rgb(255 255 255 / 85%);
}
