/* Diese Klassen entsprechen den editor.blocks/editor.formats in theme/theme.php.
   Sie werden absichtlich NICHT auf .watten-site begrenzt: Vorschau und Inline-Editor
   müssen dieselben Formatierungen erhalten. Kein Core-CSS/JS-Override. */
.format-invert { color:#fffaf2; }
/* Texte */

.text-body {
  margin: 0 0 1.25em;
  font-size: 1rem;
  line-height: 1.75;
}

.text-body-small {
  margin: 0 0 1em;
  font-size: 0.9rem;
  line-height: 1.7;
}

.text-intro {
  margin: 0 0 1.4em;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
}

.text-lead {
  margin: 0 0 1.4em;
  color: var(--w-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.text-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--w-rust);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-subtitle {
  margin: -0.5rem 0 1.5rem;
  color: var(--w-muted);
  font-size: 1.1rem;
}

.text-note,
.text-info,
.text-warning,
.text-success,
.text-error {
  margin: 1.5rem 0;
  padding: 14px 16px;
  border-left: 4px solid;
  border-radius: 8px;
}

.text-note {
  border-color: var(--w-border);
  background: var(--w-cream);
}

.text-info {
  border-color: #3075a5;
  background: #eaf4fb;
}

.text-warning {
  border-color: #c68b18;
  background: #fff6df;
}

.text-success {
  border-color: #3b8a58;
  background: #eaf7ee;
}

.text-error {
  border-color: var(--w-rust);
  background: var(--w-rust-soft);
}

.text-meta,
.text-caption {
  color: var(--w-muted);
  font-size: 0.82rem;
}

.text-statement {
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}


/* Überschriften */

.headline-hero {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.headline-page {
  margin: 0 0 1.4rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.headline-section,
.headline-forum {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.headline-card,
.headline-post {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.headline-small,
.headline-widget {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.headline-label,
.headline-meta {
  margin: 0 0 0.6rem;
  color: var(--w-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* Zitate und Boxen */

.quote-editorial,
.quote-forum {
  margin: 1.8rem 0;
  padding: 20px 24px;
  border-left: 4px solid var(--w-rust);
  background: var(--w-rust-soft);
  border-radius: 0 var(--w-radius) var(--w-radius) 0;
  font-size: 1.15rem;
  font-style: italic;
}

.code-block {
  overflow-x: auto;
  padding: 18px;
  border-radius: 10px;
  background: #171717;
  color: #f5f5f5;
  font-family: monospace;
}

.vehicle-data,
.forum-info-box,
.forum-warning-box,
.forum-success-box {
  margin: 1.5rem 0;
  padding: 20px;
  border: 1px solid var(--w-border);
  border-radius: var(--w-radius);
  background: var(--w-surface);
}

.forum-warning-box {
  border-color: #d6a132;
  background: #fff8e6;
}

.forum-success-box {
  border-color: #4f9969;
  background: #edf8f1;
}


/* Inline-Formate */

.format-accent {
  color: var(--w-rust);
}

.format-accent-dark {
  color: var(--w-rust-dark);
}

.format-strong,
.format-emphasis {
  font-weight: 700;
}

.format-muted {
  color: var(--w-muted);
}

.format-subtle {
  color: #979797;
}

.format-marker {
  padding: 0.08em 0.3em;
  background: var(--w-rust-soft);
  color: var(--w-rust-dark);
}

.format-marker-yellow {
  padding: 0.08em 0.3em;
  background: #fff0a8;
}

.format-underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.format-strike {
  text-decoration: line-through;
}


/* Labels und Badges */

.format-label,
.format-label-red,
.format-badge,
.format-badge-red,
.format-badge-dark,
.format-badge-light,
.format-status-online,
.format-status-offline,
.format-status-important,
.format-new {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.4;
}

.format-label,
.format-badge {
  background: var(--w-cream);
  color: var(--w-ink);
}

.format-label-red,
.format-badge-red,
.format-new {
  background: var(--w-rust);
  color: #fffaf2;
}

.format-badge-dark {
  background: var(--w-dark);
  color: #fffaf2;
}

.format-badge-light {
  border: 1px solid var(--w-border);
  background: #fffaf2;
}

.format-status-online {
  background: #e5f5ea;
  color: #247441;
}

.format-status-offline {
  background: var(--w-cream);
  color: #6d6d6d;
}

.format-status-important {
  background: #fff0d6;
  color: #9a6100;
}


/* Buttons */

.format-button,
.format-button-secondary,
.format-button-outline,
.format-button-dark,
.format-button-light,
.format-button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7em 1.15em;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
}

.format-button {
  background: var(--w-rust);
  color: #fffaf2;
}

.format-button-secondary {
  background: var(--w-rust-soft);
  color: var(--w-rust);
}

.format-button-outline {
  border-color: var(--w-rust);
  color: var(--w-rust);
}

.format-button-dark {
  background: var(--w-dark);
  color: #fffaf2;
}

.format-button-light {
  background: #fffaf2;
  color: var(--w-ink);
}

.format-button-small {
  padding: 0.45em 0.8em;
  background: var(--w-rust);
  color: #fffaf2;
  font-size: 0.82rem;
}

.format-link-arrow::after {
  content: " →";
}


/* Größen und technische Daten */

.format-x-small {
  font-size: 0.72em;
}

.format-small {
  font-size: 0.85em;
}

.format-large {
  font-size: 1.2em;
}

.format-x-large {
  font-size: 1.5em;
}

.format-mono,
.format-code {
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: var(--w-cream);
  font-family: monospace;
}

.format-vehicle,
.format-engine,
.format-year,
.format-username {
  font-weight: 700;
}

.format-vehicle {
  color: var(--w-rust);
}

.format-username::before {
  content: "@";
}


/* Ausrichtung */

.format-align-left {
  display: block;
  text-align: left;
}

.format-align-center {
  display: block;
  text-align: center;
}

.format-align-right {
  display: block;
  text-align: right;
}

.format-align-justify {
  display: block;
  text-align: justify;
}