.festival-header {
  display: grid;
  gap: 12px;
}

.tamers-collab-back-link {
  justify-self: start;
  font: 14px/1.4 Avenir, "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1f4f94;
  text-decoration: none;
}

.tamers-collab-back-link:hover,
.tamers-collab-back-link:focus-visible {
  text-decoration: underline;
}

:root[data-theme="dark"] .tamers-collab-back-link {
  color: #a9caff;
}

.festival-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(100px, 16vw, 176px);
  align-items: center;
  gap: 24px;
}

.festival-intro h1 {
  line-height: 1.12;
}

.festival-icon {
  display: block;
  width: 100%;
  height: auto;
}

.festival-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.festival-movie {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fun-panel-border);
  background: var(--fun-panel);
  box-shadow: var(--fun-card-shadow);
}

.festival-movie:last-child {
  grid-column: 1 / -1;
  width: calc((100% - 26px) / 2);
  justify-self: center;
}

.festival-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0a1423;
  border-bottom: 1px solid var(--fun-panel-border);
}

.festival-caption {
  padding: 18px 20px 20px;
  overflow-wrap: anywhere;
}

.festival-caption h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.festival-caption p {
  margin: 0;
  color: var(--fun-muted);
  line-height: 1.5;
}

.festival-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-bottom-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #111111;
}

.home-bottom-link svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 700px) {
  .festival-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .festival-icon {
    width: 128px;
    justify-self: center;
  }

  .festival-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .festival-movie:last-child {
    width: 100%;
  }
}
