/* RW-PAGINAKOP 1.1.0 (afstanden gemeten op de tekst zelf, zoals je hem selecteert)
   RW-PAGINAKOP 1.0.0 — één opmaak voor de bovenkant van alle pagina's (als laatste geladen, zie index.php)
   Gemeten van rand tot rand van de tekstregels (regelhoogte zoals hieronder ingesteld):
   - kruimelpad: 35 px onder de balk erboven (menu, of de grijze USP-balk op productpagina's)
     Verdana 13 px vet #555; de huidige pagina regular
   - 20 px tussen kruimelpad en de grote kop (tekst tot tekst); kop Verdana 40 px vet
   - 30 px tussen kop en de eerste regel van de inleiding (tekst tot tekst); inleiding 15,5 px regular, regelhoogte 26,35 px
   - geen kruimelpad: 75 px tussen de paarse balk en de tekst van de grote kop (ook de overzichtspagina's Rails, Raamdecoratie, ...)
   - productaantal Verdana 13,5 px regular #66666a (tekst en getal); tekst en sorteerknop 10 px boven de producttegels */

/* ---------- kruimelpad (contentpagina's en klassieke categorie, productlijst Stijl 2026, productpagina's) ---------- */
html body .s26cp:not(#rwk-a):not(#rwk-b) { padding-top: 0 !important; }
html body #content-inner-page:has(> .s26cp):not(#rwk-a):not(#rwk-b) { margin-top: 0 !important; top: 0 !important; }
html body nav.s26cp-pad:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad:not(#rwk-a):not(#rwk-b) {
  display: block; margin: 35px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
  font: bold 13px/16px Verdana, Geneva, sans-serif !important; color: #555 !important;
}
html body .s26cp:has(.s26c) > nav.s26cp-pad:not(#rwk-a):not(#rwk-b) { display: none !important; }
html body nav.s26cp-pad ol:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad ol:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad ol:not(#rwk-a):not(#rwk-b) {
  display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 12px !important; list-style: none !important; margin: 0 !important; padding: 0 !important;
  font: bold 13px/16px Verdana, Geneva, sans-serif !important;
}
html body nav.s26cp-pad li:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad li:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad li:not(#rwk-a):not(#rwk-b) {
  display: inline-flex !important; align-items: baseline; margin: 0 !important; padding: 0 !important; background: none !important;
  font: bold 13px/16px Verdana, Geneva, sans-serif !important; color: #555 !important;
}
html body nav.s26cp-pad li:not(#rwk-a):not(#rwk-b)::before,
html body nav#categorie-pad li:not(#rwk-a):not(#rwk-b)::before,
html body nav.s26c-pad li:not(#rwk-a):not(#rwk-b)::before {
  content: "\2039" !important; display: inline !important; margin: 0 6px 0 0 !important; color: #555 !important; font: normal 13px/16px Verdana, Geneva, sans-serif !important;
}
html body nav.s26cp-pad a:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad a:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad a:not(#rwk-a):not(#rwk-b),
html body nav.s26cp-pad span:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad span:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad span:not(#rwk-a):not(#rwk-b) {
  font: bold 13px/16px Verdana, Geneva, sans-serif !important; color: #555 !important; text-decoration: none !important; background: none !important;
}
html body nav.s26cp-pad a:hover:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad a:hover:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad a:hover:not(#rwk-a):not(#rwk-b) { text-decoration: underline !important; }
/* huidige pagina: regular */
html body nav.s26cp-pad li[aria-current] span:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad li[aria-current] span:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad li[aria-current] span:not(#rwk-a):not(#rwk-b),
html body nav.s26cp-pad li:last-child > span:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad li:last-child > span:not(#rwk-a):not(#rwk-b),
html body nav.s26c-pad li:last-child > span:not(#rwk-a):not(#rwk-b),
html body nav#categorie-pad li:last-child > a[aria-current]:not(#rwk-a):not(#rwk-b) { font-weight: normal !important; }

/* ---------- grote kop en inleiding ---------- */
html body .s26cp-tekst > h1:not(#rwk-a):not(#rwk-b),
html body .s26cp > h1:not(#rwk-a):not(#rwk-b),
html body .s26c-kop h1:not(#rwk-a):not(#rwk-b),
html body .s26c-kop > h1:not(#rwk-a):not(#rwk-b) {
  margin: 20.5px 0 0 !important; padding: 0 !important; font: bold 40px/48px Verdana, Geneva, sans-serif !important; color: #3c3c3c !important;
}
/* klassieke categorie en contentpagina: inleiding direct onder de kop */
html body .s26cp-tekst > h1 + .s26cp-html > #beschrijving1:first-of-type:not(#rwk-a):not(#rwk-b),
html body .s26cp-raster #beschrijving1:not(#rwk-a):not(#rwk-b) { margin-top: 26.5px !important; }
html body .s26cp-raster #beschrijving1 > :first-child:not(#rwk-a):not(#rwk-b) { margin-top: 0 !important; }
html body .s26cp-raster #beschrijving1:not(#rwk-a):not(#rwk-b),
html body .s26cp-raster #beschrijving1 p:not(#rwk-a):not(#rwk-b),
html body .s26cp-raster #beschrijving1 li:not(#rwk-a):not(#rwk-b) {
  font-size: 15.5px !important; line-height: 26.35px !important; font-weight: normal;
}
/* contentpagina's (geen categorie): de tekst onder de kop */
html body .s26cp:not(:has(#beschrijving1)) .s26cp-tekst > .s26cp-html:not(#rwk-a):not(#rwk-b) { margin-top: 26.5px !important; }
html body .s26cp:not(:has(#beschrijving1)) .s26cp-tekst > .s26cp-html > :first-child:not(#rwk-a):not(#rwk-b) { margin-top: 0 !important; }
html body .s26cp:not(:has(#beschrijving1)):not(:has(#filter-producten-container)):not(:has(.s26c)) .s26cp-tekst .s26cp-html :is(p, li):not(#rwk-a):not(#rwk-b) {
  font-size: 15.5px !important; line-height: 26.35px !important;
}
/* overzichtspagina's (kennisbank e.d.): kop en inleiding direct in .s26cp */
html body .s26cp > h1 + .s26ha-intro:not(#rwk-a):not(#rwk-b) { margin-top: 26.5px !important; }
html body .s26ha-intro > :first-child:not(#rwk-a):not(#rwk-b) { margin-top: 0 !important; }
html body .s26ha-intro :is(p, li):not(#rwk-a):not(#rwk-b) { font-size: 15.5px !important; line-height: 26.35px !important; font-weight: normal; }
/* productlijst Stijl 2026 */
html body .s26c-kop h1 + *:not(#rwk-a):not(#rwk-b) { margin-top: 26.5px !important; }
html body .s26c-kop p:not(#rwk-a):not(#rwk-b) { font-size: 15.5px !important; line-height: 26.35px !important; font-weight: normal; }
html body .s26c-kop p:first-of-type:not(#rwk-a):not(#rwk-b) { margin-top: 26.5px !important; }

/* ---------- pagina's zonder kruimelpad (nieuws, klantbestellingen): 75 px tussen balk en kop ---------- */
html body #pagehead > h1:not(#rwk-a):not(#rwk-b) { margin: 75.5px 0 0 !important; padding: 0 !important; font: bold 40px/48px Verdana, Geneva, sans-serif !important; color: #3c3c3c !important; }

/* ---------- productaantal en sorteren: 20 px boven de tegels ---------- */
html body .s26d-aantal:not(#rwk-a):not(#rwk-b),
html body .s26d-aantal *:not(#rwk-a):not(#rwk-b),
html body .s26c-aantal:not(#rwk-a):not(#rwk-b),
html body .s26c-aantal *:not(#rwk-a):not(#rwk-b) {
  font-family: Verdana, Geneva, sans-serif !important; font-size: 13.5px !important; font-weight: normal !important; color: #66666a !important;
}
html body .s26cp:not(:has(#filter-producten-container)):not(:has(.s26c)) .s26cp-tekst .s26cp-html :is(p, li) :is(span, font, strong, b, em, i, a, u):not(#rwk-a):not(#rwk-b),
html body .s26cp-raster #beschrijving1 :is(p, li) :is(span, font, strong, b, em, i, a, u):not(#rwk-a):not(#rwk-b),
html body .s26ha-intro :is(p, li) :is(span, font, strong, b, em, i, a, u):not(#rwk-a):not(#rwk-b) { font-size: inherit !important; line-height: inherit !important; }
/* rij met aantal en sorteren: onderkant van de rij 20 px boven de tegels, aantal in het midden van de rij */
html body #content .s26cp-raster #filter-producten-container > .s26-filterbalk:not(#rwk-a):not(#rwk-b) { align-items: flex-end !important; height: 50px !important; margin-bottom: 10px !important; }
html body .s26c.s26c-lijst > .s26c-balk:not(#rwk-a):not(#rwk-b) { align-items: flex-end !important; margin-bottom: 10px !important; }

/* 1.1.0: productaantal met een regelhoogte gelijk aan de tekst, zodat de onderkant van de tekst op de onderkant van de rij valt */
html body .s26d-aantal:not(#rwk-a):not(#rwk-b), html body .s26c-aantal:not(#rwk-a):not(#rwk-b),
html body .s26d-aantal *:not(#rwk-a):not(#rwk-b), html body .s26c-aantal *:not(#rwk-a):not(#rwk-b) { line-height: 16.4px !important; }
html body .s26-filterbalk > *:not(#rwk-a):not(#rwk-b), html body .s26c-balk > *:not(#rwk-a):not(#rwk-b) { margin-bottom: 0 !important; }

/* 1.1.0: overzichtspagina's zonder kruimelpad (Rails, Raamdecoratie, ...): 75 px van de paarse balk tot de tekst van de kop,
   kop en inleiding gelijk aan de andere pagina's (40 px vet, 30 px tot de eerste regel, 15,5 px / 26,35 px) */
html body .rwo .rwo-hero:not(#rwk-a):not(#rwk-b) { margin: 75.5px 0 0 !important; padding: 0 !important; }
html body .rwo .rwo-hero h1:not(#rwk-a):not(#rwk-b) { margin: 0 !important; padding: 0 !important; font: bold 40px/48px Verdana, Geneva, sans-serif !important; color: #3c3c3c !important; letter-spacing: normal !important; }
html body .rwo .rwo-hero h1 + .rwo-intro:not(#rwk-a):not(#rwk-b) { margin-top: 26.5px !important; }
html body .rwo .rwo-intro > :first-child:not(#rwk-a):not(#rwk-b) { margin-top: 0 !important; }
html body .rwo .rwo-intro:not(#rwk-a):not(#rwk-b),
html body .rwo .rwo-intro :is(p, span, li):not(#rwk-a):not(#rwk-b) { font-size: 15.5px !important; line-height: 26.35px !important; }
