/* Pastel colour glow on hover for every card / section / KPI tile in all modules (same feel as the
   Projects "Shares" card): the card lifts a little and a soft shadow in its own colour appears under it.
   --hg is set per card by /js/hover-glow.js from its accent (top stripe / icon) colour; lavender otherwise. */
.hg-card {
    transition: box-shadow .15s ease, background-color .15s ease;
}
/* calm: no lift, a light neutral shadow (see /css/calm-hover.css) */
.hg-card:hover {
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 18px -10px rgba(15, 23, 42, .18) !important;
}
/* sections, tables, forms: almost no change */
.hg-card.hg-big:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 14px -10px rgba(15, 23, 42, .12) !important;
}
/* touch screens: the glow while pressed */
@media (hover: none) {
    .hg-card:active {
        box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 16px -10px rgba(15, 23, 42, .18) !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hg-card, .hg-card:hover { transition: none; transform: none; }
}
