/* Manual feed navigation: pause the ticker and expose normal scrolling on hover. */
.critical-feed ol {
  animation: none !important;
  transform: none !important;
}

.critical-feed strong {
  color: #c7d5da;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  text-shadow: none;
}

.critical-feed a:hover strong {
  color: #e4eef1;
}

/* Show five headline cards at once on desktop without clipping the hero. */
.hero {
  min-height: 700px;
}

.hero-critical-feed .critical-feed-window {
  height: 440px;
}

.hero-critical-feed {
  left: auto;
  right: max(74px, calc((100vw - 1380px) / 2 + 40px));
  top: calc(64% - 30px);
  width: min(540px, 42vw);
  transform: translateY(-50%);
}

.critical-feed-window {
  overflow-y: auto;
  scrollbar-width: none;
}

.critical-feed:hover .critical-feed-window {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(98, 230, 242, 0.55) rgba(5, 11, 16, 0.75);
}

.critical-feed:hover .critical-feed-window::after {
  display: none;
}

.critical-feed:hover .feed-duplicate {
  display: list-item;
}

.critical-feed-window::-webkit-scrollbar {
  width: 0;
}

.critical-feed:hover .critical-feed-window::-webkit-scrollbar {
  width: 9px;
}

.critical-feed-window::-webkit-scrollbar-track {
  background: rgba(5, 11, 16, 0.75);
}

.critical-feed-window::-webkit-scrollbar-thumb {
  background: rgba(98, 230, 242, 0.45);
  border: 2px solid rgba(5, 11, 16, 0.75);
  border-radius: 9px;
}

@media (max-width: 1100px) {
  .hero {
    min-height: 670px;
  }

  .hero-critical-feed .critical-feed-window {
    height: 405px;
  }

  .hero-critical-feed {
    right: 74px;
    width: 43vw;
    top: calc(64% - 30px);
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 820px;
  }

  .hero-critical-feed .critical-feed-window {
    height: 330px;
  }

  .hero-critical-feed {
    top: auto;
    bottom: 34px;
    left: 22px;
    right: 22px;
    width: auto;
    transform: none;
  }
}
