/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/
/* -------------------------------
   Testimonial Slider Container
---------------------------------*/
.my-testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
  border-radius: 20px;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
}

/* -------------------------------
   Slide Animation
---------------------------------*/
.my-testimonial-slider .slide {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: absolute;
  inset: 0;
  padding: 20px;
}

.my-testimonial-slider .slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

/* -------------------------------
   Slide Title
---------------------------------*/
.ts-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  color: var(--text);
  text-align: center;
}

/* -------------------------------
   Slide Text / Content
---------------------------------*/
.ts-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------
   Author / Person Block
---------------------------------*/
.ts-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

/* Quote ikon a jobb felső sarokba */
.ts-content {
  position: relative;
  padding: 20px;
}

.ts-content::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 40px; /* méret állítható */
  height: 40px;
  background: url('https://digitaldesignwithai.eu/wp-content/uploads/2025/12/quote3.png')
    no-repeat center center;
  background-size: contain;
  opacity: 1; /* halványítás */
  pointer-events: none;
}

/* Kép méretezés */
.ts-person img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--text);
  flex-shrink: 0;
}

/* Személy info */
.ts-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Név */
.ts-name {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

/* Szerepkör */
.ts-role {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.7;
  margin: 2px 0 0 0;
}

/* -------------------------------
   Pont navigáció (dots)
---------------------------------*/
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.dots button {
  width: 10px;
  height: 10px;
  background: #ffffff55;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dots button:hover:not(.active) {
  background: #ffffffaa;
  transform: scale(1.2);
}

.dots button.active {
  background: var(--text);
  transform: scale(1.4);
}

/* -------------------------------
   Mobil optimalizáció
---------------------------------*/
@media (max-width: 480px) {
  .dots {
    display: none !important;
  }

  .ts-person {
    flex-direction: row;
    gap: 10px;
    margin-top: 18px;
  }

  .my-testimonial-slider {
    padding: 20px 10px;
  }

  .ts-title {
    font-size: 18px;
  }

  .ts-text {
    font-size: 13px;
  }

  .ts-name {
    font-size: 15px;
  }

  .ts-role {
    font-size: 13px;
  }
}
