/* ===== Березкинское кино — страница фильма. Дополняет fairytale.css ===== */

.watch {
  /* Обложка выше по разметке, но она position: relative и потому рисуется
     ПОВЕРХ обычных блоков. Плеер заезжает под неё отрицательным отступом,
     и без собственного слоя его верхняя полоса прячется под обложкой. */
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: -54px auto 0;
  scroll-margin-top: 96px;
}

.watch video {
  display: block;
  width: 100%;
  /* без height:auto атрибут height="1080" задал бы высоту в пикселях,
     и постер лёг бы в чёрную рамку внутри слишком высокого блока */
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.watch-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 18px 2px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.watch-note a {
  border-bottom: 1px solid rgba(23, 32, 28, 0.28);
}

.watch-note a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

/* Карточка с логлайном — как .intro у сказок, но без картинки слева */
.film-intro {
  display: block;
  margin-top: 64px;
}

.film-intro p:first-child {
  margin-bottom: 20px;
}

.facts {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 72px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.facts div {
  padding: 26px 24px;
  background: rgba(255, 253, 247, 0.92);
}

.facts dt,
.facts b {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}

.made {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 84px;
}

.made h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.04;
}

.made p {
  margin-bottom: 16px;
  color: #35423a;
  font-size: 18px;
  line-height: 1.68;
}

.made p:last-child {
  margin-bottom: 0;
}

.next-stories {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 96px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.next-stories h2 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1;
}

.next-stories a {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  transition: opacity 150ms ease;
}

.next-stories a:hover {
  opacity: 0.58;
}

.next-stories a span {
  color: var(--amber);
}

@media (max-width: 860px) {
  .watch {
    margin-top: -28px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .facts {
    grid-template-columns: 1fr;
  }
}
