/* Video watch pages (/videos/) — the player is the subject, so it runs the
   full column width at every breakpoint with nothing competing above it. */

.pgv-wrap { max-width: 860px; margin: 0 auto; padding: 40px 32px 80px; }

.pgv-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 8px 0 16px;
  text-wrap: balance;
}

/* ── Player ────────────────────────────────── */

.pgv-player {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  scroll-margin-top: 16px;
}

.pgv-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Meta row ──────────────────────────────── */

.pgv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.pgv-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.pgv-meta__item svg { color: #d8442b; flex: none; }
.pgv-meta__item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.pgv-meta__item a:hover { color: var(--coral); }

.pgv-summary { margin-top: 16px; max-width: 720px; }

.pgv-summary p {
  margin: 0 0 .9em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.pgv-summary p:last-child { margin-bottom: 0; }

/* ── Chapters ──────────────────────────────── */

.pgv-chapters { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

.pgv-chapters__heading,
.pgv-related__heading,
.pgv-transcript__heading {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  color: var(--coral);
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 0 0 14px;
}

.pgv-chapters__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

.pgv-chapters__link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
}

.pgv-chapters__link:hover { background: var(--paper); color: var(--ink); }
.pgv-chapters__link:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.pgv-chapters__time {
  flex: none;
  min-width: 52px;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
}

.pgv-chapters__label { font-size: 15px; line-height: 1.4; }

/* ── Transcript ────────────────────────────── */

.pgv-transcript { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

.pgv-transcript__summary { cursor: pointer; list-style: none; }
.pgv-transcript__summary::-webkit-details-marker { display: none; }
.pgv-transcript__summary .pgv-transcript__heading { display: inline; }
.pgv-transcript__summary::after { content: " +"; color: var(--muted); font-weight: 700; }
.pgv-transcript[open] .pgv-transcript__summary::after { content: " \2013"; }

.pgv-transcript__body { margin-top: 12px; max-width: 720px; }

.pgv-transcript__body p {
  margin: 0 0 .8em;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ── Cards (related + archive) ─────────────── */

.pgv-related { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }

.pgv-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.pgv-card { display: block; text-decoration: none; color: var(--ink); }

.pgv-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ph, #ece7dc);
  border: 1px solid var(--line);
}

.pgv-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pgv-card__dur {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pgv-card__title {
  display: block;
  margin-top: 9px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.pgv-card:hover .pgv-card__title { color: var(--coral); }

.pgv-card__meta { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }

/* ── Archive ───────────────────────────────── */

.pgv-archive__intro { margin: 0 0 26px; max-width: 640px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.pgv-archive__grid { margin-top: 4px; }
.pgv-archive__nav { margin-top: 34px; }
.pgv-archive__empty { color: var(--muted); }

@media (max-width: 700px) {
  .pgv-wrap { padding: 28px 20px 60px; }
  /* Full-bleed player: it is the point of the page, so it should not sit
     inside the text margins on a phone. */
  .pgv-player { margin: 0 -20px; width: calc(100% + 40px); border-radius: 0; }
  .pgv-chapters__heading, .pgv-related__heading, .pgv-transcript__heading { font-size: 20px; }
  .pgv-chapters__label { font-size: 14.5px; }
  .pgv-related__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
