.tb-gallery-wrap{background:#0e0e0e}
.tb-gallery{display:block;background:#0e0e0e}
.tb-row{display:flex;width:100%;gap:0;aspect-ratio:var(--tb-row-ratio,3);background:#0e0e0e}
.tb-tile{flex:var(--tb-tile-ratio,1.5) 1 0;min-width:0;position:relative;overflow:hidden;display:block;background:#141414;outline-offset:-3px;aspect-ratio:var(--tb-tile-ratio,1.5)}
.tb-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease-in-out}
.tb-tile::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,0);transition:background .3s ease-in-out;pointer-events:none}
.tb-tile:hover img,.tb-tile:focus-visible img{transform:scale(1.06)}
.tb-tile:hover::after,.tb-tile:focus-visible::after{background:rgba(0,0,0,.25)}
.tb-tile:focus-visible{outline:2px solid #fff}
.tb-gallery--empty p{margin:0;padding:64px 20px;text-align:center;color:#f5f5f5;font-size:13px;letter-spacing:.22em;text-transform:uppercase}
.mfp-title{font-size:13px;letter-spacing:.08em;color:#fff}
.mfp-title a{color:#dd3333;text-decoration:none}
.mfp-title a:hover{text-decoration:underline}
/* Volledige viewportbreedte, uitsluitend op de Gallery-pagina. */
body.page-id-461 .site-wrap{max-width:none}
body.page-id-461 .content-container{width:auto;max-width:none;padding-left:0;padding-right:0}
body.page-id-461 .content-row{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
body.page-id-461 #primary{padding-left:0;padding-right:0}
/* Effen zwarte pagina-achtergrond en zwarte titelbalk, uitsluitend op de Gallery-pagina. */
body.page-id-461.boxed-layout{background:#000}
body.page-id-461 #pagetitle{background-color:#000}
body.page-id-461 #pagetitle .customtitle-full{background:#000}
@media (prefers-reduced-motion:reduce){
  .tb-tile img{transition:none}
  .tb-tile:hover img,.tb-tile:focus-visible img{transform:none}
}

/* Homepage Gallery-preview (page 2): compact 3x2 wall + link. */
#gallery-preview .tb-gallery-wrap{background:transparent}
#gallery-preview .tb-gallery--preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#070a0a}
#gallery-preview .tb-gallery--preview .tb-row{display:contents}
#gallery-preview .tb-gallery--preview .tb-tile{aspect-ratio:4 / 3}
#gallery-preview .tb-gallery-home{margin:0 !important}
#gallery-preview .tb-gallery-home-link-wrap{margin:24px 0 0 !important;text-align:center}
#gallery-preview .tb-gallery-home-link-wrap p{margin:0;text-align:center}
#gallery-preview .tb-gallery-home-link{display:inline-block;box-sizing:border-box;max-width:100%;padding:14px 26px;background:#dd3333;border:1px solid #7d0e0e;color:#fff;font-size:13px;font-weight:700;line-height:1.2;letter-spacing:.18em;text-align:center;text-transform:uppercase;text-decoration:none;transition:background-color .2s ease,color .2s ease}
#gallery-preview .tb-gallery-home-link:hover,
#gallery-preview .tb-gallery-home-link:focus{background:#7d0e0e;color:#fff;text-decoration:none}
#gallery-preview .tb-gallery-home-link:focus-visible{outline:2px solid #fff;outline-offset:3px}
