.glg-card {
  width: 100%;
  height: 100%;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: white;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.glg-card p {
  font-size: 14px;
  color: white;
  margin: 5px 0;
}

.glg-btn {
  background: rgba(255,255,255,0.25);
  border: 1px solid white;
  color: white;
  padding: 4px 10px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
}

.glg-slider {
  width: 100%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.glg-list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.glg-item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: glgAutoRun var(--velocidad) linear infinite;
  transition: filter 0.5s;
  animation-delay: calc( (var(--velocidad) / var(--quantity)) * (var(--position) - 1) - 10s ) !important;
}

@keyframes glgAutoRun {
  from { left: 100%; }
  to { left: calc(var(--width) * var(--spacio)); }
}

.glg-slider:hover .glg-item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}

.glg-item:hover {
  filter: grayscale(0) !important;
}