/* r3 (2026-11-19): CG's own films and program reels from Garrett's "Website" folder. */

/* Films: a second row of listing films. On wider screens the notes column
   holds its place while both rows pass. */
@media(min-width:761px){
  .film-grid{align-items:start;row-gap:46px}
  .film-notes{grid-row:1/span 2;align-self:start;position:sticky;top:150px;margin-top:84px}
}

/* Program reels: the reserved slots now hold the program's reels. */
.reel-list{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,212px));gap:20px;margin:0;padding:0}
.reel-list>li{min-width:0}
.reel-card{display:block}
.reel-card .film-image{aspect-ratio:9/16}
.reel-card .film-caption{margin-top:14px;padding-bottom:15px}
.reel-card .film-caption h4{margin:0;font-size:15px;font-weight:500;line-height:1.4;letter-spacing:-.02em}
.reel-card .play-icon{width:42px;height:42px;left:16px;bottom:16px}
.reel-card .film-duration{right:15px;bottom:24px}
@media(max-width:1000px){.reel-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}}
@media(max-width:760px){
  .reel-list{gap:10px}
  .reel-card .film-caption{margin-top:10px;padding-bottom:10px}
  .reel-card .film-caption p{display:none}
  .reel-card .film-caption h4{font-size:13px;line-height:1.35}
  .reel-card .film-image::before{inset:4px}
  .reel-card .play-icon{width:34px;height:34px;left:8px;bottom:8px;font-size:9px}
  .reel-card .film-duration{display:none}
}
@media print{.reel-list>li{break-inside:avoid}.film-notes{position:static}}

/* Caption rules line up across each row, whatever the title length. */
.film-grid>.film-card{align-self:stretch;display:flex;flex-direction:column}
.film-grid>.film-card>.film-caption{flex:1 0 auto}
.reel-list>li{display:flex}
.reel-card{display:flex;flex-direction:column;width:100%}
.reel-card>.film-caption{flex:1 0 auto}

/* Footer legal links (Privacy Policy, Terms of Service): spaced as a pair on every width. */
.footer-legal{display:inline-flex;flex-wrap:wrap;gap:0 18px;margin-left:18px}
@media(max-width:760px){.footer-legal{margin-left:0}}
