/* Локальная подложка отделяет текст, сохраняя исходные цвета видео вокруг него. */
.hero.gift-hero.video-hero {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(48px, calc((100vw - 1240px) / 2));
  background: var(--paper);
}
.video-hero::before,
.video-hero::after { display: none; }
.video-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 20px 12px 24px;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
/* Скруглённая подложка. Край размыт сильнее, чтобы граница не читалась линией. */
.video-hero .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -56px -72px -60px -72px;
  border-radius: 48px;
  background: rgba(255,253,251,.97);
  filter: blur(36px);
  box-shadow: none;
  pointer-events: none;
}
.gift-hero.video-hero h1 {
  color: #491952;
  font-size: clamp(36px, 4vw, 56px);
}
.gift-hero.video-hero .hero-line { white-space: nowrap; }
.gift-hero.video-hero h1 em,
.gift-hero.video-hero .eyebrow { color: #9d169e; }
.gift-hero.video-hero .hero-description { color: #302335; }
.gift-hero.video-hero .hero-buttons .primary {
  color: white;
  background: #9d169e;
  border-color: transparent;
  box-shadow: none;
}
.gift-hero.video-hero .hero-buttons .primary:hover {
  color: white;
  background: #7a1280;
  border-color: transparent;
}
.gift-hero.video-hero .hero-buttons .primary:active {
  color: white;
  background: #68106d;
}
.hero-video-toggle {
  color: var(--purple);
  background: #fffdfbef;
  border-color: #9d169e66;
  backdrop-filter: none;
}
.hero-video-toggle:hover { background: #f8e7f7; }
.hero-video-toggle:active { background: #f0d4ee; }
.video-hero a:focus-visible,
.hero-video-toggle:focus-visible { outline-color: var(--purple); }
@media (max-width: 980px) {
  .hero.gift-hero.video-hero { padding-inline: 32px; }
}
@media (max-width: 720px) {
  .hero.gift-hero.video-hero { min-height: 0; padding: 220px 0 0; display: block; }
  .video-hero .hero-video { height: 220px; object-position: center; }
  .video-hero .hero-copy {
    max-width: none;
    padding: 28px 20px 32px;
    background: var(--paper);
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .video-hero .hero-copy::before { display: none; }
  .hero-video-toggle { top: 160px; bottom: auto; right: 20px; }
  .gift-hero.video-hero h1 { font-size: 40px; letter-spacing: -1.3px; }
  .gift-hero.video-hero .hero-line { font-size: clamp(28px, 8.4vw, 40px); }
}
