/* podcast.html: the episode list, the journals and the gift form (assets/podcast/episodes.js). */
/* Same heading as the page's other sections (site.css lists them by section class). */
.podcast-all .section-heading-row h2 { margin: 0; font-family: var(--display); font-size: clamp(39px, 4vw, 69px); font-weight: 400; letter-spacing: -.035em; line-height: .9; }
.podcast-all .section-heading-row h2 em { color: var(--jade-700); font-weight: 400; }
.episodes-tools { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: end; justify-content: space-between; margin-bottom: 34px; }
.episode-search { flex: 1 1 320px; max-width: 520px; display: grid; gap: 8px; color: var(--ink-soft); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.episode-search input { width: 100%; padding: 15px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper-light); font: inherit; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.episode-search input:focus { outline: 2px solid var(--jade-600); outline-offset: 2px; }
.episodes-note { max-width: 46ch; margin: 0; color: var(--ink-soft); font-weight: 300; }

.episode-focus { margin-bottom: 46px; scroll-margin-top: 110px; }
.episode-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.episode-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.episode-card.is-featured { border: 1px solid var(--gold); background: var(--paper-light); }
.episode-head { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-soft); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.episode-code { color: var(--jade-700); }
.episode-title { margin: 0; font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); font-weight: 400; line-height: 1.05; }
.episode-card.is-featured .episode-title { font-size: clamp(34px, 3.4vw, 54px); }
.episode-summary { margin: 0; max-width: 60ch; color: var(--ink-soft); font-weight: 300; line-height: 1.6; }
.episode-listen { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 6px; }
.episode-button-line { color: var(--jade-700); background: transparent; border: 1px solid var(--jade-700); }
.episode-button-line:hover { color: var(--paper-light); background: var(--jade-700); }
.episode-other-apps, .episode-gift { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.episode-other-apps { font-size: 11px; }

.episode-journal { margin-top: 10px; padding: 18px 20px; border-left: 2px solid var(--gold); background: var(--sand); }
.episode-journal-label { margin: 0 0 12px; font-family: var(--display); font-size: 21px; line-height: 1.1; }
.episode-journal-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }

.journal-bundle { margin-bottom: 46px; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); background: var(--paper-light); }
.journal-bundle h3 { margin: 6px 0 10px; font-family: var(--display); font-size: clamp(30px, 3vw, 44px); font-weight: 400; line-height: 1; }

.gift-dialog .gift-field { display: grid; gap: 6px; margin-bottom: 14px; color: var(--ink-soft); font-size: 13px; }
.gift-dialog input, .gift-dialog textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; font-size: 15px; }
.gift-dialog textarea { resize: vertical; }

@media (max-width: 860px) {
  .episode-list { grid-template-columns: 1fr; }
}
