/* Герой: колонки на одной линии, аватар напротив заголовка карточки */
.hero-grid {
  align-items: start;
}

.hero-compose {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 1.75rem auto 0;
}

.hero-compose__face {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  right: 0.35rem;
  top: 1.75rem;
  width: 7.75rem;
}

.hero-compose__face img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(8, 36, 84, 0.32));
}

.hero-compose__card {
  position: relative;
  z-index: 1;
  padding-right: 6.5rem;
}

@media (max-width: 639px) {
  .hero-copy .flex {
    flex-direction: column;
  }

  .hero-copy a {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 640px) {
  .hero-compose {
    margin-top: 2rem;
    max-width: 30rem;
  }

  .hero-compose__face {
    top: 1.15rem;
    width: 9.5rem;
  }

  .hero-compose__card {
    padding-right: 8rem;
  }
}

@media (min-width: 1024px) {
  .hero-copy,
  .hero-compose {
    margin-top: 2rem;
  }

  .hero-compose {
    max-width: none;
  }

  .hero-compose__face {
    right: 0.85rem;
    top: -0.35rem;
    width: 12.25rem;
  }

  .hero-compose__card {
    min-height: 16.5rem;
    padding-right: 10.5rem;
  }
}
