/* Super Big Banner - Desktop: full viewport minus sticky tab (--super-big-banner-sticky-offset). Mobile: height follows image aspect ratio. */
.super-big-banner {
  --super-big-banner-sticky-offset: 0px;

  position: relative;
  box-sizing: border-box;
  min-height: calc(100dvh - var(--super-big-banner-sticky-offset));
  overflow: hidden;
}

.super-big-banner--overview-only[hidden] {
  display: none !important;
}

.super-big-banner__background {
  position: absolute;
  inset: 0;
  background-color: #0e1424;
}

.super-big-banner__image,
.super-big-banner__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.super-big-banner__image--mobile {
  display: none;
}

.super-big-banner__image--pc {
  display: block;
}

@media (max-width: 991px) {
  .super-big-banner {
    min-height: 0;
  }

  .super-big-banner__background {
    position: relative;
    inset: auto;
  }

  .super-big-banner__image,
  .super-big-banner__placeholder {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
  }

  .super-big-banner__image--mobile {
    display: block;
  }

  .super-big-banner__image--pc {
    display: none;
  }

  .super-big-banner > .valki-main-container {
    position: absolute;
    inset: 0;
    min-height: 100%;
    pointer-events: none;
  }

  .super-big-banner .super-big-banner__content {
    pointer-events: auto;
    min-height: 100%;
    height: 100%;
    padding: 32px 20px;
  }
}

.super-big-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - var(--super-big-banner-sticky-offset));
  padding: 80px 0;
  box-sizing: border-box;
}

.super-big-banner__text {
  max-width: 640px;
  text-align: center;
}

/* 9-point alignment — desktop */
@media (min-width: 992px) {
  .super-big-banner--top_left .super-big-banner__content {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .super-big-banner--top_center .super-big-banner__content {
    align-items: flex-start;
    justify-content: center;
  }

  .super-big-banner--top_right .super-big-banner__content {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .super-big-banner--middle_left .super-big-banner__content {
    align-items: center;
    justify-content: flex-start;
  }

  .super-big-banner--middle_center .super-big-banner__content {
    align-items: center;
    justify-content: center;
  }

  .super-big-banner--middle_right .super-big-banner__content {
    align-items: center;
    justify-content: flex-end;
  }

  .super-big-banner--bottom_left .super-big-banner__content {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .super-big-banner--bottom_center .super-big-banner__content {
    align-items: flex-end;
    justify-content: center;
  }

  .super-big-banner--bottom_right .super-big-banner__content {
    align-items: flex-end;
    justify-content: flex-end;
  }

  .super-big-banner--top_left .super-big-banner__text,
  .super-big-banner--middle_left .super-big-banner__text,
  .super-big-banner--bottom_left .super-big-banner__text {
    text-align: left;
  }

  .super-big-banner--top_right .super-big-banner__text,
  .super-big-banner--middle_right .super-big-banner__text,
  .super-big-banner--bottom_right .super-big-banner__text {
    text-align: right;
  }
}

/* 9-point alignment — mobile */
@media (max-width: 991px) {
  .super-big-banner-m--top_left .super-big-banner__content {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .super-big-banner-m--top_center .super-big-banner__content {
    align-items: flex-start;
    justify-content: center;
  }

  .super-big-banner-m--top_right .super-big-banner__content {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .super-big-banner-m--middle_left .super-big-banner__content {
    align-items: center;
    justify-content: flex-start;
  }

  .super-big-banner-m--middle_center .super-big-banner__content {
    align-items: center;
    justify-content: center;
  }

  .super-big-banner-m--middle_right .super-big-banner__content {
    align-items: center;
    justify-content: flex-end;
  }

  .super-big-banner-m--bottom_left .super-big-banner__content {
    align-items: flex-end;
    justify-content: flex-start;
  }

  .super-big-banner-m--bottom_center .super-big-banner__content {
    align-items: flex-end;
    justify-content: center;
  }

  .super-big-banner-m--bottom_right .super-big-banner__content {
    align-items: flex-end;
    justify-content: flex-end;
  }

  .super-big-banner-m--top_left .super-big-banner__text,
  .super-big-banner-m--middle_left .super-big-banner__text,
  .super-big-banner-m--bottom_left .super-big-banner__text {
    text-align: left;
  }

  .super-big-banner-m--top_right .super-big-banner__text,
  .super-big-banner-m--middle_right .super-big-banner__text,
  .super-big-banner-m--bottom_right .super-big-banner__text {
    text-align: right;
  }
}

.super-big-banner__title {
  margin: 0 0 24px;
  font-size: 48px;
  font-weight: 700;
  line-height: 58.5px;
  color: #ffffff;
}

@media (max-width: 991px) {
  .super-big-banner__title {
    font-size: 24px;
    line-height: 34px;
    margin-block-end: 16px;
  }
}

.super-big-banner__description {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  color: #ffffff;
}

@media (max-width: 991px) {
  .super-big-banner__description {
    font-size: 14px;
    line-height: 22px;
  }
}

.super-big-banner__title.rte p,
.super-big-banner__description.rte p {
  margin: 0;
}

.super-big-banner__title.rte p + p,
.super-big-banner__description.rte p + p {
  margin-top: 12px;
}
