/**
 * Toolbar modes. Scoped to body.lc-a11y-p1 so login/CAPTCHA stay unchanged.
 */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Sinhala:wght@400;700&family=Noto+Sans+Tamil:wght@400;700&display=swap");

@media (prefers-reduced-motion: reduce) {
  body.lc-a11y-p1 *,
  body.lc-a11y-p1 *::before,
  body.lc-a11y-p1 *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html.lc-a11y-motion body.lc-a11y-p1 *,
html.lc-a11y-motion body.lc-a11y-p1 *::before,
html.lc-a11y-motion body.lc-a11y-p1 *::after,
html.lc-a11y-reduce-motion body.lc-a11y-p1 *,
html.lc-a11y-reduce-motion body.lc-a11y-p1 *::before,
html.lc-a11y-reduce-motion body.lc-a11y-p1 *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.lc-a11y-kb body.lc-a11y-p1 :focus-visible {
  outline: 3px solid #e31e24 !important;
  outline-offset: 3px !important;
}

html.lc-a11y-contrast body.lc-a11y-p1 {
  background: #fff !important;
  color: #000 !important;
}

html.lc-a11y-contrast body.lc-a11y-p1,
html.lc-a11y-contrast body.lc-a11y-p1 .site-content,
html.lc-a11y-contrast body.lc-a11y-p1 .lc-desk-sidebar,
html.lc-a11y-contrast body.lc-a11y-p1 .lc-desk-topbar,
html.lc-a11y-contrast body.lc-a11y-p1 .lc-a11y-menu__dialog {
  background: #fff !important;
  color: #000 !important;
  border-color: #000 !important;
}

html.lc-a11y-contrast body.lc-a11y-p1 a {
  color: #000 !important;
  text-decoration: underline !important;
}

html.lc-a11y-text-lg {
  font-size: 125% !important;
}

html.lc-a11y-text-sm {
  font-size: 90% !important;
}

html.lc-a11y-readable body.lc-a11y-p1 {
  font-family: Arial, Helvetica, sans-serif !important;
}

html[lang^="si"].lc-a11y-readable body.lc-a11y-p1 {
  font-family: "Noto Sans Sinhala", Arial, sans-serif !important;
}

html[lang^="ta"].lc-a11y-readable body.lc-a11y-p1 {
  font-family: "Noto Sans Tamil", Arial, sans-serif !important;
}

html.lc-a11y-headings body.lc-a11y-p1 h1,
html.lc-a11y-headings body.lc-a11y-p1 h2,
html.lc-a11y-headings body.lc-a11y-p1 h3,
html.lc-a11y-headings body.lc-a11y-p1 h4,
html.lc-a11y-headings body.lc-a11y-p1 h5,
html.lc-a11y-headings body.lc-a11y-p1 h6 {
  outline: 2px dashed #0a4650;
  outline-offset: 4px;
}

html.lc-a11y-links body.lc-a11y-p1 a,
html.lc-a11y-links body.lc-a11y-p1 button,
html.lc-a11y-links body.lc-a11y-p1 [role="button"],
html.lc-a11y-links body.lc-a11y-p1 [type="submit"] {
  outline: 2px solid #0a4650;
  outline-offset: 2px;
}
