/* The hero has light type over a photograph in both themes. Give the popular
   links their own opaque PSC surfaces so their contrast is independent of it. */
section.hero:has(.psc-hero-photo) .hero-topics a {
  color: #173c32 !important;
  background: #e4f3e9;
  border-color: #abd0b8;
}
section.hero:has(.psc-hero-photo) .hero-topics a:hover {
  background: #c9e6d2;
}
html[data-theme="dark"] section.hero:has(.psc-hero-photo) .hero-topics a {
  color: #daf0e2 !important;
  background: #1b3831;
  border-color: #527366;
}
section.hero:has(.psc-hero-photo) .hero-topics a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
