.calio-cube-slider {
  --calio-cube-slider-width: 620px;
  --calio-cube-slider-height: 520px;
  --calio-cube-arrow-size: 46px;
  --calio-cube-arrow-icon-size: 18px;
  --calio-cube-nav-offset: 20px;
  --calio-cube-nav-gap: 12px;
  --calio-cube-overlay-color: #101729;
  --calio-cube-overlay-opacity: 0.45;
  --calio-cube-dot-color: #d5def5;
  --calio-cube-dot-active-color: #2563ff;
  position: relative;
  width: min(100%, var(--calio-cube-slider-width));
  min-height: var(--calio-cube-slider-height);
  margin-inline: auto;
  opacity: 1;
  transition: opacity 220ms ease;
}

.calio-cube-slider.is-ready,
.elementor-editor-active .calio-cube-slider {
  opacity: 1;
}

.calio-cube-slider-swiper {
  width: 100%;
  height: var(--calio-cube-slider-height);
  overflow: visible;
}

.calio-cube-slider .swiper-wrapper {
  align-items: stretch;
}

.calio-cube-slider .swiper-slide {
  height: auto;
}

.calio-cube-slider:not(.is-ready) .swiper-wrapper {
  display: block;
  transform: none !important;
}

.calio-cube-slider:not(.is-ready) .swiper-slide {
  display: none;
  width: 100% !important;
  opacity: 1 !important;
  transform: none !important;
}

.calio-cube-slider:not(.is-ready) .swiper-slide:first-child {
  display: block;
}

.calio-cube-slider .calio-cube-slider-swiper.swiper-cube .swiper-slide {
  min-height: var(--calio-cube-slider-height);
}

.calio-cube-slider .calio-cube-slider-swiper.swiper-cube:not(.swiper-initialized) .swiper-slide,
.calio-cube-slider .calio-cube-slider-swiper.swiper-cube .swiper-slide:first-child,
.calio-cube-slider .calio-cube-slider-swiper.swiper-cube .swiper-slide-active,
.calio-cube-slider .calio-cube-slider-swiper.swiper-cube .swiper-slide-next,
.calio-cube-slider .calio-cube-slider-swiper.swiper-cube .swiper-slide-prev {
  visibility: visible;
}

.calio-cube-slider .calio-cube-slider-swiper.swiper-cube:not(.swiper-initialized) .swiper-slide {
  pointer-events: auto;
  transform: none !important;
}

.calio-cube-slider:not(.is-ready) .swiper-slide-shadow-left,
.calio-cube-slider:not(.is-ready) .swiper-slide-shadow-right,
.calio-cube-slider:not(.is-ready) .swiper-slide-shadow-top,
.calio-cube-slider:not(.is-ready) .swiper-slide-shadow-bottom {
  display: none !important;
}

.calio-cube-slider-card {
  position: relative;
  display: flex;
  min-height: var(--calio-cube-slider-height);
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background: linear-gradient(145deg, #101729, #243154);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(12, 21, 43, 0.32);
  color: #ffffff;
}

.calio-cube-slider-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #dce7ff, #8ca3df);
}

.calio-cube-slider-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--calio-cube-overlay-color);
  opacity: var(--calio-cube-overlay-opacity);
}

.calio-cube-slider-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

.calio-cube-slider-media.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 28px;
  opacity: 0.55;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0 7%, transparent 7.4%),
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
}

.calio-cube-slider-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 14px;
  width: 100%;
  padding: 38px;
  text-align: start;
}

.calio-cube-slider.content-position-top .calio-cube-slider-content {
  justify-content: flex-start;
}

.calio-cube-slider.content-position-middle .calio-cube-slider-content {
  justify-content: center;
}

.calio-cube-slider.content-position-bottom .calio-cube-slider-content {
  justify-content: flex-end;
}

.calio-cube-slider.text-align-left .calio-cube-slider-content,
.calio-cube-slider.text-align-start .calio-cube-slider-content {
  align-items: start;
  text-align: start;
}

.calio-cube-slider.text-align-center .calio-cube-slider-content {
  align-items: center;
  text-align: center;
}

.calio-cube-slider.text-align-right .calio-cube-slider-content,
.calio-cube-slider.text-align-end .calio-cube-slider-content {
  align-items: end;
  text-align: end;
}

.calio-cube-slider.text-align-center .calio-cube-slider-description,
.calio-cube-slider.text-align-right .calio-cube-slider-description,
.calio-cube-slider.text-align-end .calio-cube-slider-description {
  margin-inline: auto;
}

.calio-cube-slider.text-align-right .calio-cube-slider-description,
.calio-cube-slider.text-align-end .calio-cube-slider-description {
  margin-left: auto;
  margin-right: 0;
}

.calio-cube-slider-badge,
.calio-cube-slider-eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
}

.calio-cube-slider-badge {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.calio-cube-slider-eyebrow {
  color: #c6d4ff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calio-cube-slider-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.05em;
}

.calio-cube-slider-title a {
  color: inherit;
  text-decoration: none;
}

.calio-cube-slider-description {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.calio-cube-slider-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #122042;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  border: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.calio-cube-slider-button:hover,
.calio-cube-slider-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.calio-cube-slider.motion-enabled .calio-cube-animate-item {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.calio-cube-slider.motion-enabled .swiper-slide-active.is-motion-ready .calio-cube-animate-item {
  opacity: 1;
  transform: translateY(0);
}

.calio-cube-slider-arrows {
  position: absolute;
  z-index: 5;
  display: flex;
  gap: var(--calio-cube-nav-gap);
  pointer-events: none;
}

.calio-cube-slider-arrow {
  display: inline-flex;
  width: var(--calio-cube-arrow-size);
  height: var(--calio-cube-arrow-size);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #162044;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.18);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 180ms ease, opacity 180ms ease, background-color 180ms ease;
}

.calio-cube-slider-arrow i,
.calio-cube-slider-arrow svg,
.calio-cube-slider-arrow-fallback {
  display: block;
  width: var(--calio-cube-arrow-icon-size);
  height: var(--calio-cube-arrow-icon-size);
  font-size: var(--calio-cube-arrow-icon-size);
  line-height: var(--calio-cube-arrow-icon-size);
  color: currentColor;
  fill: currentColor;
}

.calio-cube-slider-arrow svg {
  flex: 0 0 auto;
}

.calio-cube-slider-arrow:hover {
  transform: scale(1.06);
}

.calio-cube-slider-arrow.swiper-button-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.calio-cube-slider.nav-position-side .calio-cube-slider-arrows {
  inset: 0;
  display: block;
}

.calio-cube-slider.nav-position-side .calio-cube-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.calio-cube-slider.nav-position-side .calio-cube-slider-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.calio-cube-slider.nav-position-side .calio-cube-slider-arrow.is-prev {
  left: calc(var(--calio-cube-arrow-size) * -0.55 + var(--calio-cube-nav-offset));
}

.calio-cube-slider.nav-position-side .calio-cube-slider-arrow.is-next {
  right: calc(var(--calio-cube-arrow-size) * -0.55 + var(--calio-cube-nav-offset));
}

.calio-cube-slider.nav-position-top .calio-cube-slider-arrows,
.calio-cube-slider.nav-position-bottom .calio-cube-slider-arrows {
  left: 0;
  right: 0;
}

.calio-cube-slider.nav-position-top .calio-cube-slider-arrows {
  top: var(--calio-cube-nav-offset);
}

.calio-cube-slider.nav-position-bottom .calio-cube-slider-arrows {
  bottom: var(--calio-cube-nav-offset);
}

.calio-cube-slider.nav-align-left .calio-cube-slider-arrows {
  justify-content: flex-start;
}

.calio-cube-slider.nav-align-center .calio-cube-slider-arrows {
  justify-content: center;
}

.calio-cube-slider.nav-align-right .calio-cube-slider-arrows {
  justify-content: flex-end;
}

.calio-cube-slider-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.calio-cube-slider-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0;
  border-radius: 999px;
  background: var(--calio-cube-dot-color);
  opacity: 1;
  transition: width 180ms ease, background-color 180ms ease;
}

.calio-cube-slider-pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--calio-cube-dot-active-color);
}

.calio-cube-slider-empty {
  padding: 18px;
  border: 1px dashed #b9c6e2;
  border-radius: 14px;
  color: #4a5878;
  text-align: center;
}

@media (max-width: 767px) {
  .calio-cube-slider {
    --calio-cube-slider-height: min(520px, 82vh);
    width: 100%;
  }

  .calio-cube-slider-content {
    padding: 26px;
  }

  .calio-cube-slider.nav-position-side .calio-cube-slider-arrow.is-prev {
    left: 10px;
  }

  .calio-cube-slider.nav-position-side .calio-cube-slider-arrow.is-next {
    right: 10px;
  }
}

.calio-cube-slider .calio-split-text-unit,
.calio-cube-slider .calio-split-text-word,
.calio-cube-slider .calio-split-text-char {
  display: inline-block;
  line-height: inherit;
  max-width: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  vertical-align: baseline;
  will-change: transform, opacity, filter;
}

.calio-cube-slider .calio-split-text-line {
  display: block;
  line-height: inherit;
  will-change: transform, opacity, filter;
}

.calio-cube-slider .calio-split-text-word {
  white-space: nowrap;
}

.calio-cube-slider .calio-split-text-char-mask,
.calio-cube-slider .calio-split-text-word-mask,
.calio-cube-slider .calio-split-text-line-mask {
  display: inline-block;
  overflow: clip;
  padding: 0.18em 0.05em;
  margin: -0.18em -0.05em;
  vertical-align: baseline;
}

.calio-cube-slider.split-text-enabled .calio-cube-slider-title,
.calio-cube-slider.split-text-enabled .calio-cube-slider-eyebrow,
.calio-cube-slider.split-text-enabled .calio-cube-slider-description,
.calio-cube-slider.split-text-enabled .calio-cube-slider-badge,
.calio-cube-slider.split-text-enabled .calio-cube-slider-button {
  font-kerning: none;
  text-rendering: optimizeSpeed;
}

.calio-cube-slider.split-text-enabled .calio-cube-slider-title,
.calio-cube-slider.split-text-enabled .calio-cube-slider-description,
.calio-cube-slider.split-text-enabled .calio-cube-slider-eyebrow {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
