/* Small accessibility and polish tweaks on top of Bootstrap 5. */

:focus-visible {
    outline: 3px solid #ffc107;
    outline-offset: 2px;
}

/* The skip link must stay above the fixed-looking navbar and map controls. */
.skip-link {
    z-index: 2000;
}

/* Remove the focus ring from the main content target itself. */
main:focus {
    outline: none;
}

/* Cards and list items get a visible hover affordance for links. */
a.card:hover .card-title a,
a.card:focus-visible .card-title a {
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
