:root {
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;

  --c-bg: #05040b;
  --c-bg-soft: #131020;
  --c-bg-soft-alt: #19142c;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-strong: rgba(249, 227, 176, 0.5);
  --c-muted: rgba(225, 225, 245, 0.78);
  --c-text: #f5f5ff;
  --c-heading: #f9e3b0;
  --c-accent: #f5c443;

  --radius: 18px;

  --font-sans: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cal Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}



/* UTILITIES */

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

/* PAGE LAYOUT (MATCH ABOUT-US) */

.wikiLayout {
  min-height: 100vh;
  padding: 2rem 1.5rem 4rem;
  background:
    radial-gradient(circle at top left, rgba(255, 215, 0, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(146, 61, 255, 0.12), #05040b 60%);
  color: var(--c-text);
  font-family: var(--font-sans);
}

/* HEADER HERO (SIMILAR TO .hero/.heroInner) */

.wikiHeader {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  padding: 2.75rem 2rem 2.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 12, 32, 0.9), rgba(32, 19, 61, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.wikiHeader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.15), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.wikiHeader > * {
  position: relative;
  z-index: 1;
}

.wikiTitle {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: #fff7e6;
  text-transform: none;
}

.wikiSubtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 720px;
  color: rgba(235, 235, 255, 0.9);
}

/* NAVIGATION (CHIPS, ALIGNED TO ABOUT STYLE) */

.wikiNav {
  max-width: 1100px;
  margin: 0 auto 2.5rem auto;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wikiNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.wikiNav li {
  margin: 0;
}

.wikiNav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  text-decoration: none;
  color: rgba(235, 235, 255, 0.8);
  background: transparent;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.wikiNav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.wikiNav a.active {
  background: radial-gradient(circle at top left, #f5c443, #f28c3f);
  color: #211515;
  border-color: rgba(245, 196, 67, 0.7);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

/* MAIN CONTENT CARD (SIMILAR TO .experienceContent/.card) */

.wikiContent {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(25, 16, 52, 0.98), rgba(44, 29, 90, 0.98));
  border-radius: 20px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  font-size: 0.96rem;
  line-height: 1.8;
}

.wikiContent section + section {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wikiContent h2 {
  margin-top: 0;
  margin-bottom: var(--sp-3);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-heading);
}

.wikiContent h3 {
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-2);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: none;
  color: #ffe4a1;
  font-family: var(--font-sans);
}

.wikiContent p {
  margin: 0 0 var(--sp-3);
  color: rgba(235, 235, 255, 0.92);
}

.wikiContent a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.wikiContent a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.wikiContent pre {
  margin: 0 0 var(--sp-3);
  padding: var(--sp-2);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.82rem;
}

.wikiContent code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 3px;
  border-radius: 3px;
}

.wikiContent ul,
.wikiContent ol {
  margin: 0 0 var(--sp-3) 1.25rem;
  padding: 0;
}

.wikiContent li {
  margin: 4px 0;
}

/* RESPONSIVE */

@media (min-width: 768px) {
  .wikiHeader {
    padding: 3.25rem 3rem 3rem;
  }
}

@media (max-width: 768px) {
  .wikiLayout {
    padding: var(--sp-4) var(--sp-3) var(--sp-4);
  }

  .wikiContent {
    padding: var(--sp-3);
  }

  .wikiTitle {
    font-size: 2rem;
  }

  .wikiNav ul {
    gap: var(--sp-1);
  }

  .wikiNav a {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
}