.hero.handouts-hero {
  height: 100vh;
  background: url('../img/handout-hero.jpeg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin: 0;
}

.hero.handouts-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* oscurece la imagen */
  z-index: 1;
}

.hero.handouts-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero.handouts-hero h1 {
  font-size: 2.8rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.hero.handouts-hero p {
  font-size: 1.2rem;
  color: #f5f5f5;
  font-style: italic;
  opacity: 0.9;
}

.bloque-ayuda {
  margin-bottom: 4rem;
}

.bloque-ayuda h3 {
  font-size: 1.8rem;
  color: #ffd700;
  margin-bottom: 1rem;
  border-left: 5px solid #ffd700;
  padding-left: 1rem;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 2rem;
  flex: 1;
}

.carousel img {
  height: 240px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  transition: transform 0.3s;
  cursor:pointer;
}

.carousel img:hover {
  transform: scale(1.05);
}

.carousel-btn {
  background-color: rgba(12, 12, 12, 0.8);
  border: none;
  color: #ffd700;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.carousel-btn.left {
  margin-right: 0.5rem;
}

.carousel-btn.right {
  margin-left: 0.5rem;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease;
}
