/* Shared article typography. wordpress.py scopes this same source to the WP editor.
   Donor navigation/footer and the independently styled affiliate widget are excluded. */
:is(#dr-editor-content, .dr-article) {
  --dr-article-ink: #26313b;
  --dr-article-muted: #53616e;
  --dr-article-link: #175f8e;
  --dr-article-border: #d9e1e7;
  box-sizing: border-box;
  display: flow-root;
  width: 100%;
  max-width: 820px;
  min-width: 0;
  margin-inline: auto;
  color: var(--dr-article-ink);
  font: 400 17px/1.75 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
:is(#dr-editor-content, .dr-article) :where(p, h1, h2, h3, h4, h5, h6, ul, ol, li, blockquote, figure, table, pre, dl, details):not(:where(.dr-casino-table *, .dr-widget-error)) {
  box-sizing: border-box;
  float: none;
  position: static;
  min-width: 0;
  max-width: 100%;
  height: auto;
  white-space: normal;
}
:is(#dr-editor-content, .dr-article) :where(p, li, dt, dd):not(:where(.dr-casino-table *, .dr-widget-error)) {
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
}
:is(#dr-editor-content, .dr-article) :where(p):not(:where(.dr-casino-table *, .dr-widget-error)) { margin: 0 0 1.1em; padding: 0; }
:is(#dr-editor-content, .dr-article) :where(h1, h2, h3, h4, h5, h6):not(:where(.dr-casino-table *)) {
  display: block;
  width: auto;
  padding: 0;
  margin: 1.7em 0 .65em;
  color: var(--dr-article-ink);
  font-family: inherit;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
  text-transform: none;
  overflow: visible;
  overflow-wrap: anywhere;
  scroll-margin-block-start: 90px;
}
:is(#dr-editor-content, .dr-article) :where(h1):not(:where(.dr-casino-table *)) { font-size: clamp(28px, 4vw, 40px); margin-top: 0; }
:is(#dr-editor-content, .dr-article) :where(h2):not(:where(.dr-casino-table *)) { font-size: clamp(24px, 3vw, 30px); }
:is(#dr-editor-content, .dr-article) :where(h3):not(:where(.dr-casino-table *)) { font-size: clamp(21px, 2.5vw, 24px); }
:is(#dr-editor-content, .dr-article) :where(h4, h5, h6):not(:where(.dr-casino-table *)) { font-size: 19px; }
:is(#dr-editor-content, .dr-article) :where(ul, ol):not(:where(.dr-casino-table *)) {
  display: block;
  width: auto;
  margin: .65em 0 1.35em;
  padding: 0 0 0 1.65em;
  padding-inline: 1.65em 0;
  font: inherit;
  list-style-position: outside;
  background: none;
}
:is(#dr-editor-content, .dr-article) :where(ul):not(:where(.dr-casino-table *)) { list-style-type: disc; }
:is(#dr-editor-content, .dr-article) :where(ol):not(:where(.dr-casino-table *)) { list-style-type: decimal; }
:is(#dr-editor-content, .dr-article) :where(ol[type="a"]):not(:where(.dr-casino-table *)) { list-style-type: lower-alpha; }
:is(#dr-editor-content, .dr-article) :where(ol[type="A"]):not(:where(.dr-casino-table *)) { list-style-type: upper-alpha; }
:is(#dr-editor-content, .dr-article) :where(ol[type="i"]):not(:where(.dr-casino-table *)) { list-style-type: lower-roman; }
:is(#dr-editor-content, .dr-article) :where(ol[type="I"]):not(:where(.dr-casino-table *)) { list-style-type: upper-roman; }
:is(#dr-editor-content, .dr-article) :where(li):not(:where(.dr-casino-table *)) {
  display: list-item;
  width: auto;
  margin: .45em 0;
  padding: 0;
  list-style: inherit;
  background: none;
}
:is(#dr-editor-content, .dr-article) :where(li):not(:where(.dr-casino-table *))::marker { color: var(--dr-article-muted); }
:is(#dr-editor-content, .dr-article) :where(li):not(:where(.dr-casino-table *))::before { content: none; }
:is(#dr-editor-content, .dr-article) :where(li > ul, li > ol):not(:where(.dr-casino-table *)) { margin-block: .5em; }
:is(#dr-editor-content, .dr-article) :where(li > ul):not(:where(.dr-casino-table *)) { list-style-type: circle; }
:is(#dr-editor-content, .dr-article) :where(li > p):not(:where(.dr-casino-table *)) { margin-bottom: .5em; }
:is(#dr-editor-content, .dr-article) :where(a[href]):not(:where(.dr-casino-table *, .wp-block-button__link)) {
  color: var(--dr-article-link);
  text-decoration: underline;
  text-underline-offset: .16em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
:is(#dr-editor-content, .dr-article) :where(a, summary, [tabindex]):focus-visible { outline: 2px solid var(--dr-article-link); outline-offset: 4px; }
:is(#dr-editor-content, .dr-article) :where(strong, b):not(:where(.dr-casino-table *)) { font-weight: 700; }
:is(#dr-editor-content, .dr-article) :where(em, i):not(:where(.dr-casino-table *)) { font-style: italic; }
:is(#dr-editor-content, .dr-article) :where(blockquote):not(:where(.dr-casino-table *)) {
  margin: 1.5em 0;
  padding: 1em 1.25em;
  border: 0;
  border-inline-start: 4px solid var(--dr-article-link);
  background: #f3f7fa;
  font: inherit;
}
:is(#dr-editor-content, .dr-article) :where(blockquote p:last-child) { margin-bottom: 0; }
:is(#dr-editor-content, .dr-article) :where(cite, figcaption, caption):not(:where(.dr-casino-table *)) { color: var(--dr-article-muted); font-size: .88em; line-height: 1.5; }
:is(#dr-editor-content, .dr-article) :where(figure):not(:where(.dr-casino-table *)) { margin: 1.5em 0; }
:is(#dr-editor-content, .dr-article) :where(img, video, iframe):not(:where(.dr-casino-table *)) { box-sizing: border-box; max-width: 100%; }
:is(#dr-editor-content, .dr-article) :where(img, video):not(:where(.dr-casino-table *)) { height: auto; }
:is(#dr-editor-content, .dr-article) :where(.alignleft, .alignright, .alignwide, .alignfull):not(:where(.dr-casino-table *)) { max-width: 100%; margin-inline: 0; float: none; }
:is(#dr-editor-content, .dr-article) :where(table):not(:where(.dr-casino-table *)) {
  display: table;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
  color: var(--dr-article-ink);
}
:is(#dr-editor-content, .dr-article) :where(th, td):not(:where(.dr-casino-table *)) { padding: 12px 14px; border: 1px solid var(--dr-article-border); vertical-align: top; text-align: start; overflow-wrap: anywhere; }
:is(#dr-editor-content, .dr-article) :where(th):not(:where(.dr-casino-table *)) { background: #eef3f6; font-weight: 700; }
:is(#dr-editor-content, .dr-article) :where(tbody tr:nth-child(even)):not(:where(.dr-casino-table *)) { background: #f8fafb; }
:is(#dr-editor-content, .dr-article) :where(.dr-article-table) { width: 100%; max-width: 100%; margin: 1.5em 0; overflow-x: auto; overscroll-behavior-inline: contain; border-radius: 6px; }
:is(#dr-editor-content, .dr-article) :where(.dr-article-table > table[data-dr-wide]) { min-width: 620px; }
:is(#dr-editor-content, .dr-article) :where(pre):not(:where(.dr-casino-table *)) { padding: 1em; margin: 1.5em 0; overflow: auto; white-space: pre; background: #f3f5f7; border-radius: 6px; font-size: .88em; }
:is(#dr-editor-content, .dr-article) :where(code, kbd):not(:where(.dr-casino-table *)) { font-family: ui-monospace, monospace; font-size: .9em; }
:is(#dr-editor-content, .dr-article) :where(hr) { margin: 2em 0; border: 0; border-top: 1px solid var(--dr-article-border); }
:is(#dr-editor-content, .dr-article) :where(dl) { margin: 1.25em 0; }
:is(#dr-editor-content, .dr-article) :where(dt) { font-weight: 700; margin-top: 1em; }
:is(#dr-editor-content, .dr-article) :where(dd) { margin: .35em 0 1em 1.25em; }
:is(#dr-editor-content, .dr-article) :where(details) { margin: 1em 0; padding: 1em 1.2em; border: 1px solid var(--dr-article-border); border-radius: 8px; background: #f8fafb; }
:is(#dr-editor-content, .dr-article) :where(summary) { display: list-item; padding: .25em 0; cursor: pointer; font-weight: 650; line-height: 1.5; }
:is(#dr-editor-content, .dr-article) :where(.dr-article-toc nav) { position: static; width: auto; padding: 0; background: transparent; }
:is(#dr-editor-content, .dr-article) :where(.dr-article-toc ol) { margin-bottom: 0; }
:is(#dr-editor-content, .dr-article) :where(.dr-article-toc a) { display: inline; padding: 3px 0; font: inherit; white-space: normal; }
:is(#dr-editor-content, .dr-article) > :first-child { margin-top: 0; }
:is(#dr-editor-content, .dr-article) > :last-child { margin-bottom: 0; }
.dr-casino-content > h1.dr-article-title { box-sizing: border-box; max-width: 820px; margin: 0 auto 28px; padding: 0; font: 700 clamp(28px, 4vw, 40px)/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color: #26313b; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  :is(#dr-editor-content, .dr-article) { font-size: 16px; line-height: 1.7; }
  :is(#dr-editor-content, .dr-article) :where(th, td):not(:where(.dr-casino-table *)) { padding: 10px 12px; }
  :is(#dr-editor-content, .dr-article) :where(blockquote):not(:where(.dr-casino-table *)) { padding: .85em 1em; }
}
