
/* ==========================================================
   ZOLUSHKA RELEASE 16.0
   Компактный вертикальный ритм и три ключевых видео.
   ========================================================== */

:root {
  --zl16-section: clamp(70px, 6.2vw, 104px);
  --zl16-section-mobile: 56px;
}

/* Главная не должна ощущаться набором экранов с пустыми полями. */
.zl5-home :is(.zl5-shows, .zl5-about, .zl5-gallery, .zl5-news, .zl5-route, .zl5-request, .zl5-doors, .zl16-priority-video) {
  padding-top: var(--zl16-section) !important;
  padding-bottom: var(--zl16-section) !important;
}
.zl5-home .zl5-heading {
  margin-bottom: clamp(30px, 4vw, 48px) !important;
}
.zl5-home .zl5-about__grid,
.zl5-home .zl5-request__grid {
  gap: clamp(42px, 6vw, 78px) !important;
}
.zl5-home .zl5-request__grid {
  align-items: start !important;
}
.zl5-home .zl5-request__copy,
.zl5-home .zl5-scroll-form {
  align-self: start;
}
.zl5-home .zl5-request ol {
  margin-top: 27px !important;
}
.zl5-home .zl5-request li {
  padding-block: 12px !important;
}
.zl5-home .zl5-scroll-form {
  padding: 22px 16px !important;
}
.zl5-home .zl5-scroll-form::before,
.zl5-home .zl5-scroll-form::after {
  height: 22px !important;
}
.zl5-home .zl5-scroll-form__inner {
  padding: clamp(24px, 3vw, 34px) !important;
}
.zl5-home .zl5-scroll-form h3 {
  margin-bottom: 16px !important;
}
.zl5-home .zl-lead-form {
  gap: 11px !important;
}
.zl5-home .zl-lead-form label {
  gap: 5px !important;
}
.zl5-home .zl-lead-form textarea {
  min-height: 88px !important;
}

/* Priority videos */
.zl16-priority-video {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(47, 99, 205, .30), transparent 31%),
    url('../images/fairytale/stars-trail.svg') center / 92% auto no-repeat,
    linear-gradient(180deg, #031331, #08275f) !important;
}
.zl16-priority-video > .zl-shell {
  position: relative;
  z-index: 1;
}
.zl16-priority-video__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.zl16-video-card {
  display: grid;
  grid-template-columns: minmax(220px, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  color: #fff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(245,216,127,.34);
  box-shadow: 0 24px 58px rgba(0,0,0,.20);
}
.zl16-video-card--featured {
  grid-row: 1 / 3;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(360px, 1fr) auto;
}
.zl16-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 235px;
  background: #000;
  object-fit: contain;
}
.zl16-video-card--featured video {
  min-height: 440px;
}
.zl16-video-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px);
}
.zl16-video-card__copy > span {
  color: #f5d87f;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.zl16-video-card__copy h3 {
  margin: 10px 0 10px;
  color: #fff !important;
  font-size: clamp(1.65rem, 2.7vw, 3rem);
  line-height: 1.02;
}
.zl16-video-card:not(.zl16-video-card--featured) h3 {
  font-size: clamp(1.4rem, 1.9vw, 2rem);
}
.zl16-video-card__copy p {
  margin: 0;
  color: rgba(255,255,255,.72) !important;
  line-height: 1.55;
}

/* Less ornamental dead space between adjacent blocks. */
.zl5-home .zl5-paper::before {
  height: 52px !important;
  top: -26px !important;
  background-size: 760px 52px !important;
}
.zl5-home .zl5-paper::after {
  display: none !important;
}

@media (max-width: 1100px) {
  .zl16-priority-video__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .zl16-video-card--featured {
    grid-row: auto;
  }
  .zl16-video-card {
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  }
}
@media (max-width: 760px) {
  .zl5-home :is(.zl5-shows, .zl5-about, .zl5-gallery, .zl5-news, .zl5-route, .zl5-request, .zl5-doors, .zl16-priority-video) {
    padding-top: var(--zl16-section-mobile) !important;
    padding-bottom: var(--zl16-section-mobile) !important;
  }
  .zl5-home .zl5-heading {
    margin-bottom: 28px !important;
  }
  .zl16-video-card,
  .zl16-video-card--featured {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .zl16-video-card video,
  .zl16-video-card--featured video {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .zl16-video-card__copy {
    padding: 21px 18px 24px;
  }
  .zl16-video-card__copy h3,
  .zl16-video-card:not(.zl16-video-card--featured) h3 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }
  .zl5-home .zl5-request__grid {
    gap: 34px !important;
  }
  .zl5-home .zl5-scroll-form {
    width: 100%;
  }
}
