/* News carousel — Featured insights visual language + news.js transform track */

.news__carousel {
  position: relative;
}

.news__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 0px,
    #000 calc(100% - 20px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 0px,
    #000 calc(100% - 20px),
    transparent 100%
  );
}

.news__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  transition: transform 0.45s ease;
  will-change: transform;
}

.news__track[aria-busy="true"] {
  min-height: 16rem;
  opacity: 0.55;
}

.news-card {
  width: 19rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 640px) {
  .news-card {
    width: 21rem;
  }
}

.news__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.news__dots.is-hidden {
  display: none;
}

.news__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgb(1 15 36 / 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.news__dot:hover {
  background: rgb(1 15 36 / 0.4);
}

.news__dot.active {
  background: var(--accent-ink, #3054ad);
  transform: scale(1.15);
}

.news-card__excerpt {
  margin: 0;
  color: rgb(1 15 36 / 0.55);
  font-size: 0.95rem;
  line-height: 1.6;
}
