/* Eventos page - section intro e cards */
#eventos .section-intro {
  max-height: 465px;
  min-height: 0;
}

#eventos .section-eventos-card {
  padding: clamp(40px, 6vw, 60px) clamp(20px, 5vw, 60px);
}

#eventos .section-intro + .section-eventos-card {
  padding-top: clamp(60px, 8vw, 100px);
}

#eventos .section-eventos-card:last-of-type {
  padding-bottom: clamp(60px, 8vw, 100px);
}

#eventos .section-eventos-card .section-two-columns-content {
  align-items: center;
  text-align: center;
}

#eventos .section-eventos-card .section-two-columns-title,
#eventos .section-eventos-card .section-two-columns-subtitle,
#eventos .section-eventos-card .section-two-columns-highlight,
#eventos .section-eventos-card .section-two-columns-highlight-label,
#eventos .section-eventos-card .section-two-columns-highlight-text,
#eventos .section-eventos-card .section-two-columns-paragraph,
#eventos .section-eventos-card .section-two-columns-date,
#eventos .section-eventos-card .section-two-columns-button {
  text-align: center;
}

#eventos .section-eventos-card .section-two-columns-image-large {
  max-width: 670px;
  max-height: 447px;
  width: 100%;
  aspect-ratio: 670 / 447;
}

#eventos .section-eventos-card .section-two-columns-image-large img {
  width: 100%;
  height: 100%;
  max-height: 447px;
  object-fit: cover;
}

#eventos .section-eventos-card .section-two-columns-title {
  font-size: clamp(28px, 5vw, var(--font-size-48));
  margin: 0;
}

#eventos .section-eventos-card .section-two-columns-subtitle {
  font-size: clamp(18px, 3vw, var(--font-size-24));
  font-weight: 100;
}

#eventos .section-eventos-card .section-two-columns-paragraph {
  margin: 0;
}

#eventos .section-eventos-card .section-two-columns-date {
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-14);
  font-weight: 500;
  color: var(--color-black);
  margin-top: 5px;
}

/* ========================================
   Eventos motion
   ======================================== */

#eventos .topo-title {
  animation: eventos-hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

#eventos .topo-subtitle {
  animation: eventos-hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

@keyframes eventos-hero-in {
  from {
    opacity: 0;
    transform: translateY(28px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

#eventos.eventos-motion-enabled .eventos-motion-item {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--eventos-motion-delay, 0ms);
}

#eventos.eventos-motion-enabled .eventos-motion-pending .eventos-motion-item {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
}

#eventos.eventos-motion-enabled .eventos-motion-visual {
  overflow: hidden;
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease;
}

#eventos.eventos-motion-enabled .eventos-motion-visual > img {
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#eventos.eventos-motion-enabled .eventos-motion-pending .eventos-motion-visual {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
}

#eventos.eventos-motion-enabled .eventos-motion-pending .eventos-motion-visual > img {
  transform: scale(1.1);
}

@media (hover: hover) and (pointer: fine) {
  #eventos.eventos-motion-enabled .section-eventos-card .section-two-columns-image-large:hover > img {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  #eventos .topo-title,
  #eventos .topo-subtitle,
  #eventos .scroll-indicator {
    animation: none !important;
  }

  #eventos .eventos-motion-item,
  #eventos .eventos-motion-visual,
  #eventos .eventos-motion-visual > img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
