.oculora-story {
  display: flex;
  align-items: stretch;
  color: rgb(var(--color-text));
  background-color: rgb(var(--color-background));
}

.oculora-story--media-left {
  flex-direction: row-reverse;
}

.oculora-story__content {
  display: flex;
  flex: 0 0 calc(100% * 991 / 1920);
  flex-direction: column;
  min-width: 0;
  padding: clamp(40px, calc(100vw * 60 / 1920), 60px)
    clamp(24px, calc(100vw * 80 / 1920), 80px);
}

.oculora-story__content .subheading {
  margin: 0;
  font-family: var(--font-eyebrow);
  font-size: clamp(11px, calc(100vw * 18 / 1920), 18px);
  font-weight: var(--font-eyebrow-weight);
  line-height: 1.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.oculora-story__content .block-heading {
  margin: 0;
  max-width: 802px;
  color: #3c3c3d;
  font-size: max(24px, min(var(--sort-title-size), calc(100vw * 60 / 1920)));
  font-weight: 400;
  line-height: 1.2;
  text-transform: capitalize;
  letter-spacing: -0.02em;
}

.oculora-story__content .subheading + .block-heading {
  margin-block-start: -30px;
}

.oculora-story__content .rte {
  max-width: 695px;
  font-family: var(--sort-body-font);
  font-size: clamp(15px, calc(100vw * 18 / 1920), 18px);
  line-height: 1.94;
}

.oculora-story__content .rte p {
  margin: 0;
}

.oculora-story__content .button {
  --color-button-background: 25, 25, 25;
  --color-button-text: 255, 255, 255;
  --button-background-opacity: 100%;
  --button-border-radius: 0;
  --button-border-thickness: 0px;

  min-width: clamp(180px, calc(100vw * 440 / 1920), 440px);
  height: clamp(50px, calc(100vw * 64 / 1920), 64px);
  padding: 0 20px;
  font-family: var(--sort-body-font);
  font-size: clamp(14px, calc(100vw * 21 / 1920), 21px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.oculora-story__media {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: calc(100vw * 1070 / 1920);
  overflow: hidden;
}

.oculora-story__poster,
.oculora-story__poster img,
.oculora-story__media .block-video,
.oculora-story__media .block-image,
.oculora-story__media theme-video-media,
.oculora-story__media .theme-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.oculora-story__poster img,
.oculora-story__media .block-image img,
.oculora-story__media video,
.oculora-story__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oculora-story__poster--fallback {
  z-index: 0;
}

.oculora-story__media .block-video,
.oculora-story__media .block-image {
  z-index: 1;
}

.oculora-story__media .theme-video-media {
  aspect-ratio: auto;
}

.oculora-story__media .theme-video-media--empty,
.oculora-story__media .block-video:has(.theme-video-media--empty) {
  display: none;
}

@media (max-width: 959px) {
  .oculora-story,
  .oculora-story--media-left {
    flex-direction: column;
  }

  .oculora-story__content {
    flex-basis: auto;
    width: 100%;
    padding: 24px 24px 40px;
  }

  .oculora-story__content .subheading {
    font-size: 11px;
    line-height: normal;
    letter-spacing: 0;
  }

  .oculora-story__content .block-heading {
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: 0;
  }

  .oculora-story__content .subheading + .block-heading {
    margin-block-start: 0;
  }

  .oculora-story__content .rte {
    max-width: none;
    font-size: 15px;
    line-height: 1.6;
  }

  .oculora-story__content .button {
    width: 100%;
    min-width: 0;
    height: 50px;
    font-size: 14px;
  }

  .oculora-story__media {
    flex: 0 0 auto;
    width: 100%;
    height: 449px;
    min-height: 449px;
  }
}
