/* La Nube de Bilbao · NAVEGAR (10/11/2026) · prefijo lnbn- (comprobado libre). Lo usa assets/lnb_navegar.js.
   Las reglas de los listados llevan la clase repetida para ganar a «.lnhb .lnhb-mas-det > summary» (0,2,1)
   de hoy_bizkaia.css y a «.lnsv …» de home_servicios.css. */
.lnbn-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Listado largo abierto: la cabecera se queda arriba, y dice que cierra */
.lnbn-largo.lnbn-largo[open] > summary {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 -8px; padding: 8px; min-height: 44px;
  background: #fff; border-bottom: 1px solid #dfe6ee; box-shadow: 0 6px 12px -10px rgba(20, 35, 60, .45);
  list-style: none;
}
.lnbn-largo.lnbn-largo[open] > summary::-webkit-details-marker { display: none; }
.lnbn-largo.lnbn-largo[open] > summary::after {
  content: "✕ Cerrar"; flex: 0 0 auto;
  font: 600 14px/1 "Figtree", system-ui, -apple-system, sans-serif; color: #fff;
  background: #1c2b45; border-radius: 999px; padding: 9px 14px;
}
.lnbn-largo.lnbn-largo[open] > summary:hover::after,
.lnbn-largo.lnbn-largo[open] > summary:focus-visible::after { background: #2f74c0; }

.lnbn-cerrar.lnbn-cerrar {
  display: block; width: 100%; margin: 14px 0 4px; min-height: 44px; padding: 0 16px;
  font: 600 15px/1 "Figtree", system-ui, -apple-system, sans-serif; color: #1c2b45;
  background: #f6f8fb; border: 1px solid #c5d0dd; border-radius: 12px; cursor: pointer;
}
.lnbn-cerrar.lnbn-cerrar:hover, .lnbn-cerrar.lnbn-cerrar:focus-visible { background: #1c2b45; border-color: #1c2b45; color: #fff; }

/* Planes: lo que pasa de 10 se pliega, con el mismo aspecto que los «Ver N más» de /hoy */
.lnbn-mas.lnbn-mas { margin-top: 12px; border-top: 1px solid #dfe6ee; padding-top: 10px; }
.lnbn-mas.lnbn-mas > summary { cursor: pointer; font-size: 15px; font-weight: 600; color: #2f74c0; min-height: 32px; }
.lnbn-mas.lnbn-mas > .lnbn-mas__lista { margin-top: 8px; }

/* ↑ Arriba */
.lnbn-arriba {
  position: fixed; right: 20px; bottom: 20px; z-index: 39;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  font: 600 15px/1 "Figtree", system-ui, -apple-system, sans-serif; color: #fff;
  background: #1c2b45; border: 0; border-radius: 999px; box-shadow: 0 6px 18px rgba(20, 35, 60, .3); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.lnbn-arriba.lnbn-arriba--alto { bottom: 92px; }           /* encima del botón verde de WhatsApp de la portada */
.lnbn-arriba.lnbn-arriba--ver { opacity: 1; visibility: visible; transform: none; }
.lnbn-arriba:hover, .lnbn-arriba:focus-visible { background: #2f74c0; }
.lnbn-arriba:focus-visible { outline: 3px solid #f39200; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lnbn-arriba { transition: none; } }
@media print { .lnbn-arriba, .lnbn-cerrar { display: none !important; } }
