/* Static clone: reveal + recreate Duda runtime interactions in CSS */

[data-anim-extended],
[data-anim-desktop],
.layout-drawer,
.dmPhotoGallery.newPhotoGallery .dmPhotoGalleryHolder {
  visibility: visible !important;
}

.dmPhotoGallery.newPhotoGallery .dmPhotoGalleryHolder {
  display: block !important;
}

/* Duda hides extra gallery rows until JS expands them — show all icons */
#dm .dmPhotoGallery.newPhotoGallery .photogallery-row.photogallery-hidden-row {
  display: flex !important;
}

/* Keep gallery icons on background-image (Duda hides the <img>) */
#dm .dmPhotoGallery.newPhotoGallery .layout-container .photogallery-column .photoGalleryThumbs .image-container a {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Feature logo grids: slightly smaller at rest, full zoom on hover, labels stay visible */
#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"],
#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .layout-container,
#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photogallery-row,
#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photogallery-column,
#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photoGalleryThumbs,
#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photoGalleryThumbs .thumbnailInnerWrapper,
#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photoGalleryThumbs .image-container {
  overflow: visible !important;
}

#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photoGalleryThumbs .image-container {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photoGalleryThumbs {
  z-index: 1;
}

#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .photoGalleryThumbs:hover {
  z-index: 3;
}

#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .layout-container .photogallery-column .photoGalleryThumbs .image-container a {
  background-size: contain !important;
  transform: scale(calc(1 / 1.06)) !important;
  transform-origin: center center;
  transition: transform 0.2s ease-out !important;
}

#dm .dmPhotoGallery.newPhotoGallery[data-image-hover-effect="zoomout"] .layout-container .photogallery-column .photoGalleryThumbs:hover .image-container a {
  transform: scale(1.06) !important;
}

/* Homepage "Alles voor jouw onderneming": keep closing line above CTA button */
#f2949e18 {
  row-gap: 1rem !important;
}

#f59d2f30 {
  margin-top: 1.5rem !important;
}

/* Features page icon grid (u_1329455277): uniform tiles, visible labels, smaller icons */
#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277 .layout-container.pinterest .photogallery-column .photoGalleryThumbs,
#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277 .layout-container.pinterest .photogallery-column .photoGalleryThumbs .thumbnailInnerWrapper,
#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277 .layout-container.pinterest .photogallery-column .photoGalleryThumbs .image-container {
  overflow: visible !important;
}

#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277 .layout-container.pinterest .photogallery-column .photoGalleryThumbs .image-container {
  width: 72% !important;
  max-width: 72% !important;
  margin-inline: auto !important;
}

#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277 .layout-container.pinterest .photogallery-column .photoGalleryThumbs.pinterest-low .image-container a,
#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277 .layout-container.pinterest .photogallery-column .photoGalleryThumbs.pinterest-high .image-container a,
#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277 .layout-container.pinterest .photogallery-column .photoGalleryThumbs .image-container a {
  padding-top: 100% !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277[data-image-hover-effect="zoomout"] .layout-container.pinterest .photogallery-column .photoGalleryThumbs .image-container a {
  transform: scale(0.82) !important;
}

#dmRoot #dm .dmPhotoGallery.newPhotoGallery.u_1329455277[data-image-hover-effect="zoomout"] .layout-container.pinterest .photogallery-column .photoGalleryThumbs:hover .image-container a {
  transform: scale(0.9) !important;
}

/* Waarom ZZPZO: shrink green card to content on mobile (Duda sets 714px min-height) */
@media (max-width: 767px) {
  [id="23a06cbf"],
  [id="9e4a72a7"] {
    min-height: 0 !important;
    height: auto !important;
  }

  [id="9e4a72a7"] {
    padding: 1.5rem 1rem 1.25rem !important;
    margin: 0 !important;
    row-gap: 1rem !important;
  }

  /* App page: fix cramped headings (Duda used line-height:0.5 + spacer h1s) */
  #dm .dmNewParagraph.u_2077578510 > h1.m-size-25,
  #dm .dmNewParagraph.u_2077578510 > p.m-size-25 {
    line-height: 1.2 !important;
    margin: 0.5rem 0 !important;
  }

  #dm .dmNewParagraph.u_2077578510 > h1.m-size-25 span,
  #dm .dmNewParagraph.u_2077578510 > p.m-size-25 span {
    font-family: Outfit, "Outfit Fallback", sans-serif !important;
    line-height: inherit !important;
  }

  /* App page "Wat kun je met de app?": show full phone mockup (rim + bottom) */
  #widget_k70 {
    width: 86.99% !important;
    height: auto !important;
    aspect-ratio: 719 / 1441;
    min-height: 0 !important;
  }

  #widget_k70 .u_1432646514,
  #widget_k70 #ssrWrap-1432646514,
  #widget_k70 [data-auto="slider-wrapper"],
  #widget_k70 [data-auto="actual-slider"],
  #widget_k70 [data-auto="slider-slides-container"],
  #widget_k70 [data-auto="fade-wrapper"],
  #widget_k70 .bElkjm,
  #widget_k70 [data-auto="slideSlot"],
  #widget_k70 .clxWl,
  #widget_k70 [data-grab="slide-media-container"] {
    height: 100% !important;
    min-height: 0 !important;
  }

  #widget_k70 [data-auto="slideSlot"],
  #widget_k70 .dUFnyf,
  #widget_k70 .clxWl,
  #widget_k70 [data-auto="slider-wrapper"] {
    overflow: visible !important;
  }

  #widget_k70 [data-auto="slideSlot"],
  #widget_k70 .dUFnyf {
    position: relative !important;
    inset: auto !important;
  }

  #widget_k70 [data-grab="slide-media-container"] {
    position: relative !important;
    inset: auto !important;
    overflow: visible !important;
  }

  #widget_k70 img[data-grab="slide-media"],
  #widget_k70 .fECgwp {
    object-fit: contain !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
  }
}

.runtime-module-container,
#site_content,
.dmBody {
  visibility: visible !important;
}

/* Entrance animation (replaces Duda bounceInCombo JS) */
@keyframes zzpzo-entrance {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#dmRoot .flex-element[data-anim-extended],
#dmRoot [data-anim-extended] {
  animation: zzpzo-entrance 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Button hover motion (replaces Duda hover polish) */
#dm .dmInner a.dmWidget,
#dm .dmInner .dmWidget.flexButton,
#dm .dmInner a.dmButtonLink {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease !important;
}

#dm .dmInner a.dmWidget:hover,
#dm .dmInner .dmWidget.flexButton:hover,
#dm .dmInner a.dmButtonLink:hover {
  transform: translateY(-3px);
}

#dm .dmInner a.dmWidget:active,
#dm .dmInner .dmWidget.flexButton:active {
  transform: translateY(-1px);
}

/* Social icon float hover without Duda JS */
[data-hover-effect="float"] {
  transition: transform 0.25s ease;
  display: inline-block;
}

[data-hover-effect="float"]:hover {
  transform: translateY(-8px);
}

/* Mobile drawer open state (toggled by static-interactions.js) */
.layout-drawer {
  transition: transform 0.3s ease, visibility 0.3s ease !important;
}

/* FAQ accordions (Duda widget-832a29; toggled by static-interactions.js) */
.widget-832a29 .accordion-title {
  cursor: pointer;
}

.widget-832a29 .section {
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  max-height: 0;
}

.widget-832a29 .accordion-item.expanded .section,
.widget-832a29 .accordion-wrapper[data-first-expanded="true"] .accordion-item:first-of-type .section {
  max-height: 30000px;
}

.widget-832a29 .accordion-item.expanded .arrow {
  transform: rotate(180deg);
}

.layout-drawer-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

body.zzpzo-drawer-open {
  overflow: hidden;
}

body.zzpzo-drawer-open .layout-drawer {
  visibility: visible !important;
  transform: translate(0, 0) !important;
  z-index: 100 !important;
}

body.zzpzo-drawer-open .layout-drawer-overlay {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 90 !important;
  pointer-events: auto !important;
}
