/* MIDE Seguros - ajustes de diseño (2026-10-19) */

/* Redes sociales: enlaces uno debajo del otro para que no se corten (todas las pantallas) */
#mide-redes .c{align-items:flex-start!important}
#mide-redes .c>div{min-width:0}
#mide-redes .c a{display:block!important;white-space:normal!important;margin:6px 0 0!important;line-height:1.35}

/* Ajustes para celular */
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:clip}
  img,video,iframe{max-width:100%}

  /* Redes sociales: que los enlaces bajen de línea en vez de salirse */
  #mide-redes .g{grid-template-columns:1fr!important}
  #mide-redes .c{align-items:flex-start!important;padding:16px!important;gap:14px!important}

  /* Tablas de 2 y 3 columnas: que quepan sin desplazar de lado */
  table:not(.mide-stack){min-width:0!important;width:100%!important;word-break:normal;overflow-wrap:anywhere}

  /* Tablas de 4 columnas: se muestran como tarjetas */
  table.mide-stack{min-width:0!important;width:100%!important;border:0!important}
  table.mide-stack thead{display:none}
  table.mide-stack,table.mide-stack tbody,table.mide-stack tr,table.mide-stack td{display:block;width:100%!important;box-sizing:border-box}
  table.mide-stack tr{border:1px solid #DDE3EE;border-radius:12px;padding:6px 14px;margin:0 0 14px;background:#fff}
  table.mide-stack td{border:0!important;border-bottom:1px solid #EEF1F6!important;padding:9px 0!important;text-align:left!important}
  table.mide-stack td:last-child{border-bottom:0!important}
  table.mide-stack td[data-label]::before{content:attr(data-label);display:block;font-size:13px;font-weight:700;color:#0B2E6F;text-transform:uppercase;letter-spacing:.03em;margin-bottom:3px}
  table.mide-stack td:first-child{font-weight:700;font-size:17px}
  table.mide-stack td:first-child::before{display:none}

  /* Control de tamaño de letra: más compacto para no tapar el contenido */
  #mt-bar{left:10px!important;bottom:10px!important;padding:3px!important;gap:2px!important}
  #mt-bar button{min-width:40px!important;height:40px!important;padding:0 8px!important}

  /* Espacio al final para que los botones flotantes no tapen el pie de página */
  footer{padding-bottom:84px!important}
}
/* eventos-menu */
@media (min-width:761px){header .mh-nav{column-gap:14px!important}header .mh-in{column-gap:16px!important}}
