.image-banner-section {
  --image-banner-height: 750px;
  --image-banner-overlay-opacity: 0;
}

.image-banner-section.small {
  --image-banner-height: 450px;
}

.image-banner-section.big {
  --image-banner-height: 1080px;
}

.image-banner-section.adapt {
  --image-banner-height: auto;
}

@media (max-width: 959px) {
  .image-banner-section {
    --image-banner-height: 450px;
  }

  .image-banner-section.small {
    --image-banner-height: 250px;
  }

  .image-banner-section.big {
    --image-banner-height: 600px;
  }
}

.image-banner-section {
  position: relative;
  height: auto;
  background-color: rgb(var(--color-background));
}
.image-banner__image {
  display: flex;
  flex-flow: row nowrap;
  gap: 0;
  width: 100%;
}
.image-banner__image-item {
  position: relative;
  width: 100%;
  height: var(--image-banner-height);
}
.image-banner__image-item img,
.image-banner__image-item svg {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.image-banner__image-item::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  content: "";
  user-select: none;
  background-color: rgba(0, 0, 0, var(--image-banner-overlay-opacity));
}
.image-banner__carousel-track > li::after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  content: "";
  user-select: none;
  background-color: rgba(0, 0, 0, var(--image-banner-overlay-opacity));
}
.image-banner__content {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 4;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.image-banner__container--show-bg {
  background-color: rgb(var(--color-background));
}
.image-banner-section.content-below .image-banner__content {
  position: relative;
  height: auto;
}
.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .block-button-group {
  --color-button-secondary-border: 255, 255, 255;
  --color-button-secondary-background: 255, 255, 255, 0;
  --color-button-secondary-text: 255, 255, 255;
  --color-button-background: 255, 255, 255;
  --color-button-text: var(--color-text);
}

.image-banner-section .block-heading {
  font-size: var(--image-banner-heading-font-size, var(--title1-font-size));
}

.image-banner-section .subheading {
  font-family: var(--sort-body-font);
  font-size: var(--body3-font-size);
  font-weight: 300;
  line-height: var(--sort-body-line-height);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  word-break: break-word;
}

.image-banner-section .block-description {
  font-size: var(--image-banner-description-font-size, var(--body1-font-size));
  font-weight: 300;
}

.image-banner-section[data-description-align="left"] .block-description {
  text-align: left;
}

.image-banner-section[data-description-align="center"] .block-description {
  text-align: center;
}

.image-banner-section[data-description-align="right"] .block-description {
  text-align: right;
}

.image-banner-section[data-button-position="bottom-center"] .block-button-group,
.image-banner-section[data-button-position="bottom-left"] .block-button-group,
.image-banner-section[data-button-position="bottom-right"] .block-button-group {
  position: absolute;
  z-index: 5;
  width: auto;
  padding: 0;
  inset-block-end: 32px;
}

.image-banner-section[data-button-position="bottom-center"] .block-button-group {
  inset-inline-start: 50%;
  transform: translateX(-50%);
}

.image-banner-section[data-button-position="bottom-left"] .block-button-group {
  inset-inline-start: var(--page-padding);
}

.image-banner-section[data-button-position="bottom-right"] .block-button-group {
  inset-inline-end: var(--page-padding);
}

.image-banner-section .block-heading,
.image-banner-section .subheading,
.image-banner-section .block-description {
  color: rgb(var(--color-text));
}

.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .block-heading,
.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .subheading,
.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .block-description {
  --color-text: 255, 255, 255;
}

@media (max-width: 959px) {
  .image-banner__image-item {
    height: var(--image-banner-mobile-height, var(--image-banner-height));
  }

  .image-banner-section .block-heading {
    font-size: var(--image-banner-heading-font-size-mobile, var(--image-banner-heading-font-size, var(--title1-font-size)));
  }

  .image-banner-section .block-description {
    font-size: var(--image-banner-description-font-size-mobile, var(--image-banner-description-font-size, var(--body1-font-size)));
  }

  .image-banner-section[data-description-align-mobile="left"] .block-description {
    text-align: left;
  }

  .image-banner-section[data-description-align-mobile="center"] .block-description {
    text-align: center;
  }

  .image-banner-section[data-description-align-mobile="right"] .block-description {
    text-align: right;
  }

  .image-banner-section[data-button-position="bottom-center"] .block-button-group,
  .image-banner-section[data-button-position="bottom-left"] .block-button-group,
  .image-banner-section[data-button-position="bottom-right"] .block-button-group {
    position: static;
    width: 100%;
    transform: none;
  }

  .image-banner-section[data-button-position-mobile="bottom-center"] .block-button-group,
  .image-banner-section[data-button-position-mobile="bottom-left"] .block-button-group,
  .image-banner-section[data-button-position-mobile="bottom-right"] .block-button-group {
    position: absolute;
    z-index: 5;
    width: auto;
    padding: 0;
    inset-block-end: 20px;
  }

  .image-banner-section[data-button-position-mobile="bottom-center"] .block-button-group {
    inset-inline-start: 50%;
    transform: translateX(-50%);
  }

  .image-banner-section[data-button-position-mobile="bottom-left"] .block-button-group {
    inset-inline-start: var(--page-padding);
  }

  .image-banner-section[data-button-position-mobile="bottom-right"] .block-button-group {
    inset-inline-end: var(--page-padding);
  }
}
