#authors {
  background: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
}

#authors h2 {
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.author-carousel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  min-height: 140px;
}

.author-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.author-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.author-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
}

.author-name {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #777;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s ease;
}

.nav:hover {
  color: #333;
}

.nav.prev { left: -40px; }
.nav.next { right: -40px; }

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* HERO background slideshow */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 55%;

  opacity: 0;
  transform: scale(1.05); /* enyhe zoom induláskor */
  transition:
    opacity 1.2s ease-in-out,
    transform 6s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1); /* visszazoom */
}

