/* De artikelen: /artikel/<slug>, /artikelen en artikel/onbekend.html (tools/site/artikelen.py, docs/artikelen.md).
   Zoals het artikel in de app: bovenaan het levende beeld (plek.js, via deel.js), dan het thema, de titel en de
   inleiding, en de tekst in één leeskolom. Onderaan Probeer het, Past bij, de app en de bronnen. Bouwt op deel.css:
   het beeld, de letters bovenaan en per toestel hoe je het in de app opent. */

/* één leeskolom, zoals width-read in de app */
.artikel__kolom { max-width: calc(680px + 2 * var(--gutter)); }

/* bovenaan: het beeld liggend, met de lucht en een stuk land, zoals de deelkaart */
.artikel__boven .deel__beeld { aspect-ratio: 16 / 9; max-height: none; }
@media (min-width: 700px) { .artikel__boven .deel__beeld { aspect-ratio: 2 / 1; } }
.artikel__boven .deel__label { margin-top: clamp(24px, 3vw, 32px); }
.artikel h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.06; }
.artikel__boven .deel__meta { color: var(--ink-muted); font-weight: 400; }

/* de tekst */
.artikel__tekst { margin-top: clamp(28px, 4vw, 40px); }
.artikel__tekst p, .artikel__tekst li { font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.artikel__tekst p { margin: 0 0 18px; }
.artikel__tekst h2 { margin: 40px 0 10px; font-size: 21px; line-height: 28px; font-weight: 500; letter-spacing: -.003em; text-wrap: balance; }
.artikel__tekst ul { margin: 0 0 20px; padding-left: 1.2em; }
.artikel__tekst li { margin-bottom: 8px; padding-left: .2em; }
.artikel__tekst li::marker { color: var(--ball); }
.artikel__tekst strong { font-weight: 500; }
@media (max-width: 599px) { .artikel__tekst p, .artikel__tekst li { font-size: 17px; line-height: 1.65; } }

/* het kleine kopje boven een blok: Probeer het, Past bij */
.artikel__kop { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

/* Probeer het: één ding om te doen, op een kaart */
.artikel__probeer { margin-top: 28px; padding: 20px 24px 22px; border-radius: 24px; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--line); }
.artikel__probeer .artikel__kop { color: var(--ball-ink); }
.artikel__probeer p:last-child { margin: 8px 0 0; font-size: 18px; line-height: 1.6; text-wrap: pretty; }

/* Past bij: de meditatie of de cursus erbij, als rij met haar beeld, zoals in de app */
.artikel__past { margin-top: 40px; display: grid; gap: 10px; }
.artikel__ding {
  display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 12px; border-radius: 22px;
  background: var(--surface-card); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 300ms var(--ease-tap), box-shadow 300ms var(--ease-settle);
}
.artikel__ding:hover { box-shadow: inset 0 0 0 1px var(--edge); }
.artikel__ding:active { transform: scale(.99); }
.artikel__duim { position: relative; isolation: isolate; overflow: hidden; flex: none; width: 72px; height: 72px; border-radius: 16px; background: var(--surface-sunk); transform: translateZ(0); }
.artikel__wat { display: grid; gap: 2px; min-width: 0; }
.artikel__wat small { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.artikel__wat b { font-size: 18px; line-height: 24px; font-weight: 500; }
.artikel__wat span { font-size: 15px; line-height: 21px; color: var(--ink-muted); }

/* de app: een vlak zoals het paneel van het beeld, met per toestel hoe je hem opent */
.artikel__app { margin-top: 48px; padding: clamp(24px, 4vw, 36px); border-radius: var(--rond); background: var(--surface-sunk); }
.artikel__app h2, .artikel__bronnen h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -.014em; }
.artikel__app > p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-muted); text-wrap: pretty; }
.artikel__app .deel__open { margin-top: 24px; }

/* de bronnen: zoals het vel Bronnen in de app, één groep met per bron wat erop steunt en de bron zelf */
.artikel__bronnen { margin-top: clamp(56px, 7vw, 80px); }
.artikel__uitleg { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink-muted); }
.artikel__bronnen ol { margin: 20px 0 0; padding: 0; list-style: none; border-radius: 22px; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--line); }
.artikel__bronnen li { padding: 16px 20px; }
.artikel__bronnen li + li { border-top: 1px solid var(--line); }
.artikel__over { margin: 0; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.artikel__bron { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-muted); overflow-wrap: anywhere; }
.artikel__bron a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.artikel__bron a:hover { color: var(--ink); text-decoration-color: currentColor; }
.artikel__nagekeken { margin: 20px 0 0; font-size: 16px; line-height: 1.5; }
.artikel__fout { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-muted); }
.artikel__fout a, .artikel__alle a { color: var(--ball-ink); font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.artikel__fout a:hover, .artikel__alle a:hover { text-decoration-thickness: 2px; }
.artikel__alle { margin: 40px 0 0; font-size: 17px; }

/* /artikelen: de kaarten met hun beeld, één per rij op een telefoon, twee of drie naast elkaar als het past */
.artikel__intro { max-width: 760px; }
.artikel__lijst { display: grid; gap: clamp(32px, 4vw, 44px) clamp(16px, 2vw, 28px); margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .artikel__lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .artikel__lijst { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.artikel__lijst a { display: grid; align-content: start; gap: 4px; text-decoration: none; border-radius: var(--rond); }
.artikel__lijst .deel__beeld { aspect-ratio: 16 / 10; max-height: none; margin-bottom: 14px; transition: transform 420ms var(--ease-tap); }
@media (hover: hover) { .artikel__lijst a:hover .deel__beeld { transform: translateY(-3px); } }
.artikel__lijst small { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.artikel__lijst b { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
.artikel__lijst span:not(.deel__beeld) { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }

/* een adres zonder pagina (artikel/onbekend.html) */
.artikel__weg { min-height: calc(100svh - 360px); }
.artikel__winkels { margin-top: 28px; }
