.elementor-469 .elementor-element.elementor-element-afdd569.elementor-element{--flex-grow:0;--flex-shrink:0;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-469 .elementor-element.elementor-element-afdd569{width:var( --container-widget-width, 465px );max-width:465px;--container-widget-width:465px;--container-widget-flex-grow:0;}}/* Start custom CSS for html, class: .elementor-element-b85162d */.mm-galeria-titulo {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  color: #00723b; /* verde institucional */
  margin: 60px auto 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

/* Línea decorativa inferior */
.mm-galeria-titulo::after {
  content: "";
  display: block;
  width: 120px;
  height: 6px;
  background: #00723b;
  margin: 18px auto 0;
  border-radius: 4px;
}

@media(max-width: 480px){

  .mm-galeria-titulo {
    font-size: 26px;      /* más pequeño */
    margin: 40px auto 30px;
    letter-spacing: 0.5px;
  }

  .mm-galeria-titulo::after {
    width: 80px;          /* línea más corta */
    height: 4px;          /* más fina */
    margin-top: 12px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-0506022 *//* GALERÍA GRID */
.galeria-mundo-moto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  padding: 20px;
}

/* IMÁGENES */
.galeria-mundo-moto img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* EFECTO HOVER */
.galeria-mundo-moto img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* LIGHTBOX */
.gal-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.gal-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.gal-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7fa79c5 *//* TÍTULO */
.mm-videos-titulo {
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  color: #00723b;
  margin: 60px auto 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mm-videos-titulo span {
  font-size: 16px;
  font-weight: 400;
  color: #444;
  display: block;
  margin-top: 6px;
}

/* GRID PRINCIPAL */
.mm-videos-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); /* 5 columnas fijas */
  gap: 22px;
  padding: 10px 20px 40px;
}

/* TARJETAS CUADRADAS */
.mm-video-card {
  background: #ffffff;
  border: 2px solid #00723b;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  transition: transform .25s ease, box-shadow .25s ease;

  aspect-ratio: 1 / 1; /* cuadrado siempre */
}

/* HOVER */
.mm-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

/* MINIATURAS SIN DISTORSIÓN */
.mm-video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantiene proporción */
  object-position: center;
  display: block;
}

/* RESPONSIVE – TABLET */
@media(max-width: 1200px){
  .mm-videos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 columnas */
  }
}

/* RESPONSIVE – TABLET PEQUEÑO */
@media(max-width: 1024px){
  .mm-videos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columnas */
  }
}

/* RESPONSIVE – MÓVIL */
@media(max-width: 768px){
  .mm-videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columnas */
  }

  .mm-videos-titulo {
    font-size: 28px;
    margin: 40px auto 24px;
  }
}

/* RESPONSIVE – MÓVIL PEQUEÑO */
@media(max-width: 480px){
  .mm-videos-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* 1 columna */
  }
}/* End custom CSS */