/* Typografie (ontwerpteam)
 * =============================================================================================
 * Laag 02, geladen na eniris-stijl.css, 00-basis.css en 01-raster.css. Beheert alles wat met tekst
 * te maken heeft: lettertype, -maat, -gewicht, regelafstand, letterafstand, hoofdletters, tekstkleur,
 * uitlijning, text-wrap, de maximale breedte van tekstelementen en de marges tussen tekstelementen.
 * Niet: containers, kolommen en sectieruimte (01-raster), en de binnenkant van kaarten, knoppen,
 * chips en badges (03-componenten).
 *
 * Schaal (Inter Tight): 12 label/badge · 14 meta · 16 tekst · 18 leestekst/intro · 20 hero-lead.
 * Koppen (Sora 700): desktop zoals eniris-stijl.css; op ≤479 H1 36 · H2 28 · H3 24 · H4 20.
 *
 * Vaste afkortingen in het commentaar (een selector kan geen variabele zijn, dus voluit geschreven):
 *   ART  = :is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"],
 *              [data-wf-page="69831f4ac83b5ab732871858"])  → nieuws, knowledge-artikels, release notes
 *   ILLU = de app-illustraties: [class*="ef-app-preview"], [class*="ef-plan"], [class*="ef-niri"],
 *          [class*="ef-report"], [class*="ef-market-chart"], [class*="ef-security-visual"],
 *          [class*="ef-price"], [class*="api-codewin"], [class*="cy-diagram"], [class*="fd-demo"],
 *          figure.ef-illustration, [class*="ef-cost"], [class*="ef-local"]
 *          Die bootsen de app na en blijven ongemoeid. De laatste drie (de grafieken en de bediening
 *          in de kaarten van SmartgridOne Home) horen er sinds de beoordeling van de art director bij.
 */

/* 0. Tokens ================================================================================== */
html:root {
  --lees-breedte: 32em;          /* ±74 tekens: alle lopende tekst */
  --lead-breedte: 30em;          /* hero-lead (20 px → 600 px) */
  --intro-breedte-center: 34em;  /* gecentreerde oproeptekst: 36em gaf 81 tekens per regel, 34em ±76 */
}

/* 1. Regelafstand die meegroeit ================================================================
   Webflow zet p op 1.5rem (vast 24 px), terwijl div en li 1.6 krijgen van body. Eén ritme: 1.6.
   Bewust zonder !important en met :where(), zodat blokken met een eigen regelafstand die houden. */
p:where(:not(:is(.nav_component, .footer_wrap, [class*="ef-app-preview"], [class*="ef-plan"], [class*="ef-niri"], [class*="ef-report"], [class*="ef-market-chart"], [class*="ef-security-visual"], [class*="ef-price"], [class*="api-codewin"], [class*="cy-diagram"], [class*="fd-demo"], figure.ef-illustration, [class*="ef-cost"], [class*="ef-local"]) *)) {
  line-height: 1.6;
}

/* 2. Kopschaal op mobiel (≤479) ===============================================================
   Staat vóór de rolmaten hieronder: die volgen later in dit bestand en winnen dus bij gelijke
   specificiteit. Uitsluitingen letterlijk uit eniris-stijl.css. Tussen 480 en 767 blijft
   eniris-stijl.css gelden. H1/H2 = 36/28 = 1,29: een duidelijke stap ook op een smal scherm.
   Volgorde h2 → h3 → h4 → h1 is bewust: een paginatitel die als h2 in de HTML staat (.ef-hero-copy h2)
   en kaarttitels die als h3 staan, winnen zo van de algemene regel voor hun tag. */
@media screen and (max-width: 479px) {
  h2:not(:is(.nav_component, .footer_wrap, .ef-report-paper, .ef-app-preview, .api-codewin, .cy-diagram, .fd-demo) *),
  [data-wf-page="69831f4ac83b5ab73287184e"] .flex_horizontal.center .width._50 h4 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }
  h3:not(:is(.nav_component, .footer_wrap, .ef-report-paper, .ef-app-preview, .api-codewin, .cy-diagram, .fd-demo) *, .quote) {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }
  /* H4 en kaarttitels: 20 px; onder 24 px geen negatieve letterafstand (corrigeert 00-basis §1) */
  h4:not(:is(.nav_component, .footer_wrap, .ef-report-paper, .ef-price-heading, .ef-app-preview, .ef-niri-chat, .ef-market-chart, .api-codewin, .cy-diagram, .fd-demo) *),
  .ef-card-body h3, .api-card h3, .api-step h3, .cy-row h3, .cy-cert h3, .cy-card h3,
  .agg-h3, .sg-controller-card-title, .heading-product-top {
    font-size: 20px !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
  }
  h1:not(:is(.nav_component, .footer_wrap, .ef-report-paper, .ef-app-preview, .api-codewin, .cy-diagram, .fd-demo) *),
  .ef-hero-copy h2,
  [data-wf-page="69831f4ac83b5ab73287184e"] .flex_horizontal > div > h3 {
    font-size: 36px !important;
    line-height: 1.15 !important;
  }
  /* Featurepagina's: balance (00-basis §1) brak de titel als 'Your energy / devices / work together',
     met een korte middelste regel. Pretty vult de regels en voorkomt alleen een weeswoord. */
  main.fd-page h1 { text-wrap: pretty !important; }
}

/* 3. Koppen volgens hun rol ===================================================================== */
/* 3a. Labels die als kop in de HTML staan winnen nu van h2/h3:not(…) door tag + klasse */
h2.eniris-article-tag-filter__label {
  font-size: 16px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}
/* 3b. Kaarttitels in smalle rasters (3 à 4 kolommen, 2×2 naast een beeld): H5-maat, evenwichtig
   afgebroken zodat geen weeswoord op de laatste regel staat. Brede kaarten (.ef-card-body h3) blijven 24. */
.card.articles h4,
.event-card h4[fs-list-field="title"],
.event-card > div:nth-of-type(2) > h4:not(.no-margin),
.api-grid-4 .api-card h3,
:is(h3, h5).heading-product-top {
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}
.text-product-top {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
/* 3c. Kaarttitels die in de HTML een andere tag hebben: H4-maat (op ≤479 20 px) */
:is(h2, h3, h4, h5):is(.agg-h3, .sg-controller-card-title) {
  font-size: 24px !important;
  line-height: 1.3 !important;
}
@media screen and (max-width: 479px) {
  :is(h2, h3, h4, h5):is(.agg-h3, .sg-controller-card-title) { font-size: 20px !important; letter-spacing: 0 !important; }
}
/* 3d. Titel binnen een producttab of nieuwsslide is een H3 (de sectiekop erboven is de H2) */
:is(.fs-tabs-1_content-item, .fs-slider-1_slide) .w-richtext h2 {
  font-size: 1.95rem !important;
  line-height: 1.2 !important;
}
@media screen and (max-width: 767px) {
  :is(.fs-tabs-1_content-item, .fs-slider-1_slide) .w-richtext h2 { font-size: 1.625rem !important; }
}
@media screen and (max-width: 479px) {
  :is(.fs-tabs-1_content-item, .fs-slider-1_slide) .w-richtext h2 { font-size: 24px !important; line-height: 1.25 !important; }
}
/* 3e. Producttabs: een titel die op een smal scherm afbreekt ('Home (max. 40A)') stond links,
   de andere drie ogen gecentreerd. Altijd gecentreerd; op desktop (één regel) verandert er niets.
   Letterafstand 0: 20 px is kleiner dan 24 px (corrigeert 00-basis §9, -0.01em). */
.fs-tabs-1_tab-title {
  text-align: center !important;
  letter-spacing: 0 !important;
}
/* 3f. Sectiekoppen die als H3 in de HTML staan krijgen de H2-maat (C&I/Pro). De evenementenpagina heeft
   een echte h2 boven de agenda; haar h3's (maand, bibliotheek) staan in 06-evenementen.css. */
section.bg-red.padding-top-2rem > .container > h3,
[data-wf-page="69831f4ac83b5ab732871841"] section:not(.hero) .container > h3 {
  font-size: 2.44rem !important;
  line-height: 1.2 !important;
}
@media screen and (max-width: 767px) {
  section.bg-red.padding-top-2rem > .container > h3,
  [data-wf-page="69831f4ac83b5ab732871841"] section:not(.hero) .container > h3 { font-size: 2rem !important; }
}
@media screen and (max-width: 479px) {
  section.bg-red.padding-top-2rem > .container > h3,
  [data-wf-page="69831f4ac83b5ab732871841"] section:not(.hero) .container > h3 { font-size: 28px !important; }
}

/* 4. Eén eyebrow-label ==========================================================================
   Negen varianten (11–14 px, 400–800, Sora of Inter Tight) worden één label: Inter Tight 12/1.4,
   600, .08em, hoofdletters, rood. Niet binnen de illustraties. Het lijntje van .api-eyebrow::before blijft. */
:is(.ef-kicker, .fd-label, .fd-breadcrumb, .api-eyebrow, .sg-guide-cta__kicker, .sg-controller-kicker, .cy-eyebrow, .agg-eyebrow, .eniris-guided-eyebrow):not(:is([class*="ef-app-preview"], [class*="ef-plan"], [class*="ef-niri"], [class*="ef-report"], [class*="ef-market-chart"], [class*="ef-security-visual"], [class*="ef-price"], [class*="api-codewin"], [class*="cy-diagram"], [class*="fd-demo"], figure.ef-illustration, [class*="ef-cost"], [class*="ef-local"]) *) {
  font-family: var(--text) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--eniris-rood) !important;
}
/* Op een rode of donkere achtergrond: wit met 85 % dekking */
:is(.bg-red, .cy-cta, .api-cta-band, .agg-cta) :is(.ef-kicker, .fd-label, .api-eyebrow, .sg-guide-cta__kicker, .sg-controller-kicker, .cy-eyebrow, .agg-eyebrow, .eniris-guided-eyebrow) {
  color: rgba(255, 255, 255, 0.85) !important;
}
/* "SmartgridOne Home" boven de hero is een productlabel: neutraal grijs, niet nog een rood accent.
   De klasse staat op de hero zelf (section.hero.ef-product-name). Corrigeert 00-basis §1 (-0.03em). */
.hero.ef-product-name h1 {
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  color: var(--eniris-grijs) !important;
}
/* Boxkop "SECURITY-FOCUSED ARCHITECTURE" (Pro) is een label, geen H6 */
.div-product-top-2 h6 {
  font-family: var(--text) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--eniris-zwart) !important;
}

/* 5. Ledes in twee niveaus ====================================================================== */
/* 5a. Hero-lead: 20/1.5, max 30em, evenwichtig afgebroken (haalt het weeswoord "load." weg).
   De hero-h5 van de homepage krijgt van 00-basis §1 al Inter Tight 400. */
:is(.ef-hero-description, .fd-lead, .api-lead, .hero .w-richtext h5) {
  font-size: 20px !important;
  line-height: 1.5 !important;
  max-width: var(--lead-breedte) !important;
  text-wrap: balance;
}
.hero .w-richtext h5 { font-weight: 400 !important; }
/* Kop → lead precies 16 px (de schaal), corrigeert 00-basis §1: h1 10 px + h5 14 px gaf 14 px.
   Alleen een h1 die direct door de lead gevolgd wordt: in de hero van de release notes staan twee
   h1's naast elkaar in een flexrij, daar bepaalt de marge de uitlijning. */
.hero .w-richtext > h1:has(+ h5) { margin-bottom: 0 !important; }
.hero .w-richtext h5 { margin-top: 16px !important; }
/* 5b. Sectie-intro: 18/1.6, max ±74 tekens */
:is(.ef-intro, .api-section-head p, .sg-guide-cta__text, .ef-installer-close p, .ef-resources-intro p, .api-cta-band p) {
  font-size: 18px !important;
  line-height: 1.6 !important;
  max-width: var(--lees-breedte) !important;
  text-wrap: pretty;
}
/* Gecentreerde varianten blijven op het midden */
:is(.api-section-head[style*="center"] p, .api-cta-band p) { margin-inline: auto !important; }
@media screen and (max-width: 767px) {
  :is(.ef-hero-description, .fd-lead, .api-lead, .hero .w-richtext h5) { font-size: 18px !important; }
  :is(.ef-intro, .api-section-head p, .sg-guide-cta__text, .ef-installer-close p, .ef-resources-intro p, .api-cta-band p) { font-size: 17px !important; }
}

/* 6. Leesbreedte in kaarten en kolommen =========================================================
   Lopende tekst loopt nu tot 150 tekens per regel. Max 32em (±74 tekens) houdt het leesbaar. */
:is(.ef-card-body .ef-copy p, .ef-security-copy p, .ef-market-heading .ef-copy p, .ef-product-content .ef-copy p,
    .fs-tabs-1_content-item .w-richtext > :is(p, ul, ol), .fs-slider-1_slide .w-richtext > p,
    .div-product-top-2.controller .w-richtext > p, .fd-docs > p,
    .flex_horizontal > .width:not([class*="center"]) > .w-richtext:not([class*="center"]) > :is(p, ul, ol),
    .cy-text, .cy-limits, .sg-controller-heading-copy, .ef-m2s-inline-intro, .api-login-note,
    [data-wf-page="69831f4ac83b5ab73287184e"] .w-richtext p,
    [data-wf-page="69831f4ac83b5ab732871846"] .width._50 > div:not([class])) {
  max-width: var(--lees-breedte) !important;
}
/* Installateurspagina: rustig ritme tussen de alinea's en een zwarte (geen grijze) tussenkop */
[data-wf-page="69831f4ac83b5ab73287184e"] .w-richtext p + p { margin-top: 0.75em !important; }
[data-wf-page="69831f4ac83b5ab73287184e"] .w-richtext h4 { color: var(--eniris-zwart) !important; }
/* Contact-blok onderaan veel pagina's: gecentreerde tekst, smaller en evenwichtig.
   34em (via het token) houdt de langste regel onder 78 tekens; 36em gaf 81. */
.rounded-div.grey > div:not([class]) {
  max-width: var(--intro-breedte-center) !important;
  margin-inline: auto !important;
  text-wrap: balance;
}
/* Met een <br> in de tekst (productpagina's) balanceert Chrome alleen het stuk vóór de <br>. Bij 34em
   valt het tweede stuk dan uiteen als '… and multi-brand / compatibility.' (één woord op de laatste
   regel). In het Engels en Nederlands staat vóór elke <br> in dit blok een spatie: daar vervalt de
   handmatige regelbreuk en wordt het hele blok in één keer gebalanceerd. In de andere talen zou dat
   woorden aan elkaar plakken ('accès<br>fluide'), daar blijft de <br>. */
html:is([lang="en"], [lang="nl"]) .rounded-div.grey > div:not([class]) > br { display: none; }

/* 7. Artikels (ART) ============================================================================
   Leestekst 18/1.7 op ±74 tekens, met een vast ritme tussen koppen, alinea's en lijsten. */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > :is(p, ul, ol, blockquote) {
  max-width: var(--lees-breedte) !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > :is(p, ul, ol) {
  margin-top: 0 !important;
  margin-bottom: 1em !important;
}
/* Koppen in de tekst: één stap kleiner dan de paginakoppen (h2 31,2 · h3 24 · h4 20) */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > :is(h2, h3, h4, h5, h6) {
  margin-top: 1.75em !important;
  margin-bottom: 0.5em !important;
}
/* De eerste kop van een kolom staat bovenaan, op één lijn met het beeld ernaast */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > :is(h2, h3, h4, h5, h6):first-child {
  margin-top: 0 !important;
}
/* Kop direct onder een kop (h2 → h3 → h4 in release notes): ze horen bij elkaar */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > :is(h2, h3, h4) + :is(h3, h4, h5, h6) {
  margin-top: 0.75em !important;
}
/* Inleiding boven de kolommen: daarna dezelfde ruimte als boven een tussenkop (48 px), zodat de
   eerste kop van de kolom niet tegen de inleiding plakt */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .container > .w-richtext:has(+ .flex_horizontal) > :last-child {
  margin-bottom: 48px !important;
}
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > h2 { font-size: 1.95rem !important; line-height: 1.2 !important; }
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > h3 { font-size: 1.5rem !important; line-height: 1.3 !important; }
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > h4 { font-size: 1.25rem !important; line-height: 1.3 !important; letter-spacing: 0 !important; }
/* Beelden in de tekst op de linkerlijn van de alinea's (Webflow centreert ze op 60 % van de kolom:
   twee linkerlijnen in één kolom). Zelfde lettermaat als de leestekst, zodat 32em even breed is als
   de tekst: beeld en alinea delen dan beide randen. Een kleiner beeld wordt niet opgeschaald. */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > figure {
  margin-left: 0 !important;
  margin-right: auto !important;
  max-width: var(--lees-breedte) !important;
  font-size: 18px !important;
}
/* Onderschrift: meta-tekst onder het beeld, op dezelfde linkerlijn */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > figure > figcaption {
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: var(--eniris-grijs) !important;
  text-align: left !important;
  margin-top: 8px !important;
}
/* Lege regels na een vetgedrukt lijstpunt (<br> in <strong>) maken gaten in de lijst */
:is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) .w-richtext li > strong > br { display: none; }
@media screen and (max-width: 767px) {
  :is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > :is(p, ul, ol, blockquote) {
    font-size: 17px !important;
    line-height: 1.65 !important;
  }
  :is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > figure { font-size: 17px !important; }
}
@media screen and (max-width: 479px) {
  :is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > h2 { font-size: 24px !important; line-height: 1.25 !important; }
  :is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > h3 { font-size: 20px !important; letter-spacing: 0 !important; }
  :is([data-wf-page="69831f4ac83b5ab73287183d"], [data-wf-page="69831f4ac83b5ab732871855"], [data-wf-page="69831f4ac83b5ab732871858"]) section:not(.hero, .footer_wrap) .w-richtext > h4 { font-size: 18px !important; }
}

/* 8. Lijsten in rich text ========================================================================
   Webflow springt 40 px in; 1,25em brengt de opsomming dichter bij de tekstlijn. Rode bolletjes. */
.w-richtext:not(:is(.nav_component, .footer_wrap, [class*="ef-app-preview"], [class*="ef-plan"], [class*="ef-niri"], [class*="ef-report"], [class*="ef-market-chart"], [class*="ef-security-visual"], [class*="ef-price"], [class*="api-codewin"], [class*="cy-diagram"], [class*="fd-demo"], figure.ef-illustration, [class*="ef-cost"], [class*="ef-local"]) *) > :is(ul, ol):not(.w-list-unstyled) {
  padding-left: 1.25em !important;
}
.w-richtext:not(:is(.nav_component, .footer_wrap, [class*="ef-app-preview"], [class*="ef-plan"], [class*="ef-niri"], [class*="ef-report"], [class*="ef-market-chart"], [class*="ef-security-visual"], [class*="ef-price"], [class*="api-codewin"], [class*="cy-diagram"], [class*="fd-demo"], figure.ef-illustration, [class*="ef-cost"], [class*="ef-local"]) *) > :is(ul, ol) > li + li {
  margin-top: 0.4em;
}
.w-richtext:not(:is(.nav_component, .footer_wrap, [class*="ef-app-preview"], [class*="ef-plan"], [class*="ef-niri"], [class*="ef-report"], [class*="ef-market-chart"], [class*="ef-security-visual"], [class*="ef-price"], [class*="api-codewin"], [class*="cy-diagram"], [class*="fd-demo"], figure.ef-illustration, [class*="ef-cost"], [class*="ef-local"]) *) > ul > li::marker {
  color: var(--eniris-rood);
}

/* 9. FAQ ========================================================================================
   Drie niveaus: categorie (24) → vraag (Sora 500, 18) → antwoord (16/1.65 op ±74 tekens). */
[data-wf-page="69fb4d1318c7a66b016a7f60"] .flex_horizontal.top > .width._25 > h2 {
  font-size: 24px !important;
  line-height: 1.25 !important;
}
.fs_accordion-1_label-3 {
  font-family: var(--headers) !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  text-wrap: pretty;
}
.fs_accordion-1_body-5 .w-richtext { max-width: var(--lees-breedte) !important; }
.fs_accordion-1_body-5 .w-richtext :is(p, li) {
  font-size: 16px !important;
  line-height: 1.65 !important;
}
@media screen and (max-width: 767px) {
  .fs_accordion-1_label-3 { font-size: 16px !important; }
}
@media screen and (max-width: 479px) {
  [data-wf-page="69fb4d1318c7a66b016a7f60"] .flex_horizontal.top > .width._25 > h2 { font-size: 20px !important; letter-spacing: 0 !important; }
}

/* 10. Evenementen (alleen tekst; de opbouw van datum en uur is van Componenten) ===================== */
/* Datum en uur: kleiner dan de titel, cijfers even breed zodat ze onder elkaar uitlijnen */
.event-card h4:not([fs-list-field="title"]) {
  font-size: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums lining-nums;
}
.event-card h6 {
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-variant-numeric: tabular-nums lining-nums;
}
/* Plaats, stand en taal: meta-tekst */
.event-card .flex_horizontal.event .text-bold {
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}
/* Ondertitel ("Online Event", "Become a Certified Installer"): 21 px viel buiten de schaal */
.event-card .text-21px {
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}
.event-card .text-21px:not(.text-white) { color: var(--eniris-grijs) !important; }
/* De hero van /jobs (dezelfde klassen "section hero events" als de oude evenementenhero): tekst links, zoals de hero
   van de homepage. De titel is de paginatitel (de pagina heeft geen H1) en krijgt de H1-maat. De evenementenpagina
   zelf (klasse ev-pagina: kop met h1, agenda, kaarten) heeft haar eigen maten in 06-evenementen.css; :where() houdt
   de specificiteit gelijk aan die van vóór de evenementenpagina. */
.section.hero.events:where(:not(.ev-pagina)) .flex_horizontal > .width._50:first-child { text-align: left !important; }
.section.hero.events:where(:not(.ev-pagina)) .flex_horizontal > .width._50:first-child > h2 {
  font-size: 3.05rem !important;
  line-height: 1.1 !important;
}
.section.hero.events:where(:not(.ev-pagina)) .flex_horizontal > .width._50:first-child > div:not([class]) {
  font-size: 20px !important;
  line-height: 1.5 !important;
  max-width: var(--lees-breedte) !important;
  text-wrap: pretty;
}
@media screen and (max-width: 767px) {
  .section.hero.events:where(:not(.ev-pagina)) .flex_horizontal > .width._50:first-child > h2 { font-size: 2.6rem !important; line-height: 1.15 !important; }
  .section.hero.events:where(:not(.ev-pagina)) .flex_horizontal > .width._50:first-child > div:not([class]) { font-size: 18px !important; }
}
@media screen and (max-width: 479px) {
  .section.hero.events:where(:not(.ev-pagina)) .flex_horizontal > .width._50:first-child > h2 { font-size: 36px !important; }
}

/* 11. Kleine tekst naar de schaal (13 / 13,5 / 14,5 / 15 / 15,5 px bestaan niet meer) ================= */
/* Meta: 14/1.5 */
:is(.ef-hero-proof, .ef-hero-proof li, .ef-quick-inner a, .fd-aside nav a, .api-hero-note, .api-pd, .ef-installer-entry,
    .ef-partners-label, #ef-ev-chargers figcaption, .api-login-note, .fd-back) {
  font-size: 14px !important;
  line-height: 1.5 !important;
}
/* Nummers in de inhoudstafel naast een feature-uitleg: label van 12 px, cijfers even breed */
.fd-toc-number {
  font-size: 12px !important;
  font-variant-numeric: tabular-nums lining-nums;
}
/* Tekst: 16/1.55 */
:is(.api-card p, .api-step p, .api-plan li, .fd-docs p, .ef-m2s-inline-intro, .text-grey-3._14px, .api-plans-note,
    .fd-doc-list a, .ef-home-brochure-note, .fd-brochure-note) {
  font-size: 16px !important;
  line-height: 1.55 !important;
}
/* Feature-uitleg (/features/…): leestekst 18/1.7 op ±74 tekens, lijsten in hetzelfde ritme */
:is(.fd-section, .fd-example) > p,
.fd-section .fd-checklist li {
  font-size: 18px !important;
  line-height: 1.7 !important;
  max-width: var(--lees-breedte) !important;
}
.fd-related-grid a { font-size: 18px !important; }
/* Installateurspagina: land en lijstjes met vinkjes op 16 px */
[data-wf-page="69831f4ac83b5ab73287184e"] .flex_horizontal.text > div {
  font-size: 16px !important;
  line-height: 1.5 !important;
}
/* Cybersecurity: kaarttekst 14 → 16, kleine meta 12/13 → 14 */
:is(.cy-row p, .cy-cert p, .cy-card p, .cy-limits) { font-size: 16px !important; line-height: 1.6 !important; }
:is(.cy-proof p, .cy-small) { font-size: 14px !important; line-height: 1.5 !important; }
/* Overige tussenmaten in kaarten */
.ef-ev-subtitle { font-size: 18px !important; line-height: 1.45 !important; }
.text-21px-2 { font-size: 20px !important; line-height: 1.4 !important; }
.api-pn { font-size: 20px !important; line-height: 1.4 !important; }
@media screen and (max-width: 767px) {
  :is(.fd-section, .fd-example) > p,
  .fd-section .fd-checklist li { font-size: 17px !important; line-height: 1.65 !important; }
}

/* 12. Nadruk en cijfers ========================================================================= */
/* Samenvattingen op artikelkaarten: geen vet of cursief midden in een teaser van drie regels */
.card.articles .w-richtext :is(strong, b, em, i) {
  font-weight: inherit !important;
  font-style: normal !important;
}
/* Producttab: de eerste alinea onder de titel is een intro, de lijst eronder een opsomming */
.fs-tabs-1_content-item .w-richtext h2 + p {
  font-size: 18px !important;
  line-height: 1.55 !important;
}
.fs-tabs-1_content-item .w-richtext h2 + p :is(strong, b) { font-weight: 500 !important; }
.fs-tabs-1_content-item .w-richtext li :is(strong, b) { font-weight: 600 !important; }
/* Tellers, prijzen en telefoonnummers: cijfers even breed, zodat ze niet verspringen */
:is(.counter-new, .api-pp, .text-28px, .text-21px-2 strong, .counter-2) {
  font-variant-numeric: tabular-nums lining-nums;
}
/* Ondertitel onder een teller: 19,2 px viel buiten de schaal */
.card:is(.counter-card-1, .counter-card-2, .counter-card-3, .counter-card-4) > div:not([class*="spacer"]) {
  font-size: 18px !important;
  line-height: 1.45 !important;
}

/* 13. Letterafstand en gewichten ================================================================
   Negatieve letterafstand alleen bij koppen van 24 px en groter (corrigeert 00-basis §1). Alleen de
   gewichten 400/500/600/700: 650 en 800 bestaan in Inter Tight en Sora niet als echte snede. */
.fd-aside :is(h2, h3, h4) { letter-spacing: 0 !important; }
/* h5 en h6 krijgen al letter-spacing normal (= 0) van eniris-stijl §2; 00-basis raakt ze niet aan.
   Geen algemene h5/h6-regel hier: die zou de .08em van de labels hierboven en de illustraties raken. */
.api-pp { font-weight: 700 !important; }
[data-wf-page="69831f4ac83b5ab73287184e"] .installer-page-inner-1 > .flex_horizontal.text > div { font-weight: 600 !important; }

/* 14. Menu ======================================================================================
   Menulabels op desktop (≥992) altijd 14 px (meta op de schaal). Live springen ze vanaf 1440 px naar 16 px:
   in het Duits, Frans en Nederlands past het menu dan niet meer op één regel en toont nav-force-collapse.js
   op desktop alleen de hamburger. Ruimte en binnenmarges: 01-raster §2 en 03-componenten §12. */
@media screen and (min-width: 992px) {
  .nav_component .navbar_dropdown-toggle .text-navbar-h1,
  .nav_component .navbar_link-list-item > .text-navbar-h1 { font-size: 14px !important; }
}
