/* The film uses native media controls, including fullscreen and keyboard seeking. */
.gd-reel {
  --film-ink: #1b1e35;
  --film-text: #4b5367;
  --film-accent: #454598;
  --film-line: #d8dae7;
  color: var(--film-ink);
  border-block: 1px solid #e0e2ed;
  scroll-margin-top: 75px;
}
.gr-layout {
  width: min(1160px, 90%);
  margin: 0 auto;
  padding-block: clamp(54px, 6.6vw, 94px);
  display: grid;
  grid-template-columns: minmax(260px, .83fr) minmax(0, 1.67fr);
  grid-template-areas: "intro film" "index film" "action action" "sources sources";
  grid-template-rows: auto 1fr auto auto;
  column-gap: clamp(28px, 4.5vw, 72px);
  align-items: start;
}
.gr-intro { grid-area: intro; }
.gr-intro h2 {
  margin: 0;
  font-size: clamp(31px, 3.15vw, 47px);
  line-height: 1.17;
  font-weight: 730;
  letter-spacing: -.065em;
  word-break: keep-all;
}
.gr-intro p {
  max-width: 24em;
  margin: 16px 0 0;
  color: var(--film-text);
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.65;
  letter-spacing: -.025em;
  word-break: keep-all;
}
.gr-index {
  grid-area: index;
  align-self: end;
  margin-top: clamp(22px, 3vw, 42px);
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--film-line);
}
.gr-index li { border-top: 1px solid var(--film-line); }
.gr-chapter {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 7px 9px;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--film-text);
  font: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.gr-chapter b { font-size: 15px; font-weight: 600; letter-spacing: -.035em; }
.gr-chapter time {
  font: 500 12px/1.2 ui-monospace, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.gr-chapter[aria-current="step"] { background: #e9eaf7; color: #333575; box-shadow: inset 2px 0 #5759b9; }
.gr-chapter:hover { background: #e6e7f4; color: var(--film-ink); }
.gr-playmark {
  display: inline-block;
  width: 0; height: 0;
  border-block: 4px solid transparent;
  border-left: 6px solid currentColor;
  opacity: .55;
}
.gr-player { grid-area: film; min-width: 0; margin: 0; }
.gr-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #1b1e35;
  object-fit: contain;
}
.gr-player video:fullscreen { border-radius: 0; }
.gr-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 3px 12px;
  padding-block: 11px 0;
  color: #51596d;
  font-size: 12px;
  font-weight: 540;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.018em;
}
.gr-player [data-film-error] { color: var(--film-text); font-size: 14px; margin: 12px 0 0; }
.gr-action {
  grid-area: action;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: clamp(25px, 3vw, 44px);
  padding-block: clamp(23px, 2.4vw, 35px);
  border-top: 1px solid var(--film-line);
}
.gr-action h3 {
  margin: 0;
  color: var(--film-ink);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.055em;
  word-break: keep-all;
}
.gr-action h3 br { display: none; }
.gr-action p { margin: 6px 0 0; color: var(--film-text); font-size: 15px; line-height: 1.55; }
.gr-action .halo-cta { flex: none; min-height: 44px; margin: 0; }
.gr-sources {
  grid-area: sources;
  margin: 0;
  border-block: 1px solid var(--film-line);
}
.gr-sources summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 55px;
  padding: 12px 1px;
  list-style: none;
  color: var(--film-ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.025em;
  cursor: pointer;
}
.gr-sources summary::-webkit-details-marker { display: none; }
.gr-sources summary::after {
  content: "";
  height: 8px;
  width: 8px;
  margin: -4px 5px 0 0;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.gr-sources[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.gr-sources summary:hover { color: var(--film-accent); }
.gr-sources ul { margin: 0 0 14px; padding: 0; list-style: none; }
.gr-sources li {
  display: grid;
  grid-template-columns: minmax(100px, .52fr) minmax(0, 2.1fr) auto;
  gap: clamp(12px, 2.5vw, 36px);
  padding: 17px 2px;
  border-top: 1px solid var(--film-line);
  align-items: baseline;
}
.gr-sources h3, .gr-sources blockquote, .gr-sources p { margin: 0; }
.gr-sources h3 { font-size: 14px; font-weight: 650; word-break: keep-all; }
.gr-sources blockquote { color: var(--film-ink); font-size: 15px; line-height: 1.55; word-break: keep-all; }
.gr-sources p { margin-top: 5px; color: var(--film-text); font-size: 13px; line-height: 1.55; word-break: keep-all; }
.gr-sources a, .gr-caption a {
  color: var(--film-accent);
  font-size: 13px;
  font-weight: 640;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.gd-reel :is(a, button, summary, video):focus-visible {
  outline: 2px solid #4548a7;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .gr-layout {
    width: min(700px, 90%);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "film" "index" "action" "sources";
    grid-template-rows: auto;
  }
  .gr-intro h2 br { display: none; }
  .gr-intro p { max-width: none; margin-top: 9px; }
  .gr-player { margin-top: 24px; }
  .gr-index { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gr-index li:nth-child(odd) { border-right: 1px solid var(--film-line); }
  .gr-chapter { gap: 6px; }
  .gr-sources li { grid-template-columns: minmax(90px, .44fr) minmax(0, 2fr); }
  .gr-sources li > a { grid-column: 2; justify-self: start; }
}
@media (max-width: 560px) {
  .gr-layout { width: calc(100% - 32px); padding-block: 45px; }
  .gr-intro h2 { font-size: 32px; }
  .gr-intro h2 br { display: block; }
  .gr-intro p { font-size: 15px; }
  .gr-player { margin-top: 19px; }
  .gr-player video { border-radius: 8px; }
  .gr-caption { padding-top: 8px; }
  .gr-index { margin-top: 17px; }
  .gr-chapter { grid-template-columns: 1fr auto; gap: 0 3px; padding: 9px 10px; }
  .gr-chapter time { grid-column: 1; font-size: 11px; margin-bottom: 3px; }
  .gr-chapter b { grid-column: 1; font-size: 14px; }
  .gr-playmark { grid-column: 2; grid-row: 1 / 3; }
  .gr-action { flex-direction: column; align-items: flex-start; gap: 13px; margin-top: 21px; padding-block: 21px; }
  .gr-action h3 br { display: block; }
  .gr-action p { font-size: 14px; }
  .gr-sources li { display: block; padding-block: 15px; }
  .gr-sources h3 { margin-bottom: 6px; font-size: 13px; color: var(--film-accent); }
  .gr-sources li > a { display: inline-block; margin-top: 7px; }
}
