/* Get involved page (all four languages). */

/* The sponsor form is a dark panel (.panel.card--abyss.on-dark) inside a dark section. m3.css
   switches errors in panels inside dark sections back to clay, a rule meant for white panels;
   clay on abyss is 2.2:1. Keep the on-dark gold error (6.1:1) here. This can go once m3.css
   leaves .on-dark panels out of that rule. */
.sec--night .panel.on-dark .form .error { color: var(--gold); }
.sec--night .panel.on-dark .form .error::before { background: var(--gold); color: var(--night); }

/* Without JavaScript the server sends people back to #f-<form> (errors) or #<xx>-done (sent).
   Keep those targets clear of the sticky header (76px, up to 91px in Arabic), so the error
   summary and the thank-you heading are not hidden behind it. */
#f-partner, #f-volunteer, #f-host, #f-sponsor,
#pa-done, #vo-done, #ho-done, #sp-done { scroll-margin-top: 112px; }
