/* Outbrain-Advertorials (27.10.2026, v3): <genre>.softsins.de/tutorial/…, Quelle genre-lp/tutorial.mjs.
   Metazeile: Autorin, Datum, Lesezeit je eine eigene kleine Zeile (User 27.10.). Kopf wie v2 (Wortmarke + „Anzeige“, Rubrik, Serifen-Titel, fetter Vorspann, Metazeile, Aufmacherbild).
   Text wie naturheilratgeber.de (User-Vorbild): EIN Stil, serifenlose Schrift 20/34 px, ein bis zwei Sätze pro Absatz, 30 px Abstand,
   Schlüsselwörter fett, Zwischenüberschrift in Serifen. Keine Kästen, keine Zitat-Stile. Genre nur als Akzentfarbe (Rubrik, Link, Button). */
@import url('/assets/fonts/fonts.css');

.nx { --paper: #ffffff; --ink: #000000; --muted: #666666; --line: #e5e5e5; --accent: #b0123b; --accent-ink: #ffffff;
  --serif: Georgia, 'Times New Roman', Times, serif; --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif; }
.nx-manga { --accent: #c2185b; }
.nx-fantasy { --accent: #2f6b4f; }
.nx-thriller { --accent: #b3121b; }
.nx-dark { --accent: #8a1e3f; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.nx { margin: 0; background: var(--paper); color: var(--ink); font: 20px/34px var(--sans); -webkit-font-smoothing: antialiased; }
.nx img { max-width: 100%; display: block; }
.nx-wrap { width: min(680px, 100% - 32px); margin: 0 auto; }

/* Kopf */
.nx-head { border-bottom: 3px double var(--ink); padding: 14px 0 10px; }
.nx-head .nx-wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.nx-brand { font: 700 22px/1 var(--serif); letter-spacing: .2em; color: var(--ink); text-decoration: none; }
.nx-brand span { font: 500 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.nx-ad { font: 500 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Artikelkopf */
.nx-article { padding: 26px 0 40px; }
.nx-kicker { font: 700 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.nx h1 { font: 700 clamp(28px, 6vw, 38px)/1.25 var(--serif); margin: 0 0 18px; text-wrap: balance; }
.nx-teaser { font-weight: 700; font-size: 20px; line-height: 30px; margin: 0 0 18px; }
.nx-meta { display: flex; flex-direction: column; gap: 2px; font: 13px/1.5 var(--sans); color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.nx-meta span:first-child { color: var(--ink); font-weight: 600; }

/* Ein Textstil */
.nx-article p { margin: 0 0 30px; }
.nx-article strong { font-weight: 700; }
.nx-article h2 { font: 700 28px/36px var(--serif); margin: 50px 0 30px; text-wrap: balance; }
.nx-article a { color: var(--accent); font-weight: 700; }
.nx-article a.nx-src { color: var(--muted); font-weight: 400; font-size: 15px; }
.nx figure { margin: 0 0 30px; }
.nx figure img { width: 100%; }
.nx-hero img { aspect-ratio: 4/3; object-fit: cover; object-position: 50% 30%; }
.nx figcaption { font: 14px/1.45 var(--sans); color: var(--muted); margin-top: 8px; }
.nx-small { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: -14px !important; }

/* Button */
.nx-cta { margin: 10px 0 30px !important; }
.nx-btn { display: block; text-align: center; background: var(--accent); color: var(--accent-ink) !important; font: 700 19px var(--sans); text-decoration: none; padding: 16px 22px; border-radius: 6px; }
.nx-btn:hover { filter: brightness(1.08); }
.nx a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Fuß */
.nx-foot { border-top: 1px solid var(--line); padding: 26px 0 90px; font: 13px/1.6 var(--sans); color: var(--muted); }
.nx-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; }
.nx-foot a { color: var(--muted); }
.nx-foot .g-disclaimer p { font-size: 12px; opacity: .85; }

/* Button unten am Handy */
.nx-sticky { display: none; }
@media (max-width: 760px) {
  .nx-sticky { display: block; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); transition: transform .3s ease; }
  .nx-sticky.is-hidden { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { .nx-sticky { transition: none; } }

/* Bildunterschriften gut lesbar (User 27.10.: „zu klein“) */
.nx figcaption { font-size: 16px !important; line-height: 1.5 !important; color: #444 !important; margin-top: 10px; }

/* Bewertungen in Trustpilot-Optik (User 27.10.: als Fließtext „sieht fake aus“); einziger Kartenstil der Seite */
.nx-tp-head { font: 600 15px var(--sans); color: var(--muted); margin: -10px 0 18px; }
.nx-tp-logo { color: #00b67a; font-weight: 700; margin-right: 6px; }
.nx-tp { border: 1px solid #dcdce6; border-radius: 8px; padding: 18px 18px 14px; margin: 0 0 18px; background: #fff; font-family: var(--sans); }
.nx-tp-who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.nx-tp-ava { width: 36px; height: 36px; border-radius: 50%; background: #e8e6f0; color: #555; display: grid; place-items: center; font: 600 13px var(--sans); }
.nx-tp-who span:last-child { display: grid; line-height: 1.3; }
.nx-tp-who strong { font-size: 15px; }
.nx-tp-who small { font-size: 13px; color: var(--muted); }
.nx-tp-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.nx-tp-stars i { width: 22px; height: 22px; background: #00b67a; color: #fff; font: normal 15px/22px sans-serif; text-align: center; }
.nx-tp-title { display: block; font-size: 17px; line-height: 1.4; margin-bottom: 4px; }
.nx-tp p { font-size: 16px !important; line-height: 1.55 !important; margin: 0 0 10px !important; color: #222; }
.nx-tp a { font-size: 14px; font-weight: 600 !important; color: #555 !important; }

/* „Datenschutzeinstellungen“-Knopf, den tracking.js an den Fuß hängt, hier ausgeblendet (User 27.10.) */
.nx .privacy-settings { display: none !important; }

/* Genre-Auswahl auf der genre-übergreifenden Seite (die-revolution-des-buches): vier Buttons untereinander */
.nx-general { --accent: #6b2d5c; }
.nx-genres { display: grid; gap: 12px; margin: 0 0 30px; }
.nx-genres .nx-btn span { font-weight: 400; font-size: 15px; opacity: .85; margin-left: 4px; }
.nx-genres a:nth-child(1) { background: #c2185b; }
.nx-genres a:nth-child(2) { background: #2f6b4f; }
.nx-genres a:nth-child(3) { background: #b3121b; }
.nx-genres a:nth-child(4) { background: #8a1e3f; }
.nx-self { --accent: #6b2d5c; }
