﻿.film-viewer-page {
  min-height: 100vh;
  background: #211e1b;
  color: #f6ede0;
}
.film-viewer {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px;
}
.film-viewer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.film-viewer-heading h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}
.film-viewer-close {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border: 1px solid #c8b9a2;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}
.film-viewer a { color: #f6ede0; text-decoration: underline; text-underline-offset: 4px; }
.film-viewer a:focus-visible,
.film-viewer button:focus-visible,
.film-viewer summary:focus-visible,
.film-viewer video:focus-visible { outline: 3px solid #e1acb3; outline-offset: 4px; }
.film-viewer .film-viewer-close { text-decoration: none; }
.film-viewer-close:hover { background: #423a33; }
.film-viewer > p { margin: 18px 0; }
.film-viewer .department-film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  margin-top: 18px;
}
.film-viewer-description { margin-top: 24px; }
.film-viewer-description summary { width: fit-content; cursor: pointer; }
.film-viewer-description p { margin-top: 16px; }
@media (max-width: 480px) {
  .film-viewer { padding: 20px; }
  .film-viewer-heading { align-items: flex-start; gap: 16px; }
}
