.wdfk-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem; }
.wdfk-events:empty { display: none; }
.elementor .elementor-element.elementor-widget-shortcode:has(.wdfk-events) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
}
.wdfk-events { width: 100%; min-width: 0; }
.wdfk-events .wdfk-event-fallback {
  width: 100%;
  max-width: none;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--ap-r-md, 14px);
}
.wdfk-events .wdfk-event-fallback img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  transform: none;
}
.wdfk-events figure { margin: 0; min-width: 0; }
.wdfk-events img { display: block; width: 100%; height: auto; border-radius: 14px; }
.wdfk-events a { display: block; cursor: zoom-in; }
.wdfk-events a[data-wdfk-flyer] {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--ap-r-md, 14px);
}
.wdfk-events a[data-wdfk-flyer] img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
  transform: scale(var(--wdfk-flyer-zoom, 1));
  transform-origin: center;
}
.wdfk-events a:focus-visible { outline: 3px solid var(--ap-bronze, #a47a4e); outline-offset: 4px; border-radius: 14px; }
.wdfk-event-dialog { box-sizing: border-box; inset: 0; margin: auto; padding: 3.5rem .75rem .75rem; width: min(94vw, 42rem); max-height: 94dvh; overflow: auto; border: 1px solid #d2b48c; border-radius: 14px; background: #0e1d17; }
.wdfk-event-dialog::backdrop { background: rgb(8 15 11 / 86%); }
.wdfk-event-dialog img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(90dvh - 4rem); margin: auto; object-fit: contain; }
.wdfk-event-dialog button { position: absolute; top: .5rem; right: .5rem; min-width: 44px; min-height: 44px; padding: .25rem; font-size: 1.5rem; color: #f5f1e6; background: #1f3a2c; border: 1px solid #d2b48c; border-radius: 8px; cursor: pointer; }
