/* Popup informativo de la portada (aviso de obras en la fachada). Imagen de 650×650. */

.popup-aviso {
  /* Centrado explícito: los estilos heredados del sitio anclan el <dialog> arriba a la izquierda */
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  width: min(86vw, 560px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: visible;
  background: transparent;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.popup-aviso::backdrop { background: rgba(0, 32, 51, 0.6); }

.popup-aviso img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 16px;
}

.popup-cerrar {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #003b5c;
  font-size: 26px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.popup-cerrar:hover,
.popup-cerrar:focus-visible { background: #009cde; color: #fff; outline: none; }

