/* Evenementenpagina: fotoraster zoals Instagram (max. 3 kolommen) */
:is(#eb-category-grid,#module-134) .eb-events-grid-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0;}
:is(#eb-category-grid,#module-134) .eb-events-grid-items::before,:is(#eb-category-grid,#module-134) .eb-events-grid-items::after{display:none;}
:is(#eb-category-grid,#module-134) .eb-events-grid-items>div{width:auto;max-width:none;flex:none;padding:0;margin:0;}
:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout{border:0;box-shadow:none;background:none;padding:0;margin:0;}
:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout>*:not(.eb-event-thumb-container){display:none;}
:is(#eb-category-grid,#module-134) .eb-event-thumb-container{margin:0;overflow:hidden;aspect-ratio:4/5;background:#F2F2F2;}
:is(#eb-category-grid,#module-134) .eb-event-thumb-container a{display:block;height:100%;}
:is(#eb-category-grid,#module-134) .eb-event-thumb{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .3s ease,opacity .3s ease;}
:is(#eb-category-grid,#module-134) .eb-event-thumb-container a:hover .eb-event-thumb{transform:scale(1.04);opacity:.9;}
@media (max-width:959px){:is(#eb-category-grid,#module-134) .eb-events-grid-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}}
@media (max-width:479px){:is(#eb-category-grid,#module-134) .eb-events-grid-items{grid-template-columns:minmax(0,1fr);}}
/* Evenementdetail: plaatje net zo klein houden als voorheen */
.eb-description img.eb-thumb-left{max-width:200px;height:auto;}
/* Evenement zonder foto: donkere tegel met naam en datum */
:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout:not(:has(.eb-event-thumb-container)){position:relative;aspect-ratio:4/5;background:#1A1A1A;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px;}
:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout:not(:has(.eb-event-thumb-container)) .eb-event-title-container,:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout:not(:has(.eb-event-thumb-container)) .eb-event-date-time{display:block;color:#FFFFFF;}
:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout:not(:has(.eb-event-thumb-container)) .eb-event-title{color:#FFFFFF;font-size:1.6rem;font-weight:700;text-decoration:none;}
:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout:not(:has(.eb-event-thumb-container)) .eb-event-title::after{content:"";position:absolute;inset:0;}
:is(#eb-category-grid,#module-134) .eb-event-item-grid-default-layout:not(:has(.eb-event-thumb-container)):hover{background:#2B2B2B;}