/*
 * Tekstindhold fra editoren (.content-section) på landingssider, udbydersider, internet og streaming.
 * Indlæses via nytab_content_typography_assets() i nytab-widgets.php.
 * Selektorerne starter med .entry-content, så de vinder over Customizer-CSS'en (som indlæses efter).
 */

:root{--nytab-measure:780px}

/* Læsbar linjelængde: tekst-elementerne holdes på ~70-80 tegn, venstrestillet i sidens grid. */
.entry-content .content-section > p,
.entry-content .content-section > h2,
.entry-content .content-section > h3,
.entry-content .content-section > h4,
.entry-content .content-section > ul,
.entry-content .content-section > ol,
.entry-content .content-section > blockquote{max-width:var(--nytab-measure)}

/* Samme linjeafstand i lister som i afsnit (Customizer giver .content-section 32px). */
.entry-content .content-section{line-height:26px}
.entry-content .content-section p{line-height:26px;margin:0 0 16px}
.entry-content .content-section li{line-height:26px;margin:0 0 8px}
.entry-content .content-section li:last-child{margin-bottom:0}
#content .content-section ul li{padding-top:0} /* Customizer giver 4px ekstra over hvert punkt */
.entry-content .content-section > ul,
.entry-content .content-section > ol{margin:0 0 20px}

/* Fed tekst i lister: mørk i stedet for orange – roligere at læse. */
.entry-content .content-section li strong{color:var(--headingsColor,#252424)}

/* Overskrifter */
.entry-content .content-section h2{margin:48px 0 12px;line-height:32px}
.entry-content .content-section > h2:first-child{margin-top:0}
.entry-content .content-section h3{font-size:19px;line-height:28px;margin:32px 0 8px}

/* Mellemrubrikker skrevet som <p><strong>…</strong></p> (klassen sættes af nytab_content_subheads()). */
.entry-content .content-section p.nytab-subhead{font-size:19px;line-height:28px;font-weight:var(--bold,700);color:var(--headingsColor,#252424);margin:32px 0 8px}
.entry-content .content-section p.nytab-subhead strong,
.entry-content .content-section p.nytab-subhead b{color:inherit}

@media (max-width:600px){
  .entry-content .content-section h2{line-height:28px;margin-top:40px}
  .entry-content .content-section h3,
  .entry-content .content-section p.nytab-subhead{font-size:18px;line-height:26px;margin-top:28px}
}
