/* Podcast episode pages: the visual companion with the summary as a sidebar.
   Loaded after each page's own styles and companion/companion.css. October 2026. */

.hero { padding: 32px 32px 28px; }
.hero h1 { font-size: 1.9rem; }

.main.pod-main { max-width: 1360px; padding: 24px 24px 8px; }

.pod-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.pod-player { min-width: 0; }
.pod-player .pc { margin-bottom: 0; }

.pod-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pod-side .description-card { margin-bottom: 0; padding: 20px 22px 22px; }
.pod-side .description-card h2 { margin-bottom: 8px; }
.pod-side .description-card p { font-size: 0.87rem; line-height: 1.6; }

.pod-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 2px; }
.pod-links a.pill {
  display: inline-block; padding: 6px 12px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.22); background: transparent;
  color: rgba(255,255,255,0.8); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.pod-links a.pill:hover, .pod-links a.pill:focus-visible { background: rgba(255,255,255,0.08); color: #fff; }

/* Narrower windows: the summary moves below the player. */
@media (max-width: 1100px) {
  .pod-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .hero { padding: 64px 20px 36px; }
  .hero h1 { font-size: 1.6rem; }
  .main.pod-main { padding: 22px 12px 8px; }
  .pod-side .description-card { padding: 18px 18px 20px; }
}

/* Chapter list, added to the sidebar by companion.js */
.pod-chapters { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 12px 12px; }
.pod-chapters h2 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 10px 8px; }
.pod-chapters ol { list-style: none; margin: 0; padding: 0; }
.pod-chapters button {
  display: flex; gap: 12px; align-items: baseline; width: 100%; text-align: left;
  padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font: inherit; font-size: 0.86rem; line-height: 1.4; color: rgba(255,255,255,0.78);
  transition: background 0.15s, color 0.15s;
}
.pod-chapters button:hover { background: rgba(255,255,255,0.07); color: #fff; }
.pod-chapters button:focus-visible { outline: 2px solid #9ED7C8; outline-offset: 1px; }
.pod-chapters .t { flex: none; min-width: 3.1em; font-variant-numeric: tabular-nums; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.pod-chapters .is-current button { background: rgba(158,215,200,0.12); color: #fff; }
.pod-chapters .is-current .t { color: #9ED7C8; }

/* Long summaries are shortened until the button below them is pressed (companion.js). */
.description-card.is-clamped:not(.is-open) p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; line-clamp: 9; overflow: hidden; }
.pod-more { margin-top: 10px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 700; color: #9ED7C8; }
.pod-more:hover { text-decoration: underline; }
.pod-more:focus-visible { outline: 2px solid #9ED7C8; outline-offset: 2px; border-radius: 3px; }
