#spxBibleGuidesLayer,#bgGuideSheet[data-bg-discovery="true"]{--bg-guide-accent:#975c68}
html[data-theme="evening"] #spxBibleGuidesLayer,html[data-theme="evening"] #bgGuideSheet[data-bg-discovery="true"]{--bg-guide-accent:#edb8c3}
/* Local Book Guides discovery pilot. Existing fonts, artwork and theme tokens. */
#spxBibleGuidesLayer .bg-library-intro{font-family:'Playfair Display',Georgia,serif;font-size:calc(21px * var(--grounded-type-scale, 1));line-height:1.5;color:var(--text);max-width:680px;margin:8px 0 30px;text-wrap:pretty}
#spxBibleGuidesLayer .bg-card--watercolor .bg-card-body{height:auto;min-height:150px;padding:14px 13px;gap:8px;align-items:flex-start;text-align:left}
#spxBibleGuidesLayer .bg-card--watercolor .bg-card-title{font-size:calc(18px * var(--grounded-type-scale, 1));white-space:normal;line-height:1.25}
#spxBibleGuidesLayer .bg-card-description{font-family:'Inter',sans-serif;font-size:calc(12px * var(--grounded-type-scale, 1));line-height:1.6;color:var(--text);opacity:.85;margin:0;flex:1}
#spxBibleGuidesLayer .bg-card-access{font-family:'Inter',sans-serif;font-size:calc(10px * var(--grounded-type-scale, 1));font-weight:600;letter-spacing:.04em;color:var(--bg-guide-accent);background:var(--surface);padding:4px 8px;border:1px solid rgba(166,111,117,.22);border-radius:20px}
#spxBibleGuidesLayer .bg-card--watercolor .bg-card-meta{font-size:calc(11px * var(--grounded-type-scale, 1));color:var(--text-light);opacity:1}
#spxBibleGuidesLayer .bg-card-lock{display:none}
#spxBibleGuidesLayer .bg-testament-title{font-size:calc(12px * var(--grounded-type-scale, 1));letter-spacing:.12em;color:var(--bg-guide-accent)}
#bgGuideSheet[data-bg-discovery="true"]{--bg-discovery-line:rgba(178,123,129,.22)}
#bgGuideSheet[data-bg-discovery="true"] .bg-hero{margin:-6px -20px 12px;border-radius:0;position:relative;aspect-ratio:8/5;overflow:hidden;background:var(--bg)}
#bgGuideSheet[data-bg-discovery="true"] .bg-hero::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(transparent 65%,var(--bg) 100%)}
#bgGuideSheet[data-bg-discovery="true"] .bg-hero-img{display:block;width:100%;height:100%;object-fit:contain;filter:none;max-width:none;aspect-ratio:auto;border-radius:0;box-shadow:none}
#bgGuideSheet[data-bg-discovery="true"] .bg-eyebrow{font-size:calc(10px * var(--grounded-type-scale, 1));letter-spacing:.16em;color:var(--bg-guide-accent);opacity:1;text-align:center;margin:20px 0 14px}
#bgGuideSheet[data-bg-discovery="true"] .bg-title{font-family:'Playfair Display',Georgia,serif;font-size:calc(clamp(35px,6vw,48px) * var(--grounded-type-scale, 1));font-weight:500;line-height:1.14;text-align:center;text-wrap:balance;margin:0 0 17px}
#bgGuideSheet[data-bg-discovery="true"] .bg-subtitle{font-family:'Playfair Display',Georgia,serif;font-size:calc(20px * var(--grounded-type-scale, 1));line-height:1.55;opacity:.9;text-align:center;text-wrap:balance;margin:0 0 20px}
#bgGuideSheet[data-bg-discovery="true"] .bg-meta{text-align:center;font-size:calc(12px * var(--grounded-type-scale, 1));color:var(--bg-guide-accent);opacity:1;margin:0 0 30px}
#bgGuideSheet[data-bg-discovery="true"] .bg-discovery-lede{font-size:calc(16px * var(--grounded-type-scale, 1));line-height:1.8;color:var(--text);margin:0 0 32px}
#bgGuideSheet[data-bg-discovery="true"] .bg-discoveries{border-top:1px solid var(--bg-discovery-line);border-bottom:1px solid var(--bg-discovery-line);padding:24px 0 8px;margin-bottom:28px}
#bgGuideSheet[data-bg-discovery="true"] .bg-discoveries h2{font-family:'Inter',sans-serif;font-size:calc(11px * var(--grounded-type-scale, 1));font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--bg-guide-accent);margin:0 0 22px}
#bgGuideSheet[data-bg-discovery="true"] .bg-discoveries ol{list-style:none;padding:0;margin:0;counter-reset:discoveries}
#bgGuideSheet[data-bg-discovery="true"] .bg-discoveries li{counter-increment:discoveries;display:grid;grid-template-columns:27px 1fr;gap:13px;font-size:calc(14px * var(--grounded-type-scale, 1));line-height:1.75;padding:0 0 22px;color:var(--text)}
#bgGuideSheet[data-bg-discovery="true"] .bg-discoveries li::before{content:'0' counter(discoveries);font-family:'Playfair Display',Georgia,serif;font-size:calc(21px * var(--grounded-type-scale, 1));color:var(--bg-guide-accent)}
#bgGuideSheet[data-bg-discovery="true"] .bg-pv-card{background:linear-gradient(135deg,rgba(205,153,160,.15),rgba(226,205,171,.13));border:1px solid var(--bg-discovery-line);border-radius:18px;padding:26px 22px;margin:0 0 36px;box-shadow:none}
#bgGuideSheet[data-bg-discovery="true"] .bg-pv-card-title{font-family:'Playfair Display',Georgia,serif;font-size:calc(26px * var(--grounded-type-scale, 1));line-height:1.3;font-weight:500;color:var(--text);margin:0 0 12px}
#bgGuideSheet[data-bg-discovery="true"] .bg-pv-card-sub{font-size:calc(14px * var(--grounded-type-scale, 1));line-height:1.7;color:var(--text);opacity:.9}
#bgGuideSheet[data-bg-discovery="true"] .bg-pv-card-btn{background:#9c606c;color:#fff;border:1px solid #995b65;min-height:48px;line-height:1.4;height:auto;padding:12px 16px;border-radius:30px;font-weight:500}
#bgGuideSheet[data-bg-discovery="true"] .bg-pv-card-btn:focus-visible{outline:3px solid var(--bg-guide-accent);outline-offset:4px}
#bgGuideSheet[data-bg-discovery="true"] .bg-pv-card-note{color:var(--text-light);opacity:1;line-height:1.6}
#bgGuideSheet[data-bg-discovery="true"] .bg-discovery-reading-title{font-family:'Playfair Display',Georgia,serif;font-weight:500;font-size:calc(27px * var(--grounded-type-scale, 1));line-height:1.4;margin:32px 0 22px}
#bgGuideSheet[data-bg-discovery="true"] .bg-intro{opacity:1;font-size:calc(16px * var(--grounded-type-scale, 1));line-height:1.8}
@media(min-width:780px){#spxBibleGuidesLayer .bg-card-grid,#spxBibleGuidesLayer .bg-testament-section .bg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bgGuideSheet[data-bg-discovery="true"] .bg-hero{max-height:360px}}
@media(prefers-reduced-motion:no-preference){#spxBibleGuidesLayer .bg-card{transition:box-shadow .15s ease}#spxBibleGuidesLayer .bg-card:hover{box-shadow:0 5px 18px rgba(144,85,96,.15)}}

#spxBibleGuidesLayer .bg-card--watercolor{background:var(--card,var(--bg))}
