/* ============ Voorbeelden (voorbeelden.html), inside the shell ============
   The board Voorbeelden: the sector filter and the device switch in the header bar; one window card with the chosen
   example, its name and the two ways on below it, then a strip of the six examples. The three demo sites run live in
   the window (only the chosen one loaded, drawn at the device's width and scaled to fit: voorbeelden.js); a tablet or
   a phone stands in the window, its top edge showing; the homepage designs (ex1–3) are pictures, on a computer only.
   Above it the drawn plate (the fish, mirrored, a paper tint behind the words); at the bottom the drawn closing scene (sea-voorbeelden). */

.vb .vb-wrap{gap:18px}
.vb .wk-head .wk-h1{flex:none}
.vb-filter{margin-left:10px}
.vb-devices button{padding:0 12px}
.vb-plate .dp-art{object-position:50% 0%; transform:scaleX(-1)}
.vb-plate::before{content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(100deg, rgb(234 226 218 / .9) 0%, rgb(234 226 218 / .8) 40%, rgb(234 226 218 / 0) 66%)}

/* the window */
.vb-stage{overflow:hidden}
.vb-view{display:flex; justify-content:center; height:clamp(320px, calc(100dvh - 440px), 560px); background:var(--wk-well); overflow:hidden}
.vb-frame{position:relative; width:100%; height:100%; overflow:hidden; background:#fff}
.vb-frame[data-device="tablet"]{width:min(58%, 560px)}
.vb-frame[data-device="phone"]{width:min(32%, 320px)}
.vb-frame:not([data-device="desktop"]){height:auto; margin-top:22px; border:1px solid var(--wk-border); border-bottom:0; border-radius:16px 16px 0 0}
.vb-frame.is-img{overflow-y:auto}
.vb-frame iframe{position:absolute; left:0; top:0; width:100%; height:100%; border:0; transform-origin:0 0}
.vb-frame img{display:block; width:100%; height:auto}

/* its name and the ways on */
.vb-cap{display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; padding:0 4px}
.vb-cap-t{flex:1 1 280px; min-width:0}
.vb .vb-cap h2{font:400 30px/1.12 var(--serif); letter-spacing:-.01em}
.vb-cap p{margin:2px 0 0}

/* the strip */
.vb-strip{display:grid; grid-template-columns:repeat(6, minmax(0,1fr)); gap:10px; margin:0; padding:14px 0 0; border-top:1px solid var(--wk-rule); list-style:none}
.vb-strip li[hidden]{display:none}
.vb-item{display:flex; flex-direction:column; gap:8px; width:100%; padding:8px 8px 10px; border:0; border-radius:12px; background:transparent; color:var(--wk-ink); text-align:left; font:inherit; cursor:pointer}
.vb-item:hover{background:#F4F1EA}
.vb-item[aria-pressed="true"]{background:#FCFBF8; box-shadow:0 0 0 1px var(--wk-ring), 0 1px 2px rgb(31 29 26 / .06)}
.vb-item img{display:block; width:100%; height:auto; aspect-ratio:16 / 10; object-fit:cover; object-position:top; border:1px solid var(--wk-border); border-radius:8px}
.vb-item b{overflow:hidden; font-size:13.5px; font-weight:500; line-height:1.25; white-space:nowrap; text-overflow:ellipsis}
.vb-kind{overflow:hidden; font-size:12px; color:var(--wk-quiet); white-space:nowrap; text-overflow:ellipsis}

@media (scripting: none){ .vb :is(.vb-filter, .vb-devices){display:none} }
@media (max-width:899px){
  .vb-strip{grid-template-columns:repeat(3, minmax(0,1fr))}
}
@media (max-width:719px){
  .vb :is(.vb-filter, .vb-devices){display:none}
  .vb-frame[data-device]{width:100%; height:100%; margin:0; border:0; border-radius:0}
  .vb .vb-wrap{gap:14px}
  .vb-view{height:min(560px, calc(100dvh - 300px))}
  .vb .vb-cap h2{font-size:24px}
  .vb-cap .wk-pri{flex:1}
}
@media (max-width:479px){
  .vb-strip{gap:6px}
  .vb-item{padding:6px}
}
