/*
 * Estilos do plugin FJP Site Compliance.
 *
 * O objetivo aqui é manter um visual neutro, institucional e fácil de adaptar
 * no tema atual da Fundação sem impor dependências pesadas.
 */

.fjp-sc-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 99999;
}

.fjp-sc-skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.fjp-sc-toolbar {
  width: 100%;
  background: #f5f5f5;
  border-bottom: 1px solid #d9d9d9;
  font-size: 14px;
}

body.fjp-sc-toolbar-fixed .fjp-sc-toolbar {
  position: sticky;
  top: 0;
  z-index: 9998;
}

.fjp-sc-toolbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.fjp-sc-toolbar a,
.fjp-sc-toolbar button {
  color: #1a1a1a;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.fjp-sc-toolbar button {
  padding: 0;
}

.fjp-sc-sitemap,
.fjp-sc-accessibility-page {
  max-width: 980px;
}

.fjp-sc-sitemap-list,
.fjp-sc-sitemap-list ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.fjp-sc-sitemap-list > li {
  margin-bottom: 10px;
}

.fjp-sc-sitemap-list ul {
  margin-top: 8px;
  padding-left: 24px;
  border-left: 2px solid #e5e5e5;
}

.fjp-sc-sitemap-list a {
  text-decoration: none;
}

.fjp-sc-sitemap-list a:hover,
.fjp-sc-sitemap-list a:focus {
  text-decoration: underline;
}

body.fjp-high-contrast,
body.fjp-high-contrast .site,
body.fjp-high-contrast .site-content {
  background: #000 !important;
  color: #fff !important;
}

body.fjp-high-contrast a,
body.fjp-high-contrast h1,
body.fjp-high-contrast h2,
body.fjp-high-contrast h3,
body.fjp-high-contrast h4,
body.fjp-high-contrast p,
body.fjp-high-contrast li,
body.fjp-high-contrast span,
body.fjp-high-contrast label,
body.fjp-high-contrast strong,
body.fjp-high-contrast em,
body.fjp-high-contrast small,
body.fjp-high-contrast div {
  color: #fff !important;
}

body.fjp-high-contrast a {
  text-decoration: underline !important;
}

body.fjp-high-contrast .fjp-sc-toolbar {
  background: #000 !important;
  border-color: #fff !important;
}

body.fjp-high-contrast .fjp-sc-toolbar a,
body.fjp-high-contrast .fjp-sc-toolbar button {
  color: #fff !important;
}
