.podcasts-page,
.podcasts-admin-page,
.podcasts-editor-page { padding-top: 2.3rem; padding-bottom: 5rem; }

.podcasts-heading,
.podcast-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.podcasts-heading h1,
.podcast-detail-heading h1 { margin: .45rem 0 .7rem; color: var(--forest); font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.07em; line-height: 1; overflow-wrap: anywhere; }
.podcasts-heading p:not(.eyebrow),
.podcast-detail-heading p:not(.eyebrow) { max-width: 700px; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.podcasts-count { flex-shrink: 0; padding-top: 1.5rem; color: var(--muted); font-size: .78rem; white-space: nowrap; }.podcasts-count strong { color: var(--forest); font-size: 2rem; font-weight: 600; }

.podcasts-admin-page .library-subnav,
.podcasts-editor-page .library-subnav { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.1rem 0 2rem; padding: .45rem; background: var(--paper-deep); border: 1px solid var(--line); }
.podcasts-admin-page .library-subnav a,
.podcasts-editor-page .library-subnav a { display: inline-flex; align-items: center; min-height: 2.25rem; padding: .35rem .75rem; color: var(--muted); font-size: .76rem; font-weight: 700; }
.podcasts-admin-page .library-subnav a:hover,
.podcasts-editor-page .library-subnav a:hover { color: var(--forest); background: var(--white); }
.podcasts-admin-page .library-subnav a.is-active,
.podcasts-editor-page .library-subnav a.is-active { color: var(--forest); background: var(--lime); }

.podcasts-toolbar { display: grid; gap: .65rem; margin-bottom: 1.45rem; }
.podcasts-page.library-index-page { padding-top: 46px; }
.podcasts-search { display: flex; align-items: center; gap: .55rem; }
.podcasts-search input { flex: 1 1 auto; min-width: 0; }
.podcast-source-filter { flex: 0 0 200px; }
.podcast-source-filter select { width: 100%; }
.podcasts-page .podcasts-search { display: grid; grid-template-columns: minmax(0,1fr) 200px auto; gap: 10px; }
.podcasts-page .podcasts-search input,.podcasts-page .podcast-source-filter select { min-width: 0; min-height: 52px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.podcasts-page .podcasts-search input::placeholder { color: var(--muted); }
.podcasts-page .podcasts-search .button { min-height: 52px; }
.podcasts-page .podcast-source-filter { min-width: 0; }
.podcasts-toolbar-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.podcast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.podcast-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 5px; }
.podcast-card-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.25rem; }
.podcast-source { color: var(--forest); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.podcast-access { color: var(--muted); font-size: 12px; }
.podcast-card h2 { margin: 0 0 .7rem; color: var(--forest); font-size: 1.35rem; line-height: 1.35; overflow-wrap: anywhere; }.podcast-card h2 a:hover { text-decoration: underline; }
.podcast-description { display: -webkit-box; min-height: 4.5em; margin: 0 0 1.25rem; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.8; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
.podcast-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .74rem; }
.podcast-card-meta { color: var(--muted); }.podcast-card-actions { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }.podcast-card-actions a { font-weight: 700; white-space: nowrap; }.podcast-admin-link { color: var(--muted); font-weight: 600 !important; }
.podcasts-empty-state { margin-top: 1rem; background: var(--white); }
.podcast-empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.podcast-card-actions > a { display: inline-flex; align-items: center; min-height: 44px; }
.podcasts-pagination { margin-top: 1.8rem; }

.podcast-back { display: inline-block; margin-bottom: 1.4rem; color: var(--muted); font-size: .78rem; }.podcast-back:hover { color: var(--forest); }
.podcast-detail-heading { align-items: center; }.podcast-detail-heading h1 { max-width: 850px; }.podcast-detail-heading > .button { flex-shrink: 0; }
.podcast-meta { display: flex; flex-wrap: wrap; gap: .55rem .9rem; margin-top: 1rem; color: var(--muted); font-size: .72rem; }
.podcast-lock,
.podcast-player-panel { margin-top: 1.6rem; padding: 2.5rem 2rem; background: var(--white); border: 1px solid var(--line); }
.podcast-lock { text-align: center; }.podcast-lock-mark { display: block; color: var(--forest); font-size: 2.8rem; line-height: 1; }.podcast-lock h2 { margin: .8rem 0 .65rem; color: var(--forest); font-size: 1.55rem; }.podcast-lock p { margin: .45rem auto; max-width: 580px; color: var(--muted); font-size: .82rem; line-height: 1.7; }.podcast-lock .button { margin-top: .9rem; }
.podcast-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }.podcast-section-heading h2 { margin: .35rem 0 0; color: var(--forest); font-size: 1.35rem; }.podcast-authorized-note { color: var(--forest); font-size: .72rem; }
.podcast-audio-block { display: grid; gap: .85rem; padding: 1rem; background: #f8f7f1; border: 1px solid var(--line); }.podcast-audio-label { margin: 0; color: var(--muted); font-size: .75rem; overflow-wrap: anywhere; }.podcast-audio-block audio { width: 100%; }.podcast-audio-block .button { justify-self: start; }
.podcast-source-block { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }.podcast-source-block p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.6; }.podcast-source-block .button { flex-shrink: 0; }.podcast-missing-note,.podcast-public-note { color: var(--muted); font-size: .75rem; line-height: 1.7; }.podcast-public-note { margin-top: 1rem; }

.podcasts-admin-content,
.podcasts-editor-content { min-width: 0; }.podcasts-admin-summary { margin: -1rem 0 1rem; color: var(--muted); font-size: .76rem; }.podcasts-admin-summary strong { color: var(--forest); font-size: 1.15rem; }.podcasts-admin-search { margin-bottom: 1rem; }.podcast-admin-table-scroll { margin-top: .2rem; }.podcast-admin-table { min-width: 920px; }.podcast-admin-table td:first-child { max-width: 360px; }.podcast-admin-table td strong { display: block; overflow-wrap: anywhere; }.podcast-admin-table td small { display: block; margin-top: .35rem; overflow-wrap: anywhere; }.podcasts-admin-empty { margin-top: .8rem; background: var(--white); }

.podcast-editor-form { display: grid; gap: 1rem; max-width: 900px; }.podcast-editor-panel { padding: 1.3rem; background: var(--white); border: 1px solid var(--line); }.podcast-editor-panel .panel-heading { display: block; margin-bottom: 1.2rem; }.podcast-editor-panel .panel-heading h3 { margin: 0; color: var(--forest); font-size: 1.35rem; letter-spacing: -.04em; }.podcast-editor-panel .panel-heading p:not(.eyebrow) { margin: .45rem 0 0; color: var(--muted); font-size: .76rem; line-height: 1.65; }.podcast-editor-panel > .field + .field { margin-top: 1rem; }.podcast-editor-panel textarea { min-height: 8rem; resize: vertical; }.podcast-editor-panel input[type=file] { max-width: 100%; padding: .75rem .6rem; }.podcast-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.podcast-editor-warning { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.65; }.podcast-status-panel { max-width: 440px; }.podcast-editor-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }.podcast-editor-actions p { flex: 1 1 280px; min-width: 0; margin: 0; color: var(--forest); font-size: .75rem; line-height: 1.6; overflow-wrap: anywhere; }.podcast-editor-actions p[data-state="error"] { color: var(--danger, #8b3025); }.podcast-editor-form noscript { color: var(--danger, #8b3025); font-size: .78rem; }

@media (max-width: 760px) {
  .podcasts-page,
  .podcasts-admin-page,
  .podcasts-editor-page { padding-top: 1.8rem; }
  .podcasts-page.library-index-page { padding-top: 28px; }
  .podcasts-heading,
  .podcast-detail-heading { flex-direction: column; gap: .8rem; }
  .podcasts-count { padding-top: 0; }.podcast-detail-heading > .button { align-self: flex-start; }
  .podcast-grid { grid-template-columns: 1fr; }.podcast-source-block { align-items: flex-start; flex-direction: column; }.podcast-source-block .button { width: 100%; }
  .podcast-editor-panel { padding: 1rem; }.podcast-section-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
}

@media (max-width: 560px) {
  .podcasts-heading h1,
  .podcast-detail-heading h1 { font-size: 2.6rem; }
  .podcasts-search { align-items: stretch; flex-direction: column; }.podcasts-search input,.podcast-source-filter,.podcasts-search .button { width: 100%; }.podcast-source-filter { flex-basis: auto; }
  .podcasts-page .podcasts-search { grid-template-columns: minmax(0,1fr) auto; }.podcasts-page .podcasts-search input { grid-column: 1 / -1; }
  .podcast-card-bottom { align-items: flex-start; flex-direction: column; }.podcast-card-actions { justify-content: flex-start; }.podcast-form-row { grid-template-columns: 1fr; }
  .podcast-lock,.podcast-player-panel { padding: 1.7rem 1rem; }
  .podcast-editor-actions { align-items: stretch; flex-direction: column; }.podcast-editor-actions .button { width: 100%; }
}
