/* Galeria cinematográfica. Remova este stylesheet para recuperar o estilo original. */
#mentores {
  --gallery-gap: 24px;
  --gallery-width: 340px;
  isolation: isolate;
  background: #080807;
}

#mentores > .absolute.inset-0 {
  display: flex;
  align-items: center;
  filter: brightness(.76) !important;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent) !important;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent) !important;
}

#mentores > .absolute.inset-0 > div {
  width: 100%;
  padding-top: 0;
  perspective: 1800px !important;
}

#mentores > .absolute.inset-0 > div > div {
  gap: var(--gallery-gap);
  transform: rotateX(12deg) rotateZ(-6deg) scale(1.12) !important;
}

#mentores .row-marquee {
  gap: var(--gallery-gap);
  padding-block: 6px;
  animation: mentor-gallery-drift 192s linear infinite;
}

#mentores .row-marquee:nth-child(2) {
  animation-duration: 236s;
  animation-direction: reverse;
}

#mentores .row-marquee:nth-child(3) {
  animation-duration: 216s;
  animation-delay: -64s;
}

#mentores .row-marquee > div {
  position: relative;
  width: var(--gallery-width);
  aspect-ratio: 16 / 10;
  padding: 7px;
  border-radius: 16px;
  border: 1px solid rgb(216 180 108 / 32%) !important;
  background: linear-gradient(135deg, #343026, #161512 50%, #252218) !important;
  box-shadow: inset 0 1px 0 rgb(255 230 184 / 12%), 0 14px 30px #0009 !important;
}

#mentores .row-marquee > div::after {
  inset: 7px;
  border-radius: 10px;
  border-color: rgb(255 241 214 / 12%);
  background: linear-gradient(125deg, rgb(255 225 168 / 10%), transparent 45%, #0002);
  pointer-events: none;
}

#mentores .mentor-carousel-card__image {
  border-radius: 10px;
  object-position: center 42%;
  filter: saturate(.7) contrast(1.08);
  animation: mentor-gallery-breathe 36s ease-in-out infinite alternate;
}

#mentores .mentor-carousel-card:nth-child(even) img { animation-delay: -18s; }

#mentores::before {
  background:
    radial-gradient(ellipse 48% 49% at 50% 50%, #080807f5 0%, #080807c9 54%, #08080748 100%),
    linear-gradient(to right, #080807b3, transparent 24%, transparent 76%, #080807b3);
}

#mentores::after {
  content: "";
  position: absolute;
  z-index: 11;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 42% 62% at 50% 50%, rgb(185 133 36 / 6%), transparent 80%);
  box-shadow: inset 0 80px 80px -64px #080807, inset 0 -80px 80px -64px #080807;
}

@keyframes mentor-gallery-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-50% - var(--gallery-gap) / 2), 0, 0); }
}

@keyframes mentor-gallery-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.055); }
}

@media (max-width: 767px) {
  #mentores { --gallery-width: 260px; --gallery-gap: 16px; }
  #mentores > .absolute.inset-0 > div > div {
    gap: 48px;
    transform: rotateX(8deg) rotateZ(-12deg) scale(1.2) !important;
  }
  #mentores .row-marquee > div { aspect-ratio: 4 / 3; padding: 5px; border-radius: 12px; }
  #mentores .row-marquee > div::after { inset: 5px; }
  #mentores::before {
    background: radial-gradient(ellipse 92% 50% at 50% 50%, #080807ed, #080807b8 60%, #08080745);
  }
}

@media (prefers-reduced-motion: reduce) {
  #mentores .row-marquee, #mentores .mentor-carousel-card__image { animation: none; }
  #mentores .row-marquee:nth-child(2) { transform: translateX(-180px); }
}
