@charset "UTF-8";
.wcag-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wcag-skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 10000;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

:root {
  --wcag-font-scale: 1;
  --wcag-line: 1.6;
  --wcag-cursor-size: 28px;
  --wcag-cursor-border: 3px;
}

html {
  font-size: calc(16px * var(--wcag-font-scale));
  line-height: var(--wcag-line);
}

.widget,
.widget-area,
[role=complementary] {
  --wcag-font-scale: 1 !important;
}

body.wcag-underline a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.wcag-contrast *, body.wcag-contrast {
  color: #ffd60a !important;
  background: #000 !important;
  box-shadow: none !important;
  border-color: #ffd60a !important;
}
body.wcag-contrast a {
  color: #ffff00 !important;
}
body.wcag-contrast a:visited {
  color: #f2ea00 !important;
}
body.wcag-contrast :focus-visible {
  outline: 3px solid #ffff00 !important;
  outline-offset: 2px;
}

body.wcag-low-light {
  color: #eaeaea;
  background: #121212;
}
body.wcag-low-light * {
  color: inherit;
}
body.wcag-low-light a {
  color: #9ad1ff;
}
body.wcag-low-light a:visited {
  color: #bfa8ff;
}
body.wcag-low-light :focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 2px;
}

:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}

body.wcag-strong-focus :focus-visible {
  outline: 4px solid #ff0 !important;
  outline-offset: 3px;
  background-image: linear-gradient(to bottom, rgba(255, 255, 0, 0.12), rgba(255, 255, 0, 0.12));
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}
body.wcag-stop-anim * {
  animation-duration: 0.001s !important;
  transition-duration: 0.001s !important;
}

body.wcag-spacing {
  --wcag-line: 1.9;
}
body.wcag-spacing p {
  margin-block: 1.1em;
}
body.wcag-spacing * {
  letter-spacing: 0.02em;
  word-spacing: 0.06em;
}

body.wcag-highlight-links a {
  position: relative;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  outline: 2px dashed currentColor;
  outline-offset: 2px;
  background-image: linear-gradient(to bottom, rgba(255, 255, 0, 0.25), rgba(255, 255, 0, 0.25));
}

a[target=_blank].wcag-ext {
  position: relative;
}
a[target=_blank].wcag-ext::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.9em;
  transform: translateY(-50%);
  width: 0.8em;
  height: 0.8em;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23222" viewBox="0 0 24 24"><path d="M14 3h7v7h-2V6.414l-9.293 9.293-1.414-1.414L17.586 5H14V3z"/><path d="M19 19H5V5h6V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-6h-2v6z"/></svg>');
}

body.wcag-contrast a[target=_blank].wcag-ext::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FFD60A" viewBox="0 0 24 24"><path d="M14 3h7v7h-2V6.414l-9.293 9.293-1.414-1.414L17.586 5H14V3z"/><path d="M19 19H5V5h6V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-6h-2v6z"/></svg>');
}

body.wcag-low-light a[target=_blank].wcag-ext::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%2300e5ff" viewBox="0 0 24 24"><path d="M14 3h7v7h-2V6.414l-9.293 9.293-1.414-1.414L17.586 5H14V3z"/><path d="M19 19H5V5h6V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-6h-2v6z"/></svg>');
}

html.wcag-filter-grayscale {
  filter: grayscale(1) !important;
}

html.wcag-filter-invert {
  filter: invert(1) !important;
}

#wcag-trigger {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10001;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

body.wcag-contrast #wcag-trigger {
  background: #061da2;
  border-color: #ffd60a;
  color: #ffd60a;
}

body.wcag-low-light #wcag-trigger {
  background: #1c1c1c;
  border-color: #2a2a2a;
  color: #eaeaea;
}

#wcag-panel {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  font: inherit;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 8px;
  display: none;
  width: 400px;
  max-width: 75vw;
  max-height: 80vh;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  overflow: hidden;
  background-color: #06489f;
}
#wcag-panel .wcag-title {
  background-color: #06489f;
  padding: 12px 20px;
}
#wcag-panel .wcag-title p {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}
#wcag-panel .wcag-footer {
  background-color: #06489f;
  padding: 8px 20px;
}
#wcag-panel .wcag-footer p {
  margin: 0;
  color: #fff;
  font-weight: 600;
}
#wcag-panel .wcag-footer p a {
  font-size: 10px !important;
  color: #fff !important;
  text-decoration: none !important;
}
#wcag-panel .wcag-wrap {
  border-radius: 8px;
  overflow: auto;
}

body.wcag-contrast #wcag-panel {
  background: #000;
  border-color: #ffd60a;
  color: #ffd60a;
}

body.wcag-low-light #wcag-panel {
  background: #1c1c1c;
  border-color: #2a2a2a;
  color: #eaeaea;
}

body.wcag-panel-open #wcag-panel {
  display: flex;
}

/* Internal panel layout – **MODIFIED TO GRID/FLEX FOR HEADER/CLOSE BUTTONS** */
#wcag-panel .wcag-wrap {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons - **MODIFIED FOR SQUARE LOOK** */
#wcag-panel .wcag-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  touch-action: manipulation;
  cursor: pointer;
  border: 2px solid #ccc;
  background: #fff;
  width: 100%;
  height: 80px;
  padding: 0.38rem;
  margin: 0;
  border-radius: 4px;
  font-size: 14px !important;
  line-height: 1.1;
}
#wcag-panel .wcag-btn .ico {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
#wcag-panel .wcag-btn#wcag-btn-font-increase, #wcag-panel .wcag-btn#wcag-btn-font-reset, #wcag-panel .wcag-btn#wcag-btn-font-decrease {
  height: 40px;
}
#wcag-panel .wcag-btn.is-on {
  border-color: #06489f;
  color: #06489f;
}
#wcag-panel .wcag-btn.is-on::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* rounded square with a tick; colors tuned for light UI */
  background-image: url('data:image/svg+xml;utf8,    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">    <rect x="1" y="1" width="18" height="18" rx="3" fill="%23EAF2FF" stroke="%2306489F" stroke-width="2"/>    <path d="M5 10.5l3 3 7-7" stroke="%2306489F" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/>    </svg>');
}

body.wcag-contrast #wcag-panel .wcag-btn {
  background: #000;
  border-color: #ffd60a;
  color: #ffd60a;
}
body.wcag-contrast #wcag-panel .wcag-btn svg {
  filter: invert(1);
  background: transparent !important;
}

body.wcag-low-light #wcag-panel .wcag-btn {
  background: #1c1c1c;
  border-color: #2a2a2a;
  color: #eaeaea;
}
body.wcag-low-light #wcag-panel .wcag-btn svg {
  filter: invert(1);
}

body.wcag-dyslexic {
  letter-spacing: 0.02em;
  word-spacing: 0.04em;
}

#wcag-reading-mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  display: none;
}

body.wcag-mask #wcag-reading-mask {
  display: block;
}

#wcag-reading-mask:before,
#wcag-reading-mask:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
}

#wcag-reading-mask:before {
  top: 0;
  height: var(--top, 40vh);
}

#wcag-reading-mask:after {
  bottom: 0;
  height: var(--bottom, 40vh);
}

body.wcag-big-cursor {
  cursor: none;
}

#wcag-cursor {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: var(--wcag-cursor-size);
  height: var(--wcag-cursor-size);
  pointer-events: none;
  z-index: 2147483646;
  display: none;
  border: var(--wcag-cursor-border) solid var(--wcag-cursor-color);
  border-radius: 50%;
  /* dual outline to ensure visibility on light and dark backgrounds */
  box-shadow: 0 0 0 calc(var(--wcag-cursor-border) + 1px) rgba(0, 0, 0, 0.85), 0 0 0 calc(var(--wcag-cursor-border) + 3px) rgba(255, 255, 255, 0.85);
  /* automatic contrast where supported; box-shadows act as fallback */
  mix-blend-mode: difference;
}

/* center dot for precise focus */
#wcag-cursor::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8);
}

/* soft halo for peripheral visibility */
#wcag-cursor::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--wcag-cursor-halo), transparent 70%);
}

/* show ring when feature is enabled */
body.wcag-big-cursor #wcag-cursor {
  display: block;
}

/* theme variants */
body.wcag-low-light #wcag-cursor {
  --wcag-cursor-color:#00e5ff;
  --wcag-cursor-halo: rgba(0,229,255,.25);
}

body.wcag-contrast #wcag-cursor {
  --wcag-cursor-color:#FFD60A;
  --wcag-cursor-halo: rgba(255,214,10,.28);
  mix-blend-mode: normal; /* crisper edge in HC */
}

/* S/M/L sizes */
body.wcag-cursor-s {
  --wcag-cursor-size:24px;
  --wcag-cursor-border:2px;
}

body.wcag-cursor-m {
  --wcag-cursor-size:32px;
  --wcag-cursor-border:3px;
}

body.wcag-cursor-l {
  --wcag-cursor-size:40px;
  --wcag-cursor-border:4px;
}

/* subtle movement pulse (skipped when reduced-motion is set) */
@keyframes wcag-cursor-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}
body:not(.wcag-contrast) #wcag-cursor.is-moving {
  animation: wcag-cursor-pulse 160ms ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
  #wcag-cursor {
    animation: none !important;
  }
}
#wcag-headings-modal {
  position: fixed;
  inset: auto 1rem 4.5rem auto;
  max-width: min(90vw, 420px);
  max-height: 60vh;
  overflow: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  z-index: 10000;
  display: none;
}

body.wcag-contrast #wcag-headings-modal {
  background: #000;
  border-color: #ffd60a;
  color: #ffd60a;
}

body.wcag-low-light #wcag-headings-modal {
  background: #1c1c1c;
  border-color: #2a2a2a;
  color: #eaeaea;
}

#wcag-headings-modal h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1rem;
}

#wcag-headings-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#wcag-headings-list li {
  padding: 0.35rem 0.25rem;
  border-bottom: 1px dashed #ddd;
  cursor: pointer;
}
#wcag-headings-list li:last-child {
  border-bottom: 0;
}
#wcag-headings-list .h1 {
  font-weight: 700;
}
#wcag-headings-list .h2 {
  padding-left: 0.5rem;
}
#wcag-headings-list .h3 {
  padding-left: 1rem;
}
#wcag-headings-list .h4 {
  padding-left: 1.5rem;
}
#wcag-headings-list .h5 {
  padding-left: 2rem;
}
#wcag-headings-list .h6 {
  padding-left: 2.5rem;
}

#wcag-panel .wcag-wrap {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.wcag-group {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem;
  background: #ededed;
  width: 100%;
}
.wcag-group#cursor .wcag-group-body {
  display: flex;
}

body.wcag-contrast .wcag-group {
  background: #000;
  border-color: #ffd60a;
}

body.wcag-low-light .wcag-group {
  background: #1c1c1c;
  border-color: #2a2a2a;
}

.wcag-group-title {
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.85;
  margin: 0 0 0.55rem 0;
  display: block;
  gap: 0.4rem;
  text-align: center;
  position: relative;
}
.wcag-group-title .ico {
  font-size: 1rem;
}

/* Hide raster/vector images and decorative CSS backgrounds */
/* (Optional) keep widget icons visible inside the panel */
#wcag-panel,
#wcag-trigger { /* keep widget’s own bg icons */ }
#wcag-panel img,
#wcag-panel picture,
#wcag-panel svg,
#wcag-panel *,
#wcag-trigger img,
#wcag-trigger picture,
#wcag-trigger svg,
#wcag-trigger * {
  background-image: revert-layer !important;
}

/* **GRID FOR BUTTONS INSIDE GROUP BODY** */
.wcag-group-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.wcag-group .wcag-btn {
  margin: 0;
  width: auto;
}

#wcag-panel,
#wcag-panel *,
#wcag-trigger,
#wcag-trigger *,
#wcag-headings-modal,
#wcag-headings-modal * {
  font-size: 14px !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
}

#wcag-trigger {
  width: 48px !important;
  height: 48px !important;
  border-radius: 999px !important;
  border: 1px solid #ccc !important;
  padding: 0 !important;
  margin: 0 !important;
}
#wcag-trigger span {
  font-size: 20px !important;
}

#wcag-panel {
  border-radius: 8px !important;
  width: 400px !important;
  max-width: 75vw !important;
  margin-bottom: 0.85rem;
}
#wcag-panel .wcag-wrap {
  gap: 0;
}

.wcag-group {
  padding: 8px !important;
  border-radius: 0;
}

.wcag-group-title {
  font-size: 1em !important;
  margin: 0 0 6px 0 !important;
  gap: 6px !important;
}
.wcag-group-title .ico {
  font-size: 1em !important;
}

.wcag-group-body {
  gap: 8px !important;
}

.wcag-group .wcag-btn {
  margin: 0 !important;
}

#wcag-panel .wcag-btn {
  font-size: 0.9em !important;
  padding: 6px !important;
  border-radius: 6px !important;
}
#wcag-panel .wcag-btn .ico {
  margin-bottom: 4px !important;
}
#wcag-panel .wcag-btn .ico svg {
  width: 20px;
}
/* Title bar layout for close button */
#wcag-panel .wcag-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#wcag-panel .wcag-title p {
  margin: 0;
  font-weight: 600;
}

#wcag-panel .wcag-close {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  padding: 6px;
  line-height: 0;
  cursor: pointer;
  border-radius: 6px;
}

#wcag-panel .wcag-close:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 2px;
}

#wcag-panel .wcag-close svg {
  width: 18px;
  height: 18px;
  display: block;
}

#wcag-headings-modal {
  padding: 8px !important;
  border-radius: 8px !important;
}
#wcag-headings-modal h3 {
  margin: 4px 0 8px 0 !important;
  font-size: 1em !important;
}

#wcag-headings-list {
  font-size: 0.95em !important;
}
#wcag-headings-list li {
  padding: 6px 4px !important;
}

/* Wrap + overlay for image cover */
.wcag-imgwrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.wcag-imgwrap > img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* The cover layer */
.wcag-img-cover {
  position: absolute;
  inset: 0;
  background: #1D4A46; /* requested color */
  opacity: 1; /* fully cover */
  pointer-events: none; /* clicks pass through */
}

/* If you prefer a softer cover, uncomment: */
/* .wcag-img-cover{ opacity:.96; } */
/* Wrapper used to host the overlay; keeps element size intact */
.wcag-cover-wrap {
  position: relative !important;
  display: inline-block;
  line-height: 0;
}

/* Full-bleed overlay that paints the element */
.wcag-cover {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #1D4A46 !important;
  opacity: 1;
  z-index: 1;
}

/* Ensure covered media stays beneath overlay (no layout shift) */
.wcag-cover-wrap > img,
.wcag-cover-wrap > picture,
.wcag-cover-wrap > video,
.wcag-cover-wrap > iframe,
.wcag-cover-wrap > canvas {
  display: block;
  width: 100%;
  height: auto;
}

/* For block-level media we mirror block display on wrapper to avoid inline gaps */
.wcag-cover-wrap.is-block {
  display: block;
}/*# sourceMappingURL=frontend.css.map */