/**
 * Spiergroep-pagina (single-spiergroep.php) — design-previews/spiergroep-r1, ?v=MIX.
 */
html { scroll-padding-top: calc(var(--header-h) + 64px); }

.sg-label { display: block; margin: 0 0 12px; font: 800 12px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.sg-label--amber { color: var(--amber); margin-bottom: 24px; }
.sg-h2 { margin: 0; font: 900 clamp(44px, 4.6vw, 72px)/.86 var(--font-display); text-transform: uppercase; color: var(--ink-950); }

/* Hero (H1) */
.sg-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; padding: 40px var(--gutter) 96px; background: var(--ink-950); }
.sg-crumbs { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.sg-crumbs a { display: inline-block; padding: 6px 0; color: inherit; text-decoration: none; } /* tikdoel ≥ 24px (WCAG 2.5.8) */
.sg-crumbs a:hover { color: var(--paper); }
.sg-crumbs i { font-style: normal; margin: 0 8px; color: var(--text-dim); }
.sg-crumbs span { color: var(--paper); }
.sg-hero__h1 { margin: 28px 0 0; font: 900 clamp(56px, 6.2vw, 100px)/.82 var(--font-display); text-transform: uppercase; color: var(--paper); }
.sg-hero__lead { max-width: 600px; margin: 28px 0 0; font-size: 19px; line-height: 1.6; color: var(--text-soft); }
.sg-by { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: 14px; color: var(--text-muted); }
.sg-by img { width: 40px; height: 40px; object-fit: cover; }
.sg-by a { color: inherit; text-decoration: none; }
.sg-by b { color: var(--paper); }
.sg-by { flex-wrap: wrap; }
.sg-by > span:not(.sg-by__date) { flex: 1 1 0; min-width: 0; }
.sg-by__date { flex-basis: 100%; padding-left: 52px; font-size: 13px; color: var(--text-dim); }
.sg-by__logo { display: grid; place-items: center; width: 40px; height: 40px; background: var(--amber); color: var(--ink-950); font: 900 26px/1 var(--font-display); }

.sg-jumps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sg-jump { position: relative; display: flex; flex-direction: column; min-height: 124px; padding: 16px 18px; border: 1px solid var(--line-dark-strong); background: var(--ink-900); text-decoration: none; transition: border-color .2s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.sg-jump:hover { border-color: var(--amber); transform: translateY(-3px); }
.sg-jump__eb { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.sg-jump__t { margin-top: auto; padding-top: 18px; font: 900 26px/.9 var(--font-display); text-transform: uppercase; color: var(--paper); }
.sg-jump__s { margin-top: 6px; font-size: 13px; color: var(--text-muted); }
.sg-jump__go { position: absolute; top: 14px; right: 16px; font-size: 18px; line-height: 1; color: var(--paper); }
.sg-jump--hot { background: var(--amber); border-color: var(--amber); }
.sg-jump--hot .sg-jump__eb, .sg-jump--hot .sg-jump__t, .sg-jump--hot .sg-jump__s, .sg-jump--hot .sg-jump__go { color: var(--ink-950); }

/* Op deze pagina (sticky onder de site-header) */
.sg-sub { position: sticky; top: var(--header-h); z-index: 30; display: flex; align-items: center; gap: 28px; height: 56px; padding: 0 var(--gutter); overflow-x: auto; white-space: nowrap; background: var(--ink-950); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); scrollbar-width: none; }
.sg-sub::-webkit-scrollbar { display: none; }
.sg-sub__label { padding-right: 24px; border-right: 1px solid var(--line-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.sg-sub a { display: flex; align-items: center; height: 56px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 700; color: var(--text-soft); text-decoration: none; }
.sg-sub a:hover, .sg-sub a.is-on { color: var(--paper); }
.sg-sub a.is-on { border-color: var(--amber); }

/* Oefeningen (E1) */
.sg-ex { padding: var(--section-y) var(--gutter); background: var(--paper); color: var(--paper-ink-2); }
.sg-ex__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 48px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chips button { padding: 10px 14px; border: 1px solid var(--paper-line); background: none; font: 800 14px/1 var(--font-body); color: var(--ink-950); cursor: pointer; }
.sg-chips button i { margin-left: 4px; font-style: normal; font-weight: 600; color: var(--paper-ink-3); }
.sg-chips button[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: var(--paper); }
.sg-chips button[aria-pressed="true"] i { color: var(--amber); }
.sg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.sg-card { display: flex; flex-direction: column; text-decoration: none; }
.sg-card[hidden] { display: none; }
.sg-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-line); }
.sg-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.sg-card:hover .sg-card__img img, .sg-read__card:hover .sg-card__img img { transform: scale(1.04); }
.sg-card__meta { margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text-on-light); }
.sg-card__t { margin: 6px 0 0; font: 900 28px/.92 var(--font-display); text-transform: uppercase; color: var(--ink-950); }
.sg-more { display: inline-block; margin-top: 48px; padding-bottom: 4px; border-bottom: 2px solid var(--amber); font-weight: 800; color: var(--ink-950); text-decoration: none; }

.sg-ex__intro { max-width: 560px; margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--paper-ink-2); }

/* Tekst (T1) */
.sg-toc-m { display: none; margin: 0 0 40px; border: 1px solid var(--line-dark-strong); background: var(--ink-900); }
.sg-toc-m summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 0 18px; cursor: pointer; list-style: none; }
.sg-toc-m summary::-webkit-details-marker { display: none; }
.sg-toc-m summary .sg-label { margin: 0; color: var(--paper); }
.sg-toc-m__n { font-size: 13px; color: var(--text-muted); }
.sg-toc-m__n::after { content: ' +'; color: var(--amber); font-weight: 800; }
.sg-toc-m[open] .sg-toc-m__n::after { content: ' −'; }
.sg-toc-m ol { margin: 0; padding: 0 18px 12px 40px; }
.sg-toc-m li { margin: 0; }
.sg-toc-m a { display: block; padding: 10px 0; border: 0; font-size: 15px; line-height: 1.35; color: var(--text-soft); }
.sg-text { display: grid; grid-template-columns: 220px minmax(0, 720px) 300px; gap: 56px; justify-content: space-between; align-items: start; padding: var(--section-y) var(--gutter); background: var(--ink-950); }
.sg-toc { position: sticky; top: calc(var(--header-h) + 88px); display: flex; flex-direction: column; }
.sg-toc a { padding: 8px 0 8px 14px; border-left: 2px solid var(--line-dark); font-size: 14px; line-height: 1.35; color: var(--text-muted); text-decoration: none; }
.sg-toc a:hover, .sg-toc a.is-on { color: var(--paper); border-color: var(--amber); }
.sg-side { position: sticky; top: calc(var(--header-h) + 88px); }
.sg-ign { padding: 28px; background: var(--ink-900); border: 1px solid var(--line-dark-strong); }
.sg-ign .speedlines { margin-bottom: 18px; }
.sg-ign__logo { display: block; font: 900 44px/.9 var(--font-display); color: var(--paper); }
.sg-ign__logo em { font-style: normal; color: var(--amber); }
.sg-ign p { margin: 12px 0 22px; font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.sg-ign .btn { padding: 14px 18px; font-size: 14px; }

.sg-prose { font-size: 18px; line-height: 1.7; color: var(--text-soft); }
.sg-prose > :first-child { margin-top: 0; }
.sg-prose h2 { margin: 64px 0 18px; font: 900 46px/.9 var(--font-display); text-transform: uppercase; color: var(--paper); }
.sg-prose h2 strong, .sg-prose h3 strong { font-weight: inherit; }
.sg-prose h3 { margin: 36px 0 12px; font-size: 20px; font-weight: 800; color: var(--paper); }
.sg-prose p { margin: 0 0 20px; }
.sg-prose a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--amber); }
.sg-prose a:hover { color: var(--amber); }
.sg-prose ul, .sg-prose ol { margin: 0 0 24px; padding-left: 22px; }
.sg-prose li { margin: 6px 0; }
.sg-prose li::marker { color: var(--amber); font-weight: 800; }
.sg-prose img { max-width: 100%; height: auto; }
.sg-prose .vid { margin: 32px 0; }
.sg-prose .ar-box { margin: 32px 0; padding: 24px 28px; background: var(--ink-900); border-left: 4px solid var(--amber); }
.sg-prose .ar-box > :last-child { margin-bottom: 0; }
.sg-prose .ar-box .speedlines { display: none; }
.sg-prose .ar-box__title { margin: 0 0 10px; font: 900 32px/.9 var(--font-display); text-transform: uppercase; color: var(--paper); }
.sg-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sg-prose th, .sg-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-dark); text-align: left; }

/* Andere spiergroepen (G2) */
.sg-groups { padding: var(--section-y) var(--gutter); background: var(--ink-900); }
.sg-glist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin: 0; padding: 0; list-style: none; }
.sg-glist a, .sg-glist .is-here { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark-strong); font: 900 clamp(48px, 5.4vw, 84px)/.9 var(--font-display); text-transform: uppercase; color: var(--paper); text-decoration: none; transition: color .2s, padding .3s cubic-bezier(.2, .8, .2, 1); }
.sg-glist a:hover { color: var(--amber); padding-left: 12px; }
.sg-glist .is-here { color: var(--amber); }
.sg-glist i { flex: none; font: 800 15px/1 var(--font-body); font-style: normal; color: var(--text-muted); }

/* Verder lezen */
.sg-read { padding: var(--section-y) var(--gutter); background: var(--paper); }
.sg-read .sg-h2 { margin-bottom: 48px; }
.sg-read__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sg-read__card { display: flex; flex-direction: column; text-decoration: none; }
.sg-read__t { margin: 16px 0 0; font: 900 30px/.92 var(--font-display); text-transform: uppercase; color: var(--ink-950); }
.sg-read__go { margin-top: 12px; font-size: 14px; font-weight: 800; color: var(--ink-950); }

@media (max-width: 1100px) {
	.sg-hero { grid-template-columns: 1fr; gap: 40px; }
	.sg-text { grid-template-columns: minmax(0, 1fr) 280px; }
	.sg-toc { display: none; }
	.sg-toc-m { display: block; }
	.sg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	:root { --section-y: 72px; }
	.sg-hero { padding: 28px var(--gutter) 64px; }
	.sg-hero__h1 { font-size: 52px; }
	.sg-hero__lead { font-size: 17px; }
	.sg-jump { min-height: 108px; padding: 14px; }
	.sg-jump__t { font-size: 22px; }
	.sg-ex__head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.sg-by__date { padding-left: 0; }
	.sg-glist i { font-size: 13px; }
	.sg-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
	.sg-card__t { font-size: 22px; }
	.sg-text { grid-template-columns: 1fr; gap: 40px; }
	.sg-side { position: static; }
	.sg-prose { font-size: 17px; }
	.sg-prose h2 { font-size: 38px; }
	.sg-glist { grid-template-columns: 1fr; }
	.sg-read__grid { grid-template-columns: 1fr; }
}
