.elementor-28413 .elementor-element.elementor-element-f4e6ab9{--display:flex;--content-width:100%;--overlay-transition:0.3s;}/* Start custom CSS for html, class: .elementor-element-d12e545 *//* VIN grid */
.vin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.vin-grid > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 4px; /* Añadido para mejor responsividad */

  background: #ffffff !important;
  color: #111827 !important;
  opacity: 1 !important;
  filter: none !important;

  border: 1px solid #cfd6e4 !important;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  text-align: center;
  font-size: 14px; /* Tamaño de fuente base */

  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.vin-grid > a:hover,
.vin-grid > a:focus-visible {
  background: #1f3c88 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31,60,136,0.22);
  outline: none;
}

/* See more button */
.vin-more-wrapper {
  width: 100%;
  text-align: center;
  margin-top: 25px;
}

.vin-more {
  display: inline-block;
  padding: 12px 28px;
  background: #1f3c88 !important;
  color: #fff !important;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid #152a63 !important;
  transition: 0.2s ease;
}

.vin-more:hover,
.vin-more:focus-visible {
  background: #152a63 !important;
  border-color: #0f1f4a !important;
  outline: none;
}

/* MEDIA QUERIES */

/* Tablets  */
@media (max-width: 1024px) {
  .vin-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }
  
  .vin-grid > a {
    font-size: 13px;
    min-height: 40px;
  }
}

/* Mobiles*/
@media (max-width: 768px) {
  .vin-grid {
    grid-template-columns: repeat(3, 1fr); /* 2 columnas fijas */
    gap: 8px;
  }
  
  .vin-grid > a {
    font-size: 12px;
    min-height: 36px;
    padding: 6px 3px;
  }
  
  .vin-more {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* small phones */
@media (max-width: 480px) {
  .vin-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 6px;
  }
  
  .vin-grid > a {
    font-size: 11px;
    min-height: 34px;
    padding: 5px 2px;
  }
  
  .vin-more {
    padding: 8px 20px;
    font-size: 13px;
  }
}/* End custom CSS */