/*
 * NovaEins original editorial layout – only published posts 961403/961404/961405.
 * Uses the existing site fonts: Google Sans for headings, Manrope for body text.
 * Native logo/menu/footer, source text, URLs and Rank Math settings stay unchanged.
 */

/* The default Essentials article template was far too wide and exposed demo widgets. */
body.nx-ratgeber-view .site-content .content-area.pix-post-area {
  max-width:850px;
  margin-left:auto;
  margin-right:auto;
  color:rgba(0,0,0,.74);
}
body.nx-ratgeber-view .site-content .pix-post-meta-box {display:none!important;}
body.nx-ratgeber-view .site-content .pix-post-area .entry-header {display:none!important;}
body.nx-ratgeber-view #pix-entry-content {
  font-family:Manrope,Arial,Helvetica,sans-serif!important;
  font-size:16px;
  font-weight:500;
  line-height:1.82;
  color:rgba(0,0,0,.73);
  max-width:850px;
  margin-top:18px!important;
}
body.nx-ratgeber-view #pix-entry-content p,
body.nx-ratgeber-view #pix-entry-content li {
  font-family:inherit;
  font-size:inherit;
  font-weight:500;
  line-height:inherit;
}
body.nx-ratgeber-view #pix-entry-content p {margin-bottom:20px;}
body.nx-ratgeber-view #pix-entry-content > p.nx-ratgeber-lead {
  font-family:Manrope,Arial,Helvetica,sans-serif;
  font-size:19px;
  line-height:1.7;
  font-weight:600;
  color:#151515;
  margin:0 0 22px;
}
body.nx-ratgeber-view #pix-entry-content h2,
body.nx-ratgeber-view #pix-entry-content h3,
body.nx-ratgeber-view #pix-entry-content h4 {
  font-family:"Google Sans",Arial,Helvetica,sans-serif!important;
  font-weight:600!important;
  letter-spacing:-.025em!important;
  color:#000!important;
}
body.nx-ratgeber-view #pix-entry-content h2 {
  font-size:30px!important;
  line-height:1.28!important;
  margin:53px 0 18px!important;
}
body.nx-ratgeber-view #pix-entry-content h3 {
  font-size:22px!important;
  line-height:1.4!important;
  margin:34px 0 14px!important;
}
body.nx-ratgeber-view #pix-entry-content h4 {
  font-size:19px!important;
  line-height:1.4!important;
  margin:28px 0 12px!important;
}
body.nx-ratgeber-view #pix-entry-content h2[id] {
  scroll-margin-top:125px;
}
body.nx-ratgeber-view #pix-entry-content a {
  color:#161616;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:rgba(0,0,0,.34);
}
body.nx-ratgeber-view #pix-entry-content a:hover {
  text-decoration-color:#000;
}

/* A real figure instead of the former 1147 × 860 px full-width image. */
body.nx-ratgeber-view #pix-entry-content > figure.wp-block-image {
  display:block;
  max-width:480px;
  width:100%;
  margin:32px auto 45px!important;
  padding:12px;
  background:#f7f7f8;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  overflow:hidden;
}
body.nx-ratgeber-view #pix-entry-content > figure.wp-block-image img {
  width:100%;
  height:auto!important;
  max-height:340px;
  object-fit:contain;
  border-radius:9px;
}
body.nx-ratgeber-view #pix-entry-content .nx-article-toc {
  display:block;
  margin:0 0 40px!important;
  padding:28px 32px!important;
  background:#f7f7f8!important;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  color:#111;
}
body.nx-ratgeber-view #pix-entry-content .nx-article-toc h2 {
  font-size:23px!important;
  line-height:1.35!important;
  margin:0 0 17px!important;
}
body.nx-ratgeber-view #pix-entry-content .nx-article-toc ol {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:24px;
  row-gap:11px;
  padding:0!important;
  margin:0!important;
  list-style:none!important;
}
body.nx-ratgeber-view #pix-entry-content .nx-article-toc li {
  list-style:none!important;
  margin:0!important;
  font-size:14px;
  line-height:1.55;
  font-weight:500;
}
body.nx-ratgeber-view #pix-entry-content .nx-article-toc a {
  text-decoration:none;
  color:rgba(0,0,0,.76);
}
body.nx-ratgeber-view #pix-entry-content .nx-article-toc a:hover,
body.nx-ratgeber-view #pix-entry-content .nx-article-toc a:focus-visible {
  text-decoration:underline;
  text-underline-offset:3px;
  color:#000;
}

/* Editorial tables, not unstyled Word-style cell grids. */
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table {
  max-width:100%;
  width:100%;
  display:block;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin:26px 0 32px!important;
  border:1px solid rgba(0,0,0,.1);
  border-radius:12px;
}
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table table {
  width:100%;
  min-width:510px;
  border-collapse:collapse!important;
  margin:0!important;
  border:0!important;
  font-family:Manrope,Arial,Helvetica,sans-serif;
  font-size:14px;
  line-height:1.68;
}
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table th,
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table td {
  padding:15px!important;
  border:0!important;
  border-right:1px solid rgba(0,0,0,.075)!important;
  border-bottom:1px solid rgba(0,0,0,.075)!important;
  vertical-align:top;
  font-weight:500;
  color:rgba(0,0,0,.75);
  text-align:left;
}
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table th {
  background:#f7f7f8;
  font-weight:600;
  color:#101010;
}
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table tr>:last-child {border-right:0!important;}
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table tbody tr:last-child>* {border-bottom:0!important;}
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table tbody tr:nth-child(even) {background:rgba(0,0,0,.014);}
body.nx-ratgeber-view #pix-entry-content .wp-block-separator {
  max-width:64px;
  width:64px;
  height:2px;
  background:rgba(0,0,0,.15);
  border:0;
  margin:48px auto 28px;
}
body.nx-ratgeber-view #pix-entry-content strong {font-weight:600;color:#111;}
body.nx-ratgeber-view #pix-entry-content ul,
body.nx-ratgeber-view #pix-entry-content ol {margin-bottom:22px;}

/* Native site typography, no extra fonts. */
@media(max-width:767px){
 body.nx-ratgeber-view .site-content .content-area.pix-post-area {max-width:100%;}
 body.nx-ratgeber-view #pix-entry-content {font-size:15px;line-height:1.82;}
 body.nx-ratgeber-view #pix-entry-content > p.nx-ratgeber-lead {font-size:17px;line-height:1.65;}
 body.nx-ratgeber-view #pix-entry-content h2 {font-size:25px!important;margin:42px 0 15px!important;}
 body.nx-ratgeber-view #pix-entry-content h3 {font-size:20px!important;margin:28px 0 12px!important;}
 body.nx-ratgeber-view #pix-entry-content h2[id] {scroll-margin-top:78px;}
 body.nx-ratgeber-view #pix-entry-content > figure.wp-block-image {max-width:100%;padding:10px;margin:26px auto 32px!important;}
 body.nx-ratgeber-view #pix-entry-content > figure.wp-block-image img {max-height:230px;}
 body.nx-ratgeber-view #pix-entry-content .nx-article-toc {padding:22px 20px!important;margin-bottom:30px!important;}
 body.nx-ratgeber-view #pix-entry-content .nx-article-toc h2 {font-size:21px!important;}
 body.nx-ratgeber-view #pix-entry-content .nx-article-toc ol {grid-template-columns:1fr;row-gap:9px;}
 body.nx-ratgeber-view #pix-entry-content .nx-article-toc li {font-size:13px;}
 body.nx-ratgeber-view #pix-entry-content figure.wp-block-table th,
 body.nx-ratgeber-view #pix-entry-content figure.wp-block-table td {padding:11px!important;font-size:13px;}
}

/* Keep the original table size and a restrained header rule. */
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table thead {
  border-bottom:1px solid rgba(0,0,0,.1)!important;
}
body.nx-ratgeber-view #pix-entry-content figure.wp-block-table tr:first-child th {
  border-bottom:1px solid rgba(0,0,0,.1)!important;
}
