/* Films page only. */

/* ---------- Featured meta ---------- */

#featured-meta { padding: 110px var(--gutter) 64px; background: var(--chalk); }
#featured-meta .fm__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
#featured-meta h2 {
  margin: 0;
  font-weight: 300; font-size: 34px; line-height: 48px;
  max-width: 860px;
}
#featured-meta .fm__link { margin-top: 22px; }
#featured-meta .fm__runtime { font-size: 10px; font-weight: 500; letter-spacing: 1.8px; white-space: nowrap; }

/* ---------- The featured film, click to play ---------- */

#film {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
#film .film__play {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: #000; cursor: pointer;
}
#film .film__play img {
  width: 100%; height: 100%; max-width: none; object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22,0.61,0.36,1);
}
#film .film__play:hover img { transform: scale(1.02); }
#film .film__btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: rgba(239,234,225,0.92);
  transition: background-color 200ms ease, transform 260ms cubic-bezier(0.22,0.61,0.36,1);
}
#film .film__play:hover .film__btn { transform: translate(-50%,-50%) scale(1.06); background: var(--chalk); }
#film .film__btn::after {
  content: ""; margin-left: 6px;
  border-style: solid; border-width: 13px 0 13px 21px;
  border-color: transparent transparent transparent var(--field);
}
#film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

#index .card--soon .card__still {
  display: flex; align-items: center; justify-content: center;
  background: var(--hedge);
}
#index .card--soon .card__still p {
  font-size: 10px; font-weight: 500; letter-spacing: 1.8px; color: var(--chalk);
}

/* ---------- Film index ---------- */

#index { padding: 80px var(--gutter) 130px; background: var(--chalk); }
#index .index__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 36px; }
#index .card { display: flex; flex-direction: column; gap: 18px; }
#index .card__still { position: relative; aspect-ratio: 620 / 349; overflow: hidden; background: var(--field); }
#index .card__still img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22,0.61,0.36,1);
}
#index a.card:hover .card__still img { transform: scale(1.045); }
#index .card__meta {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  font-size: 9px; font-weight: 500; letter-spacing: 1.62px;
}
#index .card__title { font-weight: 300; font-size: 21px; line-height: 30px; }

/* ---------- Responsive ---------- */

@media (max-width: 1400px) {
  #featured-meta h2 { font-size: 27px; line-height: 38px; }
}

@media (max-width: 1100px) {
  #featured-meta { padding-top: 72px; padding-bottom: 44px; }
  #featured-meta .fm__row { flex-direction: column; gap: 18px; }
  #index { padding-top: 56px; padding-bottom: 80px; }
  #index .index__grid { gap: 36px 24px; }
}

@media (max-width: 620px) {
  #featured-meta h2 { font-size: 23px; line-height: 32px; }
  #index .index__grid { grid-template-columns: 1fr; gap: 40px; }
  #index .card__title { font-size: 19px; line-height: 27px; }
}

@media (max-width: 620px) { #film .film__btn { width: 68px; height: 68px; }
  #film .film__btn::after { border-width: 10px 0 10px 16px; } }
