.mwd-content-slider {
  --mwd-left-bg: #08384d; /* fallback */
  --mwd-overlay: rgba(8, 56, 77, .55); /* image overlay */
  --mwd-min-h: 620px; /* default min height */
  --mwd-logo-w: 60%; /* default logo width */
  --mwd-cta-right: 62px; /* default CTA right offset */
  --mwd-cta-bottom: 48px; /* default CTA bottom offset */
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden; /* ensure off-screen slides are clipped */
}

.mwd-content-slider .mwd-track { overflow: hidden; min-height: var(--mwd-min-h); }
.mwd-content-slider .mwd-slides {
  display: flex;
  transition: transform .6s ease;
  will-change: transform;
  min-height: 100%;
}
.mwd-content-slider.mwd-rtl .mwd-slides { flex-direction: row-reverse; }
.mwd-content-slider .mwd-slide { position: relative; flex: 0 0 100%; min-height: var(--mwd-min-h); }

/* Layout: 1/3 left (content), 2/3 right (image) */
.mwd-content-slider .mwd-left {
  position: absolute;
  inset: 0 66.6667% 0 0; /* left 1/3 */
  background: var(--mwd-left-bg);
  color: #fff;
  display: flex;
}
.mwd-content-slider .mwd-left-inner{
  padding: 32px 32px 40px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: end;
  width: 100%;
}
.mwd-content-slider .mwd-logo { align-self: start; }
.mwd-content-slider .mwd-logo-img { max-width: var(--mwd-logo-w, 60%); height: auto; display: block; }
.mwd-content-slider .mwd-headline { margin: 0; align-self: end; color: #fff; }

/* Fixed left panel (only content fades, does not slide) */
.mwd-content-slider.mwd-has-fixed-left .mwd-left { display: none; }
.mwd-content-slider .mwd-left-fixed {
  position: absolute;
  inset: 0 66.6667% 0 0; /* same left 1/3 */
  background-color: var(--mwd-left-bg);
  color: #fff;
  display: flex;
  z-index: 2;
  transition: background-color .35s ease;
}
.mwd-content-slider .mwd-left-fixed .mwd-left-inner { width: 100%; padding: 32px 32px 40px; display: grid; grid-template-rows: auto 1fr; align-items: end; transition: opacity .35s ease; }
.mwd-content-slider .mwd-left-fixed .mwd-logo-img { max-width: var(--mwd-logo-w, 60%); height: auto; display: block; }

/* Right image area */
.mwd-content-slider .mwd-right { position: absolute; inset: 0 0 0 33.3334%; }
.mwd-content-slider .mwd-media { position: absolute; inset: 0; }
.mwd-content-slider .mwd-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mwd-content-slider .mwd-img-overlay { position: absolute; inset: 0; background: var(--mwd-overlay); z-index: 0; }

/* Per-slide CTA default positioning (also visible in Elementor before JS fixes it) */
.mwd-content-slider .mwd-right .elementor-widget-button { position: absolute; right: var(--mwd-cta-right); bottom: var(--mwd-cta-bottom); z-index: 2; }

/* Dedicated image track: clones of .mwd-media so images touch without gaps */
.mwd-content-slider.mwd-has-img-track .mwd-right .mwd-media { visibility: hidden; }
.mwd-content-slider .mwd-img-track { position: absolute; inset: 0 0 0 33.3334%; display: flex; transition: transform .6s ease; will-change: transform; }
.mwd-content-slider .mwd-img-item { position: relative; flex: 0 0 100%; }
.mwd-content-slider .mwd-img-item .mwd-media { position: absolute; inset: 0; }

/* Fixed CTA (bottom-right, fades with active slide) */
.mwd-content-slider.mwd-has-fixed-cta .mwd-right .mwd-cta { display: none; }
.mwd-content-slider .mwd-cta-fixed {
  position: absolute;
  z-index: 2;
  right: var(--mwd-cta-right);
  bottom: var(--mwd-cta-bottom);
}
.mwd-content-slider .mwd-cta-fixed-inner { transition: opacity .35s ease; }

/* When fixed CTA is present, hide the per-slide button widget */
.mwd-content-slider.mwd-has-fixed-cta .mwd-right .elementor-widget-button { display: none; }

/* Navigation (copy from header slider, scoped) */
.mwd-content-slider .mwd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .45) !important;
  color: #fff !important;
  border: 0;
  border-radius: 0;
  width: 29px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  padding: 0;
}
.mwd-content-slider .mwd-prev { left: 1rem }
.mwd-content-slider .mwd-prev:hover { padding-right: 5px; }
.mwd-content-slider .mwd-next { right: 1rem }
.mwd-content-slider .mwd-next:hover { padding-left: 5px; }
.mwd-content-slider .mwd-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px }

/* Dots (copy from header slider) */
.mwd-content-slider .mwd-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
  z-index: 3;
  align-items: center;
}
.mwd-content-slider .mwd-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 0;
  display: block;
  cursor: pointer;
  padding: 0;
}
.mwd-content-slider .mwd-dot[aria-current="true"],
.mwd-content-slider .mwd-dot:focus-visible {
  width: 18px;
  height: 18px;
  background: #08384d;
  border-radius: 50%
}

/* Mobile: stack vertically */
@media (max-width: 767px){
  .mwd-content-slider .mwd-left { position: static; inset: auto; background: var(--mwd-left-bg); }
  .mwd-content-slider .mwd-right { position: static; inset: auto; }
  .mwd-content-slider .mwd-slide { display: grid; grid-template-rows: auto 1fr; min-height: 0; }
  .mwd-content-slider .mwd-media { position: relative; min-height: 45vh; }
  .mwd-content-slider .mwd-cta-fixed { inset: auto 16px 16px 0; }
}