.pb-hero-block {
  position: relative;
  overflow: clip;
  padding: 4.5rem 0 5.5rem;
}

.pb-hero-block--with-bar {
      margin-bottom: calc(1.5rem + clamp(10px, 2vw, 20px));
}

.pb-hero-block--with-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0rem;
  width: 100vw;
  height: clamp(48px, 8vw, 190px);
  transform: translateX(-50%);
  background: url("../../../img/pb-bar.svg") left bottom / auto 100% repeat-x;
  pointer-events: none;
  z-index: 0;
  opacity: 33%;
}

.pb-hero-block > .container-xxl {
  position: relative;
  z-index: 1;
}

.pb-hero-block__title {
  margin: 0 0 1.25rem;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 4.8rem);
  letter-spacing: -0.02em;
  line-height: 0.96;
}

.pb-hero-block__text {
  max-width: 38rem;
  color: rgba(18, 18, 18, 0.76);
  font-size: 1.08rem;
}

.pb-hero-block__text p:last-child {
  margin-bottom: 0;
}

.pb-hero-block__visual {
  position: relative;
  padding: 1.3rem;
  overflow: hidden;
}

.pb-hero-block__media {
  padding: 1.1rem;
  border-radius: calc(var(--pb-radius-lg) - 0.6rem);
}

.pb-hero-block__media img {
  aspect-ratio: 1.08;
  /* border-radius: calc(var(--pb-radius-lg) - 0.8rem); */
}

.pb-hero-block__badge {
  position: absolute;
  right: 1.3rem;
  bottom: 1.3rem;
  max-width: 18rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.4rem;
  background: rgba(55, 58, 43, 0.92);
  color: #fff;
  /* box-shadow: var(--pb-shadow); */
}

.pb-hero-block__badge-title {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.pb-hero-block__chips {
  position: absolute;
  left: 1.3rem;
  bottom: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 60%;
}

.pb-hero-block__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 1);
  color: var(--pb-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.pb-hero-block__chip-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--pb-accent);
}

@media (max-width: 991.98px) {
  .pb-hero-block {
    padding: 3rem 0 4rem;
  }

  .pb-hero-block--with-bar {
    padding-bottom: calc(4rem + clamp(42px, 10vw, 76px));
  }

  .pb-hero-block--with-bar::after {
    height: clamp(42px, 10vw, 76px);
  }

  .pb-hero-block__title {
    max-width: none;
  }

  .pb-hero-block__chips {
    position: static;
    max-width: 100%;
    margin-top: 1rem;
  }

  .pb-hero-block__badge {
    position: static;
    max-width: 100%;
    margin-top: 1rem;
  }
}
