/* News page - section intro e cards de notícias */
#news .section-intro {
  max-height: 600px;
  min-height: 0;
}

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

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

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

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

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

#news .section-news-card .section-two-columns-image-large {
  width: 670px;
  height: 447px;
  min-width: 670px;
  min-height: 447px;
  overflow: hidden;
}

#news .section-news-card .section-two-columns-image-large img {
  width: 670px;
  height: 447px;
  min-width: 670px;
  min-height: 447px;
  object-fit: fill;
}

#news .section-news-card .section-news-card-title {
  font-size: clamp(26px, 5vw, 48px);
  margin: 0;
}

#news .section-news-card .section-news-card-subtitle {
  font-size: clamp(16px, 2.5vw, 24px);
  font-weight: 100;
  margin: 0 0 clamp(12px, 2vw, 20px) 0;
}

#news .section-news-card .section-news-card-highlight-text {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 400;
  margin: 0;
}

#news .section-news-card .section-news-card-paragraph {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 300;
  margin: 0;
  line-height: normal;
}

#news .section-news-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: clamp(16px, 2vw, 10px) 0 clamp(20px, 2.5vw, 20px) 0;
}

#news .section-news-card .section-news-card-button {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-18);
  color: var(--color-black);
  text-decoration: none;
  text-transform: uppercase;
  padding: 15px 40px;
  border: 1px solid var(--color-black);
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#news .section-news-card .section-news-card-button:hover {
  background-color: var(--color-text-hover);
  color: var(--color-white);
  border-color: var(--color-text-hover);
  text-decoration: none;
}

/* ========================================
   News motion
   ======================================== */

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

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

@keyframes news-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);
  }
}

#news.news-motion-enabled .news-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(--news-motion-delay, 0ms);
}

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

#news.news-motion-enabled .news-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;
}

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

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

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

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

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

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