/* Ajustes funcionales: sin cambiar colores, fuentes, diseño ni imágenes originales. */
.ovt-galeria-limitada.cuadricula > .ovt-galeria-oculto { display: none !important; }
.ovt-galeria-limitada.cuadricula > .ovt-galeria-ultima { position: relative; }
.ovt-galeria-limitada.cuadricula > .ovt-galeria-ultima::after {
  content: attr(data-restantes); position: absolute; z-index: 5; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(0,0,0,.55); font-weight: 700; font-size: 2rem; font-family: inherit;
  pointer-events: none;
}
.ovt-desc-text { cursor: pointer; overflow: hidden; max-height: 38px; }
.ovt-desc-text.ovt-desc-expandida { max-height: none; overflow: visible; }
.ovt-desc-text:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body.ovt-sin-scroll { overflow: hidden !important; }
#ovt-visor-programa { position: fixed; z-index: 2147483000; inset: 0; display: none;
  background: rgba(0,0,0,.96); align-items: center; justify-content: center; }
#ovt-visor-programa.ovt-visor-visible { display: flex; }
#ovt-visor-programa .ovt-visor-cerrar { position: absolute; z-index: 2; right: 14px;
  top: 10px; background: transparent; border: 0; color: #fff; cursor: pointer;
  font: 30px Arial, sans-serif; padding: 7px 12px; }
#ovt-visor-programa .ovt-visor-cuerpo { height: 100%; width: 100%; display: flex;
  align-items: center; justify-content: center; overflow: auto; }
#ovt-visor-programa img { display: block; max-height: calc(100dvh - 24px);
  max-width: calc(100vw - 20px); width: auto; height: auto; object-fit: contain;
  cursor: zoom-in; transition: transform .17s ease; }
#ovt-visor-programa.ovt-visor-ampliado img { transform: scale(2); cursor: zoom-out; }
#ovt-visor-programa .ovt-visor-error { position: absolute; bottom: 30px; color: #fff; }
#ovt-ajax-estado { position: fixed; z-index: 99998; bottom: 14px; left: 50%;
  transform: translateX(-50%); padding: 7px 14px; border-radius: 8px;
  color: #fff; background: rgba(0,0,0,.78); font-size: 13px; }
#ovt-ajax-estado[hidden] { display: none; }

/* 2026-11-24: mostrar los mismos indicadores de foto/vídeo en la vista vertical.
   Los tamaños, fondos, colores y separación proceden del app.css municipal. */
#dbd1 > .vertical .tooltipDbD .thumbnail4,
#dbd1Mapa > .vertical .tooltipDbD .thumbnail4,
#fotosmuro > .vertical .tooltipDbD .thumbnail4 {
  position: relative;
}
#dbd1 > .vertical .tooltipDbD .thumbnail4 .fotovideo,
#dbd1Mapa > .vertical .tooltipDbD .thumbnail4 .fotovideo,
#fotosmuro > .vertical .tooltipDbD .thumbnail4 .fotovideo {
  display: block;
}
