/* Plain reference prose only. The landing page, chronology, navigation,
 * opening sections, profiles, cards, buttons and captions keep their own design.
 */
:is(body.kf-reference-reading, .kf-reference-design-sample) {
  --kf-reference-font: var(--wp--preset--font-family--serif);
  --kf-reference-body-size: 1rem;
  --kf-reference-line-height: 2;
  --kf-reference-letter-spacing: 0.02em;
  --kf-reference-link: #1769aa;
  --kf-reference-link-hover: #0f4f86;
  --kf-reference-h4-marker-space: 0px;
  --kf-reference-h4-marker-display: none;
}

:is(body.kf-reference-reading, .kf-reference-design-sample) :is(.entry-content, .kf-reference-person-content, .kf-reference-form-content) > p:not(.kf-reference-person-role),
:is(body.kf-reference-reading, .kf-reference-design-sample) :is(.entry-content, .kf-reference-person-content, .kf-reference-form-content) > :is(ul, ol) > li,
body.kf-reference-reading .entry-content .kf-reference-form-content .swell-block-column > p {
  font-family: var(--kf-reference-font);
  font-size: var(--kf-reference-body-size);
  line-height: var(--kf-reference-line-height);
  letter-spacing: var(--kf-reference-letter-spacing);
}

:is(body.kf-reference-reading, .kf-reference-design-sample) :is(.entry-content, .kf-reference-person-content, .kf-reference-form-content) > :is(p, ul, ol) a:not(:has(img)) {
  color: var(--kf-reference-link) !important;
  text-decoration: underline !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:is(body.kf-reference-reading, .kf-reference-design-sample) :is(.entry-content, .kf-reference-person-content, .kf-reference-form-content) > :is(p, ul, ol) a:not(:has(img)) :is(span, strong, b) {
  color: inherit;
}

:is(body.kf-reference-reading, .kf-reference-design-sample) :is(.entry-content, .kf-reference-person-content, .kf-reference-form-content) > :is(p, ul, ol) a:not(:has(img)):is(:hover, :focus-visible) {
  color: var(--kf-reference-link-hover) !important;
}
