/* Aanpassingen van het ontwerp aan de WordPress-blokopmaak (figure rond afbeeldingen, knop-wrappers, details). */

/* knoppen: de opmaak staat op de link, de wrapper is neutraal */
.wp-block-button.knop,.wp-block-button.knop:hover{padding:0;background:none;border:0;box-shadow:none;transform:none;color:inherit}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px}
.wp-block-buttons:not(.knoppen){margin:0}
.wp-block-button__link{white-space:nowrap}
@media (max-width:520px){.wp-block-button.knop{width:100%}.wp-block-button__link{white-space:normal}.prijsrij .wp-block-button.knop{width:auto}}

/* afbeeldingen in een figure */
figure.wp-block-image{margin:0}
.wp-block-image img{height:auto;max-width:100%;vertical-align:bottom}
.rij .foto img{border-radius:24px;width:100%;aspect-ratio:4/3.4;object-fit:cover;box-shadow:var(--schaduw)}
.rij figure.foto{border-radius:0;aspect-ratio:auto;box-shadow:none}
.slot figure.boom{position:absolute;right:-60px;bottom:-60px;width:300px;opacity:.08;filter:brightness(10);margin:0}
.slot figure.boom img{width:100%}
.over-fotos > figure:first-of-type img{border-radius:24px;aspect-ratio:4/5;object-fit:cover;width:84%}
.over-fotos > figure:last-of-type{position:absolute;right:0;bottom:-30px;width:46%}
.over-fotos > figure:last-of-type img{width:100%;border-radius:18px;border:6px solid #fff;box-shadow:var(--schaduw);aspect-ratio:3/4;object-fit:cover}
.over-fotos img:first-child,.over-fotos img:last-child{position:static}
.over-fotos > figure:first-of-type img{border:0;box-shadow:none}
.boek .cover > figure,.galerij .groot > figure{height:100%;display:flex;align-items:center;justify-content:center}
.boek .cover > figure img,.galerij .groot > figure img{max-height:100%;width:auto}
.galerij .duim > figure img{border-radius:12px;aspect-ratio:1/1;object-fit:cover;width:100%;border:2px solid transparent;cursor:pointer}
.zijboek > figure img{border-radius:3px;box-shadow:8px 10px 20px -10px rgba(0,0,0,.5)}
.paginakop .wrap > figure img{border-radius:26px 26px 120px 26px;aspect-ratio:4/4.4;object-fit:cover;width:100%}
.hero-foto > figure{position:relative}
.snb-foto > figure img{border-radius:24px;aspect-ratio:3/4;object-fit:cover;width:100%;filter:saturate(.85)}
.dienst > figure img{aspect-ratio:4/3;object-fit:cover;width:100%;border-radius:0}
.mediaitem > figure img{border-radius:14px;aspect-ratio:16/10;object-fit:cover;width:100%}
.afl .beeld > figure img{aspect-ratio:16/10;object-fit:cover;width:100%;transition:transform .4s}
.afl:hover .beeld > figure img{transform:scale(1.05)}
@media (max-width:860px){.paginakop .wrap > figure img{aspect-ratio:16/11}.over-fotos > figure:last-of-type{bottom:-20px}}

/* blad-elementen: een groep met één alinea */
.fv-leaf > p{margin:0}
.feitjes > p{display:flex;flex-wrap:wrap;gap:10px;margin:0}
:where(a.fv-linkvak){color:inherit;text-decoration:none;display:block}
a.fv-linkvak > p{margin:0}
.kiezer a.fv-linkvak{display:block}
.bewijs > div{display:block}
.prijsrij > p{margin:0}
.hero-kaart > div:last-child > p,.zijboek > div > p{margin:0}
.lijst-blok > .wp-block-buttons{margin:0}
.lijst-blok > div > h2{margin-bottom:.3em}
.contactkaart > p{margin:0 0 4px}

/* uitklapvragen (core/details) */
.faq .wp-block-details > :not(summary){padding:0 24px}
.faq .wp-block-details > p:last-child{margin-bottom:0;padding-bottom:22px}
.faq .wp-block-details > :first-child + *{margin-top:0}

/* reviews op boekpagina's komen uit het blok francien/recensies */
.reviews-alle .review p{margin:0 0 .8em}

/* standaardpagina's (winkelmand, afrekenen) */
.fv-standaard{max-width:1180px}
.fv-hp{position:absolute!important;left:-9999px!important}
.fv-melding{font-weight:600;color:var(--teal-diep);margin-top:12px}

/* WooCommerce in de huisstijl */
.woocommerce a.button,.woocommerce button.button,.wc-block-components-button:not(.is-link){background:var(--teal-diep)!important;color:#fff!important;border-radius:999px!important;font-family:Barlow,sans-serif!important;font-weight:700!important}
.wc-block-components-button:not(.is-link):hover{background:var(--teal-nacht)!important}
.wc-block-cart,.wc-block-checkout{font-family:Barlow,sans-serif}
.woocommerce-store-notice{background:var(--teal-nacht)}
.boek .prijsrij .prijs,.prijsrij .prijs{font-size:1.5rem;font-weight:700;color:var(--inkt);margin:0}
@media (max-width:520px){.boek .prijsrij .prijs{font-size:1.3rem;white-space:nowrap}}
.boek .cover{position:relative}
.boek .cover > figure{position:absolute;inset:26px;height:auto}
.galerij .groot{position:relative}
.galerij .groot > figure{position:absolute;inset:40px;height:auto}
.veld small{font-size:.85rem;color:var(--tekst)}
.fv-vink label{font-weight:500;display:flex;gap:10px;align-items:flex-start}
.fv-vink input{margin-top:.35em;flex:none;width:18px;height:18px}
.zij-logos{display:flex;gap:16px;align-items:center;justify-content:center;margin-top:14px}
.zij-logos figure{max-width:120px}
.betaallogo{max-width:240px;margin-top:14px}

/* recensies: eerst 3, de rest achter een knop */
.reviews-alle{columns:3}
@media (max-width:1080px){.reviews-alle{columns:2}}
@media (max-width:700px){.reviews-alle{columns:1}}
.reviews-alle .review.verborgen{display:none}
.reviews-alle.alles .review.verborgen{display:block}
.reviews-meer{text-align:center;margin-top:8px}
/* technische informatie: rest onder "Meer informatie" */
.meer-info{margin-top:6px}
.meer-info > summary{cursor:pointer;font-weight:700;color:var(--teal-diep);list-style:none;display:inline-flex;align-items:center;gap:8px}
.meer-info > summary::-webkit-details-marker{display:none}
.meer-info > summary::after{content:"+";width:24px;height:24px;border-radius:50%;background:var(--mist);display:grid;place-items:center;font-size:1.1rem}
.meer-info[open] > summary::after{content:"\2212";background:var(--teal-diep);color:#fff}
.meer-info > ul{margin-top:14px}

/* plus/min als getekende streepjes: altijd precies in het midden van het rondje */
.meer-info > summary::after,.faq summary::after{content:"";font-size:0;
  background-image:linear-gradient(var(--teal-diep),var(--teal-diep)),linear-gradient(var(--teal-diep),var(--teal-diep));
  background-size:12px 2px,2px 12px;background-position:center;background-repeat:no-repeat;background-color:var(--mist)}
.meer-info[open] > summary::after,.faq details[open] summary::after{content:"";
  background-image:linear-gradient(#fff,#fff);background-size:12px 2px;background-position:center;background-repeat:no-repeat;background-color:var(--teal-diep)}
.meer-info > summary::after{width:26px;height:26px;flex:none}

/* kruimelpad: licht op donkere kop, donker op lichte achtergrond */
.kruimel a{color:var(--teal-diep);text-decoration-color:rgba(62,107,113,.4);text-underline-offset:3px}
.paginakop .kruimel a{color:#d6e5e6;text-decoration-color:rgba(214,229,230,.5)}
.sectie .kruimel{color:var(--tekst)}

/* ===== mobiele verfijning (24-11) ===== */
.logo b{white-space:nowrap}
@media (max-width:520px){
  .logo img{width:44px}
  .logo b{font-size:1.05rem}
  header.kop .wrap{gap:12px}
}
@media (max-width:860px){
  .twee{gap:20px}
  .slot{gap:24px}
  .zij > figure.wp-block-image{display:none}          /* extra sfeerfoto's in de zijkolom alleen op groot scherm */
  .rij{gap:28px}
}
/* vinkjes in formulieren: tekst en link in één blok */
.fv-vink label{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start}
.fv-vink label > span{display:block}
/* lege winkelmand van WooCommerce in de huisstijl */
.wc-block-cart__empty-cart__title{font-family:Barlow,sans-serif}
.wc-block-grid__products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:560px;margin:0 auto!important}
.wc-block-grid__product{max-width:none!important;flex:none!important;width:auto!important;border:1px solid var(--lijn);border-radius:16px;padding:16px!important;background:#fff}
.wc-block-grid__product-image img{max-height:180px;width:auto!important;margin:0 auto;box-shadow:8px 10px 20px -10px rgba(0,0,0,.45)}
.wc-block-grid__product-title{font-weight:700;color:var(--inkt)}
.wc-block-grid__product .wp-block-button__link,.wp-block-woocommerce-empty-cart-block .wp-block-button__link{background:var(--teal-diep)!important;color:#fff!important;border-radius:999px!important;font-weight:700}

/* cover Wat ik vandaag nog weet is vrijstaand (transparant): schaduw volgt de vorm van het boek */
.cover img[src*="wat-ik-vandaag-nog-weet"],.zijboek img[src*="wat-ik-vandaag-nog-weet"]{box-shadow:none;border-radius:0;filter:drop-shadow(10px 14px 16px rgba(0,0,0,.28))}
