/* Shared accessibility rules, loaded by every page (many pages do not load style.css). */

/* Links inside running text are underlined, so they do not rely on colour alone. */
p a:not([class*="btn"]):not(.nav-link), li a:not([class*="btn"]):not(.nav-link):not(.mobile-nav-link),
.faq-a a, td a:not([class*="btn"]), a[rel~="nofollow"], a[rel~="license"], [class*="-text"] a:not([class*="btn"]) { text-decoration: underline !important; text-underline-offset: 2px; }
footer p a, .footer-bottom a { text-decoration: underline; text-underline-offset: 2px; }

/* Skip link: first thing a keyboard or screen-reader user reaches; visible only while focused. */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 10000; background: #111; color: #fff !important; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-size: var(--step-sm); text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 8px; outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #111; }
main:focus { outline: none; }

/* Keyboard focus is always visible. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #1a73e8; outline-offset: 2px;
}

/* Text for screen readers only. */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* The footer on pages that use the .site-footer class had no background, so its white text could not be read. */
.site-footer { background: #1a1a1a; color: #c8ccd0; padding: 40px 0 28px; margin-top: 40px; }
.site-footer a { color: #e5e7eb; }
.site-footer .footer-col p { color: #a8adb3 !important; }
.site-footer .logo-text, .site-footer h4 { color: #fff !important; }
/* Footer columns fold on phones (see a11y.js) */
.footer-fold-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 8px 0; background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); color: inherit; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.footer-fold-btn::after { content: "+"; font-size: var(--step-lg); line-height: 1; }
.footer-fold-btn[aria-expanded="true"]::after { content: "\2212"; }
.footer-col-links[hidden] { display: none !important; }
@media (max-width: 640px) { .footer-links { display: block !important; } .footer-links .footer-col { width: 100%; margin-bottom: 4px; } }
