/* Kleine aanvullingen op theme.json */
.bob-kop{position:sticky;top:0;z-index:20;box-shadow:0 2px 10px rgba(0,0,0,.2)}
.admin-bar .bob-kop{top:32px}
@media (max-width:782px){.admin-bar .bob-kop{top:0;position:relative}}
.bob-kop .wp-block-navigation a{padding:8px 12px;border-radius:8px;text-decoration:none}
.bob-kop .wp-block-navigation a:hover,.bob-kop .wp-block-navigation .current-menu-item>a{background:rgba(255,255,255,.14)}
.bob-voet{border-top:6px solid var(--wp--preset--color--oranje)}
.bob-voet a{color:#fff}
main.wp-block-group{margin-top:0}
.wp-site-blocks>main{margin-block-start:0}
.wp-site-blocks>footer{margin-block-start:0}
.has-wit-color :is(h1,h2,h3,h4){color:inherit}
.has-groen-background-color .has-small-font-size{opacity:.85}
/* foto's */
.bob-foto img{border-radius:18px;border:6px solid #fff;box-shadow:0 18px 40px rgba(0,0,0,.3);width:100%;height:auto}
/* hero met racketraster */
.bob-hero{background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 3px,transparent 3px 34px),repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 3px,transparent 3px 34px)}
.bob-hero p{color:#dce9e1}
/* waarom-blok */
.bob-waarom .wp-block-column{text-align:center}
.bob-icoon img{width:46px;height:46px}
.bob-icoon{margin-inline:auto!important}
.bob-waarom p{color:#d3e4da;font-size:15.5px}
/* tabellen */
.wp-block-table table{border-collapse:collapse;width:100%}
.wp-block-table thead{border-bottom:2px solid var(--wp--preset--color--groen)}
.wp-block-table th{text-align:left;font-weight:600;color:var(--wp--preset--color--grijs);font-size:14px;padding:8px 10px;border:0}
.wp-block-table td{padding:10px;border:0;border-bottom:1px solid var(--wp--preset--color--lijn);vertical-align:top}
.bob-prijzen td:last-child,.bob-prijzen th:last-child{text-align:right;white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
.bob-rackets td:nth-child(2){font-weight:600}
.bob-rackets{overflow-x:auto}
.bob-kaart{border-radius:16px}
.bob-tip{border-left:5px solid var(--wp--preset--color--oranje)}
.bob-tarief{border-radius:14px}
.bob-tarief p:first-child{font-family:var(--wp--preset--font-family--barlow-semi-condensed);font-weight:800;font-size:clamp(30px,4vw,40px);line-height:1;margin:0}
.wp-block-details{border:2px solid var(--wp--preset--color--lijn);border-radius:14px;padding:10px 20px}
.wp-block-details summary{font-weight:600;cursor:pointer;color:var(--wp--preset--color--groen)}
.bob-contact>.wp-block-column{border:2px solid var(--wp--preset--color--lijn);border-radius:16px;padding:24px}
.bob-citaat{background:var(--wp--preset--color--lichtgroen);padding:10px 12px;border-radius:8px;font-style:italic}
.bob-insta{border:2px dashed var(--wp--preset--color--lijn);border-radius:16px}
@media (max-width:600px){.bob-prijzen table{font-size:14px}.bob-prijzen td,.bob-prijzen th{padding:8px 5px}}
.bob-waarom-blok>h2{text-align:center}

/* ===== Hero past altijd in het eerste scherm ===== */
:root{--bob-kop:79px;--bob-hp:clamp(20px,4.5vh,56px)}
.bob-hero{padding-top:var(--bob-hp)!important;padding-bottom:var(--bob-hp)!important;min-height:calc(100svh - var(--bob-kop));display:flex;flex-direction:column;justify-content:center}
.bob-hero>*{width:100%}
.admin-bar .bob-hero{min-height:calc(100svh - var(--bob-kop) - 32px)}
.bob-hero h1{font-size:clamp(30px,min(4.4vw,6.4vh),54px)}
.bob-hero .bob-foto img{height:calc(100svh - var(--bob-kop) - 2*var(--bob-hp) - 4px);max-height:680px;min-height:240px;object-fit:cover;object-position:center 30%}
.admin-bar .bob-hero .bob-foto img{height:calc(100svh - var(--bob-kop) - 2*var(--bob-hp) - 36px)}
.bob-hero .wp-block-columns{margin:0}

/* ===== Telefoon ===== */
@media (max-width:781px){
  :root{--bob-kop:64px;--bob-hp:20px}
  .bob-kop .wp-block-site-logo img{width:104px!important;height:auto}
  .bob-kop .wp-block-navigation__responsive-container-open svg{width:32px;height:32px}
  .bob-kop .wp-block-navigation__responsive-container.is-menu-open{padding:24px}
  .bob-kop .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item{font-size:24px}

  .bob-hero{justify-content:flex-start}
  .bob-hero .wp-block-columns{gap:16px}
  .bob-hero h1{font-size:clamp(28px,8.2vw,36px);margin-bottom:10px}
  .bob-hero p{font-size:15.5px;line-height:1.5;margin-top:0}
  .bob-hero .wp-block-buttons{gap:10px;flex-wrap:nowrap}
  .bob-hero .wp-block-button{flex:1}
  .bob-hero .wp-block-button__link{width:100%;padding:12px 10px;font-size:15px}
  .bob-hero>.wp-block-columns{flex:1 1 auto;flex-direction:column;flex-wrap:nowrap!important;min-height:0}
  .bob-hero>.wp-block-columns>.wp-block-column{flex:0 0 auto!important}
  .bob-hero>.wp-block-columns>.wp-block-column:last-child{flex:1 1 0!important;display:flex;flex-direction:column;min-height:110px}
  .bob-hero .bob-foto{flex:1 1 0;position:relative;margin:0;min-height:110px}
  .bob-hero .bob-foto img{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center 22%;border-width:4px;border-radius:14px}
  h1.wp-block-heading{font-size:clamp(30px,8.5vw,38px)}
  h2.wp-block-heading{font-size:clamp(24px,7vw,30px)}
  .has-large-font-size{font-size:16.5px!important}

  /* snarentabel als kaartjes: naam en prijs boven, details eronder */
  .bob-prijzen:has(thead) thead{display:none}
  .bob-prijzen:has(thead) tr{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 0;padding:10px 0;border-bottom:1px solid var(--wp--preset--color--lijn)}
  .bob-prijzen:has(thead) td{border:0;padding:0}
  .bob-prijzen:has(thead) td:first-child{order:1;flex:0 0 calc(100% - 90px)}
  .bob-prijzen:has(thead) td:last-child{order:2;flex:0 0 90px;text-align:right}
  .bob-prijzen:has(thead) td:nth-child(2),.bob-prijzen:has(thead) td:nth-child(3),.bob-prijzen:has(thead) td:nth-child(4){order:3;font-size:14px;color:var(--wp--preset--color--grijs)}
  .bob-prijzen:has(thead) td:nth-child(2)::after{content:"\00a0mm\00a0·\00a0"}
  .bob-prijzen:has(thead) td:nth-child(3)::after{content:"\00a0·\00a0"}
  .bob-kaart{padding:20px!important}

  /* testracketlijst: horizontaal scrollen, racketnaam blijft staan */
  .bob-rackets{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-inline:calc(-1 * max(5vw,16px));padding-inline:max(5vw,16px)}
  .bob-rackets table{min-width:720px;font-size:14px}
  .bob-rackets td,.bob-rackets th{padding:8px 8px}
  .bob-rackets td:nth-child(2),.bob-rackets th:nth-child(2){position:sticky;left:0;background:#fff;box-shadow:2px 0 4px rgba(0,0,0,.06)}

  /* tarieven naast elkaar houden */
  .wp-block-columns:has(>.wp-block-column>.bob-tarief){flex-wrap:nowrap!important;gap:8px}
  .bob-tarief{padding:14px 12px!important}
  .bob-tarief p:first-child{font-size:26px}
  .bob-tarief p:not(:first-child){font-size:12.5px!important;line-height:1.35}

  .bob-waarom{gap:8px}
  .bob-waarom .wp-block-column{padding:8px 0}
  .bob-contact>.wp-block-column{padding:18px}
  .bob-voet .wp-block-columns{display:grid!important;grid-template-columns:1fr 1fr;gap:20px}
  .bob-voet .wp-block-column:first-child{grid-column:1 / -1}
  .bob-voet .wp-block-site-logo img{width:150px!important;height:auto}
  .bob-foto:not(.bob-hero .bob-foto) img{aspect-ratio:4/3;object-fit:cover;object-position:center 30%}
  @media (max-height:620px){.bob-hero h1{font-size:26px}.bob-hero p{font-size:14.5px}}
}

/* ===== Merkiconen in knoppen (WhatsApp: Simple Icons, overige: Lucide) ===== */
.wp-block-button__link[href*="wa.me"],.wp-block-button__link[href^="mailto:"]{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.wp-block-button__link[href*="wa.me"]::before,.wp-block-button__link[href^="mailto:"]::before{content:"";flex:none;width:20px;height:20px;background:currentColor;-webkit-mask:var(--bob-icoon) center/contain no-repeat;mask:var(--bob-icoon) center/contain no-repeat}
.wp-block-button__link[href*="wa.me"]{--bob-icoon:url(images/whatsapp.svg)}
.wp-block-button__link[href^="mailto:"]{--bob-icoon:url(images/mail.svg)}
.bob-insta{position:relative;padding-left:76px!important}
.bob-insta::before{content:"";position:absolute;left:28px;top:50%;translate:0 -50%;width:32px;height:32px;background:var(--wp--preset--color--groen);-webkit-mask:url(images/instagram.svg) center/contain no-repeat;mask:url(images/instagram.svg) center/contain no-repeat}
@media (max-width:781px){.wp-block-button__link[href*="wa.me"]::before{width:18px;height:18px}.bob-insta{padding-left:64px!important}.bob-insta::before{left:20px;width:28px;height:28px}}
@media (max-width:781px){.bob-hero .wp-block-button{flex:1 1 0}.bob-hero .wp-block-button__link{gap:6px;white-space:nowrap}}
@media (max-width:420px){.bob-hero .wp-block-button__link::before{display:none}}

/* ===== Instagram-weergave (tijdelijk, zie inc/instagram-voorbeeld.php) ===== */
.bob-ig{border:1px solid var(--wp--preset--color--lijn);border-radius:18px;padding:18px;background:#fff}
.bob-ig-kop{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.bob-ig-avatar{width:52px;height:52px;border-radius:50%;object-fit:contain;padding:6px;background:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px #d6249f,0 0 0 4px #fd5949;background-clip:padding-box;outline:3px solid transparent;border:2px solid transparent;background-image:linear-gradient(#fff,#fff),linear-gradient(45deg,#fdf497,#fd5949,#d6249f,#285AEB);background-origin:border-box;background-clip:content-box,border-box}
.bob-ig-kop strong{display:block;font-size:16px}.bob-ig-kop span{font-size:14px;color:var(--wp--preset--color--grijs)}
.bob-ig-volg{margin-left:auto;background:#0095f6;color:#fff!important;font-weight:600;font-size:15px;padding:8px 18px;border-radius:8px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;min-height:40px}
.bob-ig-volg::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:url(images/instagram.svg) center/contain no-repeat;mask:url(images/instagram.svg) center/contain no-repeat}
.bob-ig-volg:hover{background:#1877f2}
.bob-ig-raster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.bob-ig-post{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:6px;color:#fff}
.bob-ig-post img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.bob-ig-post span{position:absolute;inset:auto 0 0 0;padding:28px 14px 12px;font-size:14px;line-height:1.35;background:linear-gradient(transparent,rgba(0,0,0,.7));opacity:0;transition:opacity .25s}
.bob-ig-post:hover span,.bob-ig-post:focus-visible span{opacity:1}
.bob-ig-post:hover img{transform:scale(1.04)}
@media (prefers-reduced-motion:reduce){.bob-ig-post img,.bob-ig-post span{transition:none}}
@media (max-width:781px){
  .bob-ig{padding:14px;margin-inline:0}
  .bob-ig-raster{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .bob-ig-raster::-webkit-scrollbar{display:none}
  .bob-ig-post{flex:0 0 78%;scroll-snap-align:start}
  .bob-ig-post span{opacity:1}
}
@media (max-width:781px){.bob-ig-avatar{width:44px;height:44px}.bob-ig-kop span{display:none}.bob-ig-volg{padding:8px 14px}}
