/* Botón Español / English — arriba a la izquierda */
button.lr-lang-switch{position:absolute;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));z-index:900;display:flex;align-items:center;gap:2px;height:52px;padding:4px;box-sizing:border-box;border:1px solid #b99557;border-radius:13px;background:#fff8eb!important;box-shadow:0 3px 10px rgba(0,0,0,.18);cursor:pointer;font:700 14px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.04em;color:#7a5a24!important;margin:0;min-width:0;width:auto;text-transform:none;transition:box-shadow .15s ease}
button.lr-lang-switch:hover{box-shadow:0 4px 14px rgba(0,0,0,.3)}
button.lr-lang-switch:focus-visible{outline:3px solid #176477;outline-offset:3px}
button.lr-lang-switch .lr-lang-opt{display:flex;align-items:center;justify-content:center;min-width:34px;height:100%;padding:0 6px;border-radius:9px;color:#7a5a24!important;background:transparent!important}
button.lr-lang-switch .lr-lang-opt.is-on{background:#0f2b4c!important;color:#fff!important}
@media(max-width:600px){button.lr-lang-switch{height:44px;top:max(10px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));border-radius:11px;font-size:13px}button.lr-lang-switch .lr-lang-opt{min-width:30px;padding:0 4px}}
@media print{.lr-lang-switch{display:none}}
html.lr-en-loading body{opacity:0}
body{transition:opacity .15s ease}
html.lr-en .lr-devotional-cta{background-image:url('/flyers/devocional-banner-ancho-en.jpg')!important}
/* Evita que palabras largas en títulos (p. ej. "Fundamentales") se salgan de la pantalla en celulares */
@media(max-width:600px){h1,h2,h3{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}}
/* Citas bíblicas dentro de un párrafo: enlace al versículo exacto */
a.verse-inline{color:inherit;text-decoration:underline;text-decoration-color:#b99557;text-underline-offset:2px;font-weight:600}
a.verse-inline:hover{color:#17666a}
/* Versión en inglés: nombre de la iglesia en inglés debajo del nombre oficial */
.navbar .brand p.lr-name-en{margin:2px 0 4px!important;font-size:.82em;font-weight:600;letter-spacing:.02em;opacity:.85}
/* Barra "Inicio" (devocionales y calendario): centrada, entre el botón ES | EN y la Biblia */
.lr-home-return{text-align:center!important;padding-left:5%!important;padding-right:5%!important}

/* Celulares: botones de al menos 48 px y separados del logo para que sean fáciles de tocar */
@media(max-width:600px){
  button.lr-lang-switch{height:48px}
  button.lr-lang-switch .lr-lang-opt{min-width:36px}
  a.lr-bible-shortcut{width:48px!important;height:48px!important}
  .navbar .brand{margin-top:50px}
  .menu-toggle{min-width:48px;min-height:48px}
}
