.story-carousel[data-desktop-show="false"] {
  display: none;
}
.story-carousel__inner {
  display: block;
  position: relative;
}
.story-carousel__swiper {
  overflow: hidden;
}
.story-carousel__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
  gap:0;
}
.story-carousel__media {
  height: var(--story-desktop-height, 400px);
  min-height: var(--story-desktop-height, 400px);
  overflow: hidden;
  background: #f2f0ed;
}
.story-carousel__placeholder svg{
  width: 100%;
  height: 100%;
}
.story-carousel__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-carousel__placeholder {
  width: 100%;
  height: 100%;
  background: #efede9;
}
.story-carousel__content {
  padding: 60px;
  align-self: center;
}
.story-carousel__content--center {
  text-align: center;
}
.story-carousel__content--right {
  text-align: right;
}
.story-carousel__subtitle {
  margin: 0 0 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.story-carousel__title {
  margin: 0 0 24px;
}
.story-carousel__description {
}
.story-carousel__description p {
  margin: 0;
}
.story-carousel__button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 8px;
}
.story-carousel__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}
.story-carousel__arrow-item {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}
.story-carousel__arrow-item--anim {
  transform: translateX(-150%);
}
.story-carousel__arrow:hover .story-carousel__arrow-item--anim {
  transform: translateX(0);
}
.story-carousel__arrow:hover .story-carousel__arrow-item:not(.story-carousel__arrow-item--anim) {
  transform: translateX(150%);
}
.story-carousel__arrow--next .story-carousel__arrow-item--anim {
  transform: translateX(150%);
}
.story-carousel__arrow--next:hover .story-carousel__arrow-item--anim {
  transform: translateX(0);
}
.story-carousel__arrow--next:hover .story-carousel__arrow-item:not(.story-carousel__arrow-item--anim) {
  transform: translateX(-150%);
}
.story-carousel__arrow-icon {
  display: block;
}
.story-carousel__arrow--prev {
  left: 0px;
}
.story-carousel__arrow--next {
  right: 0px;
}
.story-carousel__arrow.swiper-button-disabled {
  visibility: hidden;
  pointer-events: none;
}
.story-carousel__progress {
  height: 3px;
  margin-top: 28px;
  background: #dedede;
  overflow: hidden;
}
.story-carousel__progress span {
  display: block;
  height: 100%;
  width: 8%;
  background: currentColor;
  transition: width 0.3s ease;
}
@media (max-width: 767px) {
  .story-carousel[data-desktop-show="false"] {
    display: block;
  }
  .story-carousel[data-mobile-show="false"] {
    display: none;
  }
  .story-carousel__slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
  }
  .story-carousel__media {
    height: var(--story-mobile-height, 400px);
    min-height: var(--story-mobile-height, 400px);
  }
  .story-carousel__content {
    padding: 20px 18px 24px;
    align-self: stretch;
  }
  .story-carousel[data-mobile-image-display="full"] .story-carousel__media {
    width: 100vw;
    max-width: none;
  }
  .story-carousel[data-mobile-image-display="full"] .page-width{
    padding-inline: 0;
  }
  .story-carousel__title {
    margin-bottom: 12px;
  }
  .story-carousel[data-mobile-text-style="card"] .story-carousel__content {
    position: absolute;
    z-index: 1;
    left: 12px;
    right: 12px;
    bottom: 20px;
    margin: 0;
    background: #fff;
    padding: 20px 18px 24px;
    box-shadow: 0 8px 24px #00000012;
  }
  .story-carousel[data-mobile-text-style="card"] .story-carousel__slide {
    position: relative;
    padding-bottom: 0;
  }
  .story-carousel[data-mobile-text-style="overlay"] .story-carousel__slide {
    position: relative;
  }
  .story-carousel[data-mobile-text-style="overlay"] .story-carousel__content {
    position: absolute;
    inset: auto 0 0;
    color: #fff;
    background: linear-gradient(transparent, #0009);
    padding: 60px 20px 24px;
  }
  .story-carousel__arrow { width: 42px; height: 42px; }
  .story-carousel__arrow { display: none; }
  .story-carousel[data-mobile-arrows="true"] .story-carousel__arrow { display: flex; }
  .story-carousel__arrow--prev {
    left: 8px;
  }
  .story-carousel__arrow--next {
    right: 8px;
  }
}
