/* Scope alles sauber in den Abschnitt */
#wot-wn8-explainer {
  --accent: #0b3d91;            /* Dunkelblau für Headlines */
  --text: #1f2937;              /* neutral-dunkel */
  --muted: #4b5563;             /* Sekundärtext */
  --surface: #ffffff;           /* Card-Hintergrund */
  --border: rgba(11, 61, 145, .12);

  color: var(--text);
  background:
    linear-gradient(180deg, rgba(11,61,145,.03), rgba(11,61,145,0) 160px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 28px);
  margin: clamp(16px, 3vw, 32px) auto;
  max-width: 84ch;
  box-shadow:
    0 6px 24px rgba(11,61,145,.06),
    0 2px 6px rgba(0,0,0,.04);
  background-color: var(--surface);
}

/* Dark Mode via data-theme (wie auf eurer Seite üblich) */
html[data-theme="dark"] #wot-wn8-explainer {
  --text: #e5e7eb;
  --muted: #94a3b8;
  --surface: #0b1220;
  --border: rgba(11, 61, 145, .35);
  box-shadow:
    0 8px 28px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.02);
}

/* Große Überschrift */
#wot-wn8-explainer .welcome-title {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.2;
  margin: 0 0 .5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  text-wrap: balance;
}

/* H3-Abschnitte */
#wot-wn8-explainer h3 {
  color: var(--accent);
  font-weight: 700;
  margin: 1.4rem 0 .4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  position: relative;
  padding-left: .75rem;
}
#wot-wn8-explainer h3::before {
  content: "";
  position: absolute;
  left: 0; top: .15rem; bottom: .15rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(11,61,145,.55));
}

/* Fließtext & Listen */
#wot-wn8-explainer p {
  line-height: 1.65;
  margin: .6rem 0;
}
#wot-wn8-explainer ul {
  margin: .5rem 0 .9rem 0;
  padding: 0;
  list-style: none;
}
#wot-wn8-explainer ul li {
  position: relative;
  padding-left: 1.25rem;
  margin: .35rem 0;
}
#wot-wn8-explainer ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(11,61,145,.12);
}

/* Inline code */
#wot-wn8-explainer code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
  background: rgba(11,61,145,.08);
  padding: .1rem .35rem;
  border-radius: 6px;
  border: 1px solid rgba(11,61,145,.15);
}
html[data-theme="dark"] #wot-wn8-explainer code {
  background: rgba(11,61,145,.18);
  border-color: rgba(11,61,145,.3);
}

/* HR dezent */
#wot-wn8-explainer hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(11,61,145,.15), transparent 70%);
  margin: 1.1rem 0;
}

/* Links */
#wot-wn8-explainer a {
  color: var(--accent);
  text-underline-offset: .18em;
}
#wot-wn8-explainer a:hover {
  text-decoration-thickness: 2px;
}

/* Kleinere Bildschirme */
@media (max-width: 520px) {
  #wot-wn8-explainer { border-radius: 12px; padding: 14px; }
  #wot-wn8-explainer .welcome-title { letter-spacing: 0 }
}
