body.guide-reader-page {--sans:Montserrat,Arial,sans-serif;--serif:Georgia,serif;font-family:var(--sans)}
body.guide-reader-page main :is(h1,h2,h3,h4) {font-family:Georgia,serif}
body.guide-reader-page .site-header {position:sticky;top:0;z-index:1000;display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:12px;width:100%;max-width:none;padding:14px 18px;background:#201321;border-bottom:1px solid rgba(238,189,74,.22)}
body .guide-header-title,body .guide-header-title * {font-family:"Cormorant Garamond",Georgia,serif!important}
body .guide-header-title {font-size:clamp(32px,7.7vw,52px);font-weight:600;line-height:1.08;letter-spacing:-.035em;color:#f3e8d0;text-decoration:none}
.guide-header-title span {font-size:.64em}
.guide-header-title em {font-size:1em;font-weight:500;color:#eebd4a}
#guide-menu-toggle {width:48px;height:48px;padding:8px;border:0;background:transparent;color:#eebd4a;cursor:pointer}
#guide-menu-toggle svg {display:block;width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8}
#guide-menu-toggle .close-icon {display:none}
#guide-menu-toggle[aria-expanded="true"] .open-icon {display:none}
#guide-menu-toggle[aria-expanded="true"] .close-icon {display:block}
#guide-header-menu {position:absolute;right:12px;top:100%;width:min(360px,calc(100vw - 24px));padding:16px;display:grid;gap:12px;background:#241725;border:1px solid rgba(238,189,74,.22);border-radius:14px;box-shadow:0 20px 40px #17141833;color:#f3e8d0}
#guide-header-menu[hidden] {display:none!important}
#guide-header-menu :is(button,span) {font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;font-size:20px!important;line-height:1.45;letter-spacing:0}
#guide-header-menu button {width:100%;min-height:48px;padding:8px;margin:0;border:1px solid rgba(238,189,74,.22);border-radius:9px;background:transparent;color:#f7d985;font-weight:700;text-align:center;cursor:pointer}
#guide-header-menu .guide-text-controls {display:grid;grid-template-columns:minmax(44px,1fr) auto minmax(44px,1fr);gap:12px;width:100%}
#guide-header-menu .guide-text-status {display:block;position:static;width:auto;height:auto;clip:auto;clip-path:none;overflow:visible;white-space:nowrap;text-align:center}
.guide-extra-tools {display:flex;gap:12px;justify-content:flex-end;padding:12px 18px;background:#201321}
body.guide-reader-page .site-footer {display:block;padding:76px 24px 36px;background:#0e090f;color:#f3e8d0;text-align:center;--serif:"Cormorant Garamond",Georgia,serif;--gold:#eebd4a;--ivory:#f3e8d0}
body.guide-reader-page .site-footer .footer-brand {display:inline-flex;text-align:left;margin-bottom:32px}
body.guide-reader-page .site-footer .footer-brand strong {font-family:"Cormorant Garamond",Georgia,serif}
body.guide-reader-page .site-footer .social-intro {color:#eebd4a}
.guide-footer-return {display:block;width:fit-content;margin:0 auto 28px;color:#f3e8d0;text-underline-offset:4px}
@media print {.guide-extra-tools,#guide-menu-toggle,#guide-header-menu{display:none!important}}

/* Bible-guide EN/ES switch: stays immediately LEFT of the hamburger on
   desktop and phone, without covering the guide title. */
html body.premium-system.guide-reader-page header.site-header.tjm-has-language-switch {
  display:grid;
  grid-template-columns:minmax(0,1fr) max-content !important;
  align-items:center;
  column-gap:12px;
}
html body.premium-system.guide-reader-page header.site-header .tjm-language-menu-group {
  display:inline-flex !important;
  grid-column:2 !important;
  grid-row:1 !important;
  align-items:center !important;
  justify-self:end !important;
  gap:12px !important;
  min-width:0;
  width:max-content;
}
html body.premium-system.guide-reader-page header.site-header .guide-header-title {
  grid-column:1 !important;
  grid-row:1 !important;
  min-width:0;
}
html body.premium-system.guide-reader-page header.site-header .tjm-language-switch {
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap;
  gap:5px;
}
html body.premium-system.guide-reader-page header.site-header .tjm-lang-long {display:none !important;}
html body.premium-system.guide-reader-page header.site-header .tjm-lang-short {display:inline !important;}
html body.premium-system.guide-reader-page header.site-header .tjm-language-switch a,
html body.premium-system.guide-reader-page header.site-header .tjm-language-switch a span {
  font:700 15px/1.2 Montserrat,Arial,sans-serif !important;
}
html body.premium-system.guide-reader-page header.site-header #guide-menu-toggle {
  display:block !important;
  flex:0 0 48px !important;
  width:48px !important;
  height:48px !important;
  grid-column:auto !important;
  grid-row:auto !important;
}
@media(max-width:600px){
  html body.premium-system.guide-reader-page header.site-header {column-gap:6px;padding:10px 12px;}
  html body.premium-system.guide-reader-page header.site-header .tjm-language-menu-group {gap:6px !important;}
  html body.premium-system.guide-reader-page header.site-header .guide-header-title {font-size:clamp(23px,6.5vw,36px) !important;}
}
