/* Category and book pages share the approved site typography and palette. */
.series-title-link { color: inherit; text-decoration: none; }
.series-title-link:hover { color: var(--gold); }

/* The same light header and footer frame each page. */
.breadcrumb-band { background: #fff; border-bottom: 1px solid #f0ece5; }
.breadcrumb-band .breadcrumb { padding: 18px 0; font-size: 13px; --bs-breadcrumb-divider: "›"; --bs-breadcrumb-divider-color: #8a949b; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .active { color: var(--navy); }
.inner-hero { position: relative; isolation: isolate; overflow: hidden; background: #faf8f3; border-bottom: 1px solid #e9e5de; }
.inner-hero-copy { position: relative; z-index: 2; width: 61%; max-width: 720px; padding: 38px 0 42px; }
.inner-hero .eyebrow { margin-bottom: 17px; }
.page-title { color: var(--navy); font-family: var(--serif); font-size: clamp(38px, 4.1vw, 54px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 16px; }
.inner-subtitle { color: var(--navy); font-family: var(--serif); font-size: 23px; line-height: 1.4; margin-bottom: 13px; max-width: 650px; }
.inner-description { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; }
.inner-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 23px; }
.inner-hero-actions .bi { margin-right: 7px; }
.inner-hero-image { position: absolute; inset: 0 0 0 auto; width: 54%; z-index: 0; }
.inner-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.inner-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #faf8f3 0%, rgb(250 248 243 / 96%) 12%, rgb(250 248 243 / 65%) 35%, rgb(250 248 243 / 5%) 68%); }

/* Episodes below the introduction; about and navigation alongside. */
.inner-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.inner-page .section-title { font-size: clamp(28px, 3vw, 36px); }
.archive-context { margin: -8px 0 20px; color: var(--muted); font-size: 15px; }
.archive-context a { text-decoration: none; }
.archive-context a:hover { color: var(--gold); text-decoration: underline; }

/* Book page: a readable episode list and the correct sibling navigation. */
.book-content { padding: 34px 0 80px; }
.inner-page #episodes { padding-bottom: 0; }
.series-sidebar { border-left: 1px solid var(--line); padding-left: 35px; }
.series-sidebar .eyebrow { font-size: 13px; margin-bottom: 17px; }
.series-sidebar p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 0; }
.sibling-navigation { margin-top: 33px; padding-top: 28px; border-top: 1px solid var(--line); }
.sibling-navigation ul { list-style: none; padding: 0; margin: 0; }
.sibling-navigation li + li { margin-top: 3px; }
.sibling-navigation a { display: flex; align-items: center; gap: 11px; padding: 12px 10px; border-left: 3px solid transparent; color: var(--navy); text-decoration: none; font-size: 15px; line-height: 1.5; }
.sibling-navigation a .bi-book { font-size: 17px; color: var(--gold); }
.sibling-navigation a .bi-chevron-right { margin-left: auto; color: var(--gold); font-size: 10px; }
.sibling-navigation a:hover { background: var(--warm); }
.sibling-navigation a.active { background: #eef1f3; border-left-color: var(--gold); font-weight: 500; }
.sidebar-back { margin-top: 26px; font-size: 12px; }
.lesson-table { width: 100%; }
.lesson-table th:nth-child(1) { width: 30px; }
.lesson-table th:nth-child(2) { width: 33%; }
.lesson-table th:nth-child(4) { width: 66px; text-align: center; }
.lesson-table th:nth-child(5) { width: 90px; text-align: right; }
.lesson-table thead th { font-size: 12px; padding: 12px 9px; }
.lesson-table tbody td { padding: 16px 9px; font-size: 16px; line-height: 1.65; }
.lesson-table .lesson-number { color: var(--gold); }
.lesson-table .lesson-name { color: var(--navy); }
.lesson-title { text-align: left; font: inherit; color: inherit; line-height: inherit; font-weight: 500; border: 0; background: none; padding: 0; }
.lesson-title:hover { color: var(--gold); }
.lesson-listen { text-align: center; }
.lesson-sheet { text-align: right; }
.lesson-sheet .pdf-link { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0; border: 0; background: none; font-size: 14px; }
.lesson-table tbody tr:hover { background: #f8f7f3; }
.empty-episodes { border: 1px dashed #d6dedf; border-radius: 4px; background: #fafbfb; padding: 45px 30px; text-align: center; }
.empty-episodes > .bi { display: block; color: var(--gold); font-size: 32px; margin-bottom: 18px; }
.empty-episodes h3 { color: var(--navy); font-family: var(--serif); font-size: 24px; font-weight: 400; margin-bottom: 12px; }
.empty-episodes p { color: var(--muted); font-size: 16px; max-width: 420px; margin: 0 auto; }

/* A truthful preview notice for media or pages that are not supplied yet. */
.preview-notice { position: fixed; z-index: 1090; bottom: 24px; right: 24px; width: min(420px, calc(100% - 48px)); padding: 17px 45px 17px 20px; background: var(--navy); color: #fff; border-radius: 4px; box-shadow: 0 8px 25px rgb(16 43 67 / 20%); font-size: 15px; line-height: 1.6; }
.preview-notice[hidden] { display: none; }
.preview-notice .notice-close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; background: transparent; color: #fff; font-size: 24px; line-height: 1; }
@media (max-width: 1199.98px) {
  .inner-hero-copy { width: 65%; }
  .series-sidebar { padding-left: 25px; }
}
@media (max-width: 991.98px) {
  .inner-hero-copy { width: 78%; }
  .inner-hero-image { width: 60%; }
  .inner-hero-image::after { background: linear-gradient(90deg, #faf8f3 0%, rgb(250 248 243 / 94%) 25%, rgb(250 248 243 / 35%) 100%); }
  .series-sidebar { border-left: 0; border-top: 1px solid var(--line); padding-top: 30px; padding-left: calc(var(--bs-gutter-x) * .5); }
  .sibling-navigation ul { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 16px; }
  .sibling-navigation li + li { margin-top: 0; }
  .book-content { padding-bottom: 70px; }
}
@media (max-width: 767.98px) {
  .breadcrumb-band .breadcrumb { font-size: 12px; padding: 14px 0; }
  .inner-hero { display: flex; flex-direction: column; }
  .inner-hero > .site-container { order: 0; }
  .inner-hero-copy { width: 100%; max-width: none; padding: 30px 0; }
  .inner-hero .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .page-title { font-size: 38px; margin-bottom: 12px; }
  .inner-subtitle { font-size: 22px; }
  .inner-description { font-size: 17px; }
  .inner-hero-actions .btn { font-size: 12px; padding-left: 15px; padding-right: 15px; text-align: left; }
  .inner-hero-image { position: relative; inset: auto; order: 1; height: 170px; width: 100%; }
  .inner-hero-image::after { background: linear-gradient(180deg, #faf8f3 0%, rgb(250 248 243 / 5%) 45%); }
  .inner-hero-image img { object-position: center 56%; }
  .inner-section-heading { margin-bottom: 20px; }
  .inner-page .section-title { font-size: 29px; }
  .book-content { padding-top: 32px; padding-bottom: 64px; }
  .lesson-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .lesson-table, .lesson-table tbody { display: block; }
  .lesson-table tbody tr { display: grid; grid-template-columns: 25px minmax(0, 1fr) 48px 66px; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .lesson-table tbody td { display: block; border: 0; padding: 0; }
  .lesson-table .lesson-number { grid-area: 1 / 1 / 4 / 2; padding-top: 2px; }
  .lesson-table .lesson-name { grid-area: 1 / 2 / 2 / 5; font-size: 16px; }
  .lesson-table .lesson-description { grid-area: 2 / 2 / 3 / 5; font-size: 14px; }
  .lesson-table .lesson-listen { grid-area: 3 / 3 / 4 / 4; }
  .lesson-table .lesson-sheet { grid-area: 3 / 4 / 4 / 5; }
  .lesson-table .mini-play { width: 44px; height: 44px; }
  .lesson-sheet .pdf-link { min-height: 44px; font-size: 14px; }
  .sibling-navigation ul { grid-template-columns: 1fr; }
  .series-sidebar .eyebrow { font-size: 13px; }
  .empty-episodes { padding: 32px 20px; }
  .preview-notice { bottom: 16px; right: 16px; width: calc(100% - 32px); }
}

/* Equal breathing room on both sides of the vertical divider. */
@media (min-width: 992px) {
  .book-content #episodes { padding-right: 48px; }
  .book-content .series-sidebar { padding-left: 48px; }
}
