:root {
  --green-950: #0f2515;
  --green-900: #17361e;
  --green-700: #43672b;
  --olive: #92944f;
  --leaf: #dce6cb;
  --cream: #f7f6ef;
  --ink: #172117;
  --muted: #5c665a;
  --line: #d9dfd0;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 37, 21, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  animation: pageFade 480ms ease both;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  color: var(--green-950);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 246, 239, 0.96);
  border-bottom: 1px solid rgba(15, 37, 21, 0.1);
  backdrop-filter: blur(18px);
}

.utility-bar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.6rem clamp(1rem, 4vw, 4rem);
  background: var(--green-950);
  color: var(--white);
  font-size: 0.85rem;
}

.utility-bar a {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--green-950);
}

.brand img {
  width: 3.1rem;
  height: 3.1rem;
  object-fit: contain;
}

.menu,
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.menu > li {
  position: relative;
}

.menu a,
.menu button {
  min-height: 2.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--green-950);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 700;
}

.menu button::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.menu a:hover,
.menu button:hover,
.menu button[aria-expanded="true"] {
  background: var(--leaf);
}

.menu ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  padding: 0.65rem 0.5rem 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.5rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu > li:last-child ul {
  left: auto;
  right: 0;
}

.menu li.open > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 981px) {
  .menu > li:hover > ul,
  .menu > li:focus-within > ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.menu ul a {
  width: 100%;
  justify-content: flex-start;
  border-radius: 6px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-950);
  padding: 0.65rem 0.9rem;
  font-weight: 800;
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
}

.site-search-toggle {
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green-950);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 1rem;
}

.site-search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: clamp(1rem, 8vh, 4rem) 1rem;
  background: rgba(15, 37, 21, 0.58);
  backdrop-filter: blur(8px);
}

.site-search-panel[hidden] {
  display: none;
}

.site-search-box {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(46rem, 100%);
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0,0,0,0.28);
}

.site-search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  padding: 1rem;
}

.site-search-results {
  display: grid;
  gap: 0.65rem;
  max-height: 55vh;
  overflow: auto;
}

.site-search-results a {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.site-search-results span {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 7rem));
  isolation: isolate;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
  animation: heroSettle 1800ms ease forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 37, 21, 0.82), rgba(15, 37, 21, 0.34) 48%, rgba(15, 37, 21, 0.08)),
    linear-gradient(0deg, rgba(15, 37, 21, 0.55), transparent 36%);
}

.hero-overlay {
  width: min(760px, calc(100% - 2rem));
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  margin-left: clamp(1rem, 7vw, 6rem);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--leaf);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero p:not(.eyebrow) {
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 999px;
  padding: 0 1.2rem;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.quick-links a:hover,
.panel-list a:hover,
.document-list a:hover,
.card:hover,
.info-grid article:hover {
  transform: translateY(-3px);
}

.button.primary {
  background: var(--leaf);
  color: var(--green-950);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button.secondary.dark {
  border-color: var(--line);
  color: var(--green-950);
}

.button.light {
  background: var(--white);
  color: var(--green-950);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1120px;
  gap: 1rem;
  margin: -3.5rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.quick-links a {
  position: relative;
  min-height: 13rem;
  padding: 1.35rem 0.9rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: var(--green-950);
  font-weight: 900;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.45rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 37, 21, 0.2);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.quick-links a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.38rem;
  background: rgba(220, 230, 203, 0.95);
}

.quick-links svg {
  width: 4.2rem;
  height: 4.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-card-icon {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
}

.quick-links svg circle {
  fill: currentColor;
  stroke: none;
}

.quick-links span {
  display: block;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.2;
}

.quick-links .quick-card-blue {
  color: #72b3ff;
}

.quick-links .quick-card-sky {
  color: #6fb4ff;
}

.quick-links .quick-card-teal {
  color: #5ee0d3;
}

.quick-links .quick-card-gold {
  color: #ffbe4a;
}

.quick-links .quick-card-purple {
  color: #d99cff;
}

.quick-links .quick-card-coral {
  color: #ff7f70;
}

.quick-links .quick-card span {
  color: var(--white);
}

.quick-links a:hover,
.quick-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 42px rgba(15, 37, 21, 0.28);
}

.quick-links a:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 4px;
}

.content-shortcut-card {
  position: relative;
  display: flex;
  min-height: 12rem;
  padding: 1.25rem;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--green-950);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(15, 37, 21, 0.16);
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.content-shortcut-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.32rem;
  background: currentColor;
}

.content-shortcut-card svg {
  width: 3.8rem;
  height: 3.8rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-shortcut-icon {
  width: 3.8rem;
  height: 3.8rem;
  object-fit: contain;
}

.content-shortcut-card svg circle {
  fill: currentColor;
  stroke: none;
}

.content-shortcut-card span {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
}

.content-shortcut-card:hover,
.content-shortcut-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 42px rgba(15, 37, 21, 0.24);
  transform: translateY(-3px);
}

.content-shortcut-card:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 4px;
}

.content-shortcut-blue,
.content-shortcut-sky {
  color: #72b3ff;
}

.content-shortcut-teal {
  color: #5ee0d3;
}

.content-shortcut-gold {
  color: #ffbe4a;
}

.content-shortcut-purple {
  color: #d99cff;
}

.content-shortcut-coral {
  color: #ff7f70;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.intro > p,
.split p {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 8vw, 6rem);
  background: var(--green-950);
  color: var(--white);
}

.feature-band h2 {
  max-width: 15ch;
}

.feature-band p:not(.eyebrow) {
  max-width: 45rem;
  color: rgba(255, 255, 255, 0.78);
}

.grid-section {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.section-heading {
  align-self: center;
}

.section-heading.wide {
  grid-column: 1 / -1;
}

.card,
.info-grid article,
.notice,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover,
.info-grid article:hover {
  border-color: rgba(67, 103, 43, 0.45);
  box-shadow: 0 16px 42px rgba(15, 37, 21, 0.12);
}

.card span {
  color: var(--olive);
  font-weight: 900;
}

.card p,
.info-grid p,
.notice p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.panel-list,
.document-list {
  display: grid;
  gap: 0.65rem;
}

.panel-list a,
.document-list a {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 0 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.panel-list a:hover,
.document-list a:hover {
  border-color: var(--green-700);
  background: var(--leaf);
}

.policy-category-list {
  display: grid;
  grid-column: 1 / -1;
  width: 100%;
  gap: clamp(1.3rem, 3vw, 2.2rem);
}

.policy-category {
  display: grid;
  gap: 0.85rem;
}

.policy-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.policy-category-heading h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.policy-category-heading span {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0.8rem;
}

.policy-card {
  display: grid;
  gap: 0.45rem;
  min-height: 6.2rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.policy-card:hover {
  border-color: var(--green-700);
  background: var(--leaf);
  box-shadow: 0 12px 30px rgba(15, 37, 21, 0.1);
  transform: translateY(-1px);
}

.policy-card span {
  font-weight: 900;
  line-height: 1.28;
}

.policy-card small {
  align-self: end;
  color: var(--muted);
  font-weight: 900;
}

.live-editor-overlay {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  width: min(960px, calc(100vw - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem;
  padding-left: 1rem;
  color: #fff;
  background: rgba(13, 45, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(13, 45, 24, 0.28);
  transform: translateX(-50%);
}

.live-editor-overlay strong,
.live-editor-overlay span,
.live-editor-overlay small {
  display: block;
}

.live-editor-overlay strong {
  font-size: 0.9rem;
}

.live-editor-overlay span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.live-editor-overlay small {
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
}

.live-editor-overlay .is-warning {
  color: #ffe08a;
}

.live-editor-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.live-editor-actions a,
.live-editor-actions button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.58rem 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.live-editor-actions button.is-on,
.live-editor-actions button:not(:disabled):hover,
.live-editor-actions a:hover {
  color: var(--ink);
  background: var(--leaf);
}

.live-editor-actions .live-logout-button {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
}

.live-editor-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.live-edit-active .site-header,
.live-edit-active footer,
.live-edit-active .back-to-top {
  margin-bottom: 4rem;
}

.live-preview-mode .live-block-toolbar,
.live-preview-mode .live-edit-target {
  outline: 0;
}

.live-edit-target {
  outline: 2px dashed rgba(76, 119, 50, 0.55);
  outline-offset: 5px;
  border-radius: 4px;
  transition: background 160ms ease, outline-color 160ms ease;
}

.live-edit-target:hover,
.live-edit-target:focus {
  background: rgba(219, 232, 201, 0.52);
  outline-color: var(--green-700);
}

.live-block-toolbar {
  display: none;
}

.live-edit-active .page-block {
  position: relative;
  padding-top: 3.25rem;
}

.live-edit-active .live-block-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  box-sizing: border-box;
  width: 100%;
  padding: 0.35rem;
  color: #fff;
  background: rgba(13, 45, 24, 0.95);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(13, 45, 24, 0.2);
}

.live-block-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
}

.live-block-toolbar select,
.live-block-toolbar button {
  min-height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.live-block-toolbar select {
  color: var(--ink);
  background: var(--white);
}

.live-block-toolbar button {
  padding: 0 0.55rem;
  cursor: pointer;
}

.live-block-drag {
  cursor: grab;
}

.is-live-dragging {
  opacity: 0.42;
}

.live-drop-before::before,
.live-drop-after::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 13;
  height: 4px;
  border-radius: 999px;
  background: var(--olive);
}

.live-drop-before::before {
  top: -0.55rem;
}

.live-drop-after::after {
  bottom: -0.55rem;
}

.live-editor-toast {
  position: fixed;
  right: 1rem;
  bottom: 5.4rem;
  z-index: 85;
  max-width: min(420px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  color: #fff;
  background: rgba(13, 45, 24, 0.96);
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(13, 45, 24, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.live-editor-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.live-editor-toast.is-error {
  background: #8f1f1f;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.documents {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  background: var(--green-900);
  color: var(--white);
  max-width: none;
  padding-left: max(1rem, calc((100vw - 1120px) / 2));
  padding-right: max(1rem, calc((100vw - 1120px) / 2));
}

.documents .document-list a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.7fr);
  gap: 1rem;
  align-items: start;
}

.contact-card a {
  color: var(--green-700);
  font-weight: 900;
}

footer {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 2rem 1rem;
  background: var(--green-950);
  color: var(--white);
  text-align: center;
  justify-items: center;
}

footer img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: brightness(2.5);
}

.headteacher-card {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.headteacher-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
  color: var(--muted);
}

.headteacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headteacher-card figcaption {
  font-weight: 800;
  color: var(--green-950);
}

.footer-links,
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 0.92rem;
}

.footer-socials a {
  display: inline-grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  font-weight: 900;
}

.footer-socials img {
  width: 1.2rem;
  height: 1.2rem;
  filter: none;
}

.footer-socials svg {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.content-table td {
  border: 1px solid var(--line);
  padding: 0.8rem;
}

.content-form {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(15, 37, 21, 0.08);
}

.error-page {
  min-height: 100vh;
  display: grid;
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(18rem, 0.32fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
}

.error-panel,
.error-links {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(15, 37, 21, 0.08);
}

.error-panel {
  display: grid;
  align-content: center;
  gap: 1rem;
  min-height: 28rem;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.error-code {
  color: var(--olive);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-panel h1 {
  max-width: 12ch;
  margin: 0;
}

.error-panel p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.error-links {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.4rem);
}

.error-links h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.error-links .document-list {
  gap: 0.65rem;
}

.content-form-heading {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.content-form-heading h3,
.content-form-heading p {
  margin: 0;
}

.content-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--green-950);
  font-weight: 900;
}

.content-form input,
.content-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 0.8rem;
}

.content-form input:focus,
.content-form textarea:focus {
  outline: 0;
  border-color: var(--green-700);
  box-shadow: 0 0 0 0.2rem rgba(67, 103, 43, 0.14);
}

.content-form-status {
  margin: 0;
  color: var(--green-700);
  font-weight: 900;
}

.content-map {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(15, 37, 21, 0.08);
}

.content-map-heading {
  display: grid;
  gap: 0.35rem;
}

.content-map-heading h3,
.content-map-heading p {
  margin: 0;
}

.content-map iframe,
.content-map-placeholder {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--cream);
}

.content-map-placeholder {
  display: grid;
  place-items: center;
  min-height: 16rem;
  color: var(--muted);
  font-weight: 900;
}

.content-map .button {
  justify-self: start;
}

footer p {
  margin: 0;
}

footer p:first-of-type {
  font-weight: 900;
}

footer p:last-of-type {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

footer p:last-of-type a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

footer p:last-of-type a:hover {
  color: var(--white);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 25;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--green-950);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 220ms ease, transform 220ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--white);
}

.cookie-banner {
  position: fixed;
  left: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 4vw, 2.5rem);
  z-index: 30;
  display: grid;
  justify-items: center;
  width: min(22rem, calc(100vw - 2rem));
  padding: 2rem 1.35rem 1.6rem;
  background: #292929;
  color: var(--white);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
}

.cookie-banner h2 {
  margin-bottom: 0.25rem;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.2;
}

.cookie-banner p {
  margin-bottom: 0.8rem;
  font-size: 1.12rem;
  line-height: 1.35;
}

.cookie-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cookie-divider {
  width: 100%;
  height: 1px;
  margin: 1.35rem 0;
  background: rgba(255, 255, 255, 0.14);
}

.cookie-banner .button {
  width: 12rem;
  margin-bottom: 0.9rem;
}

.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(15, 37, 21, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.cookie-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-panel-box {
  position: relative;
  width: min(34rem, 100%);
  padding: 2rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(1rem) scale(0.98);
  transition: transform 220ms ease;
}

.cookie-panel.is-visible .cookie-panel-box {
  transform: translateY(0) scale(1);
}

.cookie-panel-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.cookie-panel-box p {
  color: var(--muted);
}

.panel-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--green-950);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  margin: 0.75rem 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.cookie-option input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--green-700);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subpage {
  background:
    radial-gradient(circle at top right, rgba(220, 230, 203, 0.85), transparent 28rem),
    var(--cream);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) max(1rem, calc((100vw - 1120px) / 2));
  background: var(--green-950);
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 6vw, 5rem);
  bottom: -7rem;
  width: min(22rem, 55vw);
  aspect-ratio: 1;
  border: 2.5rem solid rgba(220, 230, 203, 0.14);
  border-radius: 50%;
}

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.page-hero p:not(.eyebrow) {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: 1.5rem;
  align-items: start;
}

.content-layout.no-side-panel {
  grid-template-columns: minmax(0, 1fr);
}

.content-panel,
.side-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.content-panel p,
.side-panel p {
  color: var(--muted);
}

.page-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
  align-items: start;
}

.page-block {
  grid-column: 1 / -1;
  min-width: 0;
}

.page-block-half {
  grid-column: span 6;
}

.page-block-third {
  grid-column: span 4;
}

.page-block-half.page-block-align-left {
  grid-column: 1 / span 6;
}

.page-block-half.page-block-align-center {
  grid-column: 4 / span 6;
}

.page-block-half.page-block-align-right {
  grid-column: 7 / span 6;
}

.page-block-third.page-block-align-left {
  grid-column: 1 / span 4;
}

.page-block-third.page-block-align-center {
  grid-column: 5 / span 4;
}

.page-block-third.page-block-align-right {
  grid-column: 9 / span 4;
}

.page-body:has(.page-block-half[data-live-block-type="map"]),
.page-body:has(.page-block-half[data-live-block-type="image"]) {
  display: flow-root;
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block {
  margin-bottom: 1rem;
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-full,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-full {
  clear: both;
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-half,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-half {
  width: calc(50% - 0.5rem);
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-half.page-block-align-left,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-half.page-block-align-left {
  clear: left;
  float: left;
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-half.page-block-align-right,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-half.page-block-align-right {
  clear: right;
  float: right;
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-half.page-block-align-auto,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-half.page-block-align-auto {
  clear: left;
  float: left;
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-half[data-live-block-type="map"].page-block-align-auto,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-half[data-live-block-type="image"].page-block-align-auto {
  clear: right;
  float: right;
}

.page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-half.page-block-align-center,
.page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-half.page-block-align-center {
  clear: both;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.page-block > :first-child {
  margin-top: 0;
}

.page-block > :last-child {
  margin-bottom: 0;
}

.linked-content-image {
  display: inline-block;
  border-radius: 6px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.linked-content-image:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.linked-content-image:focus-visible {
  outline: 3px solid var(--green-700);
  outline-offset: 4px;
}

.rich-text {
  color: var(--muted);
}

.rich-text p,
.rich-text div {
  margin: 0 0 0.8rem;
}

.rich-text ul,
.rich-text ol,
.content-table ul,
.content-table ol {
  margin: 0.6rem 0 0.6rem 1.25rem;
  padding: 0;
}

.rich-text li,
.content-table li {
  margin: 0.25rem 0;
}

.muted-empty {
  margin: 0;
  color: var(--muted);
}

.side-panel {
  position: sticky;
  top: 7rem;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroSettle {
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .live-edit-active .page-block {
    padding-top: 5.85rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    display: none;
    align-items: stretch;
    padding: 0.65rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: grid;
  }

  .menu a,
  .menu button {
    width: 100%;
    justify-content: space-between;
    border-radius: 6px;
  }

  .menu ul {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0.25rem 0 0.4rem 1rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .menu li.open > ul {
    display: grid;
  }

  .quick-links,
  .grid-section,
  .info-grid,
  .documents,
  .contact,
  .contact-card,
  .intro,
  .split,
  .content-layout,
  .error-layout {
    grid-template-columns: 1fr;
  }

  .page-block-half,
  .page-block-third {
    grid-column: 1 / -1 !important;
  }

  .quick-links {
    margin: 0;
    border-radius: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links a {
    min-height: 11rem;
  }

  .feature-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .side-panel {
    position: static;
  }

  .live-editor-overlay {
    align-items: stretch;
    flex-direction: column;
    border-radius: 18px;
  }

  .live-editor-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-editor-actions a,
  .live-editor-actions button {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .utility-bar {
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
    max-width: 15rem;
    font-size: 1rem;
  }

  .brand img {
    width: 2.6rem;
    height: 2.6rem;
  }

  .menu-toggle {
    font-size: 0;
    width: 3rem;
    height: 3rem;
    justify-content: center;
    flex-direction: column;
    gap: 0.22rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    margin-left: 1rem;
    padding-top: 4rem;
  }

  .quick-links {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .quick-links a,
  .content-shortcut-card {
    min-height: 9.5rem;
  }

  .quick-links svg,
  .quick-card-icon,
  .content-shortcut-icon,
  .content-shortcut-card svg {
    width: 3.2rem;
    height: 3.2rem;
  }

  h1 {
    font-size: 3.2rem;
  }

  .page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-half,
  .page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-half,
  .page-body:has(.page-block-half[data-live-block-type="map"]) .page-block-third,
  .page-body:has(.page-block-half[data-live-block-type="image"]) .page-block-third {
    clear: both !important;
    float: none !important;
    width: 100%;
  }

  .live-editor-overlay {
    bottom: 0.6rem;
    width: calc(100vw - 1rem);
  }

  .live-editor-toast {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 9.8rem;
  }
}
/* Accessibility tools */
.cw-access-widget[hidden], .cw-access-panel[hidden], .cw-access-magnifier[hidden] { display: none !important; }
.cw-access-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 5.75rem;
  z-index: 99990;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(15, 37, 21, 0.16);
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow);
  font: 900 1.05rem/1 Inter, sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cw-access-toggle svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}
.cw-access-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 9.7rem;
  z-index: 99991;
  width: min(39rem, calc(100vw - 2.5rem));
  max-height: min(47rem, calc(100vh - 11rem));
  overflow: auto;
  padding: 1.75rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.cw-access-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cw-access-close {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--green-950);
  font: 900 1.6rem/1 Inter, sans-serif;
  cursor: pointer;
}
.cw-access-switch, .cw-access-language {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
}
.cw-access-switch button {
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--green-950);
  font: 900 1.05rem/1 Inter, sans-serif;
  cursor: pointer;
}
.cw-access-switch button.is-active { background: var(--green-700); color: var(--white); }
.cw-access-language { padding: .3rem .75rem; border-radius: 8px; }
.cw-access-language span { font-size: 1.45rem; }
.cw-access-language select {
  min-width: 8.8rem;
  border: 0;
  background: transparent;
  color: var(--green-950);
  font: 800 1rem/1.2 Inter, sans-serif;
}
.cw-access-panel h2 {
  margin: 1.6rem 0 0;
  color: var(--green-950);
  font: 900 1.85rem/1.15 Inter, sans-serif;
  text-align: center;
}
.cw-access-feature-toggle {
  margin-top: 1.15rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--green-950);
  font: 900 1rem/1.2 Inter, sans-serif;
}
.cw-access-feature-toggle button, .cw-access-modes-list button::before {
  width: 3.5rem;
  height: 1.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.cw-access-feature-toggle button::after, .cw-access-modes-list button::after {
  content: "";
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  margin: .275rem;
  border-radius: 50%;
  background: var(--green-700);
  transition: transform .16s ease;
}
.cw-access-feature-toggle button.is-active, .cw-access-modes-list button.is-active::before { background: var(--green-700); }
.cw-access-feature-toggle button.is-active::after, .cw-access-modes-list button.is-active::after { background: var(--white); transform: translateX(1.6rem); }
.cw-access-modes {
  margin-top: 1rem;
  border-bottom: 1px solid var(--line);
}
.cw-access-modes summary {
  min-height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--green-950);
  font: 900 1rem/1.2 Inter, sans-serif;
  cursor: pointer;
}
.cw-access-modes-list {
  display: grid;
  gap: .65rem;
  padding: 0 0 1rem;
}
.cw-access-modes-list button {
  position: relative;
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: 1fr 4rem;
  align-items: center;
  gap: .85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--green-950);
  padding: .8rem 1rem;
  text-align: left;
  cursor: pointer;
}
.cw-access-modes-list button strong, .cw-access-modes-list button span { grid-column: 1; }
.cw-access-modes-list button span { color: var(--muted); font-size: .86rem; font-weight: 700; }
.cw-access-modes-list button::before, .cw-access-modes-list button::after { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
.cw-access-modes-list button::after { position: absolute; right: 2.75rem; }
.cw-access-grid {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.cw-access-grid button {
  min-height: 7.7rem;
  padding: 1rem .75rem;
  display: grid;
  place-items: center;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--green-950);
  font: 900 .98rem/1.25 Inter, sans-serif;
  text-align: center;
  cursor: pointer;
}
.cw-access-grid button span { color: var(--green-700); font-size: 1.85rem; }
.cw-access-grid button.is-active { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.cw-access-grid button.is-active span { color: var(--leaf); }
.cw-access-actions { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cw-access-actions button {
  min-height: 3.6rem;
  border: 1px solid var(--green-700);
  border-radius: 8px;
  background: var(--green-700);
  color: var(--white);
  font: 800 1rem/1.2 Inter, sans-serif;
  cursor: pointer;
}
.cw-access-actions button:first-child { background: var(--white); color: var(--green-950); }
.cw-access-magnifier {
  position: fixed;
  z-index: 99992;
  width: 16rem;
  padding: .85rem;
  background: var(--green-950);
  color: var(--white);
  border: 2px solid var(--leaf);
  box-shadow: var(--shadow);
  font: 800 1.2rem/1.35 Inter, sans-serif;
  pointer-events: none;
}
.cw-access-readableFont body, .cw-access-dyslexia body { font-family: Arial, Verdana, sans-serif !important; }
.cw-access-dyslexia body { letter-spacing: .04em; word-spacing: .12em; }
.cw-access-fontSize body { font-size: 112%; }
.cw-access-contentScale body { zoom: 1.08; }
.cw-access-lineHeight body { line-height: 1.9; }
.cw-access-alignText main p, .cw-access-alignText main li, .cw-access-alignText main h1, .cw-access-alignText main h2, .cw-access-alignText main h3 { text-align: left !important; }
.cw-access-highlightLinks a { outline: 3px solid #f4c63d; outline-offset: 3px; text-decoration: underline !important; }
.cw-access-highlightTitles h1, .cw-access-highlightTitles h2, .cw-access-highlightTitles h3 { padding: .08em .14em; background: #ffef9e; color: #101418 !important; }
.cw-access-darkMode body, .cw-access-darkMode main, .cw-access-darkMode section, .cw-access-darkMode article, .cw-access-darkMode footer { background-color: #101418 !important; color: #f5f7f2 !important; }
.cw-access-darkMode h1, .cw-access-darkMode h2, .cw-access-darkMode h3, .cw-access-darkMode p, .cw-access-darkMode li, .cw-access-darkMode a { color: #f5f7f2 !important; }
.cw-access-oversizedButtons a, .cw-access-oversizedButtons button, .cw-access-motor a, .cw-access-motor button { min-height: 46px; padding: max(.7em, 10px) max(1em, 14px); }
.cw-access-epilepsy *:not(.cw-access-widget):not(.cw-access-widget *), .cw-access-adhd *:not(.cw-access-widget):not(.cw-access-widget *) { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
.cw-access-epilepsy body > :not(.cw-access-widget):not(script):not(style) { filter: saturate(.72) contrast(.96); }
.cw-access-visual body > :not(.cw-access-widget):not(script):not(style) { filter: contrast(1.12); }
.cw-access-visual p, .cw-access-visual li, .cw-access-cognitive p, .cw-access-cognitive li { font-size: 1.05em; }
.cw-access-cognitive main, .cw-access-blindness main, .cw-access-motor main { outline: 4px solid rgba(123, 143, 82, .5); outline-offset: -4px; }
.cw-access-motor a:focus, .cw-access-motor button:focus, .cw-access-blindness a:focus, .cw-access-blindness button:focus, .cw-access-blindness input:focus, .cw-access-blindness textarea:focus, .cw-access-blindness select:focus { outline: 4px solid #f4c63d !important; outline-offset: 4px !important; }
.cw-access-colorblind a { text-decoration: underline !important; text-decoration-thickness: .14em !important; }
.cw-access-colorblind button { border: 2px solid currentColor !important; }
.cw-access-adhd body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99980;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 42%, transparent 58%, rgba(0,0,0,.28));
  mask: linear-gradient(to bottom, #000 0, #000 calc(var(--access-guide-y, 50vh) - 54px), transparent calc(var(--access-guide-y, 50vh) - 54px), transparent calc(var(--access-guide-y, 50vh) + 54px), #000 calc(var(--access-guide-y, 50vh) + 54px));
}
.cw-google-translate, .skiptranslate, .goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
@media (max-width: 640px) {
  .cw-access-toggle { right: .85rem; bottom: 5rem; }
  .cw-access-panel { right: .65rem; bottom: 8.9rem; width: calc(100vw - 1.3rem); max-height: calc(100vh - 10rem); padding: 1.25rem; }
  .cw-access-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .cw-access-grid button { min-height: 6.5rem; font-size: .9rem; }
  .cw-access-actions { grid-template-columns: 1fr; }
  .cw-access-language { width: 100%; justify-content: space-between; }
}
