.ockham-flex-slides.swiper {
  width: 100%;
}

.ockham-flex-slides .swiper-wrapper {
  display: flex;
}

.ockham-flex-slides .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
}

.ockham-flex-slides:not(.swiper-initialized) .swiper-wrapper {
  transform: none !important;
}

.ockham-flex-slides {
  --ofs-height: 560px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.ockham-flex-slides .swiper-wrapper,
.ockham-flex-slides .swiper-slide {
  height: var(--ofs-height);
}

.ockham-flex-slides__slide {
  position: relative;
  width: 100%;
  min-height: var(--ofs-height);
  background-color: #101010;
  overflow: hidden;
}


.ockham-flex-slides__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.ockham-flex-slides__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: var(--ofs-bg-size, cover);
  object-position: var(--ofs-bg-position, 50% 50%);
}

.ockham-flex-slides__bg.is-fallback-image {
  background-image: none !important;
}

.ockham-flex-slides__bg.is-fallback-image .ockham-flex-slides__bg-image {
  display: block;
}

.ockham-flex-slides__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ockham-flex-slides__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: var(--ofs-height);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.ockham-flex-slides__inner--boxed {
  max-width: 1140px;
}

.ockham-flex-slides__inner--full {
  max-width: none;
}


.ockham-flex-slides__content-wrap {
  display: flex;
  width: 100%;
  justify-content: var(--ofs-justify-desktop, flex-start);
}

.ockham-flex-slides__content {
  width: 100%;
  max-width: 640px;
  color: #fff;
  border-radius: 0;
  text-align: var(--ofs-text-align-desktop, left);
}

.ockham-flex-slides__heading {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.05;
}

.ockham-flex-slides__description {
  font-size: 16px;
  line-height: 1.6;
}

.ockham-flex-slides__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 28px;
  border-radius: 0;
  text-decoration: none;
  transition: all .25s ease;
  background: #7b3fe4;
  color: #fff;
  font-weight: 600;
}

.ockham-flex-slides__button:hover,
.ockham-flex-slides__button:focus {
  transform: translateY(-1px);
}

.ockham-flex-slides__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  color: #fff;
  transition: all .25s ease;
  padding: 0;
}

.ockham-flex-slides__arrow i,
.ockham-flex-slides__arrow .ockham-flex-slides__arrow-fallback {
  font-size: 18px;
  line-height: 1;
  display: block;
}

.ockham-flex-slides__arrow svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.ockham-flex-slides__arrow:hover {
  background: rgba(0,0,0,.55);
}

.ockham-flex-slides__arrow--prev { left: 20px; }
.ockham-flex-slides__arrow--next { right: 20px; }

.ockham-flex-slides__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px !important;
  z-index: 5;
  text-align: center;
}

.ockham-flex-slides .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: .45;
  transition: opacity .2s ease, transform .2s ease;
}

.ockham-flex-slides .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.15);
}


@media (max-width: 1024px) {
  .ockham-flex-slides__content-wrap {
    justify-content: var(--ofs-justify-tablet, var(--ofs-justify-desktop, flex-start));
  }

  .ockham-flex-slides__content {
    text-align: var(--ofs-text-align-tablet, var(--ofs-text-align-desktop, left));
  }
}

@media (max-width: 767px) {
  .ockham-flex-slides__content-wrap {
    justify-content: var(--ofs-justify-mobile, var(--ofs-justify-tablet, var(--ofs-justify-desktop, flex-start)));
  }

  .ockham-flex-slides__content {
    text-align: var(--ofs-text-align-mobile, var(--ofs-text-align-tablet, var(--ofs-text-align-desktop, left)));
  }

  .ockham-flex-slides__arrow {
    width: 36px;
    height: 36px;
  }

  .ockham-flex-slides__arrow i,
  .ockham-flex-slides__arrow .ockham-flex-slides__arrow-fallback {
    font-size: 16px;
  }

  .ockham-flex-slides__arrow svg {
    width: 16px;
    height: 16px;
  }

  .ockham-flex-slides__arrow--prev { left: 12px; }
  .ockham-flex-slides__arrow--next { right: 12px; }
}


/* Elementor editor: deixa o controle responsivo de alinhamento mais limpo no repeater */
.elementor-editor-active .elementor-control-ockham-flex-slides-control-align > .elementor-control-content,
.elementor-editor-active .elementor-control-slide_content_align > .elementor-control-content {
  width: 100%;
}

.elementor-editor-active .elementor-control-ockham-flex-slides-control-align .elementor-control-field,
.elementor-editor-active .elementor-control-slide_content_align .elementor-control-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.elementor-editor-active .elementor-control-ockham-flex-slides-control-align .elementor-control-title,
.elementor-editor-active .elementor-control-slide_content_align .elementor-control-title {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: 0;
  line-height: 1.35;
}

.elementor-editor-active .elementor-control-ockham-flex-slides-control-align .elementor-control-input-wrapper,
.elementor-editor-active .elementor-control-slide_content_align .elementor-control-input-wrapper {
  width: 100%;
  max-width: none;
}

.elementor-editor-active .elementor-control-ockham-flex-slides-control-align .elementor-control-responsive-switchers,
.elementor-editor-active .elementor-control-slide_content_align .elementor-control-responsive-switchers {
  position: static;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 2px;
}

.elementor-editor-active .elementor-control-ockham-flex-slides-control-align .elementor-control-responsive-switchers__holder,
.elementor-editor-active .elementor-control-slide_content_align .elementor-control-responsive-switchers__holder {
  right: 0;
  left: auto;
}

.elementor-editor-active .elementor-control-ockham-flex-slides-control-align .elementor-choices,
.elementor-editor-active .elementor-control-slide_content_align .elementor-choices {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.elementor-editor-active .elementor-control-ockham-flex-slides-control-align,
.elementor-editor-active .elementor-control-slide_content_align {
  padding-top: 10px;
}
