/* Front page: the official film, festival facts and public galleries. */
.hero { margin-top: 26px; }
.home-intro {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.32fr);
  align-items: center;
  border: 1px solid var(--border);
  background: #0c101b;
}
.hero-header { min-width: 0; padding: clamp(23px, 3vw, 44px); }
.hero-header h1 { font-size: clamp(39px, 5.3vw, 76px); font-weight: 710; line-height: 1.06; letter-spacing: -.053em; text-wrap: balance; }
.hero-subtitle { margin-top: 9px; color: var(--gold); font-weight: 600; font-size: clamp(15px, 1.55vw, 22px); line-height: 1.4; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 15px; margin-top: 14px; }
.hero-actions .btn { padding-inline: 14px; }
.home-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text2); font-size: 13px; white-space: nowrap; }
.home-text-link:hover { color: var(--gold); text-decoration: underline; }
.home-film { min-width: 0; border-left: 1px solid var(--border); }
.home-film-screen { position: relative; overflow: hidden; background: #000; }
.home-film video { width: 100%; aspect-ratio: 3396/1440; object-fit: contain; background: #000; }
.home-film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 1px solid rgb(245 246 250 / 65%); border-radius: 50%; background: rgb(8 11 22 / 85%); color: var(--text); font-size: 21px; }
.home-film-play span { margin-left: 3px; }
.home-film-play:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.home-film figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-top: 1px solid var(--border); color: var(--text2); font-size: 12px; font-variant-numeric: tabular-nums; }
.film-status { padding: 4px 12px 8px; color: var(--text2); font-size: 13px; }
.film-status:empty { display: none; }

.home-dates { margin-top: 14px; }
.home-dates dl { display: grid; grid-template-columns: minmax(0, 1.28fr) repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); background: var(--bg2); }
.home-dates dl > div { min-width: 0; padding: 12px 16px; }
.home-dates dl > div + div { border-left: 1px solid var(--border); }
.home-dates dt { color: var(--text3); font-size: 12px; }
.home-dates dd { margin-top: 3px; color: var(--text); font-size: clamp(14px, 1.26vw, 18px); font-weight: 610; font-variant-numeric: tabular-nums; text-wrap: pretty; }
.home-dates dd a:hover { color: var(--gold); }
.edition-home-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: 20px 24px; }
.edition-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.edition-stats > div { min-width: 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 3px; padding-left: 12px; border-left: 1px solid var(--border); }
.edition-stats dt { color: var(--text3); font-size: 12px; line-height: 1.5; text-wrap: pretty; }
.edition-stats dd { color: var(--gold); font-size: clamp(24px, 2.55vw, 36px); font-weight: 670; line-height: 1.15; font-variant-numeric: tabular-nums; }
.edition-home-link { justify-self: end; }
.edition-home-link p { color: var(--text3); font-size: 12px; }
.edition-home-actions { display: flex; flex-wrap: wrap; gap: 0 16px; }
.edition-home-actions a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: var(--gold); font-size: 13px; font-weight: 600; white-space: nowrap; }
.edition-home-actions a:hover { text-decoration: underline; }

.home-galleries { padding-top: 4px; }
.home-galleries .section { border-top: 1px solid var(--border); padding-top: 12px; }
.home-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.home-news-item { min-width: 0; display: grid; grid-template-columns: minmax(110px, .44fr) minmax(0, 1fr); gap: 15px; align-items: start; border-top: 1px solid var(--border); padding-top: 12px; }
.home-news-item--programme { grid-column: 1/-1; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 0; align-items: stretch; border: 1px solid var(--border); padding: 0; background: var(--bg2); }
.home-news-image { min-width: 0; display: block; overflow: hidden; background: var(--bg2); }
.home-news-image img { width: 100%; height: 100%; min-height: 102px; object-fit: cover; aspect-ratio: 16/10; }
.home-news-item--programme .home-news-image img { aspect-ratio: 2.35; object-position: center; }
.home-news-copy { min-width: 0; }
.home-news-item--programme .home-news-copy { align-self: center; padding: 16px clamp(16px, 2.4vw, 34px); }
.home-news-copy h3 { font-size: clamp(16px, 1.45vw, 21px); font-weight: 640; line-height: 1.32; overflow-wrap: anywhere; }
.home-news-item--programme h3 { font-size: clamp(21px, 2.4vw, 33px); font-weight: 700; letter-spacing: -.025em; }
.home-news-copy h3 a:hover { color: var(--gold); }
.home-news-copy p { margin-top: 5px; color: var(--text2); font-size: 13px; line-height: 1.55; text-wrap: pretty; }
.home-news-copy .home-text-link { color: var(--gold); }

.creator-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; }
.creator-item { min-width: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-areas: "avatar name" "avatar specialty"; gap: 2px 9px; min-height: 66px; align-content: center; border-bottom: 1px solid var(--border); padding-block: 8px; }
.creator-item .av { grid-area: avatar; align-self: center; width: 46px; height: 46px; overflow: hidden; background: var(--bg3); }
.creator-item .av img { width: 100%; height: 100%; object-fit: cover; }
.creator-item h4 { grid-area: name; align-self: end; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.creator-feature-specialty { grid-area: specialty; align-self: start; font-size: 11px; color: var(--text3); overflow-wrap: anywhere; }
.creator-item:hover h4 { color: var(--gold); }
.home-history { margin-bottom: 22px; border-block: 1px solid var(--border); }
.home-history summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; list-style: none; font-size: 18px; font-weight: 650; }
.home-history summary::-webkit-details-marker { display: none; }
.home-history summary span { font-size: 24px; color: var(--gold); }
.home-history[open] summary span { transform: rotate(45deg); }
.home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-block: 12px; border-top: 1px solid var(--border); }
.home-stats strong { display: block; color: var(--gold); font-size: clamp(22px, 3vw, 30px); line-height: 1.25; font-weight: 650; font-variant-numeric: tabular-nums; }
.home-stats span { color: var(--text3); font-size: 12px; }
.hero-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 16px; }
.hero-item { display: block; min-width: 0; }
.hero-item > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero-item .info { padding-top: 8px; }
.hero-item h3 { font-size: 17px; overflow-wrap: anywhere; }
.hero-item .info span { color: var(--text3); font-size: 12px; }
.home-explore { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 22px; margin-bottom: 36px; padding: 16px 20px; border: 1px solid var(--border); background: var(--bg2); }
.home-explore h2 { font-size: clamp(22px, 2.5vw, 32px); overflow-wrap: anywhere; }
.home-explore p { margin-top: 4px; color: var(--text3); font-size: 13px; }
.home-explore-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }

@media (max-width: 1100px) {
  .hero-header h1 { font-size: clamp(36px, 5vw, 56px); }
  .creator-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .edition-home-summary { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .edition-home-link { justify-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 14px; }
}
@media (max-width: 768px) {
  .hero { margin-top: 16px; }
  .home-intro { grid-template-columns: minmax(0, 1fr); }
  .hero-header { padding: 16px; }
  .hero-header h1 { font-size: clamp(37px, 8vw, 57px); }
  .hero-actions { gap: 0 12px; margin-top: 10px; }
  .home-film { border-left: 0; border-top: 1px solid var(--border); }
  .home-film-play { width: 46px; height: 46px; font-size: 18px; }
  .home-dates dl { grid-template-columns: minmax(0, 1fr); }
  .home-dates dl > div { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 10px; align-items: baseline; padding: 8px 12px; }
  .home-dates dl > div + div { border-top: 1px solid var(--border); border-left: 0; }
  .home-dates dd { margin: 0; font-size: 14px; line-height: 1.5; }
  .home-dates dt { font-size: 11px; }
  .edition-home-summary { padding-block: 16px; }
  .edition-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .edition-stats > div { padding-left: 8px; }
  .edition-home-actions { gap: 0 12px; }
  .home-news-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-news-item { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
  .home-news-item--programme { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-news-item--programme .home-news-copy { padding: 12px 14px 4px; }
  .home-news-item--programme .home-news-image img { aspect-ratio: 2.35; }
  .creator-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .creator-item { grid-template-columns: 38px minmax(0, 1fr); min-height: 55px; gap: 2px 7px; }
  .creator-item .av { width: 38px; height: 38px; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-explore { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; padding: 13px 14px; }
}
@media (max-width: 380px) {
  .hero-header { padding: 13px; }
  .hero-actions { gap: 0 9px; }
  .hero-actions .btn { padding-inline: 10px; font-size: 13px; }
  .hero-actions .home-text-link { font-size: 12px; }
  .home-news-item:not(.home-news-item--programme) { grid-template-columns: 82px minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
