.hide-page-slider .image-slider { display: none; }
.image-slider {
  max-width: 1180px;
  margin: 28px auto;
  padding: 0 25px;
  box-sizing: border-box;
  color: #152b46;
  font-family: "Segoe UI", Arial, sans-serif;
}
.image-slider__viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid #dfe8ee;
  border-radius: 12px;
  background: #f3f6f8;
  box-shadow: 0 5px 22px rgba(18, 41, 68, .05);
}
.image-slider__column { min-width: 0; }
.image-slider__service-layout { align-items: stretch; }
.image-slider__text-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.image-slider__text-column > .panel { flex: 1; }
.image-slider__column > .image-slider {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
.image-slider__column .image-slider__viewport { height: 100%; }
.image-slider__column .image-slider__slide {
  position: absolute;
  inset: 0;
}
.image-slider__column .image-slider__slide img {
  height: 100%;
  aspect-ratio: 1;
}
.image-slider__slide { margin: 0; }
.image-slider__slide[hidden] { display: none; }
.image-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.hero--slider {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 50vw;
  overflow: hidden;
  isolation: isolate;
  background: #07182c;
}
.hero--slider > .hero-grid,
.page-hero.hero--slider > .wrap { width: 100%; }
.hero--slider > .image-slider {
  position: absolute;
  inset: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}
.hero--slider .image-slider__viewport {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: #07182c;
  box-shadow: none;
}
.hero--slider .image-slider__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 24, 44, .94), rgba(7, 24, 44, .75) 45%, rgba(7, 24, 44, .4));
  pointer-events: none;
}
.hero--slider .image-slider__slide { position: absolute; inset: 0; }
.hero--slider .image-slider__slide img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.hero--slider > .hero-grid { z-index: 2; pointer-events: none; }
.hero--slider > .hero-grid > * { pointer-events: auto; }
.page-hero.hero--slider > .wrap {
  position: relative;
  z-index: 2;
  padding-inline: 35px;
  pointer-events: none;
}
.page-hero.hero--slider > .wrap > * { pointer-events: auto; }
.page-hero.hero--slider .image-slider__arrow {
  top: auto;
  bottom: 8px;
  transform: none;
}
.hero--slider .image-slider__arrow { z-index: 3; }
.hero--slider .image-slider__error {
  position: absolute;
  bottom: 0;
  left: 60px;
  right: 60px;
  z-index: 3;
  background: #fff;
}
@media (min-width: 1041px) {
  .hero--slider > .hero-grid { padding-inline: 60px; }
}
@media (max-width: 1040px) {
  .hero--slider .image-slider__arrow { top: auto; bottom: 8px; transform: none; }
  .page-hero.hero--slider > .wrap { padding-inline: 0; }
}
.image-slider__arrow {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 33, 57, .18);
  color: #fff;
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.image-slider__arrow:last-child { left: auto; right: 8px; }
.image-slider__arrow:hover,
.image-slider__arrow:focus-visible {
  background: rgba(16, 33, 57, .65);
}
.image-slider__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.image-slider__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  margin: 0;
  color: #5a6c7f;
  font-size: 14px;
  text-align: center;
}
.image-slider__error {
  position: static;
  width: auto;
  height: auto;
  padding: 12px 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  color: #9b2929;
}
@media (max-width: 1040px) {
  .image-slider__column .image-slider__viewport {
    height: auto;
    aspect-ratio: 1;
  }
  .image-slider__column .image-slider__slide img {
    object-fit: contain;
  }
}
@media (max-width: 620px) {
  .image-slider { margin: 20px auto; padding: 0 19px; }
  .image-slider__viewport { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .image-slider__arrow { transition: none; }
}
