/* Estilos simplificados: Solo el Grid de Gastronomía con mejoras de enlace y truncamiento */

.shortcode-gastronomia-v2 {
  width: 100%;
  margin: 0 auto;
  font-family: "Open Sans", sans-serif;
}

.gastronomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gastro-card {
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(165deg, #121822, #0c1119 72%);
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.card-main-link {
  text-decoration: none;
  display: block;
  color: inherit;
  width: 100%;
  height: 100%;
}

.gastro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(230, 53, 77, 0.3);
}

.card-img-wrap {
  height: 220px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gastro-card:hover .card-img-wrap img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.gastro-card h3 {
  color: #f4f7fb;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.gastro-location {
  color: #f1b7c1;
  font-weight: 700;
  margin-bottom: 0.8rem !important;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gastro-location i {
  font-size: 0.85rem;
}

.description {
  color: #c9d1de;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description p {
  margin: 0;
}

@media (max-width: 1050px) {
  .shortcode-gastronomia-v2 .gastro-card:last-child {
    display: none;
  }
}

@media (max-width: 760px) {
  .shortcode-gastronomia-v2 .gastro-card:last-child {
    display: none;
  }

  .gastro-card h3 {
    margin-bottom: 0rem;
  }

  .card-img-wrap {
    height: 150px;
  }

  .gastro-location {
    margin-bottom: 0.2rem !important;
  }

  .card-content {
    padding: 1rem;
  }
}

/* Responsividad */
@media (max-width: 580px) {
  .gastronomy-grid {
    grid-template-columns: 1fr;
  }
}
