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

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

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

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

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

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

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

.image-banner-section {
  position: relative;
  height: auto;
  background-color: rgb(var(--color-background));
}

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

.image-banner-section .block-description {
  max-width: 560px;
  font-weight: 400;
  line-height: 1.62;
}

.image-banner-section .block-heading,
.image-banner-section .subheading,
.image-banner-section .block-description {
  color: rgb(var(--color-text));
}
.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));
}
a.image-banner__image-url {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}
.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%;
  pointer-events: none;
}
.image-banner__container > * {
  pointer-events: auto;
}
.image-banner__container,
.image-banner__content .page-width {
  max-width: calc(var(--page-padding) * 2 + 1200px);
}
.image-banner-section .block-heading {
  max-width: 640px;
}
.image-banner-section .block-heading,
.image-banner-section .block-description {
  margin-inline: auto;
}
.image-banner-section .block-button-group {
  margin-block-start: 10px;
}
.image-banner__container--show-bg {
  background-color: rgb(var(--color-background));
}
.image-banner-section.content-below .image-banner__content {
  position: relative;
  height: auto;
  pointer-events: 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: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;
}

.image-banner-section:not(.content-below)::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    90deg,
    rgb(250 248 244 / 92%) 0%,
    rgb(250 248 244 / 76%) 38%,
    rgb(250 248 244 / 24%) 62%,
    rgb(250 248 244 / 0%) 82%
  );
}

.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg) {
  max-width: 780px;
}

.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: 43, 41, 39;
  color: #2B2927;
  text-shadow: none;
}

.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .block-heading {
  width: 100% !important;
  max-width: 780px;
  font-size: clamp(42px, 3.2vw, 48px);
  line-height: 1.15;
  margin-inline: 0;
}

.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .block-description {
  width: 100% !important;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.62;
  margin-inline: 0;
}

.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .block-button-group {
  --color-button-background: 155, 81, 39;
  --color-button-text: 255, 255, 255;
  --color-button-secondary-background: 250, 248, 244;
  --color-button-secondary-border: 216, 200, 184;
  --color-button-secondary-text: 43, 41, 39;
  margin-block-start: 24px;
}

.image-banner-section:not(.content-below)
  .image-banner__container:not(.image-banner__container--show-bg)
  .button:not(.button--link, .button--text, .button--icon) {
  min-height: 50px;
}

@media (max-width: 959px) {
  .image-banner-section .block-heading {
    max-width: 520px;
  }

  .image-banner-section .block-description {
    max-width: 100%;
  }

  .image-banner-section .subheading {
    letter-spacing: 0.08em;
  }

  .image-banner-section:not(.content-below)::before {
    background: linear-gradient(
      180deg,
      rgb(250 248 244 / 90%) 0%,
      rgb(250 248 244 / 74%) 48%,
      rgb(250 248 244 / 18%) 100%
    );
  }

  .image-banner-section:not(.content-below)
    .image-banner__container:not(.image-banner__container--show-bg) {
    max-width: 100%;
    padding: 20px;
  }

  .image-banner-section:not(.content-below)
    .image-banner__container:not(.image-banner__container--show-bg)
    .block-heading {
    font-size: clamp(30px, 8.8vw, 34px);
    line-height: 1.18;
  }

  .image-banner-section:not(.content-below)
    .image-banner__container:not(.image-banner__container--show-bg)
    .block-description {
    font-size: 15px;
    line-height: 1.58;
    max-width: 100%;
  }
}
