/* News overview only: existing photographs on subtly scattered paper prints. */
.content-wrapper:has(.wzm-news-thumbs-wrapper){background:var(--color_subtlebg,#f1f4e4);width:100%!important;max-width:none;left:0!important;box-sizing:border-box}
.custom-content-wrapper:has(.wzm-news-thumbs-wrapper){
    padding-bottom:75px;
    background:linear-gradient(#f1f4e4dd,#f1f4e4dd),url('/themes/wezienmekaar2027/images/bierviltjes/biervilt-grain.png') center / 760px;
}
.custom-content-wrapper:has(.wzm-news-thumbs-wrapper) > .max-width-lock{width:calc(100% - 100px);max-width:1240px;margin:auto}
.wzm-news-thumbs-wrapper.wzm-thumbnails-grid{
    --board-angle:-2.2deg;--board-offset:0px;
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:65px 45px;margin:0;padding:65px 12px 45px;
}
.wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb{
    display:block;position:relative;box-sizing:border-box;min-width:0;width:100%;padding:15px 15px 25px;margin:0;
    background:#f1f4e4 url('/themes/wezienmekaar2027/images/bierviltjes/biervilt-grain.png') center / cover;
    border:1px solid #194a6014;border-radius:3px 5px 4px 3px;
    box-shadow:0 2px 3px #194a601c,3px 9px 13px #194a6029;
    transform:translateY(var(--board-offset)) rotate(var(--board-angle));transform-origin:50% 45%;
    transition:transform .2s ease,box-shadow .2s ease;text-decoration:none;color:var(--color_text,#194a60);
}
/* A deliberately irregular, deterministic sequence: no layout changes on reload. */
.wzm-news-thumbs-wrapper > a:nth-child(11n+2){--board-angle:1.6deg;--board-offset:14px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+3){--board-angle:-.9deg;--board-offset:3px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+4){--board-angle:2.3deg;--board-offset:7px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+5){--board-angle:-1.4deg;--board-offset:-8px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+6){--board-angle:.7deg;--board-offset:17px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+7){--board-angle:-2.6deg;--board-offset:4px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+8){--board-angle:1.1deg;--board-offset:12px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+9){--board-angle:-.4deg;--board-offset:-5px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+10){--board-angle:2deg;--board-offset:6px}
.wzm-news-thumbs-wrapper > a:nth-child(11n+11){--board-angle:-1.7deg;--board-offset:15px}
.wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb img{
    display:block;box-sizing:border-box;width:100%;max-width:none;height:auto;aspect-ratio:4 / 3!important;
    object-fit:cover;object-position:center;border-radius:1px;margin:0;box-shadow:0 0 0 1px #194a6012;transition:none;
}
.wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb > div{
    position:static;inset:auto;max-width:none;margin:0;padding:20px 6px 0;text-align:center;
}
.wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb h3{
    font-family:"futura-pt",sans-serif;font-weight:600;font-size:24px;line-height:1.2;text-transform:uppercase;
    display:block;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;
    height:auto;max-height:none;min-height:0;margin:0;padding:0;color:var(--color_text,#194a60);
}
.wzm-news-thumbs-wrapper .wzm-news-thumb .label{display:inline-block;position:static;margin:0 0 9px;padding:0;background:none;color:var(--color_text,#194a60)!important;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb:focus-visible{
    outline:3px solid var(--color_highlights,#31a7db);outline-offset:6px;z-index:2;
}
@media(hover:hover){.wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb:hover{
    z-index:2;transform:translateY(calc(var(--board-offset) - 5px)) rotate(var(--board-angle));box-shadow:0 3px 5px #194a601c,4px 15px 20px #194a602f;
}}
@media(max-width:1000px){
    .wzm-news-thumbs-wrapper.wzm-thumbnails-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:55px 35px}
    .custom-content-wrapper:has(.wzm-news-thumbs-wrapper) > .max-width-lock{width:calc(100% - 70px)}
}
@media(max-width:600px){
    .wzm-news-thumbs-wrapper.wzm-thumbnails-grid{grid-template-columns:minmax(0,1fr)!important;gap:45px;padding:45px 0 25px}
    .custom-content-wrapper:has(.wzm-news-thumbs-wrapper) > .max-width-lock{width:calc(100% - 64px)}
    .wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb{--board-offset:0px;padding:12px 12px 23px}
    .wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb h3{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.wzm-news-thumbs-wrapper.wzm-thumbnails-grid > a.wzm-news-thumb{transition:none}}
