body .oxy-ba-gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  font-family: "Raleway", sans-serif;
}

body .oxy-ba-shell {
  border: 1px solid rgba(38, 100, 174, 0.11);
  border-radius: 28px;
}

body .oxy-ba-card {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  border-radius: 22px;
  background: #f4f9fd;
  isolation: isolate;
  cursor: ew-resize;
  touch-action: none;
}

body .oxy-ba-half {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body .oxy-ba-before {
  background-image: var(--before-img);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

body .oxy-ba-after {
  background-image: var(--after-img);
  clip-path: inset(0 0 0 var(--pos));
}

body .oxy-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96) !important;
  z-index: 5;
  pointer-events: none;
}

body .oxy-ba-handle {
  position: absolute;
  left: var(--pos);
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  padding: 0;
  margin: 0;
  border: 0 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(38, 100, 174, 0.18);
  color: #2664ae;
  cursor: ew-resize;
  touch-action: none;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  transition: none !important;
  outline: none !important;
}

body .oxy-ba-card.is-dragging,
body .oxy-ba-card.is-dragging * {
  user-select: none;
}

body .oxy-ba-handle:hover,
body .oxy-ba-handle:focus,
body .oxy-ba-handle:active,
body .oxy-ba-handle:visited {
  background: #ffffff !important;
  outline: none !important;
  box-shadow: 0 10px 26px rgba(38, 100, 174, 0.18) !important;
}

body .oxy-ba-handle svg {
  width: 28px;
  height: 24px;
  stroke: #2664ae;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body .oxy-ba-handle:hover svg {
  stroke: #2bbfce !important;
}

body .oxy-ba-handle .arrow-left {
  transform: translateX(-3px);
}

body .oxy-ba-handle .arrow-right {
  transform: translateX(3px);
}

body .oxy-ba-pill {
  position: absolute;
  bottom: 14px;
  z-index: 7;
  min-height: 28px;
  padding: 0 17px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(38, 100, 174, 0.14);
}

body .oxy-ba-card.only-before .oxy-ba-after-pill,
body .oxy-ba-card.only-after .oxy-ba-before-pill {
  opacity: 0;
  transform: translateY(-4px);
}

body .oxy-ba-before-pill {
  left: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: #6f8da0;
}

body .oxy-ba-after-pill {
  right: 28px;
  background: #2bbfce;
  color: #ffffff;
}

@media (max-width: 900px) {
  body .oxy-ba-gallery {
    gap: 18px;
  }

  body .oxy-ba-shell {
    padding: 14px;
    border-radius: 24px;
  }

  body .oxy-ba-card {
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  body .oxy-ba-gallery {
    grid-template-columns: 1fr;
  }

  body .oxy-ba-card {
    aspect-ratio: 1.28 / 1;
  }

  body .oxy-ba-pill {
    bottom: 12px;
    min-height: 26px;
    padding: 0 14px;
    font-size: 12px;
  }

  body .oxy-ba-before-pill {
    left: 18px;
  }

  body .oxy-ba-after-pill {
    right: 18px;
  }
}
