.sermon-page .pagehero {
  max-width: 850px;
  padding-bottom: 10px;
}
.sermon-page .pagehero .lead {
  max-width: 660px;
}
.sermon-player-panel {
  background: #eeebe3;
  border: 1px solid #ded7cc;
  scroll-margin-top: 24px;
}
.sermon-player-frame {
  background: #202020;
  aspect-ratio: 16/9;
  min-height: 200px;
}
.sermon-player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}
.player-details {
  padding: 30px 36px;
}
.player-details .eyebrow {
  margin-bottom: 12px;
}
.player-details h2 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 12px;
}
.sermon-meta {
  font-size: 12px;
  color: #716b60;
  line-height: 1.6;
  margin: 0 0 10px;
}
.sermon-meta:empty,
.selected-description:empty {
  display: none;
}
.selected-description {
  font-size: 15px;
  color: #625e55;
  white-space: pre-line;
  max-height: 220px;
  overflow: auto;
}
.sermon-section {
  padding-top: 65px;
}
.sermon-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}
.sermon-section-heading .eyebrow {
  margin-bottom: 10px;
}
.sermon-section-heading h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
}
.sermon-section-heading > p {
  font-size: 14px;
  color: #716b60;
}
.featured-sermons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.sermon-card {
  min-width: 0;
  border-bottom: 1px solid #d8d2c6;
  padding-bottom: 24px;
}
.sermon-art {
  display: block;
  width: 100%;
  height: auto;
  background: #eee9df;
}
.sermon-copy {
  padding-top: 18px;
  min-width: 0;
}
.sermon-copy h3 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.sermon-description {
  font-size: 14px;
  line-height: 1.6;
  color: #676156;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}
.sermon-listen {
  margin-top: 10px;
  font-size: 13px;
  min-height: 44px;
  padding: 10px 18px;
}
.is-selected .sermon-listen {
  color: white;
  background: #861326;
}
.sermon-card.is-selected {
  border-bottom: 2px solid #861326;
}
.sermon-row {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 25px;
  padding: 24px 0;
}
.sermon-row .sermon-copy {
  padding: 0;
}
.sermon-row .sermon-listen {
  margin: 0;
}
.sermon-row .sermon-description {
  margin-bottom: 0;
  -webkit-line-clamp: 2;
}
.sermon-empty {
  border-top: 1px solid #d8d2c6;
  padding: 28px 0;
  color: #676156;
}
@media (max-width: 760px) {
  .featured-sermons {
    gap: 18px;
  }
  .sermon-copy h3 {
    font-size: 20px;
  }
  .sermon-row {
    grid-template-columns: 130px 1fr;
    gap: 18px;
  }
  .sermon-row .sermon-listen {
    grid-column: 2;
    justify-self: start;
  }
  .sermon-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
  .player-details {
    padding: 24px;
  }
}
@media (max-width: 540px) {
  .featured-sermons {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sermon-card:not(.sermon-row) .sermon-art {
    max-height: none;
  }
  .sermon-row {
    grid-template-columns: 95px 1fr;
    gap: 15px;
  }
  .sermon-row .sermon-copy h3 {
    font-size: 19px;
  }
  .sermon-row .sermon-description {
    display: none;
  }
  .sermon-section {
    padding-top: 45px;
  }
  .player-details h2 {
    font-size: 25px;
  }
  .player-details {
    padding: 22px;
  }
  .sermon-section-heading h2 {
    font-size: 31px;
  }
}

#show-playlist {
  margin-left: 20px;
  cursor: pointer;
}
#show-playlist[hidden] {
  display: none;
}
.sermon-page > .sermon-section:first-of-type {
  padding-top: 0;
}
@media (max-width: 540px) {
  #show-playlist {
    margin: 18px 0 0;
    display: flex;
  }
  #show-playlist[hidden] {
    display: none;
  }
}
