/* ==========================================================================
   World Trading Skool — Ressources & Article
   Charte : fond #0A1330 · néon #363F99 · Montserrat
   ========================================================================== */

:root {
	--wts-bg: #0A1330;
	--wts-surface: #101A3D;
	--wts-surface-2: #1A2352;
	--wts-surface-3: #131E45;
	--wts-neon: #5B5FEF;
	--wts-neon-hover: #4A55C4;
	--wts-neon-light: #8D97F0;
	--wts-neon-pale: #BAC0F5;
	--wts-neon-soft: #C6CBF2;
	--wts-line: #1E2A57;
	--wts-line-strong: #26325F;
	--wts-white: #FFFFFF;
	--wts-body: #C9D0EE;
	--wts-muted: #98A1C8;
	--wts-muted-2: #B4BCE0;
	--wts-muted-3: #7A83AB;
	--wts-muted-4: #6A73A0;
	--wts-warn-bg: #2A1436;
	--wts-warn-line: #7A3560;
	--wts-warn-text: #FF8FA0;

	--wts-r-card: 6px;
	--wts-r-badge: 3px;
	--wts-r-btn: 4px;

	--wts-font: 'Montserrat', Helvetica, Arial, sans-serif;

	/* Hauteur du header fixe du thème : à ajuster si besoin. */
	--wts-header-offset: 90px;
	--wts-sticky-top: 110px;
}

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

.wts-single,
.wts-archive {
	background: var(--wts-bg);
	color: var(--wts-body);
	font-family: var(--wts-font);
	-webkit-font-smoothing: antialiased;
	margin-top:80px;
}

.wts-single *,
.wts-archive * { box-sizing: border-box; }

.wts-shell {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

.wts-stack { display: flex; flex-direction: column; gap: 40px; }

.wts-rule { border: 0; height: 1px; background: var(--wts-line); margin: 4px 0; }

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

.wts-single a:focus-visible,
.wts-archive a:focus-visible,
.wts-single button:focus-visible,
.wts-archive button:focus-visible,
.wts-archive input:focus-visible {
	outline: 2px solid var(--wts-neon-light);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Éléments partagés : eyebrow, badge, boutons, liens
   -------------------------------------------------------------------------- */

.wts-eyebrow {
	margin: 0;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wts-muted-3);
}
.wts-eyebrow--light { color: var(--wts-neon-pale); }

.wts-badge {
	display: inline-flex;
	align-self: flex-start;
	font-weight: 600;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wts-neon-light);
	background: var(--wts-surface-2);
	border: 1px solid var(--wts-neon);
	padding: 5px 9px;
	border-radius: var(--wts-r-badge);
	text-decoration: none;
	transition: background 150ms ease, color 150ms ease;
}
.wts-badge:hover { background: var(--wts-neon); color: var(--wts-white); }
.wts-badge--flag { background: var(--wts-surface-2); }

.wts-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--wts-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	padding: 14px 22px;
	border-radius: var(--wts-r-btn);
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.wts-btn--primary { background: var(--wts-neon); color: var(--wts-white); }
.wts-btn--primary:hover { background: var(--wts-neon-hover); color: var(--wts-white); }
.wts-btn--white { background: var(--wts-white); color: var(--wts-bg); }
.wts-btn--white:hover { background: #DDE1FF; color: var(--wts-bg); }
.wts-btn--ghost { border: 1.5px solid var(--wts-neon); color: var(--wts-neon-light); background: transparent; font-weight: 700; font-size: 14px; }
.wts-btn--ghost:hover { background: var(--wts-neon); color: var(--wts-white); }
.wts-btn--lg { font-size: 17px; font-weight: 700; padding: 20px 34px; }

.wts-link {
	color: var(--wts-neon-light);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.wts-link:hover { text-decoration: underline; }
.wts-link--lg { font-size: 15px; }

/* --------------------------------------------------------------------------
   Barre de progression de lecture
   -------------------------------------------------------------------------- */

.wts-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: var(--wts-line);
	z-index: 9999;
}
.wts-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--wts-neon-light);
	transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Article — en-tête
   -------------------------------------------------------------------------- */

.wts-single__header { padding: 40px 24px 0; }
.wts-single__header .wts-shell { display: flex; flex-direction: column; gap: 20px; padding: 0; }

.wts-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--wts-muted-3);
}
.wts-breadcrumb li + li::before { content: '›'; color: #4A5590; margin-right: 8px; }
.wts-breadcrumb a { color: var(--wts-muted-3); text-decoration: none; }
.wts-breadcrumb a:hover { color: var(--wts-neon-light); }
.wts-breadcrumb [aria-current] { color: var(--wts-muted-2); }

.wts-single__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 860px; }
.wts-single__title {
	margin: 0;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--wts-white);
	text-wrap: pretty;
}
.wts-single__lead {
	margin: 0;
	font-size: 20px;
	line-height: 1.6;
	color: var(--wts-muted);
	max-width: 720px;
}

.wts-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 28px;
	font-size: 13px;
	color: var(--wts-muted-3);
}
.wts-meta__author { display: flex; align-items: center; gap: 10px; color: var(--wts-muted-2); }
.wts-meta__author strong { color: var(--wts-white); font-weight: 600; }
.wts-meta__avatar,
.wts-meta img {
	width: 36px;
	height: 36px;
	max-width: none;
	object-fit: cover;
	object-position: center 50%;
	border-radius: 50%;
	border: 1px solid var(--wts-line-strong);
	display: block;
	flex: 0 0 36px;
}
.wts-meta__updated { color: var(--wts-muted-2); }
.wts-share {
	background: none;
	border: 0;
	padding: 0;
	font-family: var(--wts-font);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--wts-muted-3);
	cursor: pointer;
}
.wts-share:hover { color: var(--wts-neon-light); }

.wts-single__cover { margin: 0; }
.wts-single__cover img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	border-radius: var(--wts-r-card);
	border: 1px solid var(--wts-line-strong);
	display: block;
}

/* --------------------------------------------------------------------------
   Article — mise en page : sidebar À GAUCHE + colonne de lecture
   -------------------------------------------------------------------------- */

.wts-single__body { padding: 48px 24px; }

.wts-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 700px);
	gap: 64px;
	align-items: start;
	justify-content: center;
	padding: 0;
}

.wts-side {
	position: sticky;
	top: var(--wts-sticky-top);
	display: flex;
	flex-direction: column;
	gap: 20px;
	overflow-y: auto;
	scrollbar-width: thin;
}

/* Sommaire */
.wts-toc {
	border: 1px solid var(--wts-line);
	background: var(--wts-surface);
	border-radius: var(--wts-r-card);
	padding: 22px;
}
.wts-toc__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: 0;
	padding: 0;
	margin-bottom: 14px;
	cursor: default;
	text-align: left;
	font-family: var(--wts-font);
}
.wts-toc__chevron,
.wts-toc__count { display: none; }

.wts-toc__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.wts-toc__list a {
	display: block;
	padding: 8px 12px;
	border-left: 2px solid transparent;
	font-size: 14px;
	line-height: 1.5;
	color: var(--wts-muted);
	text-decoration: none;
	transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}
.wts-toc__list a:hover { color: var(--wts-neon-light); border-left-color: #4A5590; }
.wts-toc__list a.is-active {
	border-left-color: var(--wts-neon-light);
	background: var(--wts-surface-2);
	color: #B6BDFF;
	font-weight: 600;
}

/* Carte CTA de la sidebar */
.wts-side-cta {
	border: 1px solid #4C57C9;
	background: var(--wts-neon);
	border-radius: var(--wts-r-card);
	padding: 22px;
	box-shadow: 0 12px 36px rgba(54, 63, 153, 0.45);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.wts-side-cta__title { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--wts-white); }
.wts-side-cta__text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--wts-neon-soft); }
.wts-side-cta .wts-btn { font-size: 14px; padding: 12px 16px; margin-top: 4px; }

/* --------------------------------------------------------------------------
   Article — corps de texte (contenu éditeur)
   -------------------------------------------------------------------------- */

.wts-prose {
	font-size: 19px;
	line-height: 1.75;
	color: var(--wts-body);
	min-width: 0;
}
.wts-prose svg {
	max-width: 50px;
	height: auto;
}
.wts-prose > * + * { margin-top: 28px; }
.wts-prose p { margin: 0; }
.wts-prose strong, .wts-prose b { color: var(--wts-white); font-weight: 600; }

.wts-prose h2,
.wts-prose .wts-h2 {
	margin: 40px 0 0;
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--wts-white);
	scroll-margin-top: var(--wts-header-offset);
}
.wts-prose h3 {
	margin: 32px 0 0;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--wts-white);
	scroll-margin-top: var(--wts-header-offset);
}
.wts-prose h4 { margin: 24px 0 0; font-size: 18px; font-weight: 600; color: var(--wts-white); }

.wts-prose a { color: var(--wts-neon-light); text-decoration: underline; text-underline-offset: 3px; }
.wts-prose a:hover { color: var(--wts-neon-pale); }

.wts-prose ul, .wts-prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.wts-prose li { line-height: 1.7; }

.wts-prose img { max-width: 100%; height: auto; border-radius: var(--wts-r-card); border: 1px solid var(--wts-line-strong); display: block; }
.wts-prose figure {     margin: 10px 0; display: flex; flex-direction: column; gap: 10px; }
.wts-prose figcaption { font-size: 13px; line-height: 1.6; color: var(--wts-muted-3); }

.wts-prose blockquote {
	margin: 0;
	padding-left: 20px;
	border-left: 2px solid var(--wts-neon);
	font-style: italic;
	color: var(--wts-muted);
}

.wts-prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.wts-prose th, .wts-prose td { border: 1px solid var(--wts-line); padding: 12px 14px; text-align: left; }
.wts-prose th { background: var(--wts-surface); color: var(--wts-white); font-weight: 600; }

/* --------------------------------------------------------------------------
   Encarts (shortcodes) — insérables dans n'importe quel article
   -------------------------------------------------------------------------- */

.wts-callout {
	border-radius: var(--wts-r-card);
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.wts-callout__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.wts-callout__body { font-size: 17px; line-height: 1.7; color: var(--wts-body); }
.wts-callout__body > * + * { margin-top: 12px; }
.wts-callout__body p { margin: 0; }
.wts-callout__body ul, .wts-callout__body ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }

.wts-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.wts-square { width: 6px; height: 6px; background: var(--wts-neon); flex: none; }
.wts-diamond { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); flex: none; }

/* À retenir */
.wts-callout--key { background: var(--wts-surface-2); border: 1px solid var(--wts-neon); }
.wts-callout--key .wts-callout__label { color: var(--wts-neon-light); }

/* Exemple chiffré */
.wts-callout--example { background: var(--wts-surface); border: 1px solid var(--wts-line); }
.wts-callout--example .wts-callout__label { color: var(--wts-neon-light); }

/* Avertissement réglementaire */
.wts-callout--warning { background: var(--wts-warn-bg); border: 1px solid var(--wts-warn-line); }
.wts-callout--warning .wts-callout__label { color: var(--wts-warn-text); }

/* Citation Erwan Signe — encart validé par le client */
.wts-callout--quote {
	background: var(--wts-surface-3);
	border: 1px solid #2E3A6E;
	border-radius: 10px;
	padding: 26px 30px;
	gap: 14px;
}
.wts-callout--quote .wts-callout__label {
	color: var(--wts-neon-light);
	letter-spacing: 0.16em;
	font-size: 11px;
}
.wts-callout__icon { font-size: 14px; line-height: 1; }

/* Neutralise le style blockquote générique de .wts-prose (filet + retrait). */
.wts-prose .wts-callout__quote,
.wts-callout__quote {
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 0;
	font-style: italic;
	font-size: 17px;
	line-height: 1.75;
	color: #E4E8FF;
}
.wts-callout__quote p { margin: 0; }
.wts-callout__quote p + p { margin-top: 12px; }

/* Encart appel gratuit */
.wts-callback {
	border: 1px solid var(--wts-line-strong);
	background: var(--wts-surface);
	border-radius: var(--wts-r-card);
	padding: 28px;
	display: flex;
	gap: 24px;
	align-items: center;
}
.wts-callback__portrait {
	width: 96px; height: 96px; flex: none;
	border-radius: var(--wts-r-card);
	border: 1px solid var(--wts-line-strong);
	background: repeating-linear-gradient(135deg, #1B2550 0 4px, #0E1738 4px 8px);
	overflow: hidden;
}
.wts-callback__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wts-callback__text { display: flex; flex-direction: column; gap: 8px; }
.wts-callback__title { margin: 0; font-size: 20px; font-weight: 600; color: var(--wts-white); line-height: 1.3; }
.wts-callback__sub { margin: 0; font-size: 15px; line-height: 1.6; color: var(--wts-muted); }
.wts-callback__cta { flex: none; max-width: 190px; padding: 13px 20px; }

/* --------------------------------------------------------------------------
   Fin d'article : auteur, bannière, mentions, articles liés
   -------------------------------------------------------------------------- */

.wts-single__footer { padding: 0 24px 56px; }

.wts-author {
	border-top: 1px solid var(--wts-line);
	padding-top: 32px;
	display: flex;
	gap: 24px;
	align-items: flex-start;
	max-width: 760px;
}
.wts-author__avatar {
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
}

.wts-author__avatar img {
	width: 88px;
	height: 88px;
	max-width: none;      /* neutralise le reset du thème */
	object-fit: cover;
	object-position: center 50%;
	border-radius: 50%;
	display: block;
}
.wts-author__text { display: flex; flex-direction: column; gap: 8px; }
.wts-author__name { margin: 0; font-size: 20px; font-weight: 600; color: var(--wts-white); }
.wts-author__bio { margin: 0; font-size: 17px; line-height: 1.65; color: var(--wts-muted); }
.wts-author .wts-link { align-self: flex-start; }

.wts-banner {
	background: var(--wts-neon);
	border-radius: var(--wts-r-card);
	padding: 56px;
	box-shadow: 0 0 0 1px #4C57C9, 0 18px 60px rgba(54, 63, 153, 0.55);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}
.wts-banner__text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.wts-banner__title { margin: 0; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--wts-white); }
.wts-banner__sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--wts-neon-soft); }
.wts-banner__actions { display: flex; flex-direction: column; gap: 12px; flex: none; }
.wts-banner__link { text-align: center; font-weight: 600; font-size: 11px; color: var(--wts-neon-pale); text-decoration: none; }
.wts-banner__link:hover { text-decoration: underline; }

.wts-legal {
	border: 1px solid var(--wts-line);
	background: var(--wts-surface-3);
	border-radius: var(--wts-r-card);
	padding: 20px 24px;
}
.wts-legal .wts-eyebrow { font-size: 10px; margin-bottom: 8px; }
.wts-legal__text { margin: 0; font-size: 13px; line-height: 1.7; color: var(--wts-muted); }

.wts-related { display: flex; flex-direction: column; gap: 20px; }
.wts-related__title { margin: 0; font-size: 24px; font-weight: 600; color: var(--wts-white); }

/* --------------------------------------------------------------------------
   Page Ressources
   -------------------------------------------------------------------------- */

.wts-archive__hero {
	background: var(--wts-surface);
	border-bottom: 1px solid var(--wts-line);
	padding: 56px 24px;
}
.wts-archive__hero .wts-shell { display: flex; flex-direction: column; gap: 14px; padding: 0; }
.wts-archive__title {
	margin: 0;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--wts-white);
}
.wts-archive__lead { margin: 0; font-size: 20px; line-height: 1.6; color: var(--wts-muted); max-width: 660px; }

.wts-archive__body { padding: 40px 24px 64px; }
.wts-archive__footer { padding: 0 24px 64px; }

.wts-layout--archive { grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }

.wts-filters {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 100%;
	min-width: 0;
}

.wts-search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--wts-surface);
	border: 1px solid var(--wts-line-strong);
	border-radius: var(--wts-r-btn);
	padding: 10px 14px;
}
.wts-search:focus-within { border-color: var(--wts-neon-light); }
.wts-search__icon {    font-size: 32px;
    color: var(--wts-muted-4);
    position: relative;
    top: -2px;
    left: 7px;}
.wts-search__input {
	flex: 1;
	min-width: 0;
	background: none;
	border: 0;
	outline: none;
	font-family: var(--wts-font);
	font-size: 14px;
	color: var(--wts-white);
	padding: 2px 0;
}
.wts-search__input::placeholder { color: var(--wts-muted-4); }

.wts-cats { display: flex; flex-direction: column; gap: 10px; }
.wts-cats__label { font-size: 11px; letter-spacing: 0.12em; }
.wts-cats__list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.wts-cats__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	border-left: 2px solid transparent;
	border-radius: 0 var(--wts-r-btn) var(--wts-r-btn) 0;
	text-decoration: none;
	transition: background 150ms ease, border-color 150ms ease;
}
.wts-cats__name { font-size: 14px; color: var(--wts-muted-2); }
.wts-cats__count { font-weight: 600; font-size: 12px; color: var(--wts-muted-3); }
.wts-cats__item:hover { background: var(--wts-surface); border-left-color: #4A5590; }
.wts-cats__item.is-active { background: var(--wts-surface); border-left-color: var(--wts-neon); }
.wts-cats__item.is-active .wts-cats__name { color: var(--wts-neon-light); font-weight: 600; }

.wts-archive__list { display: flex; flex-direction: column; gap: 40px; min-width: 0; }

/* Carte mise en avant */
.wts-featured {
	border: 1px solid var(--wts-line-strong);
	background: var(--wts-surface);
	border-radius: var(--wts-r-card);
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	transition: border-color 150ms ease;
}
.wts-featured:hover { border-color: var(--wts-neon-light); }
.wts-featured__media { display: block; min-height: 300px; }
.wts-featured__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.wts-featured__body { padding: 36px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.wts-featured__badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wts-featured__title { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.wts-featured__title a { color: var(--wts-white); text-decoration: none; }
.wts-featured__title a:hover { color: var(--wts-neon-light); }
.wts-featured__excerpt { margin: 0; font-size: 17px; line-height: 1.6; color: var(--wts-muted); }
.wts-featured__meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--wts-muted-3); }
.wts-sep { color: #4A5590; }

/* Grille de cartes */
.wts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.wts-card {
	border: 1px solid var(--wts-line);
	background: var(--wts-surface);
	border-radius: var(--wts-r-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 150ms ease;
}
.wts-card:hover { border-color: var(--wts-neon-light); }
.wts-card__media { display: block; }
.wts-card__media img { width: 100%; height: 160px; object-fit: cover; display: block; }
.wts-card__placeholder {
	display: block; width: 100%; height: 160px;
	background: repeating-linear-gradient(135deg, #1B2550 0 4px, #0E1738 4px 8px);
}
.wts-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wts-card__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.wts-card__title a { color: var(--wts-white); text-decoration: none; }
.wts-card__title a:hover { color: var(--wts-neon-light); }
.wts-card__excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--wts-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.wts-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.wts-card__time { font-size: 13px; color: var(--wts-muted-3); }

/* Pagination */
.wts-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.wts-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--wts-line-strong);
	background: var(--wts-surface);
	color: var(--wts-muted-2);
	font-size: 14px;
	border-radius: var(--wts-r-btn);
	text-decoration: none;
	transition: border-color 150ms ease, color 150ms ease;
}
.wts-pagination .page-numbers:hover { border-color: var(--wts-neon-light); color: var(--wts-neon-light); }
.wts-pagination .page-numbers.current { background: var(--wts-neon); border-color: var(--wts-neon); color: var(--wts-white); font-weight: 600; }
.wts-pagination .page-numbers.dots { border-color: transparent; background: none; color: var(--wts-muted-4); }
.wts-pagination .next, .wts-pagination .prev { background: var(--wts-white); color: var(--wts-bg); font-weight: 600; padding: 0 18px; }
.wts-pagination .next:hover, .wts-pagination .prev:hover { background: var(--wts-neon); color: var(--wts-white); }

/* État vide */
.wts-empty {
	border: 1px solid var(--wts-line);
	background: var(--wts-surface);
	border-radius: var(--wts-r-card);
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.wts-empty__title { margin: 0; font-size: 20px; font-weight: 600; color: var(--wts-white); }
.wts-empty__text { margin: 0; font-size: 16px; color: var(--wts-muted); }
.wts-empty .wts-btn { margin-top: 8px; }

/* --------------------------------------------------------------------------
   Neutralisation des styles du thème (Hello Elementor + kit Elementor)
   Le kit applique ses propres styles aux <button>, <input> et a:hover avec
   une spécificité supérieure. On repasse devant en préfixant par le conteneur.
   -------------------------------------------------------------------------- */

/* Boutons nus : partage et bascule du sommaire */
.wts-single .wts-share,
.wts-archive .wts-share,
.wts-single .wts-toc__toggle,
.wts-archive .wts-toc__toggle {
	background: none;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-transform: none;
	min-height: 0;
	padding: 0;
}
.wts-single .wts-share,
.wts-archive .wts-share {
	color: var(--wts-muted-3);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.wts-single .wts-share:hover,
.wts-archive .wts-share:hover {
	color: var(--wts-neon-light);
	background: none;
}
.wts-single .wts-toc__toggle:hover,
.wts-archive .wts-toc__toggle:hover {
	background: none;
	color: inherit;
}

/* Champ de recherche */
.wts-archive .wts-search__input,
.wts-archive .wts-search__input:focus {
	background: none;
	border: 0;
	box-shadow: none;
	outline: none;
	color: var(--wts-white);
	min-height: 0;
}

/* Liens : le a:hover global du kit repasse le texte en bleu foncé */
.wts-single a.wts-link,
.wts-archive a.wts-link { color: var(--wts-neon-light); }
.wts-single a.wts-link:hover,
.wts-archive a.wts-link:hover { color: var(--wts-neon-pale); }

.wts-single .wts-breadcrumb a { color: var(--wts-muted-3); }
.wts-single .wts-breadcrumb a:hover { color: var(--wts-neon-light); }

.wts-single .wts-card__title a,
.wts-archive .wts-card__title a,
.wts-archive .wts-featured__title a { color: var(--wts-white); }
.wts-single .wts-card__title a:hover,
.wts-archive .wts-card__title a:hover,
.wts-archive .wts-featured__title a:hover { color: var(--wts-neon-light); }

.wts-single a.wts-badge,
.wts-archive a.wts-badge { color: var(--wts-neon-light); background: var(--wts-surface-2); }
.wts-single a.wts-badge:hover,
.wts-archive a.wts-badge:hover { color: var(--wts-white); background: var(--wts-neon); }

.wts-archive .wts-cats__item:hover .wts-cats__name { color: var(--wts-neon-light); }

.wts-single .wts-banner__link,
.wts-archive .wts-banner__link { color: var(--wts-neon-pale); }
.wts-single .wts-banner__link:hover,
.wts-archive .wts-banner__link:hover { color: var(--wts-white); }

.wts-archive .wts-pagination .page-numbers { color: var(--wts-muted-2); }
.wts-archive .wts-pagination .page-numbers:hover { color: var(--wts-neon-light); }
.wts-archive .wts-pagination .page-numbers.current { color: var(--wts-white); }
.wts-archive .wts-pagination .next,
.wts-archive .wts-pagination .prev { color: var(--wts-bg); }
.wts-archive .wts-pagination .next:hover,
.wts-archive .wts-pagination .prev:hover { color: var(--wts-white); }

/* Boutons CTA : on redéclare les variantes au même niveau de spécificité */
.wts-single .wts-btn,
.wts-archive .wts-btn {
	border-radius: var(--wts-r-btn);
	text-transform: none;
	box-shadow: none;
	font-family: var(--wts-font);
}
.wts-single .wts-btn--primary,
.wts-archive .wts-btn--primary { background: var(--wts-neon); color: var(--wts-white); border: 1px solid transparent; }
.wts-single .wts-btn--primary:hover,
.wts-archive .wts-btn--primary:hover { background: var(--wts-neon-hover); color: var(--wts-white); }
.wts-single .wts-btn--white,
.wts-archive .wts-btn--white { background: var(--wts-white); color: var(--wts-bg); border: 1px solid transparent; }
.wts-single .wts-btn--white:hover,
.wts-archive .wts-btn--white:hover { background: #DDE1FF; color: var(--wts-bg); }
.wts-single .wts-btn--ghost,
.wts-archive .wts-btn--ghost { background: transparent; border: 1.5px solid var(--wts-neon); color: var(--wts-neon-light); }
.wts-single .wts-btn--ghost:hover,
.wts-archive .wts-btn--ghost:hover { background: var(--wts-neon); color: var(--wts-white); }

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

@media (max-width: 1180px) {
	.wts-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 1023px) {

	/* La sidebar n'est plus rendue en colonne : sommaire au-dessus,
	   carte CTA après le contenu. */
	.wts-layout { display: flex; flex-direction: column; gap: 28px; }
	.wts-side { display: contents; }
	.wts-toc { order: 1; position: static; padding: 0; width: 100%; }
	.wts-prose { order: 2; font-size: 17px; }
	.wts-prose > * + * { margin-top: 22px; }
	.wts-side-cta { order: 3; }

	/* Sommaire en accordéon */
	.wts-single .wts-toc__toggle,
	.wts-archive .wts-toc__toggle {
		cursor: pointer;
		margin: 0;
		padding: 14px 18px;
		border-radius: var(--wts-r-card);
		background: var(--wts-surface);
	}
	.wts-toc__count, .wts-toc__chevron { display: inline; }
	.wts-toc__chevron { color: var(--wts-neon-light); transition: transform 150ms ease; }
	.wts-toc__toggle[aria-expanded="true"] .wts-toc__chevron { transform: rotate(180deg); }
	.wts-toc__list {
		display: none;
		margin-top: 6px;
		padding: 10px 12px;
		background: var(--wts-surface);
		border: 1px solid var(--wts-line);
		border-radius: var(--wts-r-card);
	}
	.wts-toc__toggle[aria-expanded="true"] + .wts-toc__list { display: flex; }

	/* Filtres : puces horizontales scrollables */
	.wts-filters { position: static; gap: 14px; }
	.wts-cats__label { display: none; }
	.wts-cats {
		position: relative;
		min-width: 0;
	}

	.wts-cats__list {
		flex-direction: row;
		gap: 8px;
		overflow-x: auto;
		min-width: 0;
		max-width: 100%;
		padding-bottom: 10px;

		/* Snap souple : le mandatory force le navigateur à recaler la vue
		   sur une pastille, ce qui explique ton départ décalé. */
		scroll-snap-type: x proximity;
		scroll-padding-left: 4px;
		overscroll-behavior-x: contain;

		/* Barre fine et discrète, mais visible. */
		scrollbar-width: thin;
		scrollbar-color: var(--wts-line-strong) transparent;
	}

	.wts-cats__list::-webkit-scrollbar {
		height: 4px;
	}

	.wts-cats__list::-webkit-scrollbar-track {
		background: var(--wts-line);
		border-radius: 2px;
	}

	.wts-cats__list::-webkit-scrollbar-thumb {
		background: var(--wts-neon);
		border-radius: 2px;
	}

	/* Dégradé sur le bord droit : signale qu'il reste des catégories. */
	.wts-cats::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		width: 32px;
		height: 100%;
		pointer-events: none;
		background: linear-gradient(90deg, transparent, var(--wts-bg));
	}
	.wts-cats__item {
		flex: none;
		scroll-snap-align: start;
		border: 1px solid var(--wts-line-strong);
		border-left-width: 1px;
		border-radius: 999px;
		padding: 9px 14px;
		background: var(--wts-surface);
		white-space: nowrap;
	}
	.wts-cats__item.is-active { border-color: var(--wts-neon); background: var(--wts-surface-2); }
	.wts-cats__count { display: none; }
	.wts-cats__item::after { content: ' · ' attr(data-count); }

	.wts-grid { grid-template-columns: repeat(2, 1fr); }
	.wts-featured { grid-template-columns: 1fr; }
	.wts-featured__media img, .wts-featured__media { min-height: 220px; }
	.wts-banner { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
	.wts-banner__actions { width: 100%; }
	.wts-callback { flex-direction: column; align-items: flex-start; }
	.wts-callback__cta { width: 100%; max-width: none; }
}

/* --------------------------------------------------------------------------
   Mobile (390 px)
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
	.wts-shell { padding: 0 0px; }
	.wts-progress { height: 3px; }

	.wts-single__header { padding: 24px 20px 0; }
	.wts-single__header {
		padding-top:60px;
	}
	.wts-single__body { padding: 28px 20px; }
	.wts-single__footer { padding: 0 20px 40px; }
	.wts-archive__hero { padding: 36px 20px; }
	.wts-archive__body { padding: 24px 20px 48px; }
	.wts-archive__footer { padding: 0 20px 48px; }

	.wts-single__lead, .wts-archive__lead { font-size: 17px; }
	.wts-meta { gap: 14px; font-size: 12px; }
	.wts-single__cover img { max-height: 220px; }

	.wts-grid { grid-template-columns: 1fr; gap: 16px; }
	.wts-card__media img, .wts-card__placeholder { height: 180px; }
	.wts-featured__body { padding: 22px; }
	.wts-featured__title { font-size: 22px; }
	.wts-featured__excerpt { font-size: 15px; }

	.wts-callout { padding: 18px 20px; }
	.wts-callout__body, .wts-callout__quote { font-size: 15px; }
	.wts-callback { padding: 20px; }
	.wts-banner { padding: 28px 22px; }
	.wts-banner__sub { font-size: 16px; }
	.wts-author { flex-direction: column; gap: 16px; }

	/* Cible tactile : boutons pleine largeur, hauteur ≥ 48px */
	.wts-btn { width: 100%; min-height: 48px; }
	.wts-btn--lg { font-size: 15px; padding: 16px 24px; }
	.wts-link { min-height: 44px; display: inline-flex; align-items: center; }
	.wts-pagination .page-numbers { min-width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   Impression & accessibilité
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.wts-single *, .wts-archive * { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.wts-progress, .wts-side, .wts-filters, .wts-banner, .wts-related, .wts-pagination { display: none !important; }
	.wts-single, .wts-archive { background: #fff; color: #000; }
}

/* --------------------------------------------------------------------------
   CTA inséré dans le contenu (.cta_articles) — bouton pleine largeur
   -------------------------------------------------------------------------- */

.wts-prose p.cta_articles {
	margin: 36px 0;
	text-align: center;
}

.wts-prose p.cta_articles a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	max-width: 100%;
	background: var(--wts-neon);
	color: var(--wts-white);
	font-family: var(--wts-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	padding: 18px 32px;
	border: 1px solid transparent;
	border-radius: var(--wts-r-btn);
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(54, 63, 153, 0.45);
	transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.wts-prose p.cta_articles a:hover,
.wts-prose p.cta_articles a:focus {
	background: var(--wts-neon-hover);
	color: var(--wts-white);
	text-decoration: none;
	transform: translateY(-1px);
}

.wts-prose p.cta_articles a:focus-visible {
	outline: 2px solid var(--wts-neon-light);
	outline-offset: 3px;
}

@media (max-width: 640px) {
	.wts-prose p.cta_articles { margin: 28px 0; }
	.wts-prose p.cta_articles a {
		display: flex;
		width: 100%;
		min-height: 52px;
		font-size: 15px;
		padding: 16px 22px;
	}
	.wts-prose p.cta_articles a:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.wts-prose p.cta_articles a { transition: none; }
	.wts-prose p.cta_articles a:hover { transform: none; }
}
/* --------------------------------------------------------------------------
   Boutons Gutenberg (wp-block-buttons) dans le contenu
   -------------------------------------------------------------------------- */

.wts-prose .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 36px 0;
}

/* Le bloc porte l'alignement sur l'enfant : on le répercute sur le conteneur */
.wts-prose .wp-block-buttons:has(> .aligncenter) { justify-content: center; }
.wts-prose .wp-block-buttons:has(> .alignright) { justify-content: flex-end; }
.wts-prose .wp-block-buttons.is-content-justification-center { justify-content: center; }
.wts-prose .wp-block-buttons.is-content-justification-right { justify-content: flex-end; }

.wts-prose .wp-block-button { margin: 0; }

.wts-prose .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--wts-neon);
	background-color: var(--wts-neon);
	color: var(--wts-white);
	font-family: var(--wts-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.01em;
	padding: 18px 32px;
	border: 1px solid transparent;
	border-radius: var(--wts-r-btn);
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(54, 63, 153, 0.45);
	transition: background 150ms ease, color 150ms ease;
}

.wts-prose .wp-block-button .wp-block-button__link strong,
.wts-prose .wp-block-button .wp-block-button__link b {
	color: inherit;
	font-weight: inherit;
}

.wts-prose .wp-block-button .wp-block-button__link:hover,
.wts-prose .wp-block-button .wp-block-button__link:focus {
	background: var(--wts-neon-hover);
	background-color: var(--wts-neon-hover);
	color: var(--wts-white);
	text-decoration: none;
}

.wts-prose .wp-block-button .wp-block-button__link:focus-visible {
	outline: 2px solid var(--wts-neon-light);
	outline-offset: 3px;
}

/* Variante contour */
.wts-prose .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	background-color: transparent;
	border: 1.5px solid var(--wts-neon);
	color: var(--wts-neon-light);
	box-shadow: none;
}
.wts-prose .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wts-neon);
	background-color: var(--wts-neon);
	color: var(--wts-white);
}

@media (max-width: 640px) {
	.wts-prose .wp-block-buttons { margin: 28px 0; }
	.wts-prose .wp-block-button { width: 100%; }
	.wts-prose .wp-block-button .wp-block-button__link {
		display: flex;
		width: 100%;
		min-height: 52px;
		font-size: 15px;
		padding: 16px 22px;
	}
}
/* ==========================================================================
   WTS — Encarts automatiques & FAQ
   À coller à la FIN de assets/wts-ressources.css
   (les variables --wts-* sont déjà déclarées en haut de ce fichier)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Encart formule
   -------------------------------------------------------------------------- */

.wts-callout--formula {
	background: var(--wts-surface-3);
	border: 1px solid var(--wts-line-strong);
	border-left: 3px solid var(--wts-neon-light);
	border-radius: var(--wts-r-card);
	padding: 20px 24px;
	margin: 32px 0;
}

.wts-callout--formula .wts-callout__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wts-neon-pale);
	margin: 0 0 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.wts-callout--formula .wts-callout__icon {
	font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
	font-style: italic;
	font-size: 16px;
	color: var(--wts-neon-light);
}

.wts-callout--formula .wts-callout__body p {
	margin: 0;
	font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
	font-size: 15px;
	line-height: 1.7;
	color: var(--wts-white);
	overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Bloc CTA en cours d'article
   -------------------------------------------------------------------------- */

.wts-cta-inline {
	position: relative;
	background: linear-gradient(180deg, var(--wts-surface-2), var(--wts-surface));
	border: 1px solid var(--wts-neon);
	border-radius: var(--wts-r-card);
	padding: 28px 28px 24px;
	margin: 40px 0;
}

.wts-cta-inline__icon {
	position: absolute;
	top: -14px;
	left: 24px;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	font-size: 16px;
	background: var(--wts-bg);
	border: 1px solid var(--wts-neon);
	border-radius: 50%;
}

.wts-cta-inline h3,
.wts-cta-inline h4 {
	margin: 0 0 10px;
	color: var(--wts-white);
	font-size: 20px;
	line-height: 1.3;
}

.wts-cta-inline p {
	color: var(--wts-muted-2);
	margin: 0 0 14px;
}

.wts-cta-inline ul {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.wts-cta-inline ul li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 8px;
	color: var(--wts-body);
	font-size: 15px;
}

.wts-cta-inline ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .6em;
	width: 6px;
	height: 6px;
	transform: rotate(45deg);
	background: var(--wts-neon-light);
}

.wts-cta-inline .cta_articles {
	margin: 0 0 10px;
}

.wts-cta-inline .cta_articles a,
.wts-prose .cta_articles a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 26px;
	background: var(--wts-neon);
	color: var(--wts-white);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border-radius: var(--wts-r-btn);
	transition: background .18s ease, transform .18s ease;
}

.wts-cta-inline .cta_articles a:hover,
.wts-prose .cta_articles a:hover {
	background: var(--wts-neon-hover);
	transform: translateY(-1px);
}

.wts-cta-inline .cta_articles + p {
	font-size: 13px;
	color: var(--wts-muted-3);
	margin: 0;
}

/* --------------------------------------------------------------------------
   FAQ — accordéon
   -------------------------------------------------------------------------- */

.wts-faq {
	margin: 24px 0 40px;
	border-top: 1px solid var(--wts-line);
}

.wts-faq__item {
	border-bottom: 1px solid var(--wts-line);
}

.wts-faq__q {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 0;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.45;
	color: var(--wts-white);
	transition: color .18s ease;
}

.wts-faq__q::-webkit-details-marker { display: none; }

.wts-faq__q:hover { color: var(--wts-neon-pale); }

.wts-faq__q::after {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin-left: auto;
	margin-top: .45em;
	border-right: 2px solid var(--wts-neon-light);
	border-bottom: 2px solid var(--wts-neon-light);
	transform: rotate(45deg);
	transition: transform .22s ease;
}

.wts-faq__item[open] .wts-faq__q::after {
	transform: rotate(-135deg);
}

.wts-faq__a {
	padding: 0 0 20px;
}

.wts-faq__a p {
	margin: 0 0 12px;
	color: var(--wts-body);
	font-size: 16px;
	line-height: 1.75;
}

.wts-faq__a p:last-child { margin-bottom: 0; }

.wts-faq__a ul,
.wts-faq__a ol {
	margin: 0 0 12px;
	padding-left: 20px;
	color: var(--wts-body);
}

/* Ouverture animée — ignorée par les navigateurs qui ne la gèrent pas. */
@supports (interpolate-size: allow-keywords) {
	.wts-faq__item::details-content {
		block-size: 0;
		overflow: hidden;
		transition: block-size .25s ease, content-visibility .25s allow-discrete;
	}
	.wts-faq__item[open]::details-content {
		block-size: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wts-faq__q::after,
	.wts-faq__item::details-content,
	.wts-cta-inline .cta_articles a {
		transition: none;
	}
}

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

@media (max-width: 640px) {
	.wts-cta-inline { padding: 24px 18px 20px; }
	.wts-cta-inline .cta_articles a { width: 100%; }
	.wts-callout--formula { padding: 16px 18px; }
	.wts-callout--formula .wts-callout__body p { font-size: 14px; }
	.wts-faq__q { font-size: 16px; }
}

/* ==========================================================================
   WTS — Pagination adaptative
   À coller à la FIN de assets/wts-ressources.css
   ========================================================================== */

.wts-pagination-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: 48px 0 8px;
}

.wts-pagination__summary {
	margin: 0;
	font-size: 14px;
	color: var(--wts-muted-3);
}

.wts-pagination__summary strong {
	color: var(--wts-white);
}

.wts-pagination__summary span {
	margin: 0 6px;
	color: var(--wts-muted-4);
}

/* Accès direct */

.wts-pagination__jump {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--wts-muted-3);
}

.wts-pagination__jump select {
	appearance: none;
	min-width: 76px;
	min-height: 40px;
	padding: 0 34px 0 14px;
	background-color: var(--wts-surface-2);
	background-image: linear-gradient(45deg, transparent 50%, var(--wts-neon-light) 50%),
		linear-gradient(135deg, var(--wts-neon-light) 50%, transparent 50%);
	background-position: calc(100% - 18px) 47%, calc(100% - 13px) 47%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	border: 1px solid var(--wts-line-strong);
	border-radius: var(--wts-r-btn);
	color: var(--wts-white);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .18s ease;
}

.wts-pagination__jump select:hover,
.wts-pagination__jump select:focus-visible {
	border-color: var(--wts-neon-light);
	outline: none;
}

/* Repli sans JavaScript */

.wts-pagination__all {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wts-pagination__all a {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	border: 1px solid var(--wts-line-strong);
	border-radius: var(--wts-r-btn);
	color: var(--wts-muted-2);
	font-size: 14px;
	text-decoration: none;
}

@media (max-width: 640px) {
	.wts-pagination-wrap { gap: 14px; }
	.wts-pagination__jump { flex-direction: column; gap: 8px; }
	.wts-pagination__jump select { min-height: 44px; width: 100%; }
}


/* --------------------------------------------------------------------------
   Correctifs de rendu
   -------------------------------------------------------------------------- */

/* Points de suspension : simple respiration, pas un bouton. */
.wts-pagination .page-numbers.dots {
	min-width: 20px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wts-muted-4);
	letter-spacing: .12em;
	pointer-events: none;
}

/* Précédent / Suivant inactifs : présents pour l'équilibre, mais discrets. */
.wts-pagination .page-numbers.is-disabled {
	background: none;
	border: 1px solid var(--wts-line);
	color: var(--wts-muted-4);
	font-weight: 500;
	cursor: default;
	pointer-events: none;
}

/* Paliers éloignés : légèrement en retrait des pages voisines. */
.wts-pagination .page-numbers.is-jump {
	color: var(--wts-muted-3);
	border-color: var(--wts-line);
}

.wts-pagination .page-numbers.is-jump:hover {
	color: var(--wts-neon-light);
	border-color: var(--wts-neon-light);
}

@media (max-width: 640px) {
	/* Sur mobile, les libellés prennent trop de place : on garde les flèches. */
	.wts-pagination .prev,
	.wts-pagination .next {
		font-size: 0;
		padding: 0;
		min-width: 44px;
	}
	.wts-pagination .prev::before { content: "←"; font-size: 16px; }
	.wts-pagination .next::before { content: "→"; font-size: 16px; }
}