/* Origins light palette for Bibles.my. Dark mode uses the existing Bible styles. */
html:not([data-bibles-page-theme="dark"]) {
  color-scheme: light;
  --bibles-page-background: #fff;
  --bibles-page-ink: #26344e;
  --bibles-page-heading: #143b75;
  --bibles-page-link: #164c88;
  --bibles-menu-surface: #e1e9f5;
  --bibles-menu-border: #8ca6c8;
  --bibles-menu-ink: #153b6a;
  --bibles-menu-hover: #cbdaf0;
  --bibles-menu-selected: #bccadd;
  --bibles-heading-shadow: 0 1px 0 #fff,1px 2px 2px rgba(9,32,84,.18),0 0 3px rgba(50,77,134,.12);
  --bibles-psalm-heading-ink: var(--bibles-page-heading);
  --bibles-psalm-heading-main-shadow: var(--bibles-heading-shadow);
  --bibles-psalm-heading-h3-shadow: var(--bibles-heading-shadow);
  --bibles-psalm-heading-h4-shadow: var(--bibles-heading-shadow);
  --bibles-psalm-subtitle-ink: var(--bibles-page-heading);
  --bibles-psalm-subtitle-shadow: var(--bibles-heading-shadow);
  background: var(--bibles-page-background);
  color: var(--bibles-page-ink);
}
html:not([data-bibles-page-theme="dark"]) body {
  background: var(--bibles-page-background);
  color: var(--bibles-page-ink);
}
html:not([data-bibles-page-theme="dark"]) :is(.bibleContent, .introStyles) :is(h1,h2,h3,h4),
html:not([data-bibles-page-theme="dark"]) .legend-page .legend-heading,
html:not([data-bibles-page-theme="dark"]) .about-bibles :is(h1,h2),
html:not([data-bibles-page-theme="dark"]) .bibles-privacy :is(h1,h2) {
  color: var(--bibles-page-heading);
  text-shadow: var(--bibles-heading-shadow);
}
html:not([data-bibles-page-theme="dark"]) .titles.blueTable {
  background-color: var(--bibles-menu-surface);
  border-color: var(--bibles-menu-border);
}
html:not([data-bibles-page-theme="dark"]) :is(.bibles-home-intro, .bibles-privacy, .footer, .legend-page .legend-nav, .legend-page .legend-footer-links) a,
html:not([data-bibles-page-theme="dark"]) .bibles-about-link a {
  color: var(--bibles-page-link);
}
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav :is(details, details > summary, .fresh-mobile-links > a),
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav > :is(#bibles-direct-chapter-navigation, #bibles-current-chapters),
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav > :is(#bibles-direct-chapter-navigation, #bibles-current-chapters) > summary,
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav :is(.fresh-nav-grid, .bibles-refined-chapter-grid) > a,
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav .bibles-refined-jump-form .bibles-refined-go,
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav .bibles-nav-controls :is(.colorTheme > button, .resize_tools > button) {
  background: var(--bibles-menu-surface) !important;
  color: var(--bibles-menu-ink) !important;
  border-color: var(--bibles-menu-border) !important;
  text-shadow: none !important;
}
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav details > summary::marker { color: var(--bibles-menu-ink); }
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav .bibles-nav-controls .colorTheme > button[aria-pressed="true"] {
  background: var(--bibles-menu-selected) !important;
  outline: 1px solid var(--bibles-menu-ink);
  outline-offset: -2px;
}
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav :is(a, summary, button):hover {
  background-color: var(--bibles-menu-hover) !important;
}

html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav > :is(#bibles-direct-chapter-navigation, #bibles-current-chapters)[open] > :is(.bibles-refined-jump-form, .bibles-refined-chapter-grid) {
  background: var(--bibles-page-background) !important;
}
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav .bibles-refined-jump-form :is(label, select) {
  color: var(--bibles-menu-ink) !important;
}
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav .bibles-refined-jump-form select {
  background: var(--bibles-menu-surface) !important;
  border-color: var(--bibles-menu-border) !important;
}
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav :is(.fresh-nav-grid, .bibles-refined-chapter-grid) > a[aria-current="page"],
html:not([data-bibles-page-theme="dark"]) body .fresh-mobile-nav :is(.fresh-nav-grid, .bibles-refined-chapter-grid) > a:hover {
  background: var(--bibles-menu-hover) !important;
}
html:not([data-bibles-page-theme="dark"]) body.responsive-bible-chapter > nav.bibles-sticky-chapters {
  background: #101f54 !important;
  border-color: #385180 !important;
}
html:not([data-bibles-page-theme="dark"]) body.responsive-bible-chapter > nav.bibles-sticky-chapters .bibles-sticky-item {
  background: #204574 !important;
  color: #fff !important;
  border-color: #6487ad !important;
}
html:not([data-bibles-page-theme="dark"]) body.responsive-bible-chapter > nav.bibles-sticky-chapters a.bibles-sticky-item:is(:hover,:focus-visible) {
  background: #326394 !important;
}

.bibles-home-intro {
  box-sizing: border-box;
  width: min(100%, 47rem);
  margin: 1.3rem auto 2rem;
  padding: clamp(.9rem, 3vw, 1.8rem);
  border: 1px solid var(--bibles-menu-border, #6186b3);
  border-radius: .6rem;
  text-align: start;
  overflow-wrap: anywhere;
}
.bibles-home-intro > h2 { margin-top: 0; }
.bibles-home-intro > h3 { margin: 1.2rem 0 .5rem; text-align: start; }
html body section.bibleContent .bibles-home-intro > p {
  margin: 0 0 .85em;
  text-indent: 0;
  text-align: start;
  line-height: 1.7;
}
html body section.bibleContent .bibles-home-intro > p:last-child { margin-bottom: 0; }
.bibles-home-intro .bibles-intro-sources { font-size: .9em; }

.bibles-privacy {
  margin: 0;
  font: 18px/1.7 "Noto Sans Display", Arial, sans-serif;
  background: var(--bibles-page-background, #000038);
  color: var(--bibles-page-ink, #fffd9e);
}
.bibles-privacy a { color: var(--bibles-page-link, #c6daff); }
.bibles-privacy main { box-sizing: border-box; max-width: 780px; margin: auto; padding: 0 20px 100px; }
.bibles-privacy nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem; margin: 0 auto; padding: 1rem; }
.bibles-privacy .colorTheme { display: flex; gap: .35rem; }
.bibles-privacy .colorTheme button {
  min-height: 44px;
  padding: .45em .75em;
  border: 1px solid var(--bibles-menu-border, #6186b3);
  border-radius: .35rem;
  background: var(--bibles-menu-surface, #204574);
  color: var(--bibles-menu-ink, #fff);
  font: inherit;
  cursor: pointer;
}
.bibles-privacy .colorTheme button[aria-pressed="true"] {
  outline: 1px solid currentColor;
  outline-offset: -3px;
}
