/* FEAA Testimoniale Slideshow — CSS scopat pe .feaa-tslides
   Nu intra in conflict cu template-ul Joomla. */

.feaa-tslides {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: #0B1424;
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Lora', Georgia, serif;
  color: #F2EEE4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 6% 110px;
  box-sizing: border-box;
}
.feaa-tslides *, .feaa-tslides *::before, .feaa-tslides *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.feaa-tslides::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(33, 56, 94, 0.55), transparent 70%);
  animation: feaaTsBreathe 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes feaaTsBreathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.feaa-tslides .fts-label {
  position: absolute;
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8FA1BD;
  z-index: 5;
  user-select: none;
}
.feaa-tslides .fts-tl { top: 20px; left: 24px; }
.feaa-tslides .fts-tr { top: 20px; right: 24px; color: rgba(217, 164, 65, 0.6); }
.feaa-tslides .fts-bl { bottom: 20px; left: 24px; }
.feaa-tslides .fts-br { bottom: 20px; right: 24px; }

.feaa-tslides .fts-slide {
  position: relative;
  width: 100%;
  max-width: 740px;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.7s ease;
}
.feaa-tslides .fts-slide.fts-leaving { opacity: 0; }

.feaa-tslides .fts-quote {
  font-size: clamp(19px, 2.6vw, 28px);
  line-height: 1.65;
  font-weight: 400;
  min-height: 8.5em;
}
.feaa-tslides .fts-quote .fts-w {
  display: inline-block;
  margin-right: 0.28em;
  white-space: nowrap;
}
.feaa-tslides .fts-quote .fts-hl {
  color: #D9A441;
  font-style: italic;
}
.feaa-tslides .fts-quote .fts-ch {
  opacity: 0;
  transition: opacity 0.14s ease;
}
.feaa-tslides .fts-quote .fts-ch.fts-on {
  opacity: 1;
}

.feaa-tslides .fts-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #D9A441;
  vertical-align: -0.12em;
  animation: feaaTsBlink 0.9s step-end infinite;
}
@keyframes feaaTsBlink { 50% { opacity: 0; } }
.feaa-tslides .fts-cursor.fts-hidden { display: none; }

.feaa-tslides .fts-meta {
  margin-top: 2em;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.feaa-tslides .fts-meta.fts-on { opacity: 1; transform: translateY(0); }

.feaa-tslides .fts-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 14px;
  color: #D9A441;
  flex-shrink: 0;
}
.feaa-tslides .fts-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #F2EEE4;
}
.feaa-tslides .fts-role {
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8FA1BD;
  margin-top: 5px;
}

.feaa-tslides .fts-badges {
  margin-top: 1.5em;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.feaa-tslides .fts-badge {
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #F2EEE4;
  border: 1px solid rgba(143, 161, 189, 0.3);
  border-radius: 999px;
  padding: 7px 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.feaa-tslides .fts-badge.fts-gold {
  color: #D9A441;
  border-color: rgba(217, 164, 65, 0.55);
}
.feaa-tslides .fts-badge.fts-on { opacity: 1; transform: translateY(0); }

.feaa-tslides .fts-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 6;
}
.feaa-tslides .fts-dots { display: flex; gap: 9px; }
.feaa-tslides .fts-dot {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: rgba(143, 161, 189, 0.3);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}
.feaa-tslides .fts-dot .fts-fill {
  position: absolute;
  inset: 0;
  background: #D9A441;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feaa-tslides .fts-dot.fts-done .fts-fill { transform: scaleX(1); }
.feaa-tslides .fts-ctrl {
  background: none;
  border: 1px solid rgba(143, 161, 189, 0.3);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  color: #8FA1BD;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s, border-color 0.3s;
}
.feaa-tslides .fts-ctrl:hover,
.feaa-tslides .fts-ctrl:focus-visible {
  color: #D9A441;
  border-color: rgba(217, 164, 65, 0.55);
  outline: none;
  background: none;
}

@media (max-width: 640px) {
  .feaa-tslides { min-height: 580px; padding: 60px 7% 100px; }
  .feaa-tslides .fts-quote { min-height: 12em; }
  .feaa-tslides .fts-bl { display: none; }
  .feaa-tslides .fts-controls { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .feaa-tslides::before { animation: none; }
  .feaa-tslides .fts-quote .fts-ch { transition: none; }
}
