/* === Hero-секция === */

.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  padding-top: var(--space-hero-y);
  padding-bottom: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface);
  opacity: 0.25;
  clip-path: polygon(0 60%, 100% 40%, 100% 100%, 0% 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__lottie-wrap {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

.hero__lottie-wrap .hero__lottie,
.hero__lottie-wrap .site-lottie {
  display: block;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Длинный монолог (страница «Отсебятина») */
.hero--monologue {
  min-height: min(92vh, 820px);
}

.hero--monologue .hero__lead {
  max-width: min(42rem, 100%);
  line-height: 1.65;
}

.hero__lead.rich-content > p:first-child,
.hero__lead--rte.rich-content > p:first-child {
  margin-top: 0;
}

.hero__lead.rich-content > *:last-child,
.hero__lead--rte.rich-content > *:last-child {
  margin-bottom: 0;
}

/* Встроенные из конфига широкие картинки не должны разъезжать сетку на узком экране */
.hero__lead--rte.rich-content {
  min-width: 0;
  overflow-x: hidden;
}
