/* Styles for Quinchos Shortcode v2 - Slider Only */

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

.q-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: visible;
}

.q-container-inner {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.q-track {
  display: flex;
  gap: 24px;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.q-slide {
  flex: 0 0 82%;
  height: 480px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111622;
}

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

.q-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.q-slide:hover img {
  transform: scale(1.05);
}

.q-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  z-index: 1;
}

.q-content {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 480px;
}

.q-content h3 {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 800;
}

.q-address {
  color: #2dbb70; /* Verde solicitado */
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.q-desc {
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1000px) {
  .q-slide {
    flex: 0 0 100%;
  }
  .q-track {
    gap: 0;
  }
  .q-content {
    left: 30px;
    bottom: 30px;
    top: auto;
    transform: none;
    max-width: 85%;
  }
  .q-content h3 {
    font-size: 2rem;
  }
  .q-slide::after {
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      transparent 100%
    );
  }
}

@media (max-width: 768px) {
  .q-slide,
  .q-slider {
    height: 380px;
  }
  .q-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 550px) {
  .q-slide,
  .q-slider {
    height: 280px;
  }
  .q-content h3 {
    font-size: 1.2rem;
  }
}
