/* Alternative light palette; dark remains the default and existing approved appearance. */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#f3f6fa;
  --bg-deep:#e8eef5;
  --surface:#fff;
  --surface-2:#edf2f7;
  --line:#cad5e0;
  --gold:#1b4269;
  --gold-soft:#2b6fc4;
  --text:#172b3f;
  --muted:#4c6073;
  --shadow:0 8px 24px rgba(24,52,79,.09);
}
html[data-theme="light"] body{background:#f3f6fa;color:var(--text)}
html[data-theme="light"] a{color:var(--gold-soft)}
html[data-theme="light"] a:hover{color:#174b83}
html[data-theme="light"] .site-header{background:rgba(255,255,255,.97);border-color:#d7e0e8;box-shadow:0 3px 14px rgba(19,45,70,.07)}
html[data-theme="light"] .brand{color:#17324b}
html[data-theme="light"] .brand-mark{stroke:#1b4269}
html[data-theme="light"] .site-nav>a,html[data-theme="light"] .nav-group>summary{color:#263d52}
html[data-theme="light"] .site-nav .nav-home,html[data-theme="light"] .site-nav>a:hover,html[data-theme="light"] .nav-group[open]>summary,html[data-theme="light"] .nav-group>summary:hover,html[data-theme="light"] .nav-group.is-current>summary{background:#1b4269;color:#fff}
html[data-theme="light"] .nav-group.is-current>summary{box-shadow:inset 0 -2px #2b6fc4}
html[data-theme="light"] .dropdown{background:#fff;border-color:#cbd7e2}
html[data-theme="light"] .dropdown a{color:#263d52}
html[data-theme="light"] .dropdown a:hover,html[data-theme="light"] .dropdown a[aria-current="page"]{background:#e8f0f8;color:#174b83}
html[data-theme="light"] .menu-toggle{color:#1b4269;background:#fff;border-color:#b8c8d8}
html[data-theme="light"] .menu-toggle span{background:#1b4269}
html[data-theme="light"] .identity-band{background:#e8eef5;border-color:#cad5e0;color:#17324b}
html[data-theme="light"] .button{border-color:#1b4269}
html[data-theme="light"] .button-gold{background:#1b4269;color:#fff}
html[data-theme="light"] .button-gold:hover{background:#2b6fc4;color:#fff}
html[data-theme="light"] .button-outline{color:#1b4269;border-color:#1b4269}
html[data-theme="light"] .button-outline:hover{background:#e7eff7;border-color:#2b6fc4;color:#174b83}
html[data-theme="light"] .site-footer{background:linear-gradient(110deg,#e6edf4,#f2f5f8);border-color:#c6d2dd}
html[data-theme="light"] .footer-inner>section,html[data-theme="light"] .footer-verse,html[data-theme="light"] .footer-links,html[data-theme="light"] .footer-count{border-color:#9fb3c7}
html[data-theme="light"] .footer-verse{color:#3b5268}
html[data-theme="light"] .footer-verse cite{background:#1b4269;color:#fff}
html[data-theme="light"] .footer-links a{color:#263d52}
html[data-theme="light"] .footer-links h2,html[data-theme="light"] .footer-count p{color:#1b4269}
html[data-theme="light"] .footer-count small{color:#52677b}

/* Page heroes retain a dark, high contrast image treatment in both themes. */
html[data-theme="light"] .internal-hero{background:#132c46}
html[data-theme="light"] .internal-hero:after{background:linear-gradient(90deg,#102943f5 0%,#153a5dda 36%,#163c5e80 72%,#10294352 100%),linear-gradient(0deg,#10294388,transparent 45%)}
html[data-theme="light"] .breadcrumb a{color:#e7eef5}
html[data-theme="light"] .breadcrumb span[aria-current],html[data-theme="light"] .breadcrumb>span[aria-hidden]{color:#a9d0ff}
html[data-theme="light"] .internal-hero h1:before{background:#8ebcf0}
html[data-theme="light"] .section-intro{background:linear-gradient(110deg,#fff,#eaf1f7);border-color:#a9bfd3}
html[data-theme="light"] .intro-icon{border-color:#9eb6cc}
html[data-theme="light"] .intro-icon svg{stroke:#1b4269}
html[data-theme="light"] .section-intro h2{color:#1b4269}
html[data-theme="light"] .section-intro p{color:#435a70}
html[data-theme="light"] .page-number,html[data-theme="light"] .page-arrow{background:#fff;border-color:#b7c7d6;color:#233d56}
html[data-theme="light"] .page-number:hover,html[data-theme="light"] .page-arrow:hover{border-color:#2b6fc4;background:#e8f0f8;color:#174b83}
html[data-theme="light"] .page-number.is-active{background:#1b4269;border-color:#1b4269;color:#fff}
html[data-theme="light"] .article-card{background:linear-gradient(145deg,#fff,#f5f8fb);border-color:#cad6e1;box-shadow:0 5px 18px rgba(24,52,79,.08)}
html[data-theme="light"] .article-card:hover{border-color:#2b6fc4}
html[data-theme="light"] .article-card h3 a{color:#1b4269}
html[data-theme="light"] .article-card h3 a:hover{color:#2b6fc4}
html[data-theme="light"] .article-card p{color:#43596d}
html[data-theme="light"] .article-link{border-color:#1b4269;color:#1b4269}
html[data-theme="light"] .article-link:hover{background:#1b4269;color:#fff}
html[data-theme="light"] .article-image-link,html[data-theme="light"] .doctrine-card-mark,html[data-theme="light"] .lenin-card-mark,html[data-theme="light"] .greek-card-mark{background:radial-gradient(ellipse at center,#eaf1f7,#dce6ef);border-color:#c6d3df}
html[data-theme="light"] .doctrine-card-mark svg,html[data-theme="light"] .lenin-card-mark svg{stroke:#1b4269}
html[data-theme="light"] .doctrine-card-mark svg path:last-child,html[data-theme="light"] .lenin-card-mark svg path:last-child{fill:#2b6fc4;stroke:#2b6fc4}
html[data-theme="light"] .greek-card-mark{color:#1b4269}

/* Editorial reading pages */
html[data-theme="light"] .article-content{color:#263d52}
html[data-theme="light"] .article-content p{color:inherit}
html[data-theme="light"] .article-content strong{color:#142b42}
html[data-theme="light"] .article-content em{color:#315f8d}
html[data-theme="light"] .article-content a{color:#1b5c9c}
html[data-theme="light"] .article-content span[style*="#0000FF"],html[data-theme="light"] .article-content span[style*="rgb(0, 0, 255)"],html[data-theme="light"] .article-content span[style*="rgb(0,0,255)"]{color:#1b4269!important}
html[data-theme="light"] .article-content span[style*="rgb(0, 0, 0)"],html[data-theme="light"] .article-content span[style*="rgb(32, 33, 36)"],html[data-theme="light"] .article-content span[style*="rgb(33, 37, 41)"],html[data-theme="light"] .article-content span[style*="rgba(0, 0, 0"]{color:#263d52!important}
html[data-theme="light"] .article-content table{background:#fff;color:#263d52}
html[data-theme="light"] .article-content td,html[data-theme="light"] .article-content th{border-color:#bdcbd8}
html[data-theme="light"] .article-content>p.scripture-quote{background:#e9f0f6;color:#253d55;border-color:#1b4269}
html[data-theme="light"] .article-credits{background:#edf2f7;border-color:#c5d2df;border-left-color:#1b4269}
html[data-theme="light"] .article-credits h2{color:#1b4269}
html[data-theme="light"] .article-credits p{color:#4c6073}
html[data-theme="light"] .article-video{border-color:#aebfce;box-shadow:0 8px 22px rgba(24,52,79,.12)}
html[data-theme="light"] .reading-sidebar{scrollbar-color:#6e91b2 #e5ebf1}
html[data-theme="light"] .sidebar-index,html[data-theme="light"] .sidebar-related{background:linear-gradient(145deg,#fff,#edf2f7);border-color:#c5d2df;box-shadow:0 5px 16px rgba(24,52,79,.07)}
html[data-theme="light"] .sidebar-index summary{color:#1b4269}
html[data-theme="light"] .sidebar-index summary small{color:#586d80}
html[data-theme="light"] .sidebar-index nav{border-color:#d5dfe8}
html[data-theme="light"] .sidebar-index li a{color:#344c62}
html[data-theme="light"] .sidebar-index li a:hover,html[data-theme="light"] .sidebar-index li a[aria-current="page"]{background:#e4edf6;color:#174b83}
html[data-theme="light"] .sidebar-related h2{color:#1b4269}
html[data-theme="light"] .sidebar-related ul{color:#2b6fc4}
html[data-theme="light"] .sidebar-related a{color:#344c62}
html[data-theme="light"] .sidebar-page-group>summary{background:#eaf0f6;border-color:#c7d3df;color:#29445e}
html[data-theme="light"] .sidebar-page-group>ol{border-color:#8aa6c0}
html[data-theme="light"] .article-pager{border-color:#cbd6e0}
html[data-theme="light"] .pager-link,html[data-theme="light"] .pager-index{background:#fff;border-color:#c3d0dc;color:#1b4269}
html[data-theme="light"] .pager-link strong{color:#314b63}
html[data-theme="light"] .pager-link:hover,html[data-theme="light"] .pager-index:hover{background:#eaf1f7;border-color:#2b6fc4}

/* Home page surfaces */
html[data-theme="light"] .hero-carousel{background:#e1e9f1}
html[data-theme="light"] .carousel-arrow:hover{background:#1b4269;color:#fff}
html[data-theme="light"] .dot.is-active{background:#2b6fc4}
html[data-theme="light"] .eyebrow{color:#1b4269}
html[data-theme="light"] .study-app{background:linear-gradient(110deg,#fff,#eaf1f7);border-color:#c3d0dc}
html[data-theme="light"] .study-copy h2,html[data-theme="light"] .study-title-link{color:#17324b}
html[data-theme="light"] .app-download{border-color:#9eb6cc}
html[data-theme="light"] .app-download h3{color:#1b4269}
html[data-theme="light"] .app-download>p{color:#4c6073}
html[data-theme="light"] .store-pending{border-color:#9eb0c1;color:#465d72}
html[data-theme="light"] .app-store-button{border-color:#34485a;background:#101418;color:#fff}
html[data-theme="light"] .app-store-button:hover{background:#273746;color:#fff}
html[data-theme="light"] .section-heading h2>span,html[data-theme="light"] .explore>.section-heading>span{color:#1b4269}
html[data-theme="light"] .recent-card{background:linear-gradient(#fff,#edf2f7);border-color:#c4d0dc}
html[data-theme="light"] .recent-card>a{color:#172b3f}
html[data-theme="light"] .recent-card .category{background:#1b4269;color:#fff}
html[data-theme="light"] .text-link{color:#1b5c9c}
html[data-theme="light"] .resource-card{background:linear-gradient(145deg,#fff,#edf2f7);border-color:#cbd6e0;color:#172b3f}
html[data-theme="light"] .resource-card:hover{background:#e5edf5;border-color:#2b6fc4}
html[data-theme="light"] .resource-icon{color:#1b4269}
html[data-theme="light"] .resource-card p{color:#4c6073}

.theme-toggle{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;margin-left:8px;padding:0;border:1px solid #53656d;border-radius:10px;background:transparent;color:var(--gold-soft);cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.theme-toggle:hover{background:#24353d;border-color:var(--gold);color:var(--gold-soft)}
.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle [data-theme-icon="dark"]{display:none}
html[data-theme="light"] .theme-toggle{border-color:#b9c9d8;background:#f8fafc;color:#1b4269}
html[data-theme="light"] .theme-toggle:hover{background:#e7eff7;border-color:#2b6fc4;color:#174b83}
html[data-theme="light"] .theme-toggle [data-theme-icon="light"]{display:none}
html[data-theme="light"] .theme-toggle [data-theme-icon="dark"]{display:block}
@media(max-width:900px){.theme-toggle{margin-left:8px}}
@media(max-width:600px){.theme-toggle{width:38px;height:38px;flex-basis:38px;margin-left:6px}}
html[data-theme="light"] .greek-card .category,html[data-theme="light"] .lenin-card .category,html[data-theme="light"] .doctrine-card .category{background:#1b4269;color:#fff}
html[data-theme="light"] .store-link:hover img{filter:drop-shadow(0 0 8px rgba(43,111,196,.28))}
html[data-theme="light"] .internal-hero,html[data-theme="light"] .internal-hero h1{color:#f6f8fb}
html[data-theme="light"] .article-feature-image{border-color:#cad5e0;background:#fff;box-shadow:0 8px 22px rgba(24,52,79,.1)}
html[data-theme="light"] .devotional-card-mark{background:radial-gradient(ellipse at center,#eaf1f7,#dce6ef);border-color:#c6d3df}
html[data-theme="light"] .devotional-card-mark svg{stroke:#1b4269}
html[data-theme="light"] .devotional-card-mark svg path:last-child{fill:#2b6fc4;stroke:#2b6fc4}
html[data-theme="light"] .devotional-card .category{background:#1b4269;color:#fff}
html[data-theme="light"] .article-content span[style*="rgb(3, 3, 3)"]{color:#263d52!important;background-color:transparent!important}
html[data-theme="light"] .faq-entry{background:linear-gradient(145deg,#fff,#edf2f7);border-color:#c5d2df;box-shadow:0 6px 18px rgba(24,52,79,.08)}
html[data-theme="light"] .faq-entry-heading{border-color:#d4dfe8}
html[data-theme="light"] .faq-entry-heading h2,html[data-theme="light"] .faq-mark{color:#1b4269}
html[data-theme="light"] .faq-mark{border-color:#8aa6c0}
html[data-theme="light"] .faq-answer{color:#263d52}
html[data-theme="light"] .faq-answer a{color:#1b5c9c!important}
html[data-theme="light"] .faq-video{border-color:#aebfce;background:#132c46}
html[data-theme="light"] .faq-contact-cta{background:linear-gradient(110deg,#fff,#eaf1f7);border-color:#a9bfd3;border-left-color:#1b4269}
html[data-theme="light"] .faq-contact-cta h2{color:#1b4269}
html[data-theme="light"] .faq-contact-cta p{color:#4c6073}
html[data-theme="light"] .faq-contact-cta .button-gold{background:#1b4269;color:#fff}
html[data-theme="light"] .faq-contact-cta .button-gold:hover{background:#2b6fc4;color:#fff}
html[data-theme="light"] .melody-card-mark{background:radial-gradient(ellipse at center,#eaf1f7,#dce6ef);border-color:#c6d3df}
html[data-theme="light"] .melody-card-mark svg{stroke:#1b4269}
html[data-theme="light"] .melody-card .category{background:#1b4269;color:#fff}
html[data-theme="light"] .site-nav>a[aria-current="page"]{background:#1b4269;border-radius:8px;color:#fff}
html[data-theme="light"] .information-panel{background:linear-gradient(145deg,#fff,#edf2f7);border-color:#c5d2df}
html[data-theme="light"] .information-copy>p,html[data-theme="light"] .privacy-copy>p{color:#263d52}
html[data-theme="light"] .mission-quote{background:#e7eef5;border-left-color:#1b4269}
html[data-theme="light"] .mission-quote p{color:#263d52}
html[data-theme="light"] .people-section{border-color:#c5d2df}
html[data-theme="light"] .person-card{background:#f7f9fb;border-color:#cad6e1}
html[data-theme="light"] .person-card>img{border-color:#c5d2df;background:#e8eef5}
html[data-theme="light"] .person-copy h3{color:#1b4269}
html[data-theme="light"] .person-copy ul{color:#43596d}
html[data-theme="light"] .footer-store-link{background:#152b40;border-color:#9eb3c7;color:#fff}
html[data-theme="light"] .footer-store-link:hover{background:#1b4269;border-color:#2b6fc4;color:#fff}
