/* MAGI IT V51 - Corrección móvil estaciones */
/* Objetivo: rostro completo + torso en móvil, idéntico con todos los idiomas.
   No depender de img[alt]: el texto alternativo se traduce dinámicamente. */

@media screen and (max-width: 767px) {

  .tunnel-body .tunnel-station .station-photo {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 45% !important;
    min-height: 0 !important;
    max-height: 270px !important;
    overflow: hidden !important;
    background: #f4f6fb !important;
  }

  .tunnel-body .tunnel-station .station-photo > img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
    transform-origin: center top !important;
    border-radius: 0 !important;
    background: #f4f6fb !important;
  }
}


/* MAGI V51 - ALTURA ESTABLE */
/* Exclusivo para las estaciones en móvil */

@media screen and (max-width: 767px) {

    .tunnel-body .tunnel-station .station-shell {
        height: calc(100svh - 160px) !important;
        min-height: 0 !important;
        max-height: none !important;
    }

}

/* Se conserva el giro 3D y la animación original del túnel */

/* El fondo de las fotografías originales es blanco puro; se elimina el borde gris de las tarjetas. */
.tunnel-body .tunnel-station .station-photo,
.tunnel-body .tunnel-station .station-photo > img{background:#fff!important;}
