/**
 * Testimonials Mobile Slideshow
 * Transforms testimonials grid into slideshow on mobile
 * 
 * @package TablyClub
 */

/* Desktop: Grid layout defined in front-page.css */

/* Mobile: Transform to slideshow */
@media (max-width: 767px) {
  .tc-testimonials__grid {
    display: block !important;
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .tc-testimonials__track {
    display: flex;
    transition: transform 0.4s ease-out;
    width: 100%;
  }
  
  .tc-testimonial {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    padding: clamp(1.5rem, 4vw, 2rem) !important;
    margin: 0 !important;
    box-sizing: border-box;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .tc-testimonial__text {
    font-size: clamp(1rem, 3vw, 1.125rem) !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    color: inherit;
  }
  
  .tc-testimonial__author {
    font-size: clamp(0.875rem, 2.5vw, 1rem) !important;
    opacity: 0.7;
  }
  
  /* Navigation dots */
  .tc-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
  }
  
  .tc-testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }
  
  .tc-testimonials__dot.is-active {
    width: 28px;
    border-radius: 5px;
    background: currentColor;
    opacity: 0.8;
  }
  
  .tc-testimonials__dot:hover {
    transform: scale(1.2);
  }
}
