.skip-link {
  position: absolute;
  left: 12px;
  top: -100vh;
  z-index: 10000000;
  padding: 10px 14px;
  background: #236478;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.a11y {
  position: fixed;
  top: 0;
  right: -220px;
  width: 220px;
  height: 100%;
  z-index: 9999999;
  background: #fff;
  color: #000;
  box-shadow: none;
  transition: right 0.25s ease;
}

.a11y.is-open {
  right: 0;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
}

.a11y-toggle {
  position: absolute;
  left: -48px;
  top: 8px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: #236478;
  color: #fff;
  cursor: pointer;
}

.a11y-toggle:focus-visible {
  outline: 3px solid #ffd800;
  outline-offset: 2px;
}

.a11y-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto;
}

.a11y-inner {
  padding: 12px 12px 20px;
  overflow: auto;
  height: 100%;
}

.a11y-close {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 0 14px;
  border: 0;
  background: #236478;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.a11y-module {
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid #000;
}

.a11y-title {
  margin: 0 0 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.a11y-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.a11y-btn {
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  min-height: 34px;
}

.a11y-btn:focus-visible {
  outline: 3px solid #236478;
  outline-offset: 2px;
}

.a11y-btn.is-on {
  border-color: #f44336;
}

.a11y-grow {
  flex: 1 1 42%;
}

.a11y-full {
  width: 100%;
}

.a11y-colors {
  display: none;
  margin-top: 8px;
}

.a11y-colors.is-open {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.a11y-swatch {
  width: 30px;
  height: 30px;
  border: 2px solid #000;
  border-radius: 50%;
  font-size: 0;
  cursor: pointer;
  padding: 0;
}

.a11y-swatch[data-name="black"] { background: #000; }
.a11y-swatch[data-name="white"] { background: #fff; }
.a11y-swatch[data-name="green"] { background: #00ff21; }
.a11y-swatch[data-name="blue"] { background: #0ff; }
.a11y-swatch[data-name="red"] { background: #f00; }
.a11y-swatch[data-name="orange"] { background: #ff6a00; }
.a11y-swatch[data-name="yellow"] { background: #ffd800; }
.a11y-swatch[data-name="navi"] { background: #b200ff; }

html.a11y-underline a {
  text-decoration: underline !important;
}

html.a11y-contrast .page,
html.a11y-contrast .page *:not(img):not(svg):not(path),
html.a11y-contrast .eu-plaque,
html.a11y-contrast .eu-plaque *:not(img):not(svg):not(path),
html.a11y-contrast .footer,
html.a11y-contrast .footer *:not(img):not(svg):not(path) {
  background-color: var(--a11y-bg) !important;
  color: var(--a11y-fg) !important;
  border-color: var(--a11y-fg) !important;
}

html.a11y-contrast .a11y-close,
html.a11y-contrast .a11y-toggle {
  background-color: #236478 !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .a11y {
    height: auto;
    max-height: 100%;
  }
}
