.systems-in-action-section {
  overflow-x: clip;
}

.systems-in-action-section .systems-in-action-header {
  text-align: center;
  margin-bottom: 0;
}

.systems-in-action-section .systems-in-action-header .section-heading {
  margin-bottom: clamp(4px, 0.6vw, 8px) !important;
  padding-bottom: 0 !important;
}

.systems-in-action-section .systems-in-action-header .section-subheading {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: clamp(22px, 3.5vw, 44px) !important;
  box-sizing: border-box;
}

.systems-in-action-section .partners-carousel-mask {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: clamp(32px, 5vw, 48px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
}

.systems-video-carousel-shell {
  overflow: visible;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.systems-video-carousel {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  width: 100%;
  padding: 0 0 clamp(8px, 1.5vw, 16px);
  box-sizing: border-box;
  overflow: visible;
}

.systems-video-carousel__btn {
  flex-shrink: 0;
  align-self: center;
  width: clamp(44px, 5vw, 52px);
  height: clamp(44px, 5vw, 52px);
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(0, 35, 70, 0.14);
  background: #fff;
  color: #002346;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, opacity 0.2s ease;
}

.systems-video-carousel__btn:hover:not(:disabled) {
  border-color: rgba(56, 182, 255, 0.55);
  color: #0b6cb8;
  box-shadow: 0 6px 20px rgba(56, 182, 255, 0.18);
}

.systems-video-carousel__btn:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 3px;
}

.systems-video-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.systems-video-carousel__viewport {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
  cursor: grab;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  padding-top: clamp(4px, 0.66vw, 9px);
  padding-bottom: clamp(40px, 5.5vw, 56px);
}

.systems-video-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.systems-video-carousel__viewport.is-dragging {
  cursor: grabbing;
  -webkit-user-select: none;
  user-select: none;
  scroll-snap-type: none;
}

.systems-video-carousel__slide {
  flex-shrink: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0 clamp(8px, 1.2vw, 12px) clamp(6px, 1vw, 10px);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  border-radius: clamp(14px, 2vw, 20px);
  border: 1.5px solid rgba(0, 35, 70, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
  overflow: visible;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.systems-video-carousel__slide.is-active-slide {
  border-color: rgba(0, 35, 70, 0.42);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

.systems-video-carousel__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1628;
  border-radius: clamp(12px, 1.8vw, 18px) clamp(12px, 1.8vw, 18px) 0 0;
}

.systems-video-carousel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.systems-video-carousel__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 20, 50, 0.28);
  pointer-events: none;
}

.systems-video-carousel__play::after {
  content: "";
  width: clamp(52px, 8vw, 68px);
  height: clamp(52px, 8vw, 68px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92)
    url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22%23002346%22%3E%3Cpath%20d%3D%22M8%205v14l11-7z%22/%3E%3C/svg%3E")
    58% 50% / 42% 42% no-repeat;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.systems-video-carousel__caption {
  margin: 0;
  padding: clamp(22px, 3.2vw, 34px) clamp(20px, 3vw, 32px);
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.95rem);
  font-weight: 600;
  line-height: 1.2;
  color: #002346;
  letter-spacing: 0.02em;
  text-align: center;
  background: #fff;
  border-radius: 0 0 clamp(12px, 1.8vw, 18px) clamp(12px, 1.8vw, 18px);
}

.systems-video-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: clamp(4px, 1vw, 12px) auto 0;
  padding: 0;
}

.systems-video-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(0, 35, 70, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.systems-video-carousel__dot:hover {
  background: rgba(0, 35, 70, 0.5);
}

.systems-video-carousel__dot:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

.systems-video-carousel__dot.is-active {
  background: #002346;
  transform: scale(1.15);
}

@media screen and (max-width: 991px) {
  .systems-video-carousel {
    flex-direction: column;
    align-items: stretch;
  }

  .systems-video-carousel__btn {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .systems-video-carousel__viewport {
    scroll-behavior: auto !important;
  }
}
