/**
 * Gymspiratie Wrapped - "Rewind" story-styling
 *
 * Full-card slides die als een Instagram/Spotify-story doorlopen. Maten schalen
 * mee met de kaartbreedte via container-query-units (cqw), zodat de typografie
 * op elk scherm klopt. Kleuren per slide; voorgrond wit, of navy op .is-dark.
 */

.gym-rw {
	--rw-accent: #ffd23f;
	--rw-ink: #122b46;

	position: relative;
	width: 100%;
	max-width: min(430px, 48vh);
	aspect-ratio: 9 / 16;
	margin: 0 auto;
	border-radius: 28px;
	overflow: hidden;
	isolation: isolate;
	container-type: inline-size;
	color: #fff;
	font-family: var(--gym-font-display, 'Poppins', 'Figtree', system-ui, sans-serif);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.gym-rw * { box-sizing: border-box; }

/* ---------- Teaser-intro (niet-leden), boven het voorbeeld ---------- */
.gym-rw-intro {
	max-width: 540px;
	margin: 0 auto 56px; /* ruime marge naar het voorbeeld eronder */
	text-align: center;
	font-family: var(--gym-font-body, 'Inter', system-ui, sans-serif);
	color: var(--gym-blue-900, #122b46);
}
.gym-rw-intro-title {
	font-family: var(--gym-font-display, 'Poppins', 'Figtree', system-ui, sans-serif);
	font-size: 1.5rem; font-weight: 800; line-height: 1.2;
	margin: 0 0 12px; color: var(--gym-blue-900, #122b46);
}
.gym-rw-intro-text {
	font-size: 1rem; line-height: 1.55; margin: 0 0 6px; opacity: .85;
}
.gym-rw-intro a {
	color: var(--gym-blue-600, #2563eb); font-weight: 700; text-decoration: underline;
}
.gym-rw-intro-cue { margin-top: 16px; font-weight: 700; opacity: 1; }

/* ---------- Voortgangsbalkjes ---------- */
.gym-rw-bars {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 30;
	display: flex;
	gap: 1.4cqw;
	padding: 3.5cqw 5cqw 0;
}

.gym-rw-bar {
	position: relative;
	flex: 1 1 0;
	height: 0.9cqw;
	min-height: 3px;
	border-radius: 2px;
	background: rgba(0, 0, 0, .16);
	overflow: hidden;
}

.gym-rw-bar > i {
	display: block;
	height: 100%;
	width: 0;
	background: #fff;
	border-radius: 2px;
}

/* ---------- Stage + carousel-track ---------- */
.gym-rw-stage { position: absolute; inset: 0; overflow: hidden; }

.gym-rw-track {
	display: flex;
	height: 100%;
	width: 100%;
	transition: transform .55s cubic-bezier(.4, 0, .2, 1);
	will-change: transform;
}

.gym-rw-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 9cqw 7.5cqw 6.5cqw;
	background: #2563eb;
	overflow: hidden;
}

.gym-rw-slide.is-dark { color: var(--rw-ink); }

/* slide-achtergronden */
.gym-rw-slide--cover      { background: #2563eb; }
.gym-rw-slide--lessons    { background: #f5402d; }
.gym-rw-slide--month      { background: #ffc528; }
.gym-rw-slide--leerlijnen { background: #12a150; }
.gym-rw-slide--groep      { background: #6a2cc9; }
.gym-rw-slide--thema      { background: #ff2e8b; }
.gym-rw-slide--favorieten { background: #15b7a6; }
.gym-rw-slide--gedeeld    { background: #ff7a1a; }
.gym-rw-slide--persona    { background: radial-gradient(120% 90% at 50% 0%, #6d28d9 0%, #2e1065 72%); }
.gym-rw-slide--recap      { background: #2563eb; }
.gym-rw-slide--cta        { background: #f5402d; }
.gym-rw-slide--authored   { background: #4338ca; }
.gym-rw-slide--top        { background: radial-gradient(120% 90% at 50% 0%, #1b3a5e 0%, #0e1b30 70%); }

/* ---------- Header / footer ---------- */
.gym-rw-head {
	position: relative; z-index: 5;
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 4cqw;
}

.gym-rw-logo {
	display: inline-flex; align-items: center; gap: 2cqw;
	font-size: 4.2cqw; font-weight: 800; letter-spacing: -.02em;
}
.gym-rw-logo > i {
	width: 3cqw; height: 3cqw; border-radius: 50%;
	background: var(--rw-accent); flex: none;
}

.gym-rw-rewind {
	font-size: 3cqw; font-weight: 700; letter-spacing: .12em;
	padding: 1.4cqw 3cqw; border-radius: 999px;
	border: 1.5px solid currentColor; opacity: .9;
}

.gym-rw-foot {
	position: relative; z-index: 5;
	display: flex; align-items: center; justify-content: space-between;
	font-size: 2.9cqw; font-weight: 500; opacity: .7;
	margin-top: 4cqw;
}

/* ---------- Body ---------- */
.gym-rw-body {
	position: relative; z-index: 5;
	flex: 1 1 auto;
	display: flex; flex-direction: column; justify-content: center;
	min-height: 0;
}

.gym-rw-eyebrow {
	text-transform: uppercase;
	font-size: 3cqw; font-weight: 700; letter-spacing: .14em;
	opacity: .85; margin: 0 0 3cqw;
}

.gym-rw-title {
	font-size: 14cqw; line-height: .98; font-weight: 800;
	letter-spacing: -.02em; margin: 0;
	color: inherit;
	overflow-wrap: break-word; word-break: normal;
}
.gym-rw-title--sm { font-size: 11cqw; }
/* Titels met variabele, soms lange inhoud (groep/thema/persona-namen): kleiner en
   met wat regelhoogte zodat ze netjes over 2 regels passen i.p.v. krap af te breken. */
.gym-rw-title--term { font-size: 9.5cqw; line-height: 1.04; }
.gym-rw-month { font-size: 16cqw; }
.gym-rw-accent { color: var(--rw-accent); }

.gym-rw-lead {
	font-family: var(--gym-font-body, 'Inter', system-ui, sans-serif);
	font-size: 3.9cqw; line-height: 1.4; font-weight: 500;
	margin: 4cqw 0 0; max-width: 92%;
}
.gym-rw-lead strong { font-weight: 800; }

.gym-rw-meta {
	font-size: 3.4cqw; font-weight: 600; opacity: .9; margin: 6cqw 0 0;
}

.gym-rw-hashtag {
	font-size: 4cqw; font-weight: 700; opacity: .9; margin: 3cqw 0 0;
}

.gym-rw-note {
	font-family: var(--gym-font-body, 'Inter', system-ui, sans-serif);
	font-size: 2.9cqw; line-height: 1.4; opacity: .72;
	margin: 5cqw 0 0; max-width: 94%;
}

/* ---------- Genummerde lijsten ---------- */
.gym-rw-list {
	list-style: none; margin: 6cqw 0 0; padding: 0;
}
/* Het thema (Kadence) zet een ol/ul-inspring die qua specificiteit wint van
   .gym-rw-list; met de wrapper ervoor verslaan we die, zodat de rang-nummers
   links uitlijnen met de tekst erboven i.p.v. ingesprongen te staan. */
.gym-rw .gym-rw-list,
.gym-rw .gym-rw-bars-list { margin-left: 0; padding-left: 0; }
.gym-rw-list--sub { margin-top: 5cqw; }

.gym-rw-list li {
	display: flex; align-items: center; gap: 3.5cqw;
	padding: 3cqw 0;
	border-bottom: 1.5px solid rgba(255, 255, 255, .22);
	font-size: 4cqw;
}
.is-dark .gym-rw-list li { border-color: rgba(0, 0, 0, .14); }

.gym-rw-rank {
	flex: none; width: 5cqw;
	font-weight: 800; font-size: 4.4cqw;
	color: var(--rw-accent);
}
.is-dark .gym-rw-rank { color: var(--rw-ink); }

.gym-rw-li-label { flex: 1 1 auto; min-width: 0; font-weight: 700; overflow-wrap: break-word; }
.gym-rw-li-val {
	flex: none; font-size: 3.2cqw; font-weight: 600; opacity: .85;
	font-family: var(--gym-font-body, 'Inter', system-ui, sans-serif);
}

/* ---------- Balkenlijst (leerlijnen) ---------- */
.gym-rw-bars-list { list-style: none; margin: 6cqw 0 0; padding: 0; }
.gym-rw-bars-list li {
	display: grid;
	grid-template-columns: 5cqw 1fr auto;
	align-items: center;
	gap: 2cqw 3cqw;
	margin-bottom: 4cqw;
	font-size: 4cqw; font-weight: 700;
}
.gym-rw-bl-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gym-rw-bl-pct { font-size: 3.4cqw; opacity: .9; }
.gym-rw-bl-track {
	grid-column: 2 / 4;
	height: 1.8cqw; border-radius: 999px;
	background: rgba(255, 255, 255, .25);
	overflow: hidden;
}
.gym-rw-bl-track > i {
	display: block; height: 100%; width: 0;
	background: var(--rw-accent); border-radius: 999px;
	transition: width .8s cubic-bezier(.2, .8, .2, 1);
}
.gym-rw-slide[data-active] .gym-rw-bl-track > i { width: var(--pct); }

/* ---------- Maandgrafiek ---------- */
.gym-rw-chart {
	display: flex; align-items: flex-end; gap: 1.6cqw;
	height: 30cqw; margin-top: 7cqw;
}
.gym-rw-chart-col {
	flex: 1 1 0; display: flex; flex-direction: column;
	align-items: center; justify-content: flex-end; height: 100%;
	gap: 1.5cqw;
}
.gym-rw-chart-col > i {
	display: block; width: 100%; height: 0;
	background: rgba(18, 43, 70, .28);
	border-radius: 2px;
	transition: height .7s cubic-bezier(.2, .8, .2, 1);
}
.gym-rw-slide[data-active] .gym-rw-chart-col > i { height: var(--h); }
.gym-rw-chart-col.is-active > i { background: #f5402d; }
.gym-rw-chart-col > em {
	font-style: normal; font-size: 2.6cqw; font-weight: 700; opacity: .7;
}

/* ---------- Groot getal ---------- */
.gym-rw-bignum { font-size: 8cqw; line-height: 1; font-weight: 800; }
.gym-rw-bignum span {
	display: block; font-size: 22cqw; color: var(--rw-accent); line-height: .9;
}
.is-dark .gym-rw-bignum span { color: var(--rw-ink); }

/* ---------- Persona ---------- */
.gym-rw-badge-circle {
	width: 22cqw; height: 22cqw; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 11cqw; font-weight: 800; color: var(--rw-accent);
	border: 1.5cqw solid var(--rw-accent);
	margin-bottom: 5cqw;
}
/* Dier-emoji als gezicht: groter en zonder accent-kleur (emoji kleurt zelf). */
.gym-rw-badge-circle--emoji {
	font-size: 13cqw; line-height: 1; font-weight: 400;
}
.gym-rw-pills { display: flex; flex-wrap: wrap; gap: 2.5cqw; margin-top: 5cqw; }
.gym-rw-pill {
	font-size: 3cqw; font-weight: 600; padding: 1.6cqw 3.4cqw;
	border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .5);
}
/* Gedragsbadge springt eruit t.o.v. de leerlijn-pills. */
.gym-rw-pill--badge {
	background: var(--rw-accent); color: var(--rw-ink);
	border-color: var(--rw-accent); font-weight: 800;
}
/* Intensiteits-kicker boven de typering ("Fanatieke" / "Toegewijde"). */
.gym-rw-kicker {
	font-size: 4cqw; font-weight: 800; letter-spacing: .02em;
	color: var(--rw-accent); margin-bottom: 1cqw; line-height: 1;
}

/* ---------- Recap-tegels ---------- */
.gym-rw-tiles {
	display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw;
	margin-top: 6cqw;
}
.gym-rw-tile {
	display: flex; flex-direction: column; gap: 1cqw;
	padding: 3.6cqw; border-radius: 4cqw; color: #fff; min-width: 0;
}
.gym-rw-tile-lbl {
	text-transform: uppercase; font-size: 2.5cqw; font-weight: 700;
	letter-spacing: .08em; opacity: .85;
}
.gym-rw-tile-val {
	font-size: 4.4cqw; font-weight: 800; line-height: 1.05;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gym-rw-tile--r  { background: #f5402d; }
.gym-rw-tile--g  { background: #12a150; }
.gym-rw-tile--p  { background: #6a2cc9; }
.gym-rw-tile--b  { background: #1f6aa3; }
.gym-rw-tile--t  { background: #15b7a6; }
.gym-rw-tile--pk { background: #ff2e8b; }
.gym-rw-tile--o  { background: #ff7a1a; }
.gym-rw-tile--y  { background: #ffc528; color: var(--rw-ink); }

/* ---------- Knoppen ---------- */
.gym-rw-actions { display: flex; flex-direction: column; gap: 3cqw; margin-top: 6cqw; }
.gym-rw-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--gym-font-display, 'Poppins', sans-serif);
	font-size: 4cqw; font-weight: 700; text-decoration: none;
	padding: 3.4cqw 5cqw; border-radius: 999px; border: 2px solid #fff;
	cursor: pointer;
}
.gym-rw-btn--solid { background: #fff; color: #f5402d; }
.gym-rw-btn--ghost { background: transparent; color: #fff; }

/* ---------- Navigatie / replay ---------- */
/* Compound-selectors (.gym-rw .gym-rw-nav) om de thema-knopstijlen te verslaan,
   zodat de tik-zones echt transparant blijven i.p.v. een gekleurd vlak. */
.gym-rw .gym-rw-nav,
.gym-rw .gym-rw-nav:hover,
.gym-rw .gym-rw-nav:focus,
.gym-rw .gym-rw-nav:active {
	position: absolute; top: 0; bottom: 0; z-index: 20;
	border: 0; box-shadow: none; outline: none; cursor: pointer; padding: 0;
	background: transparent;
	-webkit-appearance: none; appearance: none;
}
.gym-rw-nav--prev { left: 0; width: 32%; }
.gym-rw-nav--next { right: 0; width: 68%; }

/* Subtiele pijl die verschijnt bij hover/indrukken. */
.gym-rw-nav::after {
	content: ''; position: absolute; top: 50%;
	width: 3.4cqw; height: 3.4cqw;
	border: solid #fff; border-width: 1cqw 1cqw 0 0;
	opacity: 0; transition: opacity .2s ease;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}
.gym-rw-nav--next::after { right: 7cqw; transform: translateY(-50%) rotate(45deg); }
.gym-rw-nav--prev::after { left: 7cqw; transform: translateY(-50%) rotate(-135deg); }
.gym-rw-nav:hover::after { opacity: .6; }
.gym-rw-nav:active::after { opacity: .95; }

/* Lichte verdonkering aan de rand bij indrukken. */
.gym-rw .gym-rw-nav--next:active {
	background: radial-gradient(130% 100% at 100% 50%, rgba(0, 0, 0, .18), transparent 55%);
}
.gym-rw .gym-rw-nav--prev:active {
	background: radial-gradient(130% 100% at 0% 50%, rgba(0, 0, 0, .18), transparent 55%);
}

.gym-rw-replay {
	position: absolute; z-index: 40; left: 50%; bottom: 14cqw;
	transform: translateX(-50%);
	font-family: var(--gym-font-display, 'Poppins', sans-serif);
	font-size: 3.6cqw; font-weight: 700; color: var(--rw-ink);
	background: #fff; border: 0; border-radius: 999px;
	padding: 3cqw 6cqw; cursor: pointer;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

/* ---------- Altijd-zichtbare deelknop (fab) ---------- */
.gym-rw-share-fab {
	position: absolute; z-index: 40; right: 4.5cqw; bottom: 4.5cqw;
	width: 11cqw; height: 11cqw; min-width: 40px; min-height: 40px;
	display: flex; align-items: center; justify-content: center;
	padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	background: var(--rw-accent); color: var(--rw-ink);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
	transition: transform .15s ease;
}
.gym-rw-share-fab:hover { transform: scale(1.06); }
.gym-rw-share-fab:active { transform: scale(.96); }
.gym-rw-share-fab svg { width: 55%; height: 55%; fill: currentColor; }
/* Bezig met de slide vastleggen: korte feedback op de deelknop. */
.gym-rw-share-fab:disabled { opacity: .65; cursor: progress; transform: none; }
.gym-rw.is-capturing { cursor: progress; }
/* Maak in de footer rechts ruimte voor de fab, zodat het paginanummer er niet
   achter verdwijnt. Alleen wanneer de fab aanwezig is (leden, niet de teaser). */
.gym-rw--has-fab .gym-rw-foot { padding-right: 15cqw; }

/* ---------- Decoraties ---------- */
.gym-rw-deco { position: absolute; z-index: 1; pointer-events: none; }
.gym-rw-deco--1 {
	width: 9cqw; height: 9cqw; border-radius: 50%;
	border: 2.4cqw solid var(--rw-accent); opacity: .9;
	top: 26cqw; right: 9cqw;
}
.gym-rw-deco--2 {
	width: 6cqw; height: 6cqw; border-radius: 50%;
	background: #fff; opacity: .5;
	bottom: 24cqw; left: 11cqw;
}
.gym-rw-deco--3 {
	width: 0; height: 0;
	border-left: 4.5cqw solid transparent; border-right: 4.5cqw solid transparent;
	border-bottom: 8cqw solid var(--rw-accent); opacity: .85;
	bottom: 18cqw; right: 14cqw; transform: rotate(18deg);
}
.gym-rw-slide--month .gym-rw-deco--1,
.gym-rw-slide--gedeeld .gym-rw-deco--1 { border-color: #fff; }

.gym-rw-fieldline {
	position: absolute; inset: 0; z-index: 0;
	width: 100%; height: 100%;
	fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 2;
	opacity: .9;
}

/* ---------- Entree-animatie ---------- */
@keyframes gymRwIn {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}
.gym-rw-slide[data-active] .gym-rw-body > * {
	animation: gymRwIn .5s both;
}
.gym-rw-slide[data-active] .gym-rw-body > *:nth-child(1) { animation-delay: .05s; }
.gym-rw-slide[data-active] .gym-rw-body > *:nth-child(2) { animation-delay: .13s; }
.gym-rw-slide[data-active] .gym-rw-body > *:nth-child(3) { animation-delay: .21s; }
.gym-rw-slide[data-active] .gym-rw-body > *:nth-child(4) { animation-delay: .29s; }
.gym-rw-slide[data-active] .gym-rw-body > *:nth-child(5) { animation-delay: .37s; }

.gym-rw.is-paused .gym-rw-bar > i { opacity: .7; }

/* ---------- Deelknoppen onder de kaart (laatste slide) ---------- */
.gym-wrapped-cta {
	display: flex; flex-direction: column; gap: 10px;
	width: 100%; max-width: min(430px, 48vh);
	margin: 16px auto 0;
	font-family: var(--gym-font-display, 'Poppins', sans-serif);
}
.gym-wrapped-cta[hidden] { display: none; }
.gym-wrapped-cta-hint {
	margin: -2px 0 2px; text-align: center;
	font-family: var(--gym-font-body, 'Inter', system-ui, sans-serif);
	font-size: .82rem; line-height: 1.4; opacity: .7;
}

/* ---------- Slide-kiezer (modal) ---------- */
.gym-rw-picker {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	padding: 16px; background: rgba(8, 16, 32, .86);
}
.gym-rw-picker[hidden] { display: none; }
.gym-rw-picker-panel {
	width: 100%; max-width: 680px; max-height: 92vh;
	display: flex; flex-direction: column; gap: 16px;
	background: #fff; color: var(--gym-blue-900, #122b46);
	border-radius: 16px; padding: 22px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.gym-rw-picker-title {
	flex: none; text-align: center; margin: 0;
	font-family: var(--gym-font-display, 'Poppins', sans-serif);
	font-size: 1.05rem; font-weight: 800;
}
.gym-rw-picker-grid {
	flex: 1 1 auto; min-height: 0; overflow-y: auto;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
	padding: 2px;
}
.gym-rw-picker [data-rw-picker-close] { flex: none; align-self: center; min-width: 150px; }

/* Mobiel: schermvullend sheet, titel onder de browserbalk (safe-area). */
@media (max-width: 640px) {
	.gym-rw-picker { padding: 0; }
	.gym-rw-picker-panel {
		max-width: none; max-height: none;
		width: 100%; height: 100%; border-radius: 0;
		padding: calc(env(safe-area-inset-top, 0px) + 64px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
	}
}
.gym-rw-thumb {
	position: relative; aspect-ratio: 9 / 16; padding: 0; border: 0; cursor: pointer;
	border-radius: 8px; overflow: hidden; background: #1b2a44;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18); transition: transform .12s ease;
}
.gym-rw-thumb img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; display: block;
}
.gym-rw-thumb em {
	position: absolute; top: 4px; left: 5px; z-index: 2; font-style: normal;
	font-size: .7rem; font-weight: 800; color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.gym-rw-thumb:hover { transform: translateY(-1px); }
.gym-rw-thumb:not(.is-ready) { animation: gym-rw-thumb-pulse 1.2s ease-in-out infinite; }
@keyframes gym-rw-thumb-pulse { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }

/* ---------- Desktop: coverflow - buur-slides naast de centrale kaart ---------- */
@media (min-width: 1024px) {
	/* De buur-slides mogen buiten de centrale kaart uitsteken; de wrap klipt
	   horizontaal zodat de pagina geen horizontale scrollbar krijgt. */
	.gym-rw-wrap { overflow-x: clip; }
	.gym-rw { overflow: visible; box-shadow: none; border-radius: 0; }
	.gym-rw-stage { overflow: visible; }

	/* Niet-actieve slides: kleiner en gedimd, als kaarten opzij. De .gym-rw-
	   voorouder in de selector zorgt dat deze stijlen NIET in de losse slide-
	   capture (snapdom) terechtkomen - die rendert de slide zonder die voorouder. */
	.gym-rw .gym-rw-slide {
		border-radius: 24px;
		transform: scale(.8);
		opacity: .4;
		transition: transform .55s cubic-bezier(.4, 0, .2, 1), opacity .55s ease;
	}
	.gym-rw .gym-rw-slide[data-active] {
		transform: scale(1);
		opacity: 1;
		z-index: 3;
		box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
	}
}

/* ---------- Mobiel: (bijna) schermvullende Rewind ---------- */
@media (max-width: 640px) {
	/* Volledige breedte (edge-to-edge), los van de content-kolompadding. */
	.gym-rw-wrap { width: 100vw; margin-left: calc(50% - 50vw); }
	.gym-rw {
		max-width: 100%;
		aspect-ratio: auto;
		height: 90vh;
		height: 90svh;
		border-radius: 0;
	}
}

.gym-wrapped-cta .gym-wrapped-cta-btn,
.gym-wrapped-cta .gym-wrapped-cta-btn:hover,
.gym-wrapped-cta .gym-wrapped-cta-btn:focus {
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1rem; font-weight: 700; text-decoration: none;
	padding: 14px 24px; border-radius: 999px; cursor: pointer;
	border: 2px solid var(--gym-red-500, #f5402d); box-shadow: none;
}
.gym-wrapped-cta .gym-wrapped-cta-btn--solid {
	background: var(--gym-red-500, #f5402d); color: #fff;
}
.gym-wrapped-cta .gym-wrapped-cta-btn--ghost {
	background: transparent; color: var(--gym-red-500, #f5402d);
}
.gym-wrapped-cta .gym-wrapped-cta-btn:hover { filter: brightness(.96); }

/* ---------- Kanaal-knoppen (desktop-vriendelijk delen) ---------- */
.gym-wrapped-cta-channels {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
	margin-top: 4px;
}
.gym-rw-chan {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--gym-font-display, 'Poppins', sans-serif);
	font-size: .85rem; font-weight: 700; text-decoration: none;
	padding: 8px 14px; border-radius: 999px; cursor: pointer;
	color: #fff; border: 0; line-height: 1;
}
.gym-rw-chan--wa   { background: #25d366; }
.gym-rw-chan--x    { background: #111; }
.gym-rw-chan--li   { background: #0a66c2; }
.gym-rw-chan--fb   { background: #1877f2; }
.gym-rw-chan--copy { background: var(--gym-ink, #122b46); }
.gym-rw-chan.is-copied { background: #12a150; }
.gym-rw-chan:hover { filter: brightness(.95); }

/* ---------- Samenvatting onder de kaart (laatste slide) ---------- */
.gym-wrapped-summary {
	width: 100%;
	max-width: min(720px, 92vw);
	margin: 22px auto 0;
	font-family: var(--gym-font-display, 'Poppins', sans-serif);
}
.gym-wrapped-summary[hidden] { display: none; }

.gym-rw-summary-title {
	font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em;
	margin: 0 0 2px; text-align: center;
	color: var(--gym-blue-900, #122b46);
}
.gym-rw-summary-sub {
	font-family: var(--gym-font-body, 'Inter', system-ui, sans-serif);
	font-size: .92rem; opacity: .68; margin: 0 0 16px; text-align: center;
	color: var(--gym-blue-900, #122b46);
}

.gym-rw-summary-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
}

.gym-rw-sum-card {
	display: flex; flex-direction: column; gap: 9px;
	padding: 15px 17px; border-radius: 18px;
	color: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.gym-rw-sum-eyebrow {
	text-transform: uppercase; font-size: .7rem; font-weight: 800;
	letter-spacing: .1em; opacity: .92;
}

/* Parent-prefix voor de specificiteit: in de content-kolom zet het thema
   (.entry-content ul e.d.) anders padding-left terug op de lijst. */
.gym-rw-sum-card .gym-rw-sum-links { list-style: none; margin: 0; padding: 0; padding-left: 0; display: flex; flex-direction: column; gap: 7px; }
.gym-rw-sum-links li { line-height: 1.3; }
/* Bewust GEEN flex op de link zelf: dat maakte de tekst een flex-item dat in smalle
   kaarten karakter-voor-karakter afbrak. Als blok breekt de tekst netjes op woorden. */
.gym-rw-sum-links a {
	display: block;
	color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem;
	overflow-wrap: break-word; word-break: normal;
}
.gym-rw-sum-links a::before { content: '\203A'; margin-right: 6px; opacity: .7; font-weight: 800; }
.gym-rw-sum-links a:hover,
.gym-rw-sum-links a:focus-visible { text-decoration: underline; }

/* Kleuren = exact de categorie-slides */
.gym-rw-sum-card--lessons    { background: #f5402d; }
.gym-rw-sum-card--leerlijnen { background: #12a150; }
.gym-rw-sum-card--groep      { background: #6a2cc9; }
.gym-rw-sum-card--thema      { background: #ff2e8b; }
.gym-rw-sum-card--favorieten { background: #15b7a6; }
.gym-rw-sum-card--gedeeld    { background: #ff7a1a; }
.gym-rw-sum-card--authored   { background: #4338ca; }

/* ---------- Gate / empty (geen story) ---------- */
.gym-wrapped--gate,
.gym-wrapped--empty {
	max-width: 430px; margin: 0 auto; text-align: center;
	padding: 40px 24px; border-radius: 16px;
	background: var(--gym-blue-50, #eaf4f8); color: var(--gym-blue-900, #122b46);
	font-family: var(--gym-font-body, 'Inter', system-ui, sans-serif);
}
.gym-wrapped-btn {
	display: inline-block; margin-top: 16px; padding: 12px 26px;
	border-radius: 999px; background: var(--gym-red-500, #f82929);
	color: #fff; font-weight: 700; text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.gym-rw-track,
	.gym-rw-slide[data-active] .gym-rw-body > *,
	.gym-rw-bl-track > i,
	.gym-rw-chart-col > i { transition: none; animation: none; }
}
