/* Site-wide fixes, loaded after output.css on every page.
   output.css is a prebuilt Tailwind file, so fixes live here. */

/* The site is designed for a light background only. Without this, browsers
   and phones in dark mode paint a dark page behind the black headings, team
   names and body text, making them look transparent or hidden. */
:root {
  color-scheme: light;
}
html,
body {
  background-color: #fff;
  color: #111827;
}

/* Session cards (home page): on hover the photo fades to white and the
   caption turns black. Touch screens have no real hover, so a tap left the
   card stuck in that washed-out state. Keep the dark gradient and white
   caption on touch devices. */
@media (hover: none) {
  .group:hover .item-gradient {
    --tw-gradient-from: transparent;
    --tw-gradient-to: #111827;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    opacity: 1;
  }
  .group:hover h5 {
    color: #fff;
    transform: none;
  }
  .group:hover .group-hover\:scale-110 {
    transform: none;
  }
}
