input {
  -webkit-appearance: none;
}
.image-with-text {
  display: flex;
}
@media (min-width: 960px) {
  .image-with-text--align-top,
  .image-with-text--align-top .image-with-text__info-wrap {
    align-items: flex-start;
  }
  .image-with-text--align-middle,
  .image-with-text--align-middle .image-with-text__info-wrap {
    align-items: center;
  }
  .image-with-text--align-bottom,
  .image-with-text--align-bottom .image-with-text__info-wrap {
    align-items: flex-end;
  }
  .image-with-text--stretch {
    align-items: stretch;
  }
  .image-with-text--overlap .image-with-text__info-wrap {
    padding: 50px 0;
  }
  .image-with-text--overlap .image-with-text__info {
    position: relative;
  }
  .image-with-text--overlap .image-with-text__info--overlap-pc-right {
    width: calc(100% + 36px);
  }
  .image-with-text--overlap .image-with-text__info--overlap-pc-left {
    left: -36px;
    width: calc(100% + 36px);
  }
  .image-with-text.pos-right {
    flex-direction: row-reverse;
  }
}
.image-with-text.img-w-small .image-with-text__info-wrap {
  flex: 2;
}
.image-with-text.img-w-medium .image-with-text__info-wrap {
  flex: 1;
}
.image-with-text.img-w-large .image-with-text__info-wrap {
  flex: 0.5;
}
.image-with-text__img-wrap {
  flex: 1;
  position: relative;
  z-index: 1;
}
.image-with-text__img-wrap--high {
  height: 700px;
}
.image-with-text__img-wrap--low {
  height: 350px;
}
.image-with-text__title--size-small {
  font-size: calc(var(--title-font-size) * 0.8);
}
.image-with-text__title--size-medium {
  font-size: calc(var(--title-font-size) * 1);
}
.image-with-text__title--size-large {
  font-size: calc(var(--title-font-size) * 1.2);
}
.image-with-text__sub-title--size-small {
  font-size: calc(var(--body-font-size) * 1 * 0.8);
}
.image-with-text__sub-title--size-medium {
  font-size: calc(var(--body-font-size) * 1);
}
.image-with-text__sub-title--size-large {
  font-size: calc(var(--body-font-size) * 1 * 1.2);
}
@media (min-width: 960px) {
  .image-with-text__sub-title--size-small {
    font-size: calc(var(--body-font-size) * 1.142857 * 0.8);
  }

  .image-with-text__sub-title--size-medium {
    font-size: calc(var(--body-font-size) * 1.142857);
  }

  .image-with-text__sub-title--size-large {
    font-size: calc(var(--body-font-size) * 1.142857 * 1.2);
  }
  .image-with-text--stretch .image-with-text__img-wrap--high,
  .image-with-text--stretch .image-with-text__img-wrap--low {
    height: auto;
  }
}
.image-with-text__img-wrap--auto {
  height: auto;
  object-fit: contain;
}
.image-with-text .color-scheme-none {
  background-color: rgba(var(--color-page-background));
  color: rgba(var(--color-text));
}
.image-with-text .color-scheme-none .image-with-text__content {
  color: rgba(var(--color-text));
}
.image-with-text__info-wrap {
  display: flex;
  position: relative;
  width: 100%;
  z-index: 2;
}
.image-with-text__info-reference {
  width: 100%;
}
.image-with-text__info {
  padding: 32px 50px;
}
.image-with-text__info--align-left {
  text-align: left;
}
.image-with-text__info--align-center {
  text-align: center;
}
.image-with-text__info--align-right {
  text-align: right;
}
.image-with-text__sub-title {
  word-wrap: break-word;
  font-weight: 400;
  margin-top: 20px;
  text-transform: uppercase;
}
.image-with-text__content {
  margin-top: 20px;
}
.image-with-text__title {
  margin-bottom: 20px !important;
  margin-top: 20px;
  overflow: hidden;
}
.image-with-text__btn {
  margin-top: 20px;
}
.image-with-text__img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}
.image-with-text__empty-img {
  background-color: rgb(var(--color-image-background));
  height: 100%;
  width: 100%;
}
.image-with-text__info > :first-child {
  margin-top: 0;
}
@media (max-width: 959px) {
  .image-with-text {
    display: flex;
    flex-direction: column;
  }
  .image-with-text--overlap .image-with-text__info-wrap {
    margin-top: -36px;
    padding-left: 14px;
    padding-right: 14px;
    position: relative;
    z-index: 1;
  }
  .image-with-text.pos-right {
    flex-direction: column;
  }
  .image-with-text .color-scheme-none {
    background-color: rgba(var(--color-page-background));
  }
  .image-with-text__info {
    box-sizing: border-box;
    left: 0;
    padding: 30px 20px;
    right: 0;
  }
  .image-with-text__info--m-align-left {
    text-align: left;
  }
  .image-with-text__info--m-align-center {
    text-align: center;
  }
  .image-with-text__info--m-align-right {
    text-align: right;
  }
  .image-with-text__img-wrap {
    flex-basis: auto;
  }
  .image-with-text__img-wrap--high {
    height: 400px;
  }
  .image-with-text__img-wrap--low {
    height: 200px;
  }
  .image-with-text__content,
  .image-with-text__sub-title {
    margin-top: 15px;
  }
  .image-with-text__title {
    margin-top: 15px;
    overflow: hidden;
  }
  .image-with-text__btn {
    margin-top: 15px;
  }
  .image-with-text__img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
  .image-with-text__empty-img {
    background-color: rgb(var(--color-image-background));
    height: 100%;
    width: 100%;
  }
}
.image-with-text__image-box {
  height: 100%;
}
.image-with-text__image-box .empty-image-class {
  width: 100%;
  background-color: rgb(var(--color-image-background));
  height: 100%;
  display: block;
}
.image-with-text__image-box .image-with-text__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Shopify parity: cover image + playable video + expandable text */
.image-with-text--enhanced-video {
  border: 1px solid rgba(17, 17, 17, 0.92);
  border-radius: 1.8rem;
  overflow: hidden;
}

.image-with-text__image-box[data-image-video-shell] {
  position: relative;
  overflow: hidden;
}

.image-with-text__media-layer {
  width: 100%;
  height: 100%;
}

.image-with-text__media-layer--cover {
  position: relative;
  z-index: 1;
}

.image-with-text__media-layer--video {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
}

.image-with-text__media-cover,
.image-with-text__cover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-with-text__cover-video {
  display: block;
  background: #000;
}

.image-with-text__img-wrap--auto .image-with-text__image-box {
  height: auto;
}

.image-with-text__img-wrap--auto .image-with-text__media-layer {
  height: auto;
}

.image-with-text__img-wrap--auto .image-with-text__media-cover {
  height: auto !important;
}

.image-with-text__img-wrap--auto .image-with-text__media-layer--video {
  height: 100%;
}

.image-with-text__play-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.56);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.image-with-text__play-toggle .icon {
  width: 1.2rem;
  height: 1.2rem;
}

.image-with-text__play-toggle .icon-play {
  margin-left: 0.12rem;
}

.image-with-text__image-box.is-playing .image-with-text__media-layer--cover {
  visibility: hidden;
}

.image-with-text__image-box.is-playing .image-with-text__play-toggle {
  display: none;
}

.image-with-text__image-box.is-playing .image-with-text__media-layer--video {
  display: block;
}

.image-with-text--enhanced-video [data-image-text-collapsible] {
  position: relative;
  transition: max-height 0.24s ease;
}

.image-with-text--enhanced-video.is-text-collapsed [data-image-text-collapsible] {
  max-height: 17.2rem;
  overflow: hidden;
}

.image-with-text--enhanced-video.is-text-collapsed [data-image-text-collapsible]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.8rem;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0), rgba(245, 245, 245, 1));
  pointer-events: none;
}

.image-with-text__read-toggle {
  display: block;
  margin: 1rem auto 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: var(--body-line-height);
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
  cursor: pointer;
}

.image-with-text__read-toggle[hidden] {
  display: none !important;
}
/* The ipad end responds to the mobile end in vertical screen */
/* @custom-media --tablet (max-width: 959px); */
/* @custom-media --gt-mobile (min-width: 751px); */
/* detectingScreen need to consider the configuration of the tablet */
