/* Remove Webnode's promotion from the migrated, standalone site. */
.wnd-free-stripe, [class*="wnd-free-stripe"], .wnd-free-bar, #wnd-free-bar,
.wnd-free-bar-container, .wnd-free-sticker, .wnd-free-bar-fixed .wnd-free-bar {
  display: none !important;
}
body.wnd-free-bar-fixed { padding-bottom: 0 !important; }
.mt-faq-item .mt-faq-title { cursor: pointer; }
.mt-faq-item .mt-faq-title:focus-visible { outline: 2px solid #29436d; outline-offset: 3px; }
.mt-faq-item.close .mt-faq-text, .mt-faq-item .mt-faq-text[hidden] { display: none !important; }
.mt-faq-item.open .mt-faq-text { display: block !important; height: auto !important; opacity: 1 !important; max-height: none !important; visibility: visible !important; }
/* Preserve Webnode's four-column photo-grid layout, also on mobile. */
.stodola-gallery { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin: 22px auto 42px; width: 100%; }
.stodola-gallery-photo { display: block; border: 0; padding: 0; margin: 0; width: 100%; min-width: 0; background: #eee; cursor: zoom-in; overflow: hidden; aspect-ratio: 4/3; }
.stodola-gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.stodola-gallery-photo:hover img { transform: scale(1.04); }
.stodola-gallery-photo:focus-visible { outline: 3px solid #29436d; outline-offset: 3px; }
#stodola-lightbox[hidden] { display: none !important; }
#stodola-lightbox { position: fixed; z-index: 2147483640; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.94); color: white; }
#stodola-lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 88vw; max-height: 88vh; margin: 0; }
#stodola-lightbox figure img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; }
#stodola-lightbox figcaption { color: #ddd; font: 14px/1.5 sans-serif; margin-top: 8px; text-align: center; }
#stodola-lightbox button { position: absolute; color: white; border: 0; background: rgba(255,255,255,.14); cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font: 36px/1 sans-serif; display: flex; align-items: center; justify-content: center; }
#stodola-lightbox button:hover, #stodola-lightbox button:focus-visible { background: rgba(255,255,255,.3); }
#stodola-lightbox .stodola-lb-close { top: 20px; right: 20px; }
#stodola-lightbox .stodola-lb-prev { left: 14px; }
#stodola-lightbox .stodola-lb-next { right: 14px; }
#stodola-lightbox .stodola-lb-counter { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 13px sans-serif; color: #ddd; }
@media(max-width:850px) { .stodola-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; } }
@media(max-width:520px) { .stodola-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } #stodola-lightbox figure { width: 84vw; } #stodola-lightbox button { width: 38px; height: 38px; font-size: 29px; } }
@media(prefers-reduced-motion:reduce) { .stodola-gallery-photo img { transition: none; } }

/* Homepage background wedding film. Keep Webnode typography, logo and navigation on top. */
body.wt-home .s-hm.wnd-background-video { position: relative; isolation: isolate; overflow: hidden; }
body.wt-home .s-hm.wnd-background-video > .s-w,
body.wt-home .s-hm.wnd-background-video > .s-c { position: relative; z-index: 3; }
body.wt-home .s-hm.wnd-background-video .stodola-home-video {
  position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; background: #342d29;
}
body.wt-home .s-hm.wnd-background-video .stodola-home-video iframe,
body.wt-home .s-hm.wnd-background-video .stodola-home-video video {
  position: absolute; top: 50%; left: 50%; width: max(100%, 177.777vh);
  height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0;
}
body.wt-home .s-hm.wnd-background-video .stodola-home-video video { display: none; width: 100%; height: 100%; object-fit: cover; }
body.wt-home .s-hm.wnd-background-video .stodola-home-video.has-local-video video { display: block; }
body.wt-home .s-hm.wnd-background-video .stodola-home-video.has-local-video iframe { display: none; }
body.wt-home .s-hm.wnd-background-video .wnd-video-background,
body.wt-home .s-hm.wnd-background-video img.wnd-video-background { display: none !important; }

/* Full-viewport hero: cover the complete first screen without stretching the video. */
html, body { overflow-x: clip; }
body.wt-home .l-m .s-hm.wnd-background-video {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 100vh !important;
  height: 100svh !important;
  min-height: 640px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  background: #342d29;
}
body.wt-home .l-m .s-hm.wnd-background-video > .s-w {
  width: 100%;
  position: relative;
  z-index: 3;
}
body.wt-home .l-m .s-hm.wnd-background-video .stodola-home-video {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
body.wt-home .l-m .s-hm.wnd-background-video .stodola-home-video video {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  transform: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  image-rendering: auto;
}
body.wt-home .l-m .s-hm.wnd-background-video .stodola-home-video iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: max(100vw, 177.78vh) !important;
  height: max(100vh, 56.25vw) !important;
  transform: translate(-50%, -50%) !important;
}
@media (max-width: 700px) {
  body.wt-home .l-m .s-hm.wnd-background-video {
    min-height: 500px !important;
    height: 100svh !important;
  }
  body.wt-home .l-m .s-hm.wnd-background-video .stodola-home-video video {
    object-position: 50% 50% !important;
  }
}

/* Critical stacking fix: Webnode's .s-w/.s-bg-l contains the real hero
   background. Video now lives inside .s-bg-l, under only the heading. */
body.wt-home .l-m .s-hm.wnd-background-video > .s-w {
  height: 100% !important;
  min-height: 100% !important;
}
body.wt-home .l-m .s-hm.wnd-background-video > .s-w > .s-o {
  position: relative !important;
  min-height: 100% !important;
  height: 100% !important;
}
body.wt-home .l-m .s-hm.wnd-background-video .s-o > .s-bg {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  width: 100% !important;
  z-index: 0 !important;
}
body.wt-home .l-m .s-hm.wnd-background-video .s-bg > .s-bg-l.wnd-background-video {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: #342d29 url('/assets/hero.jpg') center / cover no-repeat !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.wt-home .l-m .s-hm.wnd-background-video .s-bg-l > .stodola-home-video {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.wt-home .l-m .s-hm.wnd-background-video .s-bg-l > .stodola-home-video video {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
}
body.wt-home .l-m .s-hm.wnd-background-video .s-o > .h-c.s-c {
  position: relative !important;
  z-index: 3 !important;
  background: transparent !important;
}
