/* Every rule is scoped to the digest. Load in both the site and block editor. */
.rke-editorial-v2.rke-daily {
  --rke-ink: #182d37;
  --rke-muted: #566b75;
  --rke-paper: #fffdf7;
  --rke-line: #d4ddd9;
  --rke-accent: #146b69;
  box-sizing: border-box;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(20px, 5vw, 64px);
  background: var(--rke-paper);
  color: var(--rke-ink);
  font: 1rem/1.75 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
.rke-editorial-v2.rke-daily *, .rke-editorial-v2.rke-daily *::before,
.rke-editorial-v2.rke-daily *::after { box-sizing: border-box; }
.rke-editorial-v2.rke-daily :where(p, h2, h3, figure, .wp-block-group) {
  margin-block: 0;
}
.rke-editorial-v2.rke-daily :where(h2, h3) { color: inherit; }
.rke-editorial-v2.rke-daily a { color: var(--rke-accent); text-underline-offset: .2em; }
.rke-editorial-v2.rke-daily a:hover { text-decoration-thickness: 2px; }
.rke-editorial-v2.rke-daily a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.rke-editorial-v2.rke-daily .rke-header { border-top: 4px solid var(--rke-ink); padding-block: 24px 28px; }
.rke-editorial-v2.rke-daily :where(.rke-brand, .rke-story-topic, .rke-analysis-title, .rke-source-title) {
  font: 700 .72rem/1.5 system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rke-editorial-v2.rke-daily .rke-brand { color: var(--rke-accent); margin-bottom: 20px; }
.rke-editorial-v2.rke-daily .rke-edition-title {
  max-width: 19ch;
  font: 700 clamp(2rem, 5.2vw, 3.8rem)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}
.rke-editorial-v2.rke-daily .rke-edition-meta { font-size: .85rem; color: var(--rke-muted); }
.rke-editorial-v2.rke-daily .rke-cover { margin-bottom: 30px; }
.rke-editorial-v2.rke-daily .rke-cover figure { margin: 0; }
.rke-editorial-v2.rke-daily .rke-cover img { display: block; width: 100%; max-width: 100%; height: auto; }
.rke-editorial-v2.rke-daily .rke-introduction { max-width: 65ch; color: var(--rke-muted); margin-bottom: 42px; }
.rke-editorial-v2.rke-daily .rke-story {
  --rke-topic: var(--rke-accent);
  border-top: 1px solid var(--rke-line);
  padding-block: 30px 42px;
}
.rke-editorial-v2.rke-daily .rke-story--astronomy { --rke-topic: #405a99; }
.rke-editorial-v2.rke-daily .rke-story--ai { --rke-topic: #72558a; }
.rke-editorial-v2.rke-daily .rke-story--technology { --rke-topic: #146b69; }
.rke-editorial-v2.rke-daily .rke-story--biotech { --rke-topic: #776124; }
.rke-editorial-v2.rke-daily .rke-story--life-science { --rke-topic: #426b40; }
.rke-editorial-v2.rke-daily .rke-story-kicker { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.rke-editorial-v2.rke-daily .rke-story-topic { color: var(--rke-topic); }
.rke-editorial-v2.rke-daily .rke-story-number { font: 400 3.4rem/1 Georgia, serif; color: var(--rke-topic); font-variant-numeric: tabular-nums; }
.rke-editorial-v2.rke-daily .rke-story-title { max-width: 27ch; font: 700 clamp(1.7rem, 3.6vw, 2.6rem)/1.18 Georgia, serif; letter-spacing: -.02em; margin-bottom: 20px; }
.rke-editorial-v2.rke-daily .rke-story-deck { max-width: 65ch; font: 400 1.18rem/1.6 Georgia, serif; margin-bottom: 18px; }
.rke-editorial-v2.rke-daily .rke-story-image { margin: 28px 0; }
.rke-editorial-v2.rke-daily .rke-story-image img { display: block; width: 100%; height: auto; border-radius: 8px; }
.rke-editorial-v2.rke-daily .rke-story-image .wp-element-caption { max-width: 72ch; margin: 9px auto 0; color: #596575; font: 400 .9rem/1.5 system-ui, sans-serif; }
.rke-editorial-v2.rke-daily .rke-story-body { max-width: 70ch; margin-bottom: 24px; }
.rke-editorial-v2.rke-daily .rke-analysis { border-left: 3px solid var(--rke-topic); background: #eef3ef; padding: 20px; margin-block: 24px; }
.rke-editorial-v2.rke-daily .rke-analysis-title { color: var(--rke-topic); margin-bottom: 10px; }
.rke-editorial-v2.rke-daily .rke-analysis-body { max-width: 70ch; font-size: .95rem; }
.rke-editorial-v2.rke-daily .rke-source { color: var(--rke-muted); font-size: .85rem; }
.rke-editorial-v2.rke-daily .rke-source-title { margin-bottom: 6px; }
.rke-editorial-v2.rke-daily .rke-signal { background: var(--rke-ink); color: #fffdf7; padding: clamp(24px, 4vw, 40px); margin-block: 16px 32px; }
.rke-editorial-v2.rke-daily .rke-signal-title { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.2 Georgia, serif; letter-spacing: .03em; margin-bottom: 18px; }
.rke-editorial-v2.rke-daily .rke-signal-body { max-width: 70ch; }
.rke-editorial-v2.rke-daily .rke-footer { border-top: 1px solid var(--rke-line); padding-top: 20px; font-size: .8rem; color: var(--rke-muted); }
@media (min-width: 768px) {
  .rke-editorial-v2.rke-daily .rke-story { padding-block: 40px 56px; }
  .rke-editorial-v2.rke-daily .rke-story-number { font-size: 4.6rem; }
  .rke-editorial-v2.rke-daily .rke-analysis { padding: 26px 30px; }
}
/* Let an RKE edition use its intended width inside a narrower theme column. */
.entry-content:has(> .rke-editorial-v2.rke-daily) { max-width: 1040px; width: 100%; }
.rke-editorial-v2.rke-daily .rke-analysis-body + .rke-analysis-body,
.rke-editorial-v2.rke-daily .rke-signal-body + .rke-signal-body { margin-top: 16px; }
.rke-editorial-v2.rke-daily .rke-introduction + .rke-introduction { margin-top: -24px; }

/* Gutenberg adds an inner Group wrapper absent from the static preview. */
.rke-editorial-v2.rke-daily .wp-block-group__inner-container { display: contents; }
