/* Now Playing page */

.nav__icon { width: 27px; height: 27px; margin: 0 2.3px; }

.np-banner { display: flex; height: 600px; margin-top: 11px; }
.np-banner img { width: 33.3333%; height: 600px; object-fit: cover; }

main > section { margin-top: 48px; }
.fact__ticket { width: 32px; height: auto; margin-left: 2px; }

/* ---------- 策展論述 ---------- */
.curation { display: flex; gap: 64px; width: 1090px; max-width: calc(100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; align-items: flex-start; }
.curation__title {
  flex: none; width: 37px; margin: 0; font-weight: 300; font-size: 32px; line-height: 1.5; letter-spacing: .3em;
  word-break: break-all; color: var(--dark-gray);
}
.curation__text { flex: 1; min-width: 0; font-size: 20px; line-height: 1.5; letter-spacing: .15em; color: var(--gray); text-align: justify; }
.curation__text p + p { margin-top: 30px; }
.curation__end { padding-left: 6em; }

/* ---------- 放映片單 (vertical timeline) ---------- */
.np-timeline { display: flex; flex-direction: column; gap: 29px; }
.np-timeline__month { margin: 0; height: 53px; font-weight: 300; font-size: 40px; line-height: 1; letter-spacing: .2em; color: var(--teal); }
.np-list { position: relative; margin-left: 0; padding: 29px 0 29px 80px; display: flex; flex-direction: column; gap: 48px; }
.np-list__axis { position: absolute; left: -8.66px; top: 29px; width: 17.32px; height: calc(100% - 58px); max-width: none; }

.np-entry { display: flex; flex-direction: column; gap: 32px; padding: 1px 0; }
.np-entry__date { height: 50px; margin: 0; font-weight: 600; font-size: 48px; line-height: 1; letter-spacing: .1em; color: var(--teal); }
.np-entry__film { display: flex; flex-direction: column; gap: 10px; }
.np-entry__time { height: 27px; margin: 0; font-weight: 500; font-size: 24px; line-height: 1; letter-spacing: .1em; color: var(--teal); }
.np-entry__row { display: flex; gap: 32px; padding-right: 20px; align-items: flex-start; }

.np-entry__still { display: grid; grid-template-columns: 280px 40px; column-gap: 21px; height: 191px; flex: none; }
.np-entry__still img { width: 280px; height: 191px; object-fit: cover; border-top-left-radius: 5px; }
.np-entry__runtime { align-self: start; margin-top: 7px; font-size: 24px; line-height: 1.05; letter-spacing: 0; text-align: right; white-space: nowrap; color: var(--dark-gray); }

.np-entry__info { width: 520px; height: 191px; flex: none; display: flex; flex-direction: column; color: var(--dark-gray); }
.np-entry__zh { margin: 0; font-family: var(--font-film-cn); font-weight: 200; font-size: 28px; line-height: 1.2; letter-spacing: .15em; min-height: 34px; }
.np-entry__en { height: 43px; margin: 0; display: flex; align-items: flex-end; font-family: var(--font-film-en); font-style: italic; font-weight: 300; font-size: 20px; line-height: 1.5; letter-spacing: .05em; }
.np-entry__meta { height: 114px; margin: 0; display: flex; align-items: flex-end; font-weight: 300; font-size: 20px; line-height: 1.5; letter-spacing: .05em; }

.np-entry__blurb { width: 260px; height: 191px; flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.np-entry__blurb p { width: 260px; margin: 0; font-size: 16px; line-height: 1.5; letter-spacing: .15em; color: var(--gray); text-align: justify; overflow: hidden; max-height: 168px; }
.np-entry__blurb img { width: 10px; height: 10px; }

a.np-entry__still:hover + .np-entry__info .np-entry__zh,
a.np-entry__info:hover .np-entry__zh { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- 線下活動: event posters stacked vertically, centred column ---------- */
.events { width: 600px; max-width: calc(100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.events__list { display: flex; flex-direction: column; gap: 32px; }
.events__list img { width: 100%; height: auto; border-radius: 4px; }

footer { margin-top: 177px; }

/* The 3-column film row is 1285px wide and its right edge lands at ~1405px,
   so below that width the blurb column gets cut off. Between the tablet
   breakpoint and that width, keep still + info side by side and move the
   blurb under the info column. */
@media (min-width: 1101px) and (max-width: 1420px) {
  .np-entry__row { display: grid; grid-template-columns: 341px minmax(0, 1fr); column-gap: 32px; row-gap: 16px; }
  .np-entry__info { width: auto; max-width: 520px; height: auto; min-height: 191px; }
  .np-entry__meta { height: auto; min-height: 114px; }
  .np-entry__blurb { grid-column: 2; width: auto; max-width: 520px; height: auto; gap: 8px; }
  .np-entry__blurb p { width: 100%; }
}

@media (max-width: 1100px) {
  :root { --gutter: 24px; }
  .np-banner { height: auto; }
  .np-banner img { height: auto; aspect-ratio: 4 / 5; }
  .fest-info { flex-direction: column; align-items: flex-start; gap: 40px; }
  .fest-info__mid { display: none; }
  .fest-info__left { width: 100%; }
  .fest-info__right { flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .curation { flex-direction: column; gap: 16px; }
  .curation__title { width: auto; word-break: normal; }
  .np-list { padding-left: 32px; }
  .np-entry__row { flex-direction: column; gap: 16px; }
  .np-entry__info, .np-entry__blurb, .np-entry__blurb p { width: 100%; height: auto; }
  .np-entry__info { height: auto; }
  .np-entry__en, .np-entry__meta { height: auto; margin: 8px 0; }
  .trailer__frame { height: auto; aspect-ratio: 16 / 9; }
  .contact { width: 100%; }
  footer, .film + footer { margin-top: 48px; }
}
