/* One readable body scale for Articles, News and Interviews.
 * Desktop density applies the existing 80% scale to these values as well.
 */
body:not(.wp-admin) .layout .story__body {
  --clvl-story-reading-size: 20px;
  --clvl-story-quote-size: 22px;
  font-size: var(--clvl-story-reading-size);
  line-height: 1.65;
}

body:not(.wp-admin) .layout .story__body :is(p, ul, ol, li, table, td, th) {
  font-size: inherit;
  line-height: inherit;
}

/* Old pasted copy may still carry smaller inline or WordPress preset sizes. */
body:not(.wp-admin) .layout .story__body :is(p, ul, ol, li, td, th):is([style*="font-size"], [class*="-font-size"]),
body:not(.wp-admin) .layout .story__body :is(p, li, td, th) :is(span, strong, b, em, i, a):is([style*="font-size"], [class*="-font-size"]) {
  font-size: inherit !important;
}

body:not(.wp-admin) .layout .story__body blockquote {
  margin: 28px 0;
  padding: 2px 0 2px 20px;
  border: 0;
  border-left: 3px solid var(--v2-blue);
  border-radius: 0;
  background: transparent;
  color: var(--v2-ink);
  font: 400 var(--clvl-story-quote-size)/1.6 var(--v2-font);
  letter-spacing: normal;
}

body:not(.wp-admin) .layout .story__body blockquote:is([style*="font-size"], [class*="-font-size"]) {
  font-size: var(--clvl-story-quote-size) !important;
}

body:not(.wp-admin) .layout .story__body blockquote p {
  text-align: left;
  margin-bottom: 0;
}

body:not(.wp-admin) .layout .story__body blockquote p + p {
  margin-top: 1em;
}

body:not(.wp-admin) .layout .story__body blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--v2-muted);
  font-size: .85em;
  line-height: 1.5;
}

/* Previously saved repeated Quote selections retain their content but only
 * the outer quote has a rule and spacing; there are no stacked blue lines.
 */
body:not(.wp-admin) .layout .story__body blockquote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: inherit !important;
}

body:not(.wp-admin) .layout .story__body ul > li::before {
  top: calc(.825em + 6px);
}

@media (max-width: 768px) {
  body:not(.wp-admin) .layout .story__body {
    --clvl-story-reading-size: 18px;
    --clvl-story-quote-size: 18px;
  }

  body:not(.wp-admin) .layout .story__body blockquote {
    margin: 24px 0;
    padding-left: 16px;
  }

  body:not(.wp-admin) .layout .story__body blockquote blockquote {
    margin: 0;
    padding: 0;
  }
}
