.hero-block {
  display: flex;
  align-items: center;
}

.hero-block--image-only {
  display: block;
}

.hero_wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--text-gap);
  background: white;
  border-radius: 20px;
  position: relative;
}

.badge {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10%;
  right: 0;
  transform: translateX(50%);
  padding: 1.5rem;
  background-color: var(--color-grey);
  border-radius: 50%;
  aspect-ratio: 1 !important;
  width: 100%;
  max-width: 120px;
  height: auto;
}

.badge p {
  margin-bottom: 0 !important;
}

@media (max-width: 1200px) {
  .badge {
    top: 0;
    right: 0;
    transform: translateY(-50%);
  }
}

@media (max-width: 768px) {
  .badge {
    padding: 1rem;
    width: 100%;
    max-width: 85px;
    height: auto;
  }
}

.layout-block.parallax:has(.hero-block) {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

.layout-block.parallax:has(.hero-block) > [class^="layout-"] {
  width: 100%;
  margin-top: 6.4375rem;
}

.layout-block.parallax:has(.hero-block) .hero-block {
  width: 100%;
}

.layout-block.parallax:has(.hero-block--image-only) {
  min-height: calc(100vh - var(--site-header-height));
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.layout-block.parallax:has(.hero-block--image-only) > [class^="layout-"] {
  margin-top: 0;
}

.layout-block.parallax:has(.hero-block--image-only) .hero-block {
  min-height: calc(100vh - var(--site-header-height));
}

@media (max-width: 992px) {
  .layout-block.parallax:has(.hero-block--image-only) {
    min-height: calc(100vh - var(--site-header-height-mobile));
  }

  .layout-block.parallax:has(.hero-block--image-only) .hero-block {
    min-height: calc(100vh - var(--site-header-height-mobile));
  }
}

@media (max-width: 768px) {
  .layout-block.parallax:has(.hero-block) > [class^="layout-"] {
    margin-top: 6.4375rem;
  }

  .layout-block.parallax:has(.hero-block) {
    background-attachment: scroll;
  }
}
