/* Sunlit Sanctuary Sermons page: scripture-rooted media browsing with warm ivory panels, forest anchors, and sun-gold playback controls. */
/* Sermons hero: resource-library opening and worship imagery. */
.sermons-hero {
  color: #fff;
  isolation: isolate;
  min-height: 500px;
  overflow: hidden;
  padding: 8rem 0 5.2rem;
  position: relative;
}
.sermons-hero > img,
.sermons-hero-wash {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}
.sermons-hero > img {
  object-fit: cover;
  z-index: -2;
}
.sermons-hero-wash {
  background: linear-gradient(
    90deg,
    rgba(17, 45, 37, 0.92),
    rgba(17, 45, 37, 0.35)
  );
  z-index: -1;
}
.sermons-hero .eyebrow {
  color: #fff;
}
.sermons-hero .eyebrow span {
  margin: 0 0.45rem;
}
.sermons-hero h1 {
  color: #fff;
  font-size: clamp(4.25rem, 8vw, 8.2rem);
  margin: 1rem 0;
}
.sermons-hero h1 em {
  color: var(--sun);
}
.sermons-hero p:not(.eyebrow) {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 620px;
} /* Sermons introduction: explains the video and audio resource format. */
.sermons-intro {
  background: #fffdf9;
  padding: 6.75rem 0;
}
.sermons-intro .container {
  align-items: end;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.1fr 0.9fr;
}
.sermons-intro h2 {
  font-size: clamp(3.3rem, 5.3vw, 5.9rem);
  margin: 0;
}
.sermons-intro h2 em {
  color: var(--clay);
}
.sermons-intro p:not(.eyebrow) {
  color: #536159;
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0;
} /* Sermon cards: resource imagery plus modal playback controls. */
.sermons-grid-section {
  background: #f7f1e6;
  padding: 1rem 0 6rem;
}
.sermon-card {
  height: 100%;
}
.sermon-card-art {
  aspect-ratio: 1.25;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}
.sermon-card-art > img,
.sermon-card-wash {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}
.sermon-card-art > img {
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -2;
}
.sermon-card:hover .sermon-card-art > img {
  transform: scale(1.05);
}
.sermon-card-wash {
  background: linear-gradient(
    180deg,
    rgba(17, 45, 37, 0.02),
    rgba(17, 45, 37, 0.72)
  );
  z-index: -1;
}
.sermon-card-art > span {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  position: absolute;
  right: 1rem;
  top: 0.8rem;
}
.sermon-card-actions {
  bottom: 1rem;
  display: flex;
  gap: 0.6rem;
  position: absolute;
  right: 1rem;
}
.sermon-media-trigger {
  align-items: center;
  background: var(--sun);
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  height: 3.55rem;
  justify-content: center;
  letter-spacing: 0.04em;
  transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1);
  width: 3.55rem;
}
.sermon-media-trigger:hover {
  background: #fff3ca;
}
.sermon-media-trigger:active {
  transform: scale(0.94);
}
.sermon-media-trigger span {
  font-size: 0.95rem;
  line-height: 1;
}
.sermon-media-trigger small {
  font-size: 0.5rem;
  margin-top: 0.1rem;
  text-transform: uppercase;
}
.sermon-card-copy {
  padding: 1.35rem 0.1rem;
}
.sermon-card-copy p {
  color: #987746;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}
.sermon-card-copy h3 {
  color: var(--forest);
  font-family: "DM Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 0.6rem;
}
.sermon-card-copy > span {
  color: #66736c;
  font-size: 0.85rem;
}
.sermons-grid-note {
  align-items: flex-start;
  border-top: 1px solid rgba(17, 45, 37, 0.16);
  display: flex;
  gap: 1.15rem;
  margin-top: 4.5rem;
  padding-top: 1.4rem;
}
.sermons-grid-note > span {
  color: var(--clay);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding-top: 0.3rem;
  text-transform: uppercase;
}
.sermons-grid-note p {
  color: #617067;
  font-family: "Playfair Display", serif;
  line-height: 1.55;
  margin: 0;
  max-width: 750px;
}
.sermons-grid-note code {
  color: var(--forest);
} /* Prayer strip: pastoral support callout below the sermon library. */
.sermons-prayer-strip {
  background: var(--forest);
  color: #e2ebe4;
  padding: 6.5rem 0;
  text-align: center;
}
.sermons-prayer-strip .eyebrow {
  color: #fff;
}
.sermons-prayer-strip .eyebrow:before {
  background: var(--sun);
  margin-left: -34px;
}
.sermons-prayer-strip h2 {
  color: #fff;
  font-size: clamp(3.2rem, 5vw, 5.7rem);
  margin: 1rem auto 2rem;
  max-width: 740px;
}
.sermons-prayer-strip h2 em {
  color: var(--sun);
} /* Sermon modal: shared accessible YouTube video and audio player UI. */
.sermon-media-modal .modal-content {
  background: #fdf8ee;
  border: 0;
  border-radius: 0;
  color: var(--forest);
}
.sermon-media-modal .modal-header {
  align-items: start;
  border-bottom: 1px solid rgba(17, 45, 37, 0.13);
  padding: 1.7rem 2rem;
}
.sermon-media-modal .modal-header .eyebrow {
  color: var(--clay);
  margin-bottom: 0.25rem;
}
.sermon-media-modal .modal-title {
  font-size: 2.25rem;
  line-height: 1.1;
}
.sermon-media-modal .btn-close {
  margin: 0.2rem 0 0;
}
.sermon-media-modal .modal-body {
  padding: 1.25rem 2rem 2rem;
}
.sermon-video-frame {
  aspect-ratio: 16/9;
  background: #102d25;
}
.sermon-video-frame iframe {
  border: 0;
  height: 100%;
  width: 100%;
}
.sermon-audio-stage {
  align-items: center;
  background: #173f34;
  color: #e6efe8;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 2.5rem;
  text-align: center;
}
.sermon-audio-disc {
  align-items: center;
  background: var(--sun);
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--forest);
  display: flex;
  font-size: 2.3rem;
  height: 6rem;
  justify-content: center;
  width: 6rem;
}
.sermon-audio-stage p {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin: 1.2rem 0 0.4rem;
}
.sermon-audio-stage > span {
  font-size: 0.82rem;
  max-width: 440px;
}
.sermon-audio-embed {
  border: 0;
  height: 1px;
  margin-top: 1rem;
  opacity: 0;
  position: absolute;
  width: 1px;
}
.sermon-youtube-link {
  color: var(--clay);
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: 1.3rem;
  text-decoration: none;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .sermons-hero {
    min-height: 430px;
    padding: 6rem 0 4rem;
  }
  .sermons-hero p:not(.eyebrow) {
    font-size: 1.1rem;
  }
  .sermons-intro {
    padding: 5rem 0;
  }
  .sermons-intro .container {
    display: block;
  }
  .sermons-intro h2 {
    margin-bottom: 1.6rem;
  }
  .sermons-grid-section {
    padding-bottom: 4.8rem;
  }
  .sermons-grid-note {
    margin-top: 3rem;
  }
  .sermons-prayer-strip {
    padding: 5rem 0;
  }
  .sermon-media-modal .modal-header {
    padding: 1.4rem;
  }
  .sermon-media-modal .modal-body {
    padding: 1rem 1.4rem 1.6rem;
  }
  .sermon-media-modal .modal-title {
    font-size: 1.7rem;
  }
  .sermon-audio-stage {
    min-height: 280px;
    padding: 1.8rem;
  }
}
