/* MetroCC accessibility: readable surfaces, visible focus, reflow and reduced motion. */
:root { --bs-link-color: #0753a5; --bs-link-color-rgb: 7,83,165; --bs-link-hover-color: #053c78; }
.text-secondary, .form-text { color: #555f69 !important; }
.section-label:not(.light) span { color: #845700; }
.section-label.light span { color: #ffc24a; }
.category-card .list-group-item span { color: #bac0c7; }
.featured-event .event-date span { color: #303943; }
.auth-footer .footer-note { color: #50565d; }
.auth-footer .text-warning { color: #594000 !important; }
.gallery-modal .text-white-50, .metro-lightbox-caption { color: #c4c8cd !important; }
body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
  outline: 3px solid #111820 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px #fff !important;
}
body form[class] :is(.form-control,.form-select,.form-check-input), form :is(.form-control,.form-select,.form-check-input) { border-color: #727b84 !important; }
body form[class] :is(.form-control,.form-select,.form-check-input):focus, form :is(.form-control,.form-select,.form-check-input):focus { border-color: #111820 !important; }
button:not(.btn-close), .btn, summary { min-height: 2.75rem; }
.btn, button { white-space: normal; }
.form-control::placeholder { color: #626b74; opacity: 1; }
.metro-skip-link {
  position: fixed; top: .5rem; left: .5rem; z-index: 10000;
  padding: .75rem 1rem; background: #fff; color: #111820; border: 2px solid #111820;
  transform: translateY(-200%); font-weight: 700;
}
.metro-skip-link:focus { transform: none; }
main:focus { outline: none; }
:is(h1,h2,h3,h4,h5,h6,p,li,label,legend,td,th) { overflow-wrap: anywhere; }
:is(a,button,input,select,textarea,summary,[tabindex]) { scroll-margin-block: 7rem 15rem; }
.a11y-field-error { margin-top: .4rem; color: #9d2030; font-weight: 600; }
.a11y-error-summary { border-left: 4px solid #9d2030; padding: 1rem; margin-block: 1rem; background: #fff0f0; color: #651724; }
.a11y-error-summary a { color: #651724; }
.modal-open #metro-cookie-notice, body:has(.metro-lightbox[open]) #metro-cookie-notice { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html, html:focus-within { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline-color: Highlight !important; }
  body form[class] :is(.form-control,.form-select,.form-check-input), form :is(.form-control,.form-select,.form-check-input) { border-color: ButtonText !important; }
}
@media print { .metro-skip-link, .a11y-field-error, .a11y-error-summary { display: none; } }

.btn-outline-secondary { --bs-btn-color: #555f69; --bs-btn-border-color: #727b84; }

body main[tabindex="-1"]:focus { outline: none !important; box-shadow: none !important; }

[data-bs-target="#galleryModal"], [data-metro-photo] { position: relative; }
[data-bs-target="#galleryModal"]:focus-visible::after, [data-metro-photo]:focus-visible::after {
  content: ""; position: absolute; inset: 4px; border: 3px solid #fff; outline: 3px solid #111820; pointer-events: none; z-index: 5;
}
