:root {
  --swiper-material-scale: 1;
  --swiper-material-slide-size: 100%;
  --swiper-material-slide-border-radius: 32px;
  --swiper-material-slide-height: clamp(400px, 50vw, 700px);
}

.swiper-material-wrapper {
  border-radius: var(--swiper-material-slide-border-radius);
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  box-sizing: border-box;
  pointer-events: auto;
}

.swiper-material-content {
  position: absolute;
  transform: translate3d(0, 0, 0);
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-horizontal .swiper-material-content {
  height: 100%;
  width: var(--swiper-material-slide-size);
  left: calc(50% - var(--swiper-material-slide-size) / 2);
  top: 0;
}

.swiper-vertical .swiper-material-content {
  width: 100%;
  height: var(--swiper-material-slide-size);
  top: calc(50% - var(--swiper-material-slide-size) / 2);
  left: 0;
}

/** Swiper styles **/
.wows-material {
  height: var(--swiper-material-slide-height);
  min-height: var(--swiper-material-slide-height);
}

.wows-material .swiper {
  user-select: none;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.wows-material .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}

.wows-material .swiper-slide-bg-image {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.wows-material .swiper-slide-content {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.wows-material .swiper-slide {
  border-radius: var(--swiper-material-slide-border-radius);
}

.wows-material .swiper-slide-bg-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: var(--swiper-material-slide-border-radius);
}

.wows-material .swiper-slide-content {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px;
}

.wows-material .swiper-slide-text {
  text-wrap-style: balance;
  color: #2b2c2f;
  font-size: 40px;
  line-height: 1.5;
  font-weight: bold;
  margin: 0;
}