/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
/* Elimina el espacio blanco del contenedor central para que la imagen suba */
.g-block.size-56 .g-content {
  padding: 0 !important;
}
/* Quita el margen interno de 6px que sigplus pone a las imágenes */
.sigplus-preview {
  padding: 0 !important;
}
/* Asegura que el módulo no tenga márgenes superiores extra */
.mod_sigplus {
  margin: 0 !important;
  padding: 0 !important;
}
/* Centrar y bajar el menú para alinearlo con los botones laterales */
.g-main-nav {
  display: flex !important;
  justify-content: center !important;
  margin-top: 35px !important;
  /* Ajusta este número (30px o 40px) hasta que lo veas perfecto */
}
/* Asegurar que la lista de items también esté centrada */
.g-toplevel {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Centrar el logo en caso de que esté en la misma sección */
.g-logo {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
}
/* Forzar la desaparición del botón de Passkey */
button[class*="plg_system_webauthn_login_button"] {
  display: none !important;
}
/* 1. Mantenemos tus estilos base pero quitamos el grid fijo de 4 columnas */
.fp-multi-column-text .g-grid.four-columns-custom {
  display: grid !important;
  grid-template-columns: 1fr !important;
  /* Una columna por defecto */
  gap: 30px;
  align-items: start;
}
/* 2. Cuando la pantalla sea tamaño Tablet o más grande (768px), 2 columnas */
@media (min-width: 768px) {
  .fp-multi-column-text .g-grid.four-columns-custom {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
/* 3. Cuando la pantalla sea tamaño Computadora (1024px), 4 columnas */
@media (min-width: 1024px) {
  .fp-multi-column-text .g-grid.four-columns-custom {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
/* Estilos finales para el bloque de Beto */
.bloque-beto-responsive {
  display: flex;
  flex-wrap: wrap;
  /* Hace que el texto baje si no hay espacio */
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  /* Más espacio arriba y abajo */
}
.beto-imagen img {
  width: 200px;
  /* Tamaño controlado para que no ocupe toda la pantalla */
  height: auto;
}
.beto-texto {
  flex: 2;
  min-width: 280px;
  padding: 10px;
  text-align: center;
  /* Se ve mucho mejor centrado en móviles */
}
.beto-titulo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c5530;
  margin-top: 15px;
}
/* Ajuste para que en celulares Beto no sea un gigante */
@media (max-width: 768px) {
  .beto-imagen img {
    width: 160px !important;
  }
}
/* ============================================================
   ARREGLO RESPONSIVE ESPECÍFICO - NO TOCAR FOOTER
   ============================================================ */
@media (max-width: 768px) {
  /* --- 1. SECCIÓN FEATURES (Botones y Circulares) --- */
  /* Forzamos a que las columnas se apilen verticalmente SÓLO en Features */
  /* --- 2. ELIMINAR EL ESTILO GENÉRICO QUE DAÑÓ EL FOOTER --- */
  /* Nos aseguramos de NO tener reglas genéricas como #g-features img o .g-block img */
  /* --- 3. AJUSTE QUIRÚRGICO PARA LOS BOTONES REBELDES --- */
  /* Usamos un selector que busca cualquier imagen cuyo SRC contenga estas palabras, */
  /* ignorando mayúsculas/minúsculas para mayor seguridad ([src*="nombre" i]) */
  /* --- 4. MANTENER LAS CIRCULARES HERMOSAS --- */
  /* Si las circulares están dentro de #g-features, este código las cuida. */
  /* Si usan una clase específica (como .g-img-circle), mejor úsala aquí: */
  /* --- 5. PROTEGER EL FOOTER --- */
  /* Forzamos a que las imágenes en el footer ignoren los cambios anteriores */
  #g-features .g-grid {
    display: block !important;
  }
  #g-features .g-block {
    width: 100% !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    flex: none !important;
  }
  img[src*="almuerzo" i], img[src*="cupo" i], #g-features img[src*="almuerzo" i], #g-features img[src*="cupo" i] {
    max-width: 70% !important;
    /* Tamaño controlado para móvil */
    height: auto !important;
    display: block !important;
    margin: 10px auto !important;
    /* Centrados con aire */
  }
  .fp-multi-column-text img, img.g-img-circle {
    max-width: 150px !important;
    /* Tamaño tierno y centrado */
    height: auto !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
  }
  #g-footer img, .g-logo img {
    max-width: 100% !important;
    width: auto !important;
    /* O 100% si quieres que ocupe todo el ancho */
    height: auto !important;
  }
}
/* ============================================================
   OPERACIÓN LIMPIEZA TOTAL DE SOMBRAS (MÓVIL)
   ============================================================ */
@media (max-width: 768px) {
  /* Atacamos todas las secciones superiores posibles */
  /* Atacamos los contenedores internos */
  /* Quitamos cualquier línea divisoria que Gantry pone por defecto */
  /* Si la sombra es del banner directamente */
  #g-header, #g-navigation, #g-top, .g-section {
    box-shadow: none !important;
    border: none !important;
    background-image: none !important;
    /* Por si es un gradiente que simula sombra */
  }
  #g-header .g-container, #g-navigation .g-container, .g-container {
    box-shadow: none !important;
    border: none !important;
  }
  #g-page-surround {
    box-shadow: none !important;
  }
  #g-header img, .g-logo img {
    box-shadow: none !important;
  }
}
/*# sourceMappingURL=custom_14.css.map */