/* The sermon library (website/sermons/, built by scripts/build-website.mjs). Loaded after styles.css, whose colours,
   fonts, header and footer it shares. The sermon pages follow the app's sermon page: the topic's picture fading into
   its own colour (theme artworkColors), the title in Karma, the text in Libre Caslon. */

:root {
  --reading: 'Libre Caslon Text', Georgia, serif;
  --measure: 760px;
}

.lib {
  padding-bottom: 0;
}

.lib ul,
.lib ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.crumbs {
  max-width: calc(var(--measure) + 40px);
  margin: 0 auto;
  padding: 8px 20px 20px;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.crumbs.wide {
  max-width: 1240px;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.eyebrow {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
}

/* ---------- Picture top (sermons and topics) ---------- */

.top {
  max-width: var(--measure);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: var(--hero);
}
.top-dark {
  color: var(--on-dark);
  --soft: var(--on-dark-muted);
  --faint: rgba(250, 250, 249, 0.3);
  --wash: rgba(250, 250, 249, 0.12);
}
.top-light {
  color: var(--ink);
  --soft: rgba(12, 10, 9, 0.72);
  --faint: rgba(12, 10, 9, 0.22);
  --wash: rgba(12, 10, 9, 0.07);
}
.top-picture {
  position: relative;
  aspect-ratio: 16 / 9;
}
.top-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-picture::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Eased, so neither end of the fade shows a line (the app's EasedGradient) */
  background: linear-gradient(
    to bottom,
    rgb(var(--hero-rgb) / 0) 40%,
    rgb(var(--hero-rgb) / 0.08) 52%,
    rgb(var(--hero-rgb) / 0.25) 64%,
    rgb(var(--hero-rgb) / 0.5) 76%,
    rgb(var(--hero-rgb) / 0.78) 88%,
    rgb(var(--hero-rgb) / 1) 100%
  );
}
.top-text {
  position: relative;
  padding: 0 32px 32px;
  margin-top: -8px;
}
.top .eyebrow {
  color: var(--soft);
}
.top-title {
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.top-line {
  margin-top: 10px;
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  color: var(--soft);
}

.rating,
.row-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: -2px;
}
.rating svg {
  width: 16px;
  height: 16px;
}
.row-stars svg {
  width: 12px;
  height: 12px;
}
.rating .on,
.row-stars .on {
  fill: currentColor;
}
.top .rating .off {
  fill: var(--faint);
}
.rating .off,
.row-stars .off {
  fill: var(--stone-200);
}

/* Listening: a placeholder until audio comes to the website */
.listen {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  background: var(--wash);
}
.listen-play {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: currentColor;
}
.listen-play svg {
  width: 22px;
  height: 22px;
  fill: var(--hero);
}
.listen-text {
  display: flex;
  flex-direction: column;
  flex: none;
}
.listen-title {
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.listen-note {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--soft);
}
.listen-track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--faint);
}
.listen-track span {
  display: block;
  width: 0;
}

/* ---------- The sermon ---------- */

.bible-text {
  max-width: var(--measure);
  margin: 16px auto 0;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--stone-100);
}
.bible-text blockquote + blockquote {
  margin-top: 20px;
}
.bible-text p {
  font-family: var(--reading);
  font-size: var(--fs-reading);
  line-height: 1.6;
  color: var(--text-body);
}
.bible-text cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}

.sermon-text {
  max-width: calc(var(--measure) - 80px);
  margin: 48px auto 0;
  padding: 0 20px;
  font-family: var(--reading);
  font-size: var(--fs-reading);
  line-height: 1.75;
  color: var(--text-body);
}
.sermon-text p + p,
.sermon-text h2 + p {
  margin-top: 1.1em;
}
.sermon-text h2 {
  margin-top: 2em;
  font-family: var(--reading);
  font-weight: var(--bold);
  font-size: var(--fs-reading);
  line-height: 1.5;
  color: var(--ink);
}
.sermon-text .poetry {
  padding-left: 1.5em;
  font-style: italic;
}
.sermon-text .subtitle,
.sermon-text .credit {
  font-family: var(--text);
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.sermon-text .note {
  margin-top: 2em;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--stone-100);
  font-family: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}
.sermon-text .credit {
  margin-top: 2em;
}

/* ---------- Sections and lists ---------- */

.section {
  max-width: 1240px;
  margin: 72px auto 0;
  padding: 0 20px;
}
.narrow {
  max-width: calc(var(--measure) + 40px);
}
.section-title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: var(--bold);
  font-size: var(--fs-title);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-title a:hover {
  text-decoration: underline;
}
.section-note {
  margin-top: 8px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}
/* One gap under every section title (and its note), on every page (owner, 2026-10-20: titles sat too tight). The
   rows inside accordions carry their own padding, so they keep a smaller one. */
.lib {
  --title-gap: 36px;
}
.section > .section-title + :not(.section-note),
.section > .section-note + *,
.section > .section-head + * {
  margin-top: var(--title-gap);
}
.section > .section-title + .accordion,
.section > .section-note + .accordion {
  margin-top: 12px;
}
/* Topic tags, then the groups: room between them */
.chips + .groups {
  margin-top: 40px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.details div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--divider);
}
.details div:last-child {
  border-bottom: 1px solid var(--divider);
}
.details dt {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.details dd {
  margin: 0;
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.details a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.prev-next a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--stone-100);
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.prev-next a span {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.prev-next .next {
  text-align: right;
}
.prev-next a:hover {
  background: var(--stone-200);
}

.rows li + li {
  margin-top: 4px;
}
.row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 14px;
}
.row:hover {
  background: var(--stone-100);
}
.thumb {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--stone-200);
}
.row-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.row-title {
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.row-meta {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.row-stars {
  flex: none;
  color: var(--ink);
}

.app-band {
  margin-top: 96px;
  padding: 72px 20px;
  background: var(--stone-100);
  text-align: center;
}
.app-band h2 {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 700;
  font-size: var(--h2);
  line-height: 1;
  letter-spacing: -0.04em;
}
.app-band p {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}

/* ---------- The library's front page and indexes ---------- */

.library-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 0;
}
.library-intro.narrow {
  max-width: calc(var(--measure) + 40px);
}
.library-intro .eyebrow {
  color: var(--text-muted);
}
.library-title {
  font-family: var(--display);
  font-variation-settings: 'opsz' 32;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--stone-600);
}
.narrow .library-title {
  font-size: clamp(48px, 6vw, 80px);
}
.lead {
  max-width: 720px;
  margin-top: 20px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}
.stats {
  margin-top: 12px;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}

.search {
  max-width: 720px;
  margin-top: 32px;
}
.search input {
  width: 100%;
  height: 56px;
  padding: 0 22px;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: var(--stone-100);
  color: var(--ink);
  font: var(--fs-label) var(--text);
  -webkit-appearance: none;
}
.search input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.results {
  max-width: 720px;
}
.results:not(:empty) {
  margin-top: 20px;
}
.results-count {
  margin-bottom: 8px;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}
.card {
  display: block;
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  background: var(--stone-200);
}
.card-text {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}
.card-title {
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.card:hover .card-title {
  text-decoration: underline;
}
.card-meta {
  margin-top: 4px;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips a {
  display: block;
  padding: 8px 16px;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.chips a:hover {
  background: var(--stone-100);
}

.groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 20px;
  margin-top: 24px;
}
.group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 16px;
}
.group:hover {
  background: var(--stone-100);
}
.group img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.group > span {
  display: flex;
  flex-direction: column;
}
.group-name {
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.group-meta {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}

.testaments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}
.testaments h3 {
  margin-bottom: 8px;
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.books,
.topic-list {
  columns: 2;
  column-gap: 28px;
}
.topic-list {
  columns: 3;
  margin-top: 16px;
}
.books li,
.topic-list li {
  break-inside: avoid;
}
.books a,
.topic-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--divider);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.books a span,
.topic-list a span {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.books a:hover,
.topic-list a:hover {
  text-decoration: underline;
}

.years {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.years a {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--stone-100);
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.years a span {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.years a:hover {
  background: var(--stone-200);
}

/* ---------- Ways in: links, Top ranked ---------- */

/* The library's front page opens with room above its title */
.library-intro.front {
  padding-top: 120px;
}

.more-link {
  margin-top: 20px;
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
.more-link a:hover {
  text-decoration: underline;
}
.library-intro .more-link,
.section > .more-link:first-child {
  margin: 20px 0;
}

/* Shown only when library.js runs (the js class is set in <head>) */
html:not(.js) .js-only {
  display: none;
}
[hidden] {
  display: none !important;
}

.explore-controls {
  display: grid;
  gap: 16px;
}
.explore-controls .search {
  max-width: none;
  margin-top: 0;
}
.star-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: var(--fs-label) / var(--lh-label) var(--text);
  cursor: pointer;
}
.chip:hover {
  background: var(--stone-100);
}
.chip[aria-pressed='true'] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  font-weight: var(--bold);
}
.chip .row-stars {
  color: inherit;
}
.chip[aria-pressed='true'] .row-stars .off {
  fill: rgba(250, 250, 249, 0.3);
}
.selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.select select {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 18px;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0a09' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
  color: var(--ink);
  font: var(--fs-label) var(--text);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.select select:hover,
.chip:focus-visible,
.select select:focus-visible {
  border-color: var(--ink);
}
.explore-status {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 8px;
}
.explore-status .results-count {
  margin: 0;
}
.clear {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: var(--bold) var(--fs-label) / var(--lh-label) var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.row-rank {
  flex: none;
  min-width: 32px;
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.show-more {
  display: block;
  margin: 32px auto 0;
  padding: 12px 28px;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: var(--bold) var(--fs-label) / var(--lh-label) var(--text);
  cursor: pointer;
}
.show-more:hover {
  background: var(--stone-100);
}

/* ---------- Download (/download/) ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--on-dark);
  font-weight: var(--bold);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
}
a.button:hover {
  background: var(--ink);
}
/* Until the app is in the stores */
.button-waiting {
  background: var(--stone-200);
  color: var(--text-body);
  cursor: default;
}
.app-band .app-band-actions {
  margin-top: 28px;
}

.stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.store {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: var(--stone-100);
  scroll-margin-top: 24px;
}
.store:target {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.store-status {
  margin: 6px 0 24px;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.store-text .button {
  margin-top: auto;
}
.store-qr {
  flex: none;
  width: 132px;
  text-align: center;
}
.store-qr img {
  width: 132px;
  height: 132px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
}
.store-qr figcaption {
  margin-top: 8px;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}

.screens {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.screens img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: var(--stone-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
  margin-top: 28px;
}
.features-grid h3 {
  font-weight: var(--bold);
  font-size: var(--fs-body);
  line-height: var(--lh-label);
}
.features-grid p {
  margin-top: 8px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}
.faq {
  max-width: none;
  margin-top: 12px;
}

/* ---------- The front page's Find a sermon card ---------- */

.finder {
  margin-top: 40px;
  padding: 32px;
  border-radius: 24px;
  background: var(--stone-100);
}
.finder .search {
  max-width: none;
  margin-top: 20px;
}
.finder .search input {
  background: #fff;
}
.filters {
  margin-top: 24px;
}
.filters-label {
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  margin-top: 10px;
}
button.button {
  border: 0;
  font-family: var(--text);
  cursor: pointer;
}
@media (max-width: 1100px) {
  .filter-fields {
    grid-template-columns: 1fr 1fr;
  }
  .filter-fields .button {
    grid-column: 1 / -1;
  }
}

/* ---------- Start with the very best: a carousel, three rows a page ---------- */

.cards.carousel {
  --gap: 20px;
  --per-page: 4;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-template-rows: repeat(3, auto);
  grid-auto-columns: calc((100% - (var(--per-page) - 1) * var(--gap)) / var(--per-page));
  gap: 28px var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.cards.carousel::-webkit-scrollbar {
  display: none;
}
.cards.carousel > li {
  scroll-snap-align: start;
}
/* Every row is as tall as its tallest card on any page, so titles keep to two lines and captions to one */
.cards.carousel .card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.cards.carousel .card-meta {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.carousel-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
}
.carousel-page {
  margin-right: 4px;
  font-weight: var(--medium);
  font-size: var(--fs-meta);
  line-height: var(--lh-meta);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--stone-100);
  color: var(--ink);
  cursor: pointer;
}
.carousel-arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-arrow:hover {
  background: var(--stone-200);
}
.carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.carousel-arrow:disabled:hover {
  background: var(--stone-100);
}

/* ---------- Phone ---------- */

@media (max-width: 809px) {
  .lib {
    --title-gap: 28px;
  }
  .chips + .groups {
    margin-top: 32px;
  }
  .library-intro.front {
    padding-top: 64px;
  }
  .cards.carousel {
    --gap: 14px;
    --per-page: 2;
  }
  .section-head {
    flex-wrap: wrap;
    gap: 16px;
  }
  .section-head .carousel-controls {
    margin-left: auto;
  }
  .carousel-arrow {
    width: 48px;
    height: 48px;
  }
  .carousel-page {
    display: none;
  }
  .finder {
    margin-top: 28px;
    padding: 24px 20px;
  }
  .filter-fields {
    grid-template-columns: 1fr;
  }
  .stores,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stores {
    margin-top: 32px;
  }
  /* A phone can't scan its own screen */
  .store-qr {
    display: none;
  }
  .screens {
    display: flex;
    gap: 14px;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .screens li {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
  .features-grid {
    gap: 28px;
  }
  .selects {
    grid-template-columns: 1fr;
  }
  .chip {
    padding: 0 14px;
  }
  .top,
  .bible-text {
    border-radius: 0;
  }
  .bible-text {
    margin-top: 0;
    padding: 24px 20px;
  }
  .top-text {
    padding: 0 20px 24px;
  }
  .top-title {
    font-size: 34px;
  }
  .listen {
    padding-right: 16px;
  }
  .listen-track {
    min-width: 24px;
  }
  .sermon-text {
    margin-top: 32px;
  }
  .section {
    margin-top: 56px;
  }
  .details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .prev-next {
    grid-template-columns: 1fr;
  }
  .prev-next .next {
    text-align: left;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
  }
  .groups,
  .testaments {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .testaments {
    gap: 28px;
  }
  .books {
    columns: 2;
  }
  .topic-list {
    columns: 1;
  }
  .app-band {
    margin-top: 72px;
    padding: 56px 20px;
  }
}
