/* r95 E (afronden 05-11): sitebrede aanvulling op de gedeelde sjablonen.
   1) tablet staand 768-1024: blokken die daar nog te krap naast elkaar staan
   2) mobiele offertebalk (snippet 20) die meeverandert met 16/32 (zie tpl.js)
   3) reviewband 10006: pauze buiten beeld (klasse .e95-uit, zet tpl.js) */

@media (min-width:768px) and (max-width:1024px){
  /* contact: bel/mail/adres-kaarten stonden in 3 kolommen van 167 px (adres liep uit de kaart) */
  html body .p29a-kn:not(#e95){grid-template-columns:minmax(0,1fr)!important;max-width:600px!important}
  /* kennisbank e.a.: artikelkaarten (kn27) in 4 kolommen braken koppen per lettergreep af */
  html body .kn27:not(#e95){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  /* kennisbank 'Begrippen die je vaak tegenkomt' en begrip 'Meer uit ...' (p31-mo): vier kaarten van 156 px, koppen liepen uit de kaart */
  html body .p31-mo:not(#e95){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  /* begrippenregister: vier kolommen van 131 px, lange namen liepen in elkaar */
  html body .p31-lt ul:not(#e95){grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body .p31-lt li a:not(#e95){overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;min-width:0}
  /* eindversieblokken waar ze buiten .r92p staan (blog- en begripsjabloon, oude pagina's): onder elkaar zoals op de eindversies */
  html body :is(.p29b-hero > .w4,.pf28,.fq27,.rv2,.p29b-kt):not(#e95){grid-template-columns:minmax(0,1fr)!important;row-gap:32px!important}
  html body .us28:not(#e95){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  /* blogbericht (10106) en begrip (10109): tekst 248 px naast een zijkolom van 360 px; nu tekst over de volle breedte,
     zijkaarten (inhoud, verwante begrippen, offerte) als rij van twee: bij een blog boven de tekst (zoals de mobiele inhoud), bij een begrip eronder */
  html body :is(.p29b-gr,.p31-gr):not(#e95){grid-template-columns:minmax(0,1fr)!important;row-gap:48px!important}
  html body :is(.p29b-tc,.p31-zj):not(#e95){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;position:static!important;top:auto!important;width:auto!important;max-width:none!important}
  html body :is(.p29b-tc,.p31-zj) > *:not(#e95){width:auto!important;max-width:none!important;margin:0!important;position:relative!important;top:auto!important}
  html body .p29b-tc:not(#e95){order:-1}
  html body .p31-zj > :last-child:nth-child(odd):not(#e95){grid-column:1 / -1}
  /* partnerzoeker-kop (sjabloon 5916): kop met tabletbreedte stond links in een gecentreerde kop */
  html body .r84-kop > .elementor-widget-tablet__width-initial:not(#e95){margin-left:auto!important;margin-right:auto!important;align-self:center!important}
}

/* reviewband 10006: stil zolang hij buiten beeld is (tpl.js zet .e95-uit); hover-pauze en minder beweging blijven zoals ze zijn */
.b95-rv-band.e95-uit .b95-rv-spoor,.b95-rv-band.e95-uit .b95-rv-spoor::before,.b95-rv-band.e95-uit .b95-rv-spoor::after,.b95-rv-band.e95-uit .b95-rv-stw::after{animation-play-state:paused!important}

/* ===== mobiel (<=767): duim, tikdoelen 44 px, tekst 15 px, offertebalk slim ===== */
@media (max-width:767px){
  /* tikdoelen minimaal 44 px (vlak groter, beeld gelijk waar het kan) */
  html body .r93-kop .r93-kn .elementor-button:not(#e95){min-height:44px!important;font-size:15px!important}
  html body .r93-logo a:not(#e95){display:inline-flex;align-items:center;min-height:44px}
  html body .r93-kop .r93-tel-a:not(#e95){min-width:44px;min-height:44px;justify-content:center}
  html body .r93-voet :is(li a,.r93-legal a,p a):not(#e95),html body .r93-voet .elementor-nav-menu a:not(#e95){display:inline-flex;align-items:center;min-height:44px}
  html body :is(.p31-vg a,a.p31-vg,a.r94a-fl,.r94a-fl a,.p31-ch a):not(#e95){min-height:44px!important;display:inline-flex!important;align-items:center}
  /* A-Z-balk: letters 44 px in een veegrij met snap (was 34 px, afgekapt) */
  html body .r92p .p31-az:not(#e95){overflow-x:auto!important;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body .r92p .p31-az::-webkit-scrollbar{display:none}
  html body .r92p .p31-az a:not(#e95){width:44px!important;height:44px!important;scroll-snap-align:start}
  html body #onderwerpen label:not(#e95),html body .p31-fl label:not(#e95){min-height:44px}
  html body .elementor-toc__list-item-text:not(#e95){display:inline-flex;align-items:center;min-height:44px}
  html body .bolk-tussenblok__knop:not(#e95){display:inline-flex!important;align-items:center;min-height:44px!important}
  html body :is(a.g,a.b95-rv-g):not(#e95){display:inline-flex;align-items:center;min-height:44px}
  html body .r95-speel:not(#e95){width:44px!important;height:44px!important}
  html body .d30 label:not(#e95){min-height:44px}
  html body :is(input[type=text],input[type=number],input[type=tel],input[type=email],input[type=search],select):not([type=hidden]):not(#e95){min-height:44px}
  html body .leaflet-control-zoom a:not(#e95){width:44px!important;height:44px!important;line-height:44px!important}
  /* klikvlakken in de huisillustratie: beeld gelijk, raakvlak 44 px */
  html body :is(.r95-hit,.p32-hv)::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}
  /* geen lopende tekst kleiner dan 15 px (uitzonderingen: initialen, tijd- en schaalstreepjes, statuspilletjes en labels in de illustraties, kaartbron) */
  html body .r93-voet :is(.r93-legal,.r93-legal a,.r93-bot,.r93-bot p,.r93-gpil,.r93-gpil small,.r93-gpil span):not(#e95){font-size:15px!important}
  html body .r93-balk-t p:not(#e95){font-size:15px!important;line-height:1.25}
  html body :is(.r92-fo,.pf28,.r95-fo,.p29a-fo) :is(p,p *,small,figcaption,.q,.tr1 *):not(.elementor-button-text):not(#e95){font-size:15px!important}
  html body :is(.r92-fo,.r95-fo,.p29a-fo) :is(.elementor-field-label,.sg label):not(#e95){font-size:15px!important}
  html body :is(.b95-rv-wie,.b95-rv-wie *,.rv2 small,.rv2 cite):not(#e95){font-size:15px!important}
  html body :is(.us28,.b95-tpl-usp,.p31) span > b:not(#e95),html body :is(.us28,.b95-tpl-usp) :is(p,span,small):not(#e95){font-size:15px!important}
  html body .p32 :is(.p32-sts span,.p32-tags span,.kp b,span.nu):not(#e95){font-size:15px!important}
  html body .kh-kk :is(p,small,.kh-jr span,.kh-t span):not(#e95){font-size:15px!important}
  html body .d30 :is(p,small,.tl span,span.vb,.wm30 b,.wm30 span,span > strong):not(#e95){font-size:15px!important}
  html body .p30 .t1 small:not(#e95){font-size:15px!important}
  html body .r92-pz :is(.il-results-item .subtext,.il-form button):not(#e95){font-size:15px!important}
  html body :is(.p31-kr,.p31-kr a,.p31-vg,.p31-vg a,.c95-aan b,.c95-aan small,.p31-lt summary small,.p31 small,.p31-mo small,span.tg,.r94a-vg,.c95-live):not(#e95){font-size:15px!important}
  html body :is(figcaption,.widget-image-caption):not(#e95){font-size:15px!important}
  html body .r93-tekst :is(td,th):not(#e95){font-size:15px!important}
  html body :is(.p29a-tl,.p29b-kz,.p29a-kn,.p29a-pr,.p29a-tech,.p29a-wie,.p29b-bk,.p29b-hl,.p31-ez,.p31-cf,.p31-ak,.p31-zj,.p31-ct,.c95-stroom,.p29b-kt,.c95-schakel) :is(p,span,small,li,b,label):not(.av):not(.gt):not(.pn *):not(#e95){font-size:max(15px,1em)!important} /* qa2111: grote cijfers (.gt, .pn) uitgezonderd, melding zakelijk */
  /* 'in vier stappen': vier tabjes van 78 px met 12 px tekst; nu 2 x 2 met 15 px tekst, nummer links */
  html body .p30 .bx > .ln:not(#e95){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html body .p30 .bx > .ln > label:not(#e95){display:flex!important;align-items:center;gap:10px;text-align:left!important;min-height:56px;height:auto!important;padding:10px 12px!important}
  html body .p30 .bx > .ln > label *:not(#e95){font-size:15px;line-height:1.25;margin:0}
  /* offertebalk: weg bij omhoog scrollen en zolang een formulier of het setblok onderin staat (tpl.js zet .e95-balk-weg) */
  html body.e95-balk-weg .elementor .e-con.r93-balk:not(#e95){transform:translateY(120%)!important;opacity:0!important;pointer-events:none!important}
  html body.r93-balk-aan.e95-balk-weg .r93-kop :is(.r93-tel,.r93-kn):not(#e95){display:block!important}
}
