/* Widget styles only. No theme, page-scroll or body overrides. */
.jbw {
  --jbw-max-width: 1280px;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  min-width: 0;
  font-family: "Recia", Georgia, serif;
  font-size: clamp(1.125rem, 1.08rem + .1vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  color: #1b1914;
}
.jbw *, .jbw *::before, .jbw *::after { box-sizing: border-box; }
.jbw .jbw-inner { width: 100%; max-width: var(--jbw-max-width); min-width: 0; margin-inline: auto; }
.jbw h1, .jbw h2, .jbw h3, .jbw h4, .jbw h5, .jbw h6, .jbw p, .jbw figure { margin: 0; color: inherit; }
.jbw h1, .jbw h2, .jbw h3, .jbw h4, .jbw h5, .jbw h6 { font-family: "Erode", Georgia, serif; font-weight: 500; }
.jbw a { color: inherit; }
.jbw p + p { margin-block-start: .85em; }
.jbw a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.jbw .jbw-label {
  --jbw-font-min: .75rem; --jbw-font-max: .9rem; --jbw-font-fluid: 1vw;
  font-family: "Recia", Georgia, serif;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.jbw-pipeline__heading, .jbw-pipeline__title, .jbw-stack__title { text-wrap: balance; overflow-wrap: anywhere; }
.jbw-pipeline__copy, .jbw-stack__copy, .jbw-stack__lead, .jbw-logo__caption { overflow-wrap: anywhere; }

/* Pipeline: content stays in normal flow; SVG is measured from the real text height. */
.jbw-pipeline {
  --jbw-spine-width: 24%; --jbw-step-space: 70px; --jbw-line-width: 1px;
  --jbw-line-color: #eeebe3; --jbw-line-base: #eeebe32b; --jbw-dot-color: #eeebe3;
  --jbw-dot-size: 9px; --jbw-trigger: 72%;
  padding: clamp(48px, 7vw, 120px) clamp(20px, 6vw, 130px);
  color: #eeebe3;
  background: #565b41;
}
.jbw-pipeline__intro { width: min(100%, 760px); margin-block-end: clamp(32px, 5vw, 80px); }
.jbw-pipeline__intro--right { margin-inline-start: auto; max-width: 65%; }
.jbw-pipeline__intro--center { margin-inline: auto; text-align: center; }
.jbw-pipeline__heading {
  --jbw-font-min: 2.5rem; --jbw-font-max: 6rem; --jbw-font-fluid: 6vw;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  line-height: 1.02;
  margin-block: .2em .25em !important;
}
.jbw-pipeline__intro .jbw-pipeline__copy { max-width: 55ch; }
.jbw-pipeline__track { position: relative; }
.jbw-pipeline__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.jbw-pipeline__svg path { fill: none; stroke-width: var(--jbw-line-width); stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* The unrevealed line is hidden by default. A subtle guide can be enabled in Elementor. */
.jbw-pipeline__svg .jbw-path-base { stroke: var(--jbw-line-base); }
.jbw-pipeline.is-enhanced:not(.is-static) .jbw-pipeline__base { opacity: 0; }
.jbw-pipeline.is-enhanced:not(.is-static)[data-show-base="yes"] .jbw-pipeline__base { opacity: 1; }
.jbw-pipeline__svg .jbw-path-progress { stroke: var(--jbw-line-color); }
.jbw-pipeline__steps { list-style: none; margin: 0; padding: 0; }
.jbw-pipeline__step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--jbw-spine-width) minmax(0, 1fr);
  align-items: start;
  padding-block: var(--jbw-step-space);
  margin: 0;
}
/* Keep content accessible without JS; animate only after initialization. */
.jbw-pipeline__panel { min-width: 0; position: relative; }
.jbw-pipeline.is-enhanced:not(.is-static)[data-reveal-text="yes"] .jbw-pipeline__panel {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .65s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}
.jbw-pipeline.is-enhanced:not(.is-static)[data-reveal-text="yes"] .jbw-pipeline__step.is-reached .jbw-pipeline__panel {
  opacity: 1;
  transform: none;
}
.jbw-pipeline__step--left .jbw-pipeline__panel { grid-column: 1; padding-inline-end: 28px; }
.jbw-pipeline__step--right .jbw-pipeline__panel { grid-column: 3; padding-inline-start: 28px; }
.jbw-pipeline__dot {
  position: absolute;
  top: calc(var(--jbw-step-space) + 1rem);
  width: var(--jbw-dot-size); height: var(--jbw-dot-size);
  border-radius: 50%; background: var(--jbw-dot-color);
  transform: translate(-50%, -50%);
  opacity: 1; transition: opacity .2s linear;
}
.jbw-pipeline.is-enhanced:not(.is-static) .jbw-pipeline__dot { opacity: 0; }
.jbw-pipeline__step--left .jbw-pipeline__dot { left: calc((100% - var(--jbw-spine-width)) / 2); }
.jbw-pipeline__step--right .jbw-pipeline__dot { left: calc((100% + var(--jbw-spine-width)) / 2); }
.jbw-pipeline__step.is-reached .jbw-pipeline__dot, .jbw.is-static .jbw-pipeline__dot { opacity: 1; }
.jbw-pipeline__title {
  --jbw-font-min: 1.6rem; --jbw-font-max: 2.6rem; --jbw-font-fluid: 3.1vw;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  line-height: 1.1;
  margin-block-end: .35em !important;
}
.jbw-pipeline__panel .jbw-label { display: block; margin-block-end: .8em; }
.jbw-pipeline__copy, .jbw-stack__copy {
  --jbw-font-min: 1.125rem; --jbw-font-max: 1.25rem; --jbw-font-fluid: 1.25vw;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  line-height: 1.65;
}

/* Cards use the browser's native sticky positioning, including touch scrolling. */
.jbw-stack {
  --jbw-sticky-top: 88px; --jbw-admin-offset: 0px;
  --jbw-card-min-height: 560px; --jbw-card-gap: 0px; --jbw-card-radius: 0px;
  --jbw-card-padding: 64px; --jbw-card-column-gap: 64px;
  --jbw-card-image-width: 38%; --jbw-card-image-height: 400px;
  --jbw-card-border: #1b191426;
  background: #eeebe3;
}
.jbw-stack__list { position: relative; isolation: isolate; }
.jbw-stack__anchor { display: block; height: 0; pointer-events: none; }
.jbw-stack__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--jbw-card-column-gap);
  min-height: var(--jbw-card-min-height);
  padding: var(--jbw-card-padding);
  margin-block-end: var(--jbw-card-gap);
  border-top: 1px solid var(--jbw-card-border);
  border-radius: var(--jbw-card-radius);
  background: #eeebe3;
  color: #1b1914;
  z-index: calc(var(--jbw-card-index) + 1);
}
.jbw-stack.is-enhanced:not(.is-static) .jbw-stack__card:not(.is-tall) {
  position: sticky;
  top: calc(var(--jbw-sticky-top) + var(--jbw-admin-offset));
}
.jbw-stack__card:last-child { margin-block-end: 0; }
.jbw-stack__card:nth-of-type(3n + 2) { background: #565b41; color: #eeebe3; }
.jbw-stack__card:nth-of-type(3n + 3) { background: #a27858; color: #eeebe3; }
.jbw-stack__card.has-image { grid-template-columns: minmax(0, 1fr) var(--jbw-card-image-width); }
.jbw-stack__card.has-image.image-left { grid-template-columns: var(--jbw-card-image-width) minmax(0, 1fr); }
.jbw-stack__card.has-image.image-left .jbw-stack__image { grid-column: 1; grid-row: 1; }
.jbw-stack__card.has-image.image-left .jbw-stack__text { grid-column: 2; grid-row: 1; }
.jbw-stack__text { min-width: 0; }
.jbw-stack__text > .jbw-label { margin-block-end: clamp(20px, 3vw, 44px); }
.jbw-stack__number { margin-inline-end: 1.5em; font-variant-numeric: tabular-nums; }
.jbw-stack__title {
  --jbw-font-min: 2rem; --jbw-font-max: 4rem; --jbw-font-fluid: 5vw;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  line-height: 1.03;
  margin-block-end: .5em !important;
}
.jbw-stack__lead {
  --jbw-font-min: 1.25rem; --jbw-font-max: 1.7rem; --jbw-font-fluid: 2vw;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  line-height: 1.45;
  margin-block-end: 1em !important;
}
.jbw-stack__copy { max-width: 52ch; }
.jbw-stack__image { width: 100%; height: var(--jbw-card-image-height); min-width: 0; overflow: hidden; }
.jbw-stack__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jbw-stack__button {
  --jbw-font-min: 1rem; --jbw-font-max: 1.2rem; --jbw-font-fluid: 1.25vw;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 44px;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  margin-block-start: 1.4em;
  padding-block: .4em;
}
.jbw-stack__button span { transition: transform .2s ease; }
@media (hover: hover) { .jbw-stack__button:hover span { transform: translate(3px, -3px); } }

/* Logo: readable by default; enhanced only after a successful measurement. */
.jbw-logo {
  --jbw-logo-color: #eeebe3; --jbw-logo-width: 80%; --jbw-logo-stroke: 2px;
  --jbw-sticky-top: 88px; --jbw-admin-offset: 0px;
  --jbw-scroll-vh: 70; --jbw-stage-vh: 65;
  --jbw-scroll-distance: calc(var(--jbw-scroll-vh) * 1vh); --jbw-stage-height: calc(var(--jbw-stage-vh) * 1vh);
  --jbw-reveal-start: 0%; --jbw-reveal-end: 100%;
  background: #565b41; color: #eeebe3;
  padding: 0 clamp(20px, 6vw, 130px);
}
.jbw-logo__stage {
  position: relative; display: grid; align-items: center;
  min-height: var(--jbw-stage-height);
  padding-block: clamp(32px, 4vw, 64px);
}
.jbw-logo__content { text-align: center; }
.jbw-logo__art { width: var(--jbw-logo-width); margin-inline: auto; color: var(--jbw-logo-color); }
.jbw-logo__image, .jbw-logo__vector, .jbw-logo__filled { display: block; width: 100%; height: auto; max-height: 65vh; object-fit: contain; }
.jbw-logo__vector { overflow: visible; }
.jbw-logo__vector :is(path, circle, ellipse, line, polyline, polygon, rect) { stroke-width: var(--jbw-logo-stroke); }
@supports ((mask-image: url("")) or (-webkit-mask-image: url(""))) {
  .jbw-logo__art.is-tinted { position: relative; }
  .jbw-logo__art.is-tinted .jbw-logo__image { opacity: 0; }
  .jbw-logo__art.is-tinted::after {
    content: ""; position: absolute; inset: 0; background-color: var(--jbw-logo-color);
    -webkit-mask: var(--jbw-logo-image) center / contain no-repeat;
    mask: var(--jbw-logo-image) center / contain no-repeat;
    pointer-events: none;
  }
}
.jbw-logo.is-enhanced.is-pinned:not(.is-static) { min-height: calc(max(var(--jbw-stage-height), 100vh - var(--jbw-sticky-top) - var(--jbw-admin-offset)) + var(--jbw-scroll-distance)); }
.jbw-logo.is-enhanced.is-pinned:not(.is-static) .jbw-logo__stage { position: sticky; top: calc(var(--jbw-sticky-top) + var(--jbw-admin-offset)); }
.jbw-logo__caption {
  --jbw-font-min: 1.125rem; --jbw-font-max: 1.5rem; --jbw-font-fluid: 1.5vw;
  font-size: clamp(var(--jbw-font-min), var(--jbw-font-fluid), var(--jbw-font-max));
  line-height: 1.5;
  margin: clamp(24px, 4vw, 56px) auto 0 !important;
  max-width: 55ch;
}

/* A background widget fills its parent container without becoming a flex/grid item. */
.elementor-element.jbw-logo-background-host { isolation: isolate; }
.jbw-logo-background-host > .e-con-inner { position: static; }
.jbw-logo-background-host > .elementor-element:not(.jbw-logo-background-widget):not(.jbw-logo-placement-background),
.jbw-logo-background-host > .e-con-inner > .elementor-element:not(.jbw-logo-background-widget):not(.jbw-logo-placement-background) { z-index: 1; }
.elementor-element.jbw-logo-background-widget,
.elementor-element.jbw-logo-placement-background {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: auto !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: var(--border-radius, 0);
}
.jbw-logo-background-widget > .elementor-widget-container,
.jbw-logo-placement-background > .elementor-widget-container { height: 100%; }
.jbw-logo[data-placement="background"] {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--jbw-logo-opacity, 20%);
}
.jbw-logo[data-placement="background"] .jbw-logo__stage {
  position: absolute !important; inset: 0;
  width: 100%; height: 100%; min-height: 0;
  padding: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}
.jbw-logo[data-placement="background"] .jbw-logo__content {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: none; height: 100%; min-height: 0; min-width: 0;
}
.jbw-logo[data-placement="background"] .jbw-logo__art { height: 100%; min-height: 0; min-width: 0; margin: 0; flex-shrink: 0; }
.jbw-logo[data-placement="background"] .jbw-logo__image,
.jbw-logo[data-placement="background"] .jbw-logo__vector,
.jbw-logo[data-placement="background"] .jbw-logo__filled {
  width: 100%; height: 100%; max-height: none;
  object-fit: var(--jbw-logo-fit, contain);
  object-position: var(--jbw-logo-position, center center);
}
.jbw-logo[data-placement="background"] .jbw-logo__art.is-tinted::after {
  -webkit-mask-size: var(--jbw-logo-fit, contain);
  mask-size: var(--jbw-logo-fit, contain);
  -webkit-mask-position: var(--jbw-logo-position, center center);
  mask-position: var(--jbw-logo-position, center center);
}
.jbw-logo[data-placement="background"][data-bg-position^="left"] .jbw-logo__content { justify-content: flex-start; }
.jbw-logo[data-placement="background"][data-bg-position^="right"] .jbw-logo__content { justify-content: flex-end; }

/* The background alone stays at viewport coordinates. Its own clip limits it to the section. */
.jbw-logo[data-placement="background"].is-bg-fixed { overflow: visible; }
.jbw-logo[data-placement="background"].is-bg-fixed .jbw-logo__stage {
  position: fixed !important;
  inset: auto !important;
  top: var(--jbw-bg-screen-top, 0px) !important;
  left: var(--jbw-bg-screen-left, 0px) !important;
  width: var(--jbw-bg-screen-width, 100vw);
  height: calc(100vh - var(--jbw-bg-screen-top, 0px));
  overflow: hidden;
  clip-path: inset(var(--jbw-bg-clip-top, 0px) 0 var(--jbw-bg-clip-bottom, 0px) 0);
}
.jbw-logo[data-placement="background"].is-bg-fallback { overflow: hidden; }
.jbw-logo[data-placement="background"].is-bg-fallback .jbw-logo__stage {
  position: absolute !important; top: 0 !important; left: 0 !important; width: 100%;
}
@supports (height: 1svh) {
  .jbw-logo[data-placement="background"].is-bg-fixed .jbw-logo__stage { height: calc(100svh - var(--jbw-bg-screen-top, 0px)); }
}

@media (max-width: 1024px) {
  .jbw-pipeline { --jbw-step-space: 52px; }
  .jbw-pipeline__intro--right { max-width: 80%; }
  .jbw-stack { --jbw-sticky-top: 72px; --jbw-card-padding: 40px; --jbw-card-column-gap: 32px; }
  .jbw-logo { --jbw-sticky-top: 72px; }
}
@media (max-width: 767px) {
  .jbw-pipeline { --jbw-step-space: 38px; }
  .jbw-pipeline__intro--right, .jbw-pipeline__intro--left, .jbw-pipeline__intro--center { width: 100%; max-width: 100%; }
  .jbw-pipeline__step { grid-template-columns: 48px minmax(0, 1fr); }
  .jbw-pipeline__step--left .jbw-pipeline__panel, .jbw-pipeline__step--right .jbw-pipeline__panel { grid-column: 2; padding-inline: 0; }
  .jbw-pipeline__step--left .jbw-pipeline__dot { left: 12px; }
  .jbw-pipeline__step--right .jbw-pipeline__dot { left: 28px; }
  .jbw-stack { --jbw-sticky-top: 16px; --jbw-card-min-height: 0px; --jbw-card-padding: 24px; --jbw-card-column-gap: 24px; --jbw-card-image-height: 210px; }
  .jbw-stack__card.has-image, .jbw-stack__card.has-image.image-left { grid-template-columns: minmax(0, 1fr); }
  .jbw-stack__card.has-image.image-left .jbw-stack__text, .jbw-stack__card.has-image.image-left .jbw-stack__image { grid-column: auto; grid-row: auto; }
  .jbw-stack[data-mobile-image="before"] .jbw-stack__image { grid-row: 1; }
  .jbw-stack__image { max-width: 100%; }
  .jbw-logo { --jbw-sticky-top: 16px; --jbw-stage-vh: 50; --jbw-scroll-vh: 45; --jbw-logo-width: 95%; }
}
@supports (height: 1svh) {
  .jbw-logo { --jbw-stage-height: calc(var(--jbw-stage-vh) * 1svh); --jbw-scroll-distance: calc(var(--jbw-scroll-vh) * 1svh); }
  .jbw-logo.is-enhanced.is-pinned:not(.is-static) { min-height: calc(max(var(--jbw-stage-height), 100svh - var(--jbw-sticky-top) - var(--jbw-admin-offset)) + var(--jbw-scroll-distance)); }
}
/* Hard safety fallback even when JS hasn't loaded or the OS preference changes. */
@media (prefers-reduced-motion: reduce), print {
  .jbw .jbw-stack__card, .jbw .jbw-logo__stage { position: relative !important; top: auto !important; }
  .jbw.jbw-logo { min-height: 0 !important; }
  .jbw .jbw-logo__art { clip-path: none !important; opacity: 1 !important; }
  .jbw .jbw-logo__vector * { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .jbw .jbw-logo__filled .jbw-logo__original { mask: none !important; }
    .jbw .jbw-pipeline__reveal { clip-path: none !important; }
  .jbw .jbw-pipeline__panel { opacity: 1 !important; transform: none !important; }
  .jbw .jbw-pipeline__dot { opacity: 1 !important; transition: none !important; }
  .jbw * { transition-duration: 0s !important; }
  .jbw-logo[data-placement="background"].is-bg-fixed .jbw-logo__stage {
    position: relative !important; top: auto !important; left: auto !important;
    width: 100% !important; height: 100% !important;
    clip-path: none !important; transform: none !important; visibility: visible !important;
  }
}

/* Overlapping photos: one grid row reserves the complete composition height. No JS. */
.elementor-widget-jbw-overlapping-images > .elementor-widget-container { height: auto; }
.jbw-overlap {
  --jbw-pair-max: 1480px;
  --jbw-pair-overlap: 20%;
  --jbw-pair-offset: 22%;
  --jbw-pair-ratio: 37 / 26;
  --jbw-pair-radius: 20px;
  --jbw-pair-fit: cover;
  --jbw-single-left: block;
  --jbw-single-right: none;
  width: 100%; max-width: var(--jbw-pair-max); min-width: 0;
  margin-inline: auto;
  line-height: 0;
  container: jbw-overlap / inline-size;
  /* Give wrapping flex parents an intrinsic width during their first layout pass. */
  contain-intrinsic-inline-size: 740px;
}
.jbw-overlap__scene {
  --jbw-pair-left: var(--jbw-auto-left, block);
  --jbw-pair-right: var(--jbw-auto-right, block);
  --jbw-pair-col-left: var(--jbw-auto-col-left, 1 / 3);
  --jbw-pair-col-right: var(--jbw-auto-col-right, 2 / 4);
  --jbw-pair-shift: var(--jbw-auto-shift, 1);
  display: var(--jbw-scene-display, grid);
  flex-direction: column;
  grid-template-columns: minmax(0, 1fr) clamp(0%, var(--jbw-pair-overlap), 40%) minmax(0, 1fr);
  align-items: start;
  isolation: isolate;
  min-width: 0;
}
.jbw-overlap .jbw-overlap__photo {
  grid-row: 1;
  position: relative;
  min-width: 0;
  width: var(--jbw-pair-photo-width, 100%);
  margin: 0;
  aspect-ratio: var(--jbw-pair-ratio);
  overflow: hidden;
  border-radius: var(--jbw-pair-radius);
}
.jbw-overlap .jbw-overlap__photo--left {
  display: var(--jbw-pair-left);
  grid-column: var(--jbw-pair-col-left);
  align-self: var(--jbw-photo-left-self, auto);
  order: var(--jbw-order-left, 1);
  z-index: 1;
}
.jbw-overlap .jbw-overlap__photo--right {
  display: var(--jbw-pair-right);
  grid-column: var(--jbw-pair-col-right);
  align-self: var(--jbw-photo-right-self, auto);
  order: var(--jbw-order-right, 2);
  z-index: 1;
}
.jbw-overlap[data-front="left"] .jbw-overlap__photo--left,
.jbw-overlap[data-front="right"] .jbw-overlap__photo--right { z-index: 2; }
.jbw.jbw-overlap[data-higher="right"] .jbw-overlap__photo.jbw-overlap__photo--left,
.jbw.jbw-overlap[data-higher="left"] .jbw-overlap__photo.jbw-overlap__photo--right {
  margin-block-start: calc(var(--jbw-pair-offset) * var(--jbw-pair-shift) + var(--jbw-vertical-overlap, 0%));
}
.jbw-overlap .jbw-overlap__photo img {
  display: block;
  width: 100%; height: 100%; max-width: 100%; max-height: none;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  object-fit: var(--jbw-pair-fit);
  object-position: var(--jbw-photo-x, 50%) var(--jbw-photo-y, 50%);
}
.jbw-overlap[data-ratio-mode="native"] .jbw-overlap__photo { aspect-ratio: auto; }
.jbw-overlap[data-ratio-mode="native"] .jbw-overlap__photo img { height: auto; }
@container jbw-overlap (max-width: 440px) {
  .jbw-overlap__scene {
    --jbw-auto-left: var(--jbw-single-left);
    --jbw-auto-right: var(--jbw-single-right);
    --jbw-auto-col-left: 1 / -1;
    --jbw-auto-col-right: 1 / -1;
    --jbw-auto-shift: 0;
  }
}
/* In vertical mode the photo that is marked higher renders first. The lower photo
   uses negative flow margin: overlap without absolute positioning or fixed height. */
.jbw-overlap[data-higher="right"] {
  --jbw-order-left: 2;
  --jbw-order-right: 1;
}
.jbw.jbw-overlap[data-higher="equal"] .jbw-overlap__photo.jbw-overlap__photo--right {
  margin-block-start: var(--jbw-vertical-overlap, 0%);
}
/* Missing images: preserve a full-width photograph even in vertical mode. */
/* Clearing one media field always leaves the available photo visible at full width. */
.jbw-overlap[data-single="left"] .jbw-overlap__photo--left,
.jbw-overlap[data-single="right"] .jbw-overlap__photo--right {
  display: block !important;
  grid-column: 1 / -1 !important;
  margin-block-start: 0 !important;
  width: 100% !important;
}


/* Laptop / smalle desktop: 1045–1750px, ook zonder extra Elementor-breakpoints.
   Alleen van toepassing op de overlappende-afbeeldingen-widget. De Elementor
   weergaveinstellingen voor desktop, tablet en mobiel blijven elders leidend. */
@media (min-width: 1045px) and (max-width: 1750px) {
  .jbw-overlap[data-mid-desktop="yes"] .jbw-overlap__scene {
    /* Elementor genereert eventueel eigen layout-vars; overschrijf ze uitsluitend
       voor deze expliciet gekozen viewportband. */
    --jbw-scene-display: flex !important;
    --jbw-pair-photo-width: var(--jbw-mid-photo-width, 82%) !important;
    --jbw-photo-left-self: flex-start !important;
    --jbw-photo-right-self: flex-end !important;
    --jbw-vertical-overlap: calc(-1 * var(--jbw-mid-overlap, 22%)) !important;
    --jbw-pair-left: block !important;
    --jbw-pair-right: block !important;
    --jbw-pair-col-left: 1 / -1 !important;
    --jbw-pair-col-right: 1 / -1 !important;
    --jbw-pair-shift: 0 !important;
  }
}


/* Small laptop bridge (1025–1044px): Elementor's normal tablet breakpoint
   stops at 1024px. Reuse the tablet layout selected in the widget. */
@media (min-width: 1025px) and (max-width: 1044px) {
  .jbw-overlap[data-tablet-layout="overlap"] .jbw-overlap__scene {
    --jbw-scene-display: grid !important;
    --jbw-pair-photo-width: 100% !important;
    --jbw-photo-left-self: auto !important;
    --jbw-photo-right-self: auto !important;
    --jbw-vertical-overlap: 0% !important;
    --jbw-pair-left: block !important;
    --jbw-pair-right: block !important;
    --jbw-pair-col-left: 1 / 3 !important;
    --jbw-pair-col-right: 2 / 4 !important;
    --jbw-pair-shift: 1 !important;
  }
  .jbw-overlap[data-tablet-layout="stacked"] .jbw-overlap__scene {
    --jbw-scene-display: flex !important;
    --jbw-pair-photo-width: var(--jbw-stack-width, 86%) !important;
    --jbw-photo-left-self: flex-start !important;
    --jbw-photo-right-self: flex-end !important;
    --jbw-vertical-overlap: calc(-1 * var(--jbw-stack-overlap, 32%)) !important;
    --jbw-pair-left: block !important;
    --jbw-pair-right: block !important;
    --jbw-pair-shift: 0 !important;
  }
  .jbw-overlap[data-tablet-layout="single"] .jbw-overlap__scene {
    --jbw-scene-display: grid !important;
    --jbw-pair-photo-width: 100% !important;
    --jbw-vertical-overlap: 0% !important;
    --jbw-pair-col-left: 1 / -1 !important;
    --jbw-pair-col-right: 1 / -1 !important;
    --jbw-pair-shift: 0 !important;
  }
  .jbw-overlap[data-tablet-layout="single"][data-tablet-single="left"] .jbw-overlap__scene {
    --jbw-pair-left: block !important;
    --jbw-pair-right: none !important;
  }
  .jbw-overlap[data-tablet-layout="single"][data-tablet-single="right"] .jbw-overlap__scene {
    --jbw-pair-left: none !important;
    --jbw-pair-right: block !important;
  }
}
