.panelistas-carousel-wrapper {
  margin: 2rem 0;
  position: relative;
}

.panelistas-title {
  text-align: left;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px dotted;
    padding-bottom: 20px;
   font-family: 'Ruda';
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 1rem 60px 1rem 0; /* Espacio para las flechas */
  margin: 0 -60px 0 0; /* Compensar el padding */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.panelista-item {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
}

.panelista-card {
  background: white;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.panelista-imagen {
  overflow: hidden;
  height: 340px;
  position: relative;
 
}

.panelista-imagen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Filtro hover sobre la imagen */
.panelista-imagen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(200, 100, 200, 0.8), rgba(150, 80, 220, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.panelista-card:hover .panelista-imagen::after {
  opacity: 1;
}

.panelista-card:hover .panelista-imagen img {
  transform: scale(1.05);
}

.panelista-info {
  padding: 1.5rem 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    margin-top: -34px;
    z-index: 99;
    min-width: 270px;
    align-self: center;
}

.panelista-nombre {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #e91e63;
  line-height: 1.3;
}

.panelista-cargo {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #e91e63;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
  transition: all 0.3s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: #e91e63;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.carousel-btn-prev {
  left: 15px;
}

.carousel-btn-next {
  right: 15px;
}

.carousel-arrow {
  font-size: 22px;
  font-weight: bold;
  color: #e91e63;
  line-height: 1;
  transition: color 0.3s ease;
}
/* Indicadores (ocultos para este diseño) */
.carousel-indicators {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .panelista-item {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
  
  .carousel-track {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .panelista-item {
    flex: 0 0 calc(100% - 0px);
    min-width: calc(100% - 0px);
  }
  
  .carousel-track {
    gap: 0;
  }
  
  .panelista-imagen {
    height: 250px;
  }
  
  .panelista-info {
    padding: 1rem 0;
  }
  
  .panelistas-title {
    font-size: 1.5rem;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-arrow {
    font-size: 16px;
  }
  
  .carousel-btn-prev {
    left: -20px;
  }
  
  .carousel-btn-next {
    right: -20px;
  }
}

@media (max-width: 480px) {
  .carousel-btn-prev {
    left: 5px;
  }
  
  .carousel-btn-next {
    right: 5px;
  }
}