/*
 * Article de blog — nouveau design (template-parts/single-post.php).
 * Chargé sur les pages « blog » (articles, page Blog) ; tout est préfixé .tbx-art
 * pour ne pas toucher la page Blog (widgets HTML .tbblog-*).
 *
 * Couleur par catégorie (mêmes couleurs que la page Blog) : --c (couleur), --tint (fond clair).
 */

.tbx-art--clubs { --c: #004b76; --c-deep: #013a5c; --tint: #eaf3f7;
}

.tbx-art--enseignants { --c: #cb5223; --c-deep: #a8421b; --tint: #fcefe9;
}

.tbx-art--joueurs { --c: #b92121; --c-deep: #961a1a; --tint: #fbecec;
}

.tbx-art--actualites { --c: #15a05a; --c-deep: #0e7a40; --tint: #eaf7f0;
}

.tbx-art {
	--pad: max(clamp(20px, 5.5vw, 80px), calc((100% - 1280px) / 2));
	--ink: #0f2a3d;
	--ink-2: #3e5063;
	--mute: #5a6b7c;
	font-family: var(--tbx-font);
	color: var(--ink-2);
	-webkit-font-smoothing: antialiased;
}

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

/* ---------- Pastille de catégorie ---------- */

.tbx-art-cat {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--c);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.2;
	text-transform: uppercase;
}

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

.tbx-art-hero {
	padding: 40px var(--pad) 64px;
	background:
		radial-gradient(1200px 400px at 85% 0%, rgba(255, 255, 255, .7), transparent 70%),
		var(--tint);
}

.tbx-art-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.tbx-art-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	min-width: 0;
}

.tbx-art-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-bottom: 6px;
	color: var(--mute);
	font-size: 13.5px;
	line-height: 1.4;
}

.tbx-art-crumbs a {
	color: var(--tbx-navy);
	font-weight: 600;
	text-decoration: none;
}

.tbx-art-crumbs a:hover {
	color: var(--tbx-orange);
}

.tbx-art .tbx-art-title {
	margin: 0;
	color: var(--ink);
	font-family: var(--tbx-font);
	font-size: clamp(32px, 4.2vw, 54px);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.04;
	text-wrap: balance;
}

.tbx-art-lead {
	margin: 0;
	max-width: 620px;
	color: var(--ink-2);
	font-size: clamp(16.5px, 1.4vw, 19px);
	line-height: 1.6;
}

.tbx-art-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	margin: 4px 0 0;
	color: var(--mute);
	font-size: 14px;
	font-weight: 600;
}

.tbx-art-cover {
	margin: 0;
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(0, 40, 70, .45);
	aspect-ratio: 3 / 2;
}

.tbx-art-cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Contenu (blocs de l'éditeur WordPress) ---------- */

.tbx-art-body {
	max-width: calc(760px + 2 * clamp(20px, 5.5vw, 80px));
	margin: 0 auto;
	padding: 64px clamp(20px, 5.5vw, 80px) 24px;
	font-size: 17.5px;
	line-height: 1.75;
}

.tbx-art-body > * {
	margin-top: 0;
	margin-bottom: 1.15em;
}

.tbx-art-body p {
	color: var(--ink-2);
}

.tbx-art-body strong {
	color: var(--ink);
	font-weight: 700;
}

.tbx-art-body a:not(.wp-block-button__link):not(.tb-cta__more) {
	color: var(--c);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.tbx-art-body a:not(.wp-block-button__link):not(.tb-cta__more):hover {
	color: var(--c-deep);
}

/* Titres : couleur de la charte (une couleur choisie dans l'éditeur garde la priorité). */

.tbx-art-body h2,
.tbx-art-body h3,
.tbx-art-body h4 {
	font-family: var(--tbx-font);
	color: var(--ink);
	letter-spacing: -.025em;
	line-height: 1.2;
	text-wrap: balance;
}

.tbx-art-body h2 {
	margin: 1.9em 0 .6em;
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 800;
}

.tbx-art-body h3 {
	margin: 1.6em 0 .5em;
	font-size: clamp(20px, 2vw, 23px);
	font-weight: 800;
}

.tbx-art-body h4 {
	margin: 1.4em 0 .4em;
	font-size: 19px;
	font-weight: 700;
}

.tbx-art-body ul,
.tbx-art-body ol {
	padding-left: 1.3em;
}

.tbx-art-body li {
	margin-bottom: .45em;
}

.tbx-art-body li::marker {
	color: var(--c);
	font-weight: 800;
}

.tbx-art-body img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}

.tbx-art-body figure {
	margin-left: 0;
	margin-right: 0;
}

.tbx-art-body figcaption {
	margin-top: 8px;
	color: var(--mute);
	font-size: 14px;
	text-align: center;
}

.tbx-art-body blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--c);
	color: var(--ink);
	font-size: 1.1em;
	font-style: italic;
}

.tbx-art-body hr,
.tbx-art-body .wp-block-separator {
	margin: 2.4em auto;
	border: 0;
	border-top: 1px solid #e6dcd3;
	opacity: 1;
}

/* Encart « L'idée en plus » (paragraphe avec la classe idee-en-plus). */

.tbx-art-body .idee-en-plus {
	margin: 1.6em 0;
	padding: 18px 22px;
	border-left: 4px solid var(--c);
	border-radius: 0 18px 18px 0;
	background: var(--tint);
	color: var(--ink);
	font-size: 16.5px;
	line-height: 1.65;
}

/* Boutons de l'éditeur : pilule à la couleur de la catégorie, quelle que soit la couleur
   choisie dans l'éditeur (les couleurs « ast-global-color » d'Astra n'existent plus). */

.tbx-art-body .wp-block-buttons {
	gap: 12px;
	margin: 2em 0;
}

.tbx-art-body .wp-block-button__link,
.tbx-art-body .wp-block-button__link.has-background {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--c);
	color: #fff;
	font-family: var(--tbx-font);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 14px 26px -14px var(--c);
	transition: background .2s, transform .2s;
}

/* Les couleurs de l'éditeur sont en !important (WordPress) : on les remplace pour garder l'harmonie. */

.tbx-art-body .wp-block-button__link.has-background {
	background-color: var(--c) !important;
}

.tbx-art-body .wp-block-button__link.has-text-color {
	color: #fff !important;
}

.tbx-art-body .wp-block-button__link:hover,
.tbx-art-body .wp-block-button__link:focus-visible,
.tbx-art-body .wp-block-button__link.has-background:hover {
	background-color: var(--c-deep) !important;
	color: #fff;
	transform: translateY(-2px);
}

.tbx-art-body .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--c);
	box-shadow: inset 0 0 0 2px var(--c);
}

/* ---------- Bas d'article : retour + articles similaires ---------- */

.tbx-art-foot {
	padding: 24px var(--pad) 88px;
}

.tbx-art-foot-inner {
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.tbx-art-back {
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid rgba(0, 75, 118, .2);
	border-radius: 999px;
	color: var(--tbx-navy);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	transition: border-color .2s, gap .2s;
}

.tbx-art-back:hover {
	gap: 12px;
	border-color: var(--tbx-navy);
	color: var(--tbx-navy);
}

.tbx-art-related {
	padding-top: 56px;
	border-top: 1px solid #eee5dc;
}

.tbx-art-related h2 {
	margin: 0 0 28px;
	color: var(--ink);
	font-family: var(--tbx-font);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.1;
}

.tbx-art-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.tbx-art-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #eee5dc;
	border-radius: 22px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}

.tbx-art-card:hover,
.tbx-art-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 22px 40px -24px rgba(0, 40, 70, .4);
	color: inherit;
}

.tbx-art-card-media {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--tint);
}

.tbx-art-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tbx-art-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 20px 22px 22px;
}

.tbx-art-card .tbx-art-cat {
	padding: 5px 11px;
	font-size: 11px;
}

.tbx-art-card-title {
	color: var(--ink);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.3;
}

.tbx-art-card-text {
	color: var(--mute);
	font-size: 14.5px;
	line-height: 1.55;
}

.tbx-art-card-more {
	margin-top: auto;
	padding-top: 6px;
	color: var(--c);
	font-size: 14.5px;
	font-weight: 800;
}

/* ---------- Tablette / mobile ---------- */

@media (max-width: 1024px) {
	.tbx-art-hero-inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-art-cover {
		max-width: 760px;
	}

	.tbx-art-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tbx-art-hero {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.tbx-art-head {
		gap: 14px;
	}

	.tbx-art-cover {
		border-radius: 22px;
	}

	.tbx-art-body {
		padding-top: 40px;
		font-size: 16.5px;
	}

	/* Articles similaires : défilement horizontal, comme les cartes de l'accueil. */

	.tbx-art-grid {
		display: flex;
		gap: 14px;
		margin: 0 calc(-1 * var(--pad));
		padding: 0 var(--pad) 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.tbx-art-grid::-webkit-scrollbar {
		display: none;
	}

	.tbx-art-card {
		flex: 0 0 280px;
		scroll-snap-align: start;
	}

	.tbx-art-body .wp-block-button,
	.tbx-art-body .wp-block-button__link {
		width: 100%;
	}
}

/* ===========================================================================
 * Page Blog (blog-list.php) et carte article commune (template-parts/card-article.php).
 * Maquette : refonte/maquettes/blog/design_handoff_blog/ (README = mesures).
 * Couleurs de rubrique sur chaque carte : --cat-dot (pastille), --cat-text, --cat-bg, --cat-solid.
 * ========================================================================= */

html body #content.tbx-blog {
	background: #fff !important;
}

.tbx-blog,
.tbx-pc {
	--ink: #0F2A3D;
	--text2: #3E5063;
	--muted: #5A6B7C;
	--orange: #CB5223;
	--orange-hover: #B8461C;
	--orange-text: #B2532B;
	--line: #EADFD4;
	--field: #D8CCC0;
	--soft: #FBF5EF;
	--gutter: max(clamp(20px, 5.5vw, 80px), calc((100% - 1280px) / 2)); /* comme l'accueil : contenu centré, 1280 px max */
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.tbx-blog {
	color: var(--ink);
}

.tbx-blog *,
.tbx-blog *::before,
.tbx-blog *::after,
.tbx-pc,
.tbx-pc * {
	box-sizing: border-box;
}

.tbx-blog a,
a.tbx-pc {
	text-decoration: none;
}

.tbx-blog :focus-visible,
a.tbx-pc:focus-visible {
	outline: 3px solid #004B76;
	outline-offset: 3px;
}

.tbx-blog h1,
.tbx-blog h2,
.tbx-blog h3,
.tbx-pc h2,
.tbx-pc h3 {
	font-family: inherit;
	text-transform: none;
}

/* --- Bandeau --------------------------------------------------------------- */

/* Terrain bleu tracé en CSS + visuel facultatif. */

/* --- Rubriques ------------------------------------------------------------- */

.tbx-blog-rubs {
	padding: 80px var(--gutter) 0;
}

.tbx-blog-h2 {
	margin: 0;
	color: var(--ink);
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -.01em;
	line-height: 1.15;
}

.tbx-blog-rubs__text {
	max-width: 760px;
	margin: 12px 0 0;
	color: var(--text2);
	font-size: 17px;
	line-height: 1.55;
}

.tbx-blog-rubs__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
}

.tbx-blog-rub {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 232px;
	padding: 24px;
	overflow: hidden;
	border: 2px solid var(--cat-bg);
	border-radius: 24px;
	background: var(--cat-bg);
	color: var(--cat-text) !important;
	transition: transform .15s, box-shadow .15s;
}

.tbx-blog-rub:hover {
	transform: translateY(-2px);
}

.tbx-blog-rub.is-dim {
	border-color: var(--line);
}

.tbx-blog-rub.is-current {
	border-color: var(--cat-solid);
	background: var(--cat-solid);
	box-shadow: 0 16px 32px -18px var(--cat-solid);
	color: #fff !important;
}

.tbx-blog-rub__count {
	display: flex;
	align-items: center;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	color: var(--cat-text);
	font-size: 13px;
	font-weight: 700;
}

.tbx-blog-rub.is-current .tbx-blog-rub__count {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.tbx-blog-rub__title {
	max-width: 150px;
	margin-top: 18px;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.15;
}

.tbx-blog-rub__desc {
	max-width: 150px;
	margin-top: 10px;
	color: var(--text2);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.tbx-blog-rub.is-current .tbx-blog-rub__desc {
	color: #fff;
}

.tbx-blog-rub__cta {
	margin-top: auto;
	padding-top: 16px;
	font-size: 14px;
	font-weight: 700;
}

.tbx-blog-rub__img {
	position: absolute;
	right: 12px;
	bottom: 0;
	width: 116px;
	height: 172px;
}

.tbx-blog-rub__img img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: bottom;
}

/* Sans illustration, le texte prend toute la largeur. */

.tbx-blog-rub:not(:has(.tbx-blog-rub__img)) .tbx-blog-rub__title,
.tbx-blog-rub:not(:has(.tbx-blog-rub__img)) .tbx-blog-rub__desc {
	max-width: none;
}

/* --- Étiquette de rubrique ------------------------------------------------- */

.tbx-blog-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--cat-bg);
	color: var(--cat-text);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.tbx-blog-tag__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cat-dot);
}

.tbx-blog-tag--une {
	background: var(--ink);
	color: #fff;
}

/* --- Article à la une ------------------------------------------------------ */

.tbx-blog-feat-wrap {
	padding: 72px var(--gutter) 0;
}

.tbx-blog-feat {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 1px 0 var(--line);
	color: var(--ink) !important;
	transition: box-shadow .15s;
}

.tbx-blog-feat:hover {
	box-shadow: 0 18px 40px -24px rgba(15, 42, 61, .35);
}

.tbx-blog-feat__media {
	position: relative;
	min-height: 440px;
	background: var(--cat-bg);
}

.tbx-blog-feat__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.tbx-blog-feat__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 56px;
}

.tbx-blog-feat__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tbx-blog-feat__tags .tbx-blog-tag {
	height: 30px;
}

.tbx-blog-feat__title {
	margin: 22px 0 0;
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -.01em;
	line-height: 1.15;
	text-wrap: pretty;
}

.tbx-blog-feat__excerpt {
	display: -webkit-box;
	margin-top: 18px;
	overflow: hidden;
	color: var(--text2);
	font-size: 17px;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.tbx-blog-feat__meta {
	margin-top: 20px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 500;
}

.tbx-blog-feat__btn,
.tbx-blog-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	margin-top: 28px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--orange);
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	transition: background .15s;
}

.tbx-blog-feat:hover .tbx-blog-feat__btn,
.tbx-blog-btn:hover {
	background: var(--orange-hover);
}

/* --- Barre d'outils -------------------------------------------------------- */

.tbx-blog-list {
	padding: 72px var(--gutter) 0;
}

.tbx-blog-tools {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}

.tbx-blog-tools__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.tbx-blog-tools__titles {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tbx-blog-tools__title {
	margin: 0;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.2;
}

.tbx-blog-tools__all {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--field);
	border-radius: 999px;
	background: #fff;
	color: var(--text2) !important;
	font-size: 14px;
	font-weight: 600;
}

.tbx-blog-tools__all:hover {
	border-color: var(--orange);
	color: var(--orange-text) !important;
}

.tbx-blog-tools__all-short {
	display: none;
}

.tbx-blog-tools__count {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	font-weight: 500;
}

.tbx-blog-tools__actions {
	display: flex;
	flex: none;
	align-items: center;
	gap: 12px;
}

.tbx-blog-search {
	position: relative;
	margin: 0;
}

.tbx-blog .tbx-blog-search input[type="search"] {
	width: 320px;
	height: 48px;
	margin: 0;
	padding: 0 16px 0 44px;
	border: 1px solid var(--field);
	border-radius: 14px;
	outline: 0;
	background: #fff;
	box-shadow: none;
	color: var(--ink);
	font: 400 15px Inter, system-ui, sans-serif;
	-webkit-appearance: none;
	appearance: none;
}

.tbx-blog .tbx-blog-search input[type="search"]:focus {
	border-color: var(--orange);
	box-shadow: 0 0 0 3px #FBEEE6;
}

.tbx-blog .tbx-blog-search input::placeholder {
	color: var(--muted);
	opacity: 1;
}

.tbx-blog-search__icon {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 16px;
	height: 16px;
	border: 2px solid var(--muted);
	border-radius: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.tbx-blog-sort {
	display: flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--soft);
}

.tbx-blog-sort a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	color: var(--muted) !important;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}

.tbx-blog-sort a.is-current {
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 42, 61, .15);
	color: var(--ink) !important;
}

/* --- Grille et carte article ----------------------------------------------- */

.tbx-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin-top: 40px;
}

a.tbx-pc {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: #fff;
	color: var(--ink);
	transition: transform .15s, box-shadow .15s, border-color .15s;
}

a.tbx-pc:hover {
	border-color: var(--field);
	box-shadow: 0 18px 40px -24px rgba(15, 42, 61, .35);
	color: var(--ink);
	transform: translateY(-3px);
}

.tbx-pc__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--cat-bg);
}

.tbx-pc__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.tbx-pc__fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--cat-bg);
	color: var(--cat-text);
	font-size: 22px;
	font-weight: 900;
	letter-spacing: .04em;
}

.tbx-pc__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 24px 26px;
}

.tbx-pc__title {
	display: -webkit-box;
	margin: 16px 0 0;
	overflow: hidden;
	color: var(--ink);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.3;
	text-wrap: pretty;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.tbx-pc__excerpt {
	display: -webkit-box;
	margin-top: 12px;
	overflow: hidden;
	color: var(--text2);
	font-size: 15px;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.tbx-pc__foot {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	margin-top: auto;
	padding-top: 20px;
}

.tbx-pc__meta {
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.tbx-pc__more {
	color: var(--orange-text);
	font-size: 15px;
	font-weight: 700;
}

/* Une seule carte (et pas d'article à la une) : carte horizontale pleine largeur. */

@media (min-width: 1024px) {
	.tbx-blog-grid--single {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-blog-grid--single a.tbx-pc {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.tbx-blog-grid--single a.tbx-pc:hover {
		transform: none;
	}

	.tbx-blog-grid--single .tbx-pc__media {
		aspect-ratio: auto;
		min-height: 360px;
	}

	.tbx-blog-grid--single .tbx-pc__body {
		justify-content: center;
		padding: 48px;
	}

	.tbx-blog-grid--single .tbx-pc__title {
		margin-top: 20px;
		font-size: 30px;
		font-weight: 900;
		line-height: 1.2;
	}

	.tbx-blog-grid--single .tbx-pc__excerpt {
		margin-top: 16px;
		font-size: 16px;
		-webkit-line-clamp: 4;
	}

	.tbx-blog-grid--single .tbx-pc__foot {
		margin-top: 18px;
		padding-top: 0;
	}
}

/* « À lire aussi » de la page Article. */

.tbx-blog-grid--related {
	margin-top: 24px;
}

/* --- Vide et pagination ---------------------------------------------------- */

.tbx-blog-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 40px;
	padding: 72px 40px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: var(--soft);
	text-align: center;
}

.tbx-blog-empty__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--cat-bg, #F8EBE1);
}

.tbx-blog-empty__icon span {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--cat-dot, var(--orange));
}

.tbx-blog-empty__title {
	margin: 20px 0 0;
	font-size: 22px;
	font-weight: 800;
}

.tbx-blog-empty__text {
	margin: 8px 0 0;
	color: var(--text2);
	font-size: 16px;
}

.tbx-blog-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 56px;
}

.tbx-blog-pages__n,
.tbx-blog-pages__step {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	border: 1px solid var(--field);
	border-radius: 999px;
	background: #fff;
	color: var(--ink) !important;
	font-size: 15px;
	font-weight: 700;
}

.tbx-blog-pages__step {
	padding: 0 20px;
}

a.tbx-blog-pages__n:hover,
.tbx-blog-pages__step:hover {
	border-color: var(--orange);
	color: var(--orange-text) !important;
}

.tbx-blog-pages__n.current {
	border-color: var(--orange);
	background: var(--orange);
	color: #fff !important;
}

.tbx-blog-pages__n.dots {
	border-color: transparent;
}

/* Espace avant le bandeau CTA de bas de page. */

.tbx-blog > section:last-child {
	padding-bottom: 96px;
}

/* --- Écrans moyens --------------------------------------------------------- */

@media (max-width: 1279px) {
	.tbx-blog-tools {
		flex-direction: column;
		align-items: stretch;
	}

	.tbx-blog .tbx-blog-search input[type="search"] {
		width: 100%;
	}

	.tbx-blog-search {
		flex: 1;
	}
}

@media (max-width: 1023px) {
	.tbx-blog-rubs__grid,
	.tbx-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbx-blog-feat {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-blog-feat__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.tbx-blog-feat__body {
		padding: 36px;
	}
}

/* --- Mobile ---------------------------------------------------------------- */

@media (max-width: 767px) {
	.tbx-blog-rubs {
		padding-top: 40px;
	}

	.tbx-blog-h2 {
		font-size: 26px;
		line-height: 1.2;
	}

	.tbx-blog-rubs__text {
		margin-top: 8px;
		font-size: 15px;
	}

	.tbx-blog-rubs__grid {
		gap: 12px;
		margin-top: 20px;
	}

	.tbx-blog-rub {
		min-height: 132px;
		padding: 14px;
		border-radius: 20px;
	}

	.tbx-blog-rub__count {
		height: 24px;
		padding: 0 10px;
		font-size: 12px;
	}

	.tbx-blog-rub__title {
		max-width: none;
		margin-top: auto;
		padding-top: 12px;
		font-size: 17px;
		overflow-wrap: break-word;
	}

	.tbx-blog-rub__desc,
	.tbx-blog-rub__cta {
		display: none;
	}

	.tbx-blog-rub__img {
		top: 8px;
		right: 8px;
		bottom: auto;
		width: 44px;
		height: 52px;
	}

	.tbx-blog-feat-wrap {
		padding-top: 40px;
	}

	.tbx-blog-feat {
		border-radius: 24px;
	}

	.tbx-blog-feat__body {
		padding: 22px 20px 24px;
	}

	.tbx-blog-feat__tags {
		gap: 6px;
	}

	.tbx-blog-feat__tags .tbx-blog-tag {
		height: 28px;
		padding: 0 11px;
		font-size: 12px;
	}

	.tbx-blog-feat__title {
		margin-top: 16px;
		font-size: 24px;
		line-height: 1.2;
	}

	.tbx-blog-feat__excerpt {
		margin-top: 12px;
		font-size: 15px;
		-webkit-line-clamp: 3;
	}

	.tbx-blog-feat__meta {
		margin-top: 14px;
		font-size: 13px;
	}

	.tbx-blog-feat__btn {
		width: 100%;
		margin-top: 20px;
	}

	.tbx-blog-list {
		padding-top: 40px;
	}

	.tbx-blog-tools {
		gap: 14px;
		padding-bottom: 20px;
	}

	.tbx-blog-tools__head {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 4px 10px;
	}

	.tbx-blog-tools__titles {
		display: contents;
	}

	.tbx-blog-tools__title {
		font-size: 22px;
	}

	.tbx-blog-tools__all {
		order: 2;
		height: 44px;
		font-size: 13px;
	}

	.tbx-blog-tools__all-long {
		display: none;
	}

	.tbx-blog-tools__all-short {
		display: inline;
	}

	.tbx-blog-tools__count {
		order: 3;
		flex-basis: 100%;
		font-size: 14px;
	}

	.tbx-blog-tools__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.tbx-blog .tbx-blog-search input[type="search"] {
		font-size: 16px; /* pas de zoom automatique sur iPhone */
	}

	.tbx-blog-sort {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.tbx-blog-sort a {
		height: 44px;
	}

	.tbx-blog-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		margin-top: 24px;
	}

	a.tbx-pc {
		border-radius: 20px;
	}

	.tbx-pc__title {
		font-size: 19px;
	}

	.tbx-blog-empty {
		padding: 44px 20px;
	}

	.tbx-blog-pages__step--prev {
		padding: 0;
	}

	.tbx-blog-pages__step--prev .tbx-blog-pages__label {
		display: none;
	}

	.tbx-blog > section:last-child {
		padding-bottom: 56px;
	}
}

@media (min-width: 640px) and (max-width: 767px) {
	.tbx-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	a.tbx-pc,
	.tbx-blog-rub {
		transition: none;
	}

	a.tbx-pc:hover,
	.tbx-blog-rub:hover {
		transform: none;
	}
}

/* ======================================================================
 * Harmonisation des en-têtes (2026-10-09) : version compacte du héros de l accueil pour les pages
 * secondaires — fond crème (isole l'en-tête, retour d'Elsa du 2026-10-09), marges 40/48, pastille blanche,
 * titre 36–50 px, mot orange en capitales, filet orange 72 × 6.
 * ==================================================================== */

.tbx-art-hero {
	padding: 40px var(--pad) 48px;
	border-bottom: 0;
	background: #F8EBE1;
}

.tbx-art .tbx-art-title {
	color: #004b76;
	font-size: clamp(36px, 3.5vw, 50px);
	line-height: 1.04;
}

.tbx-art-title::after {
	content: "";
	display: block;
	width: 72px;
	height: 6px;
	margin-top: 18px;
	border-radius: 3px;
	background: #cb5223;
}

.tbx-art-lead {
	font-size: 18px;
	line-height: 1.55;
}

@media (max-width: 767px) {
	.tbx-art-hero {
		padding: 28px 20px 36px;
	}

	.tbx-art .tbx-art-title {
		font-size: 34px;
	}
}

/* ==========================================================================
 * Alternance des fonds (retour d'Elsa, 2026-10-09) : chaque section se distingue de la suivante.
 * Héros crème → rubriques blanches → article à la une crème → liste blanche.
 * Sans article à la une (rubrique, recherche) : la liste passe en crème sous les rubriques.
 * ========================================================================= */

.tbx-blog-rubs {
	padding-bottom: 80px;
}

.tbx-blog-feat-wrap {
	padding-bottom: 72px;
	background: #F8EBE1;
}

.tbx-blog-feat-wrap + .tbx-blog-list {
	padding-bottom: 8px;
}

.tbx-blog-rubs + .tbx-blog-list {
	padding-bottom: 72px;
	background: #F8EBE1;
}

@media (max-width: 767px) {
	.tbx-blog-rubs {
		padding-bottom: 48px;
	}

	.tbx-blog-feat-wrap {
		padding-bottom: 44px;
	}

	.tbx-blog-list {
		padding-top: 44px;
	}

	.tbx-blog-rubs + .tbx-blog-list {
		padding-bottom: 44px;
	}
}

/* Rubriques : illustration plus grande, du bas de la carte jusqu'au niveau du titre (retour d'Elsa, 2026-10-11).
   Taille idéale 300 × 440 px (fond transparent). */
@media (min-width: 768px) {
	.tbx-blog-rub {
		min-height: 250px;
	}

	.tbx-blog-rub__img {
		right: 8px;
		width: 150px;
		height: 220px;
	}

	.tbx-blog-rub__title,
	.tbx-blog-rub__desc {
		position: relative;
		z-index: 1;
		max-width: 140px;
	}
}

@media (max-width: 767px) {
	.tbx-blog-rub__img {
		width: 60px;
		height: 76px;
	}
}

/* Téléphone : articles similaires une carte à la fois (pastilles : global.js), retour d'Elsa 2026-10-12. */
@media (max-width: 767px) {
	.tbx-art-grid {
		gap: 16px;
		scroll-padding-inline: var(--pad);
	}

	.tbx-art-card {
		flex: 0 0 100%;
		scroll-snap-align: center;
		scroll-snap-stop: always;
	}
}

/* Rubriques : l'illustration passe en haut de la carte, le texte dessous sur toute la largeur — elle ne recouvre plus
   le titre ni le descriptif (retour d'Elsa, 2026-10-17). Taille idéale 600 × 400 px (fond transparent). */
.tbx-blog-rub {
	min-height: 0;
}

.tbx-blog-rub__img {
	position: relative;
	right: auto;
	bottom: auto;
	top: auto;
	order: -1;
	align-self: stretch;
	width: auto;
	height: 160px;
	margin: -24px -24px 0;
	background: rgba(255, 255, 255, .4);
}

.tbx-blog-rub.is-current .tbx-blog-rub__img {
	background: rgba(255, 255, 255, .14);
}

.tbx-blog-rub__img img {
	object-position: 50% 100%;
}

.tbx-blog-rub__img .tbx-ph {
	border-radius: 0;
}

.tbx-blog-rub__count {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
}

.tbx-blog-rub .tbx-blog-rub__title,
.tbx-blog-rub .tbx-blog-rub__desc {
	max-width: none;
}

.tbx-blog-rub .tbx-blog-rub__title {
	margin-top: 18px;
}

@media (max-width: 767px) {
	.tbx-blog-rub__img {
		width: auto;
		height: 88px;
		margin: -14px -14px 0;
	}

	.tbx-blog-rub__count {
		top: 8px;
		left: 8px;
	}

	.tbx-blog-rub .tbx-blog-rub__title {
		margin-top: 0;
		padding-top: 10px;
	}
}

/* Rubriques : photos (scènes complètes, retour d'Elsa, 2026-10-17) qui remplissent le haut de la carte. */
.tbx-blog-rub__img--photo img {
	object-fit: cover;
	object-position: 50% 35%;
}

.tbx-blog-rub .tbx-blog-rub__img--photo {
	background: none;
}

/* Article : le texte démarre sur le même bord gauche que le titre du haut de page (retour d'Elsa, 2026-10-19).
   Avant, la colonne de lecture (760 px) était centrée et paraissait décalée vers la droite par rapport au titre.
   Même marge que le haut de page (--pad) ; largeur de lecture gardée à 760 px. */
.tbx-art .tbx-art-body {
	max-width: none;
	margin: 0;
	padding-right: var(--pad);
	padding-left: var(--pad);
}

.tbx-art .tbx-art-body > * {
	max-width: none; /* le texte occupe toute la largeur du haut de page, titre + image (retour d'Elsa, 2026-10-19) */
}

/* Article à la une : l'image (couverture 3:2, titre écrit à gauche) n'est plus coupée à gauche — cadrage calé à gauche,
   seul un peu du bord droit peut être rogné. Sous 1360 px, l'image passe au-dessus du texte, entière (format 3:2),
   au lieu d'être fortement recadrée dans une colonne étroite (retour d'Elsa, 2026-10-19). */
.tbx-blog-feat__media img {
	object-position: 0% 50%;
}

@media (max-width: 1360px) {
	.tbx-blog-feat {
		grid-template-columns: minmax(0, 1fr);
	}

	.tbx-blog-feat__media {
		min-height: 0;
		aspect-ratio: 3 / 2;
	}
}

/* Rubriques : illustrations avec la troupe (blog-rubrique-*-v2.webp, détourées, Elsa 2026-11-04), entières et posées en
   bas de la vignette sur le fond teinté de la carte. Carte choisie (fond plein) : fin halo blanc autour des personnages
   pour qu'ils ne se fondent pas dans la couleur (t-shirt rouge de Karim sur la carte Joueurs). */
.tbx-blog-rub__img--photo img {
	object-fit: contain;
	object-position: 50% 100%;
}

.tbx-blog-rub.is-current .tbx-blog-rub__img--photo img {
	filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .95)) drop-shadow(0 0 8px rgba(255, 255, 255, .45));
}

/* Rubriques : le nombre d'articles quitte l'illustration (il la cachait) et passe en bas de la carte, à droite de
   « Voir les articles → » (proposition A, Elsa 2026-11-07 ; maquette refonte/maquettes/blog-compteur-2026-11-07/).
   Téléphone : le lien est masqué, le nombre reste seul sous le titre. */
.tbx-blog-rub__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	align-self: stretch;
	margin-top: auto;
	padding-top: 16px;
}

.tbx-blog-rub .tbx-blog-rub__foot .tbx-blog-rub__cta {
	margin: 0;
	padding: 0;
}

.tbx-blog-rub .tbx-blog-rub__foot .tbx-blog-rub__count {
	position: static;
	flex: none;
	height: 24px;
	padding: 0 10px;
	font-size: 12px;
}

@media (max-width: 767px) {
	.tbx-blog-rub__foot {
		justify-content: flex-start;
		padding-top: 8px;
	}
}

/* Choix de rubrique : on reste sur la section après le clic (pas de saut en haut), et la phrase du bandeau tient sur une ligne
   (Elsa, 2026-11-08). */
.tbx-blog-rubs {
	scroll-margin-top: 90px;
}

/* Phrase sous « Choisissez votre rubrique » sur une seule ligne (Elsa, 2026-11-08) ; deux lignes sur petit écran. */
@media (min-width: 900px) {
	.tbx-blog-rubs__text {
		max-width: none;
		white-space: nowrap;
	}
}


/* ==========================================================================
 * Articles : sommaire collant à gauche, phrases clés en évidence, mise en page resserrée (Elsa, 2026-11-08).
 * Colonne de lecture de 740 px alignée à gauche, comme le titre ; interligne 1,62 ; moins d'espace entre les paragraphes.
 * ========================================================================== */
.tbx-art .tbx-art-body {
	font-size: 17px;
	line-height: 1.62;
}

.tbx-art-layout {
	display: block;
}

.tbx-art-layout.has-toc {
	display: grid;
	grid-template-columns: 270px minmax(0, 740px);
	gap: 44px;
	align-items: start;
}

.tbx-art-text {
	max-width: 740px;
	min-width: 0;
}

.tbx-art-text > * {
	margin-top: 0;
	margin-bottom: 13px;
}

.tbx-art-text > .tbx-art-short {
	margin-bottom: 6px;
}

.tbx-art-text h2 {
	margin: 1.5em 0 .45em;
	font-size: clamp(22px, 2.1vw, 26px);
	line-height: 1.2;
	scroll-margin-top: 96px;
}

.tbx-art-text h3 {
	margin: 1.3em 0 .4em;
	font-size: clamp(19px, 1.8vw, 21px);
}

.tbx-art-text ul,
.tbx-art-text ol {
	margin-bottom: 14px;
}

.tbx-art-text li {
	margin-bottom: .3em;
}

/* Phrase clé : mise en évidence (paragraphe surtout en gras, repéré automatiquement). */
.tbx-art-text > p.tbx-art-keep {
	margin: 18px 0;
	padding: 14px 22px;
	border: 2px solid color-mix(in srgb, var(--c) 45%, transparent); /* encadrement arrondi aux couleurs du profil (Elsa, 2026-11-08) */
	border-radius: 20px;
	background: var(--tint, #f8ebe1);
	box-shadow: 0 6px 0 -3px color-mix(in srgb, var(--c) 18%, transparent);
	color: var(--c-deep, var(--c));
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.5;
}

.tbx-art-text > p.tbx-art-keep strong,
.tbx-art-text > p.tbx-art-hl strong {
	color: inherit;
}

/* Sommaire */
.tbx-art-toc {
	position: sticky;
	top: 110px;
	padding: 18px 14px 16px;
	border: 2px solid color-mix(in srgb, var(--c) 30%, transparent);
	border-radius: 20px;
	background: var(--tint, #fdf8f4); /* sommaire aux couleurs du profil de l'article (Elsa, 2026-11-08) */
}

.tbx-art-toc__title {
	margin: 0 0 8px 10px;
	color: var(--c);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tbx-art-toc__list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbx-art-body .tbx-art-toc a,
.tbx-art-body .tbx-art-toc a:hover {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 7px 10px;
	border-radius: 10px;
	color: var(--ink);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none;
}

.tbx-art-toc a i {
	display: grid;
	flex: none;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f8ebe1;
	color: var(--c);
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
}

.tbx-art-body .tbx-art-toc a:hover {
	background: #f8ebe1;
}

.tbx-art-toc li.on a {
	background: #f8ebe1;
	color: var(--c);
}

.tbx-art-toc li.on a i {
	background: var(--c);
	color: #fff;
}

.tbx-art-toc__prog {
	height: 5px;
	margin: 14px 10px 4px;
	overflow: hidden;
	border-radius: 99px;
	background: #eadfd5;
}

.tbx-art-toc__prog i {
	display: block;
	width: 0;
	height: 100%;
	background: var(--c);
	transition: width .15s linear;
}

.tbx-art-toc__pct {
	margin: 6px 10px 0;
	color: var(--mute);
	font-size: 12.5px;
	font-weight: 600;
}

@media (max-width: 1000px) {
	.tbx-art-layout.has-toc {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.tbx-art-toc {
		position: static;
	}

	.tbx-art-toc__prog,
	.tbx-art-toc__pct {
		display: none;
	}
}

/* Sommaire : les liens ne prennent pas le style des liens du texte (souligné, coloré). */
.tbx-art-body .tbx-art-toc li a:not(.wp-block-button__link):not(.tb-cta__more),
.tbx-art-body .tbx-art-toc li a:not(.wp-block-button__link):not(.tb-cta__more):hover {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.tbx-art-body .tbx-art-toc li.on a:not(.wp-block-button__link):not(.tb-cta__more) {
	color: var(--c);
}

/* Sommaire : pastilles et section en cours aux couleurs du profil. */
.tbx-art-toc a i {
	background: #fff;
}

.tbx-art-body .tbx-art-toc a:hover,
.tbx-art-toc li.on a {
	background: #fff;
}

.tbx-art-toc__prog {
	background: color-mix(in srgb, var(--c) 20%, #fff);
}

/* Bouton « Pour aller plus loin » en fin d'article : il garde son style de bouton (le style des liens du texte le soulignait). */
.tbx-art-body .tb-bd-mini .tb-bd-mini__btn:not(.wp-block-button__link):not(.tb-cta__more),
.tbx-art-body .tb-bd-mini .tb-bd-mini__btn:not(.wp-block-button__link):not(.tb-cta__more):hover {
	color: var(--bd);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}


/* Sommaire : le titre est un bouton ; sur tablette et téléphone la liste est repliée par défaut (elle prenait tout l'écran). */
.tbx-art-body .tbx-art-toc__title {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	margin: 0 0 8px;
	padding: 0 10px;
	border: 0;
	background: none;
	color: var(--c);
	font: inherit;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .12em;
	text-align: left;
	text-transform: uppercase;
	cursor: default;
}

.tbx-art-toc__count {
	color: var(--mute);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: none;
}

.tbx-art-toc__chev {
	display: none;
	width: 10px;
	height: 10px;
	margin-left: auto;
	border-right: 2.5px solid var(--c);
	border-bottom: 2.5px solid var(--c);
	rotate: 45deg;
	transition: rotate .2s;
}

@media (max-width: 1000px) {
	.tbx-art-body .tbx-art-toc__title {
		margin-bottom: 0;
		padding: 8px 10px;
		cursor: pointer;
	}

	.tbx-art-toc__chev {
		display: block;
	}

	.tbx-art-toc.is-open .tbx-art-toc__chev {
		rotate: 225deg;
	}

	.tbx-art-toc:not(.is-open) .tbx-art-toc__list {
		display: none;
	}

	.tbx-art-toc.is-open .tbx-art-toc__list {
		margin-top: 8px;
	}

	.tbx-art-toc {
		padding: 8px 10px;
	}
}

/* Boutons de lien vers les Box dans le texte : même police que les autres boutons du site (Inter 800, 15 px, casse normale). Le bloc « Bouton »
   de l'éditeur imposait 20 px, 700 et des capitales par des styles en ligne (Elsa, 2026-11-09). */
.tbx-art-body .wp-block-button .wp-block-button__link,
.tbx-art-body .wp-block-button .wp-block-button__link.has-background {
	font-family: var(--tbx-font, Inter, system-ui, sans-serif) !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	line-height: 1.25 !important;
	text-transform: none !important;
}

/* Phrase importante (hors « À retenir » / « Point clé ») : simplement dans la couleur du profil de l'article, en gras, sans encadrement. */
.tbx-art-text > p.tbx-art-hl {
	margin: 16px 0;
	color: var(--c);
	font-size: 17.5px;
	font-weight: 800;
	line-height: 1.5;
}

/* Phrase importante reprise d'un bloc « L'idée en plus » sans mot-clé : texte seul dans la couleur du profil (le style historique .idee-en-plus la cadrait). */
.tbx-art-body .tbx-art-text > p.tbx-art-hl.idee-en-plus {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--c);
}


/* Boutons des articles : même style que ceux de l'accueil — pastille orange, flèche dans un rond blanc (Elsa, 2026-11-09). La flèche est dessinée ici ;
   le libellé n'en contient plus. */
.tbx-art-body .wp-block-button .wp-block-button__link,
.tbx-art-body .wp-block-button .wp-block-button__link.has-background {
	gap: 16px;
	min-height: 56px;
	padding: 8px 8px 8px 26px;
	font-size: 16px !important; /* la pastille garde sa couleur (celle du profil) ; seule la flèche est entourée de blanc (Elsa, 2026-11-09) */
	font-weight: 700 !important;
}

.tbx-art-body .wp-block-button .wp-block-button__link::after {
	content: "→";
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--c);
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
}

/* Hero de la page Blog : les 4 macarons (Clubs, Enseignants, Joueurs, Actualités) ne sont plus cliquables (Elsa, 2026-11-13). Ils restent affichés. */
.tbx-blog-herowrap .tbx-cat-hero__badges a {
	pointer-events: none !important;
	cursor: default !important;
}

/* Blog sur téléphone (Elsa, 2026-11-18) : macarons des rubriques retirés du haut de page, on garde l'illustration. */
@media (max-width: 767px) {
	.tbx-blog-herowrap .tbx-cat-hero__badges {
		display: none !important;
	}
}

/* Choix de rubrique (Elsa, 2026-11-19) : le titre et la phrase sont remplacés par une seule phrase en gras, d'une taille
 * entre le titre (36 px / 26 px) et le texte courant (17 px / 15 px). Ordinateur et téléphone. */
.tbx-blog-rubs__lead {
	max-width: 900px;
	margin: 0;
	color: var(--ink);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.35;
}

@media (max-width: 767px) {
	.tbx-blog-rubs__lead {
		font-size: 19px;
		line-height: 1.35;
	}
}

/* Choix de rubrique (Elsa, 2026-11-19, 2e version) : présentée comme « De la réalité du terrain à Tennis Box » (À propos) :
 * même taille (36 px ; 25 px sur téléphone), Inter 900, texte foncé et « Tennis Box » en orange, trait orange dessous. */
.tbx-blog-rubs__lead {
	max-width: 1000px;
	color: #111;
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -.01em;
	line-height: 1.15;
}

.tbx-blog-rubs__lead span {
	color: var(--tbx-orange, #cb5223);
}

.tbx-blog-rubs__lead::after {
	content: "";
	display: block;
	width: 72px;
	height: 6px;
	margin-top: 16px;
	border-radius: 3px;
	background: var(--tbx-orange, #cb5223);
}

@media (max-width: 767px) {
	.tbx-blog-rubs__lead {
		font-size: 25px;
		line-height: 1.2;
	}

	.tbx-blog-rubs__lead::after {
		width: 48px;
		height: 4px;
		margin-top: 12px;
	}
}

/* Choix de rubrique, variante A « ordre + flèche » (Elsa, 2026-11-19) : « Choisissez votre rubrique » en grand avec une
 * flèche orange qui rebondit vers les cartes, puis « et suivez les nouvelles de Tennis Box. » plus petit, Tennis Box en orange. */
.tbx-blog-rubs__lead--a::after {
	display: none;
}

.tbx-blog-rubs__lead--a .tbx-blog-rubs__l1 {
	display: block;
	color: #111;
}

.tbx-blog-rubs__lead--a .tbx-blog-rubs__l2 {
	display: block;
	margin-top: 8px;
	color: #111;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.3;
}

.tbx-blog-rubs__lead--a .tbx-blog-rubs__tb {
	color: var(--tbx-orange, #cb5223);
}

.tbx-blog-rubs__arr {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-left: 4px;
	border-radius: 50%;
	background: var(--tbx-orange, #cb5223);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	vertical-align: 4px;
}

@media (prefers-reduced-motion: no-preference) {
	.tbx-blog-rubs__arr {
		animation: tbx-blog-arr 1.4s ease-in-out infinite;
	}
}

@keyframes tbx-blog-arr {
	50% { transform: translateY(6px); }
}

@media (max-width: 767px) {
	.tbx-blog-rubs__lead--a .tbx-blog-rubs__l2 {
		margin-top: 6px;
		font-size: 18px;
	}

	.tbx-blog-rubs__arr {
		width: 32px;
		height: 32px;
		font-size: 18px;
		vertical-align: 2px;
	}
}

.tbx-blog-rubs__lead .tbx-blog-rubs__arr {
	color: #fff;
}

/* Téléphone : « Choisissez votre rubrique » et la flèche tiennent sur une ligne (la flèche passait seule dessous). */
@media (max-width: 767px) {
	.tbx-blog-rubs__lead--a .tbx-blog-rubs__l1 {
		font-size: min(25px, calc((100vw - 92px) / 12));
		white-space: nowrap;
	}
}
