.home-promo[hidden] {
  display: none;
}

.home-promo {
  position: absolute;
  z-index: 4;
  inset: 140px 22px 18px;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 30px rgba(24, 61, 51, .08);
  color: var(--teal-dark);
}

.home-promo-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 68px;
  color: #788b82;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

.home-promo-top span:last-child {
  margin-left: auto;
  color: var(--teal);
  letter-spacing: .08em;
}

.home-promo-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 8px 68px 3px 0;
  text-decoration: none;
}

.home-promo-link strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--teal-dark);
  font: 700 clamp(19px, 2.3vw, 27px)/1.15 var(--display);
  letter-spacing: -.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-promo-link > span {
  display: -webkit-box;
  overflow: hidden;
  max-width: 510px;
  color: #718079;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-promo-link > b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: var(--teal);
  font-size: 11px;
}

.home-promo-link > b i {
  color: var(--orange);
  font-size: 18px;
  font-style: normal;
  transition: transform .2s ease;
}

.home-promo-link:hover > b i {
  transform: translateX(4px);
}

.home-promo-controls {
  position: absolute;
  right: 17px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.home-promo-controls button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #dce5df;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  font: 18px var(--font);
  cursor: pointer;
  transition: border-color .2s, color .2s, transform .2s;
}

.home-promo-controls button:hover:not(:disabled) {
  transform: translateX(2px);
  border-color: var(--orange);
  color: var(--orange);
}

.home-promo-controls button:disabled {
  opacity: .4;
  cursor: default;
}

.hero-visual.has-promotions .visual-illustration,
.hero-visual.has-promotions .visual-bottom {
  display: none;
}

.hero-visual.has-promotions .visual-heading {
  z-index: 4;
  top: 56px;
  left: 30px;
}

.hero-visual.has-promotions .visual-topline {
  z-index: 5;
}

@media (max-width: 900px) {
  .home-promo {
    inset-inline: 16px;
    padding-inline: 18px;
  }

  .hero-visual.has-promotions .visual-heading {
    left: 24px;
  }
}

@media (max-width: 680px) {
  .home-promo {
    inset: 112px 12px 12px;
    padding: 14px 15px;
  }

  .home-promo-top {
    padding-right: 48px;
    font-size: 7px;
  }

  .home-promo-link {
    gap: 7px;
    padding-right: 45px;
  }

  .home-promo-link strong {
    font-size: 18px;
  }

  .home-promo-link > span {
    font-size: 10px;
    -webkit-line-clamp: 3;
  }

  .home-promo-controls {
    right: 10px;
    gap: 6px;
  }

  .home-promo-controls button {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .hero-visual.has-promotions .visual-heading {
    top: 48px;
    left: 18px;
    font-size: 27px;
  }

  .hero-visual.has-promotions .visual-heading em {
    font-size: 27px;
  }
}
