.elementor .mrw-services, .mrw-services {
  --mrw-viewport-height: 100svh;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: var(--mrw-viewport-height, 100svh);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: none;
  background: #101114;
}
@supports (height: 100dvh) {
  .elementor .mrw-services, .mrw-services { --mrw-viewport-height: 100dvh; }
}
html.mrw-services-page, body.mrw-services-page { background: #101114; overscroll-behavior-y: none; }
.mrw-services.is-touch-scrolling { scroll-snap-type: none; scroll-behavior: auto; }
.mrw-services > .e-collection-loop-layout-base {
  /* The grid must grow inside the scroller, rather than shrink its rows. */
  min-height: 0;
  grid-auto-rows: auto;
  align-content: start;
}
.mrw-services .mrw-service {
  position: relative;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: var(--mrw-viewport-height, 100svh);
  background: #101114;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.mrw-gallery {
  --mrw-control-color: #fff;
  position: relative;
  width: 100%;
  min-width: 0;
  color: var(--mrw-control-color);
  background: #101114;
}
.elementor-widget-mrwolf-gallery { width: 100%; min-width: 0; }
.mrw-gallery__rail {
  display: flex;
  width: 100%;
  height: 100vh;
  height: var(--mrw-viewport-height, 100svh);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.mrw-gallery__rail::-webkit-scrollbar { display: none; }
.mrw-gallery__rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.mrw-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #101114;
}
.mrw-gallery__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / .45), transparent 85%), linear-gradient(0deg, rgb(0 0 0 / .65), transparent 65%);
  pointer-events: none;
}
.mrw-gallery__media {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: var(--mrw-position, center center);
}
.mrw-gallery__play {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  min-height: 88px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: rgb(0 0 0 / .85);
  font: inherit;
  cursor: pointer;
}
.mrw-gallery__play span { font-size: 40px; line-height: 1; margin-left: 5px; }
.mrw-gallery__video-enhanced::-webkit-media-controls-start-playback-button { display: none !important; }
.mrw-gallery__play[hidden], .mrw-gallery__video-status[hidden] { display: none; }
.mrw-gallery__video-status {
  position: absolute;
  z-index: 6;
  inset: auto 20px 210px;
  padding: 12px;
  background: #101114;
  color: #fff;
}
.mrw-gallery__caption {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 4vw, 64px);
  right: 180px;
  bottom: 84px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  max-height: 25%;
  overflow: auto;
}
.mrw-gallery__caption strong, .mrw-gallery__caption span { display: block; }
.mrw-gallery__caption details { margin-top: 8px; }
.mrw-gallery__caption summary { cursor: pointer; }
.mrw-gallery__controls {
  position: absolute;
  z-index: 5;
  right: clamp(16px, 3vw, 48px);
  bottom: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  border-radius: 40px;
  background: rgb(0 0 0 / .8);
}
.mrw-gallery__controls[hidden] { display: none; }
.mrw-gallery__controls button, .mrw-service-menu button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 24px;
  background: #101114;
  color: var(--mrw-control-color, #fff);
  font: inherit;
  cursor: pointer;
}
.mrw-gallery__controls button:disabled { opacity: .45; cursor: default; }
.mrw-gallery__counter { min-width: 45px; text-align: center; font-size: 14px; }
.mrw-gallery :focus-visible, .mrw-gallery:focus-visible, .mrw-service-menu :focus-visible, .mrw-services:focus-visible {
  outline: 3px solid #78baff;
  outline-offset: -4px;
}
:where(.mrw-service-title) { font-size: clamp(44px, 7vw, 112px); line-height: 1.05; }
:where(.mrw-service-description) { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.5; }
.mrw-service-menu {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 50;
  color: #fff;
  font-size: 16px;
}
.admin-bar .mrw-service-menu { top: 48px; }
.mrw-service-menu__links {
  display: grid;
  max-height: min(70vh, 600px);
  overflow: auto;
  margin-top: 8px;
  padding: 8px;
  min-width: 240px;
  border: 1px solid #70757c;
  border-radius: 12px;
  background: #101114;
}
.mrw-service-menu__links[hidden] { display: none; }
.mrw-service-menu a { padding: 12px; color: #fff; text-decoration: none; }
.mrw-service-menu a[aria-current="true"] { background: #245e9e; border-radius: 6px; }

@media (min-width: 768px) and (orientation: landscape) and (min-height: 601px) {
  .elementor .mrw-services .mrw-service {
    display: block;
    padding: 0;
  }
  .mrw-gallery__intro {
    position: absolute;
    z-index: 4;
    top: 18%;
    left: clamp(24px, 5vw, 80px);
    width: min(65%, 1000px);
    max-height: 64%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vh, 48px);
    text-shadow: 0 2px 15px rgb(0 0 0 / .6);
  }
  .elementor .mrw-services .mrw-gallery__intro > .mrw-service-title,
  .elementor .mrw-services .mrw-gallery__intro > .mrw-service-description {
    position: static;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    margin: 0;
    color: #fff;
    overflow-wrap: anywhere;
  }
  .elementor .mrw-services .mrw-gallery__intro > .mrw-service-title { line-height: 1.08; }
  .elementor .mrw-services .mrw-gallery__intro > .mrw-service-description { max-width: 720px; line-height: 1.5; }
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) and (min-height: 601px) {
  .mrw-gallery__intro {
    top: 12%;
    left: 4%;
    width: 36%;
    max-width: 36%;
    max-height: 66%;
    gap: 24px;
    box-sizing: border-box;
  }
  .elementor .mrw-services .mrw-gallery__intro > .mrw-service-title { font-size: clamp(30px, 3.2vw, 44px); }
  .elementor .mrw-services .mrw-gallery__intro > .mrw-service-description { font-size: clamp(16px, 1.5vw, 20px); }
}

@media (orientation: portrait), (max-width: 767px), (max-height: 600px) {
  .elementor .mrw-services .mrw-service { display: flex; flex-direction: column; gap: 16px; padding: 80px 0 48px; }
  .elementor .mrw-services .mrw-service-title,
  .elementor .mrw-services .mrw-service-description { position: static; margin: 0 20px; width: auto; max-width: none; overflow-wrap: anywhere; }
  .elementor .mrw-services .mrw-service-title { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.1; }
  .elementor .mrw-services .mrw-service-description { font-size: clamp(16px, 2.2vw, 18px); line-height: 1.5; }
  .mrw-gallery__rail { height: auto; aspect-ratio: 16 / 10; }
  .mrw-gallery__caption { left: 16px; right: 16px; bottom: 48px; max-height: 40%; font-size: 12px; }
  .mrw-gallery__controls { position: static; justify-content: center; border-radius: 0; padding: 12px; }
  .mrw-gallery__slide::after { background: linear-gradient(0deg, rgb(0 0 0 / .55), transparent 60%); }
  .mrw-gallery__video-status { bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .mrw-gallery__rail, .mrw-services { scroll-behavior: auto !important; }
}
.elementor-editor-active .elementor .mrw-services { height: auto; overflow: visible; scroll-snap-type: none; }
