/* v1.0.5 — Day mode fixes, scoped to homepage and library. Night mode deliberately untouched.
   The homepage's video section remains cinematic/dark, so its text MUST stay light.
   Cards on parchment must use dark ink. Values derive from Appearance > Scrapyard Appearance. */
html.sss-mode-day .sss-site .sss-latest-songs,
html.sss-mode-day .sss-site .sss-latest-head {
  color:#f9ead7;
}
html.sss-mode-day .sss-site .sss-latest-songs .sss-latest-head h2 {
  color:#fff0d6 !important;
  -webkit-text-fill-color:#fff0d6 !important;
}
html.sss-mode-day .sss-site .sss-latest-songs .sss-latest-head p {
  color:#e9d5bd !important;
  -webkit-text-fill-color:#e9d5bd !important;
}
html.sss-mode-day .sss-site .sss-latest-songs .sss-latest-card,
html.sss-mode-day .sss-site .sss-latest-songs .sss-latest-card strong {
  color:#fff0d6 !important;
  -webkit-text-fill-color:#fff0d6 !important;
}
html.sss-mode-day .sss-site .sss-latest-songs .sss-latest-card a {
  color:#fff0d6 !important;
  -webkit-text-fill-color:#fff0d6 !important;
}
/* On the light 'Latest Bible Publications' section, restore readable parchment cards. */
html.sss-mode-day .sss-site .sssf-unified-featured .sssf-latest-studies {
  color:var(--sss-text) !important;
}
html.sss-mode-day .sss-site .sssf-unified-featured .sssf-unified-publication {
  background:var(--sss-paper) !important;
  border:1px solid var(--sss-border) !important;
  color:var(--sss-text) !important;
}
html.sss-mode-day .sss-site .sssf-unified-featured .sssf-unified-publication h3,
html.sss-mode-day .sss-site .sssf-unified-featured .sssf-unified-publication h3 a {
  color:var(--sss-title) !important;
  -webkit-text-fill-color:var(--sss-title) !important;
}
html.sss-mode-day .sss-site .sssf-unified-featured .sssf-unified-publication p,
html.sss-mode-day .sss-site .sssf-unified-featured .sssf-unified-publication small {
  color:var(--sss-soft) !important;
  -webkit-text-fill-color:var(--sss-soft) !important;
}
html.sss-mode-day .sss-site .sssf-unified-featured .sssf-unified-publication p a {
  color:var(--sss-link) !important;
  -webkit-text-fill-color:var(--sss-link) !important;
}
/* The library's cinematic masthead is deliberately dark in both modes. */
html.sss-mode-day .sssf-library-redesign .sssf-lib-hero,
html.sss-mode-day .sssf-library-redesign .sssf-lib-hero p {
  color:#f5e7d6 !important;
  -webkit-text-fill-color:#f5e7d6 !important;
}
html.sss-mode-day .sssf-library-redesign .sssf-lib-hero h1,
html.sss-mode-day .sssf-library-redesign .sssf-lib-hero h1 em {
  -webkit-text-fill-color:currentColor !important;
}

/* v1.2.18 — Homepage hero: readable day-mode typography on warm parchment.
   Deliberately limited to the front-page hero; night mode and other site
   sections (including dark cinematic music/video panels) are untouched. */
html.sss-mode-day body.home .sss-site-content :is(
  .sssf-home-hero, .sssf-homepage-hero, .sssf-hero,
  .sss-home-hero, .sss-homepage-hero, .sss-hero,
  .sssf-home-intro, .sssf-landing-hero, .home-hero
) :is(h1 em, h1 i, .hero-title em, .hero-title i, .sssf-hero-title em),
html.sss-mode-day body.home .sss-site-content .entry-content > section:first-child h1 em {
  color: #603817 !important;
  -webkit-text-fill-color: #603817 !important;
  opacity: 1 !important;
}
/* Secondary hero navigation chips/link badges should look intentional in day
   mode, not disappear against the surrounding pale gold background. */
html.sss-mode-day body.home .sss-site-content :is(
  .sssf-home-hero, .sssf-homepage-hero, .sssf-hero,
  .sss-home-hero, .sss-homepage-hero, .sss-hero,
  .sssf-home-intro, .sssf-landing-hero, .home-hero
) :is(.hero-pills a, .hero-links a, .hero-chips a,
      .sssf-hero-pills a, .sssf-hero-links a,
      .sssf-home-links a, .sssf-home-chips a,
      .hero-tags a, .hero-quicklinks a) {
  color: #603817 !important;
  -webkit-text-fill-color: #603817 !important;
  background: rgba(255, 248, 233, .88) !important;
  border-color: rgba(96, 56, 23, .40) !important;
  opacity: 1 !important;
  text-decoration-color: currentColor;
}
html.sss-mode-day body.home .sss-site-content :is(
  .sssf-home-hero, .sssf-homepage-hero, .sssf-hero,
  .sss-home-hero, .sss-homepage-hero, .sss-hero,
  .sssf-home-intro, .sssf-landing-hero, .home-hero
) :is(.hero-tagline, .hero-signoff, .sssf-hero-tagline,
      .sssf-home-tagline, .sss-tagline, .hero-footnote) {
  color: #663c20 !important;
  -webkit-text-fill-color: #663c20 !important;
  opacity: 1 !important;
}
