.film-main {
  padding: 0 var(--side-padding) clamp(80px, 10vw, 150px);
}

.film-logo-section {
  min-height: clamp(190px, 28vw, 420px);
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(20px, 3vw, 42px);
}

.film-logo {
  max-width: min(68vw, 680px);
  max-height: clamp(160px, 24vw, 340px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.film-intro-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 3.5vw, 52px);
  align-items: start;
  margin: clamp(28px, 5vw, 80px) 0 clamp(60px, 8vw, 120px);
}

.film-poster-wrap {
  display: grid;
  place-items: center;
}

.film-poster {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.film-texts {
  display: grid;
  gap: clamp(32px, 5vw, 70px);
}

.film-texts h1,
.film-texts h2,
.film-section-head h2 {
  margin: 0 0 clamp(14px, 2vw, 26px);
  font-family: "Metal Mania", system-ui, sans-serif;
  font-weight: 400;
  line-height: 0.9;
  color: #d20000;
}

.film-texts h1 {
  font-size: clamp(4rem, 9vw, 10rem);
}

.film-texts h2,
.film-section-head h2 {
  font-size: clamp(3.2rem, 7vw, 7.5rem);
}

.film-text-block {
  white-space: pre-line;
  color: var(--text);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}

.film-video-section {
  margin: clamp(60px, 10vw, 150px) 0;
}

.film-video {
  display: block;
  width: 100%;
  max-width: 1400px;
  max-height: 82vh;
  margin: 0 auto;
  background: #000;
}

.film-credits {
  max-width: 760px;
  margin: 18px 0 0 auto;
  color: var(--muted);
  white-space: pre-line;
  text-align: left;
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.55;
}

.film-gallery-section {
  margin: clamp(70px, 10vw, 150px) 0;
}

.film-section-head {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-bottom: clamp(26px, 4vw, 52px);
  border-top: 4px solid #d20000;
  border-radius: 0;
  padding-top: clamp(28px, 4vw, 52px);
}

.film-pdf-link {
  display: inline-flex;
  margin-bottom: 0;
  padding: 10px 20px;
  border: 2px solid #d20000;
  border-radius: 999px;
  color: #d20000;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.film-pdf-link:hover {
  background: #d20000;
  color: var(--background);
  transform: translateY(-1px);
}

.film-gallery {
  width: 100%;
}

.film-gallery-row {
  display: flex;
  width: 100%;
  gap: var(--gallery-gap);
  margin-bottom: var(--gallery-gap);
  align-items: flex-start;
}

@media (max-width: 900px) {
  .film-intro-section {
    grid-template-columns: 1fr;
  }

  .film-poster {
    max-height: 70vh;
  }

  .film-section-head {
    display: grid;
    justify-content: start;
  }

  .film-credits {
    text-align: right;
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  @media (max-width: 760px) {
    .film-logo-section {
      min-height: 190px;
      margin-bottom: 20px;
    }

    .film-logo {
      max-width: 86vw;
      max-height: 220px;
    }

    .film-intro-section {
      margin: 28px 0 76px;
      gap: 24px;
    }
    }


  .film-texts h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .film-texts h2 {
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .film-section-head h2 {
    font-size: clamp(3rem, 15vw, 5rem);
  }
  .film-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
  }

  .film-gallery-row {
    display: contents;
  }

  .film-gallery .gallery-item {
    width: 100% !important;
    height: auto !important;
  }

  .film-gallery .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 420px) {
  .film-gallery {
    grid-template-columns: 1fr;
  }
}
.film-texts h1 {
  font-size: clamp(3.2rem, 6.8vw, 7.2rem);
}

.film-texts h2 {
  font-size: clamp(2.8rem, 5.6vw, 6rem);
}

.film-section-head h2 {
  font-size: clamp(3.2rem, 7vw, 7.5rem);
}
.film-text-block,
.film-credits {
  text-align: justify;
}
.film-credits {
  width: min(100%, 1400px);
  max-width: none;
  margin: 18px auto 0;
  color: var(--muted);
  white-space: pre-line;
  text-align: right;
  font-size: clamp(0.85rem, 1vw, 1rem);
  line-height: 1.55;
}