html, body {
  overflow-x: hidden;
}
.section-image-banner {
  overflow: hidden;
  width: 100%;
  &.bordered {
    width: calc(100% - 32px);
    margin: 0 auto;
  }
  &.has-pagination {
    .card__content-group {
      padding: 48px 16px 86px;
    }
  }
  .swiper-image-banner {
    &.has-gradient {
      &:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 25%, rgba(0, 0, 0, 0) 50%);
        pointer-events: none;
        z-index: 2;
        opacity: 0.5;
      }
    }
    &.image-short {
      .image-slide__group {
        &.multi-image {
          .image-slide__image,
          .banner__video-wrapper {
            aspect-ratio: 90 / 61;
            max-height: calc(100dvh - 28px);
          }
        }
        .image-slide__image,
        .banner__video-wrapper {
          aspect-ratio: 180 / 61;
          max-height: calc(100dvh - 28px);
        }
      }
      .image-slide {
        .iframe-content {
          aspect-ratio: 180 / 61;
          max-height: calc(100dvh - 28px);
        }
      }
    }
    &.image-tall {
      .image-slide__group {
        &.multi-image {
          .image-slide__image,
          .banner__video-wrapper {
            aspect-ratio: 36 / 43;
            max-height: calc(100dvh - 28px);
          }
        }
        .image-slide__image,
        .banner__video-wrapper {
          aspect-ratio: 72 / 43;
          max-height: calc(100dvh - 28px);
        }
      }
      .image-slide {
        .iframe-content {
          aspect-ratio: 72 / 43;
          max-height: calc(100dvh - 28px);
        }
      }
    }
  }
  .image-slide__group {
    position: relative;
    display: flex;
    z-index: 0;
    width: 100%;
    &.multi-image {
      .image-slide__image {
        aspect-ratio: 18 / 19;
        max-height: calc(100dvh - 28px);
      }
    }
    .image-slide__image,
    .banner__video-wrapper {
      width: 100%;
      aspect-ratio: 36 / 19;
      max-height: calc(100dvh - 28px);
    }
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .image-slide {
    width: 100%;
    position: relative;
    &.content-top {
      .card__content-group {
        bottom: auto;
        top: 0;
      }
    }
    &.content-h-center {
      .card__content-group {
        right: 0;
        left: 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
      }
      .card__btn-wrapper {
        justify-content: center;
      }
      .card__logo {
        justify-content: center;
      }
    }
    .iframe-content {
      aspect-ratio: 36 / 19;
    }
    iframe {
      width: 100%;
      height: 100%;
      pointer-events: none;
    }
  }
  .card__content-group {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 48px 16px;
    max-width: 480px;
    box-sizing: border-box;
    &.type-plp {
      padding: 36px 16px;
      max-width: 640px;
      .card__small-title {
        font-size: 12px;
        font-weight: 400;
        letter-spacing: 0.4px;
      }
    }
  }
  .h1, .h2, .h3, .h4, p, a:not(.button) {
    color: #FFFFFF;
    margin: 0;
  }
  .card__logo {
    display: flex;
    margin-bottom: 16px;
    img {
      width: 100%;
      max-width: 148px;
      height: auto;
    }
  }
  .card__small-title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-heading-family);
  }
  .card__title {
    margin-top: 6px;
  }
  .card__richtext-block {
    margin-top: 16px;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
    &.type-plp {
      margin-top: 20px;
    }
    p, * {
      font-size: 18px;
      line-height: 24px;
    }
  }
  .card__btn-wrapper {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .swiper-image-banner-pagination {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    padding: 0 16px;
    bottom: 48px;
    .swiper-pagination-bullet {
      width: 10px;
      margin: 0 5px;
      height: 6px;
      border-radius: 3px;
      background: #FFFFFF;
      transition: width 0.3s ease-in-out;
      &.swiper-pagination-bullet-active {
        width: 60px;
        transition: width 0.3s ease-in-out;
      }
    }
  }
  .image-banner__title-bar {
    padding: 64px 20px 36px;
    .image-banner__title-links {
      margin-top: 10px;
    }
    ul {
      list-style: none;
      display: flex;
      align-items: flex-start;
      padding: 0;
      margin: 0;
      gap: 16px;
    }
    h2, li, a {
      color: #121212;
    }
    li, a {
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0.4px;
      font-weight: 400;
    }
    a:hover {
      font-weight: 500;
    }
  }
  .card__floating-logo {
    position: absolute;
    bottom: 48px;
    right: 38px;
    max-width: 154px;
    width: 100%;
    img {
      display: flex;
      object-fit: contain;
      width: 100%;
      height: auto;
    }
  }
  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (max-width: 768px) {
  .section-image-banner {
    overflow: hidden;
    width: 100%;
    &.bordered {
      width: calc(100% - 28px);
    }
    &.has-pagination {
      .card__content-group {
        padding: 40px 14px 78px;
      }
    }
    .swiper-image-banner {
      &.image-short {
        .image-slide__group {
          &.multi-image {
            .image-slide__image,
            .banner__video-wrapper {
              aspect-ratio: 195 / 244;
              max-height: 100dvh;
            }
          }
          .image-slide__image,
          .banner__video-wrapper {
            aspect-ratio: 195 / 244;
            max-height: 100dvh;
          }
        }
        .image-slide {
          .iframe-content {
            aspect-ratio: 195 / 244;
            max-height: 100dvh;
          }
        }
      }
      &.image-tall {
        .image-slide__group {
          &.multi-image {
            .image-slide__image,
            .banner__video-wrapper {
              aspect-ratio: 13 / 24;
              max-height: 100dvh;
            }
          }
          .image-slide__image,
          .banner__video-wrapper {
            aspect-ratio: 13 / 24;
            max-height: 100dvh;
          }
        }
        .image-slide {
          .iframe-content {
            aspect-ratio: 13 / 24;
            max-height: 100dvh;
          }
        }
      }
      .image-slide__group {
        &.multi-image {
          .image-slide__right {
            display: none;
          }
          .image-slide__image,
          .banner__video-wrapper {
            aspect-ratio: 13 / 24;
            max-height: 100dvh;
          }
        }
        .image-slide__image,
        .banner__video-wrapper {
          aspect-ratio: 13 / 24;
          max-height: 100dvh;
        }
      }
    }
    .card__richtext-block {
      p, * {
        font-size: 16px;
      }
    }
    .card__btn-wrapper {
      margin-top: 24px;
      gap: 12px;
    }
    .card__content-group {
      padding: 40px 14px;
      &.type-plp {
        padding: 28px 16px;
      }
    }
    .image-slide {
      .iframe-content {
        aspect-ratio: 13 / 24;
      }
    }
    .swiper-image-banner-pagination {
      padding: 0 14px;
    }
    .card__floating-logo {
      bottom: auto;
      top: 40px;
      right: auto;
      left: 16px;
      max-width: 103px;
    }
  }
}