.site-header {
  background: #7a4a7c;
  color: #fff;
  padding: 2rem 1.5rem;
}

header {
      background: #7a4a7c;
      color: #fff;
      padding: 2rem 1rem;
      text-align: center;
}

.header-grid {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Center title block */
.header-text {
  text-align: center;
}

.header-text h1 {
  margin: 0;
  font-size: 2.2rem;
}

.header-text p {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
}

/* Accessibility toggle (right column) */
.accessibility-toggle {
  justify-self: end;

  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;

  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.accessibility-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.accessibility-toggle:focus {
  outline: 4px solid #000;
  outline-offset: 3px;
}

.accessibility-toggle .icon {
  font-weight: 800;
  font-size: 1rem;
}


body.accessible .site-header {
  background: #ffffff;
  color: #000000;
  padding: 2rem 1.5rem;
}

body.accessible header {
      background: #ffffff;
      color: #000000;
      padding: 2rem 1rem;
      text-align: center;
}

body.accessible {
  font-size: 120%;
  line-height: 1.8;
  background: #ffffff;
  color: #000000;
}

body.accessible h1,
body.accessible h2,
body.accessible h3 {
  color: #000000;
}

body.accessible a {
  color: #0000ee;
  text-decoration: underline;
}

body.accessible .sidebar {
  background: #ffffff;
  border-right: 3px solid #000;
}

body.accessible .highlight {
  background: #f5f5f5;
  border-left: 6px solid #000;
}

body.accessible button,
body.accessible a {
  min-height: 44px;
  color:black;
}

body.accessible *:focus {
  outline: 4px solid #000;
  outline-offset: 3px;
}

body.accessible .sidebar ul.compact a {
  font-weight: 400;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .header-grid {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .accessibility-toggle {
    justify-self: center;
  }
}

