/* Cinematic posts index and reading pages; homepage rules remain in marketing.css. */
body.rc-editorial-page { padding: 0; background: #070b16; }
.rc-marketing.rc-editorial {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #070b1640, #070b1670 350px, #070b16 735px), url('theater-backdrop.webp') center top / auto 735px no-repeat, var(--rc-ink);
}
.rc-editorial .rc-nav [aria-current] { color: var(--rc-gold); text-decoration: underline; text-underline-offset: 8px; }
.rc-editorial .rc-articles { width: min(960px, calc(100% - 112px)); padding-block: 0 80px; }
.rc-editorial .rc-article-heading { padding-block: clamp(48px, 8vw, 104px) 48px; max-width: 800px; }
.rc-editorial .rc-article-heading h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; text-shadow: 0 2px 18px #070b16; }
.rc-editorial .rc-article-heading > p,
.rc-editorial .rc-agent-intro p { max-width: 640px; margin-top: 24px; color: var(--rc-muted); font-size: clamp(18px, 2vw, 21px); }
.rc-editorial .rc-article-date { margin-top: 16px; color: var(--rc-muted); font-size: 14px; }
.rc-editorial .rc-article-list { display: grid; gap: 24px; list-style: none; padding: 0; }
.rc-editorial .rc-article-list > li,
.rc-editorial .rc-articles-empty,
.rc-editorial .rc-reading-panel { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--rc-line); border-radius: 16px; background: #0b0e1bee; box-shadow: 0 12px 40px #0002; }
.rc-editorial .rc-article-list .wp-block-post-title { font-size: clamp(27px, 3vw, 36px); line-height: 1.2; }
.rc-editorial .wp-block-post-excerpt { margin-top: 20px; color: var(--rc-muted); font-size: 17px; }
.rc-editorial .wp-block-post-excerpt__more-text { margin-top: 24px; }
.rc-editorial .wp-block-post-excerpt__more-link,
.rc-editorial .rc-articles-nav a { color: var(--rc-gold); text-decoration: underline; text-underline-offset: 5px; }
.rc-editorial .wp-block-query-pagination { margin-top: 32px; gap: 12px; font-size: 16px; }
.rc-editorial .wp-block-query-pagination a,
.rc-editorial .wp-block-query-pagination .current { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 4px 10px; border-radius: 8px; }
.rc-editorial .wp-block-query-pagination .current { color: var(--rc-ink); background: var(--rc-gold); }
.rc-editorial .wp-block-query-pagination a:hover { background: #f2c28b12; }
.rc-editorial .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.rc-editorial .rc-articles-empty { color: var(--rc-muted); }
.rc-editorial .rc-article-content,
.rc-editorial .rc-reading-panel > .rc-articles-nav { max-width: 720px; margin-inline: auto; }
.rc-editorial .rc-article-content { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
/* Restore editorial spacing after the marketing layout's block-margin reset. */
.rc-editorial .rc-article-content :where(p, ul, ol, figure, blockquote, pre, .wp-block-group) { margin-block: 0 1.5em; }
.rc-editorial .rc-article-content :where(h2, h3, h4, h5, h6) { margin-block: 1.5em .65em; line-height: 1.25; }
.rc-editorial .rc-article-content h2 { font-size: clamp(28px, 3vw, 36px); }
.rc-editorial .rc-article-content h3 { font-size: clamp(23px, 2.5vw, 28px); }
.rc-editorial .rc-article-content :where(ul, ol) { padding-inline-start: 1.5em; }
.rc-editorial .rc-article-content li + li { margin-top: .5em; }
.rc-editorial .rc-article-content li > :last-child { margin-bottom: 0; }
.rc-editorial .rc-article-content a { color: var(--rc-gold); text-decoration: underline; }
.rc-editorial .rc-article-content a:hover,
.rc-editorial .rc-articles-nav a:hover { color: var(--rc-paper); }
.rc-editorial .rc-article-content em { color: inherit; }
.rc-editorial .rc-article-content img { max-width: 100%; height: auto; }
.rc-editorial .rc-article-content :where(.alignwide, .alignfull) { max-width: 100%; margin-inline: 0; }
.rc-editorial .rc-article-content :where(pre, .wp-block-table) { max-width: 100%; overflow-x: auto; }
.rc-editorial .rc-route-matrix caption { text-align: left; padding-bottom: 8px; font-weight: 600; }
.rc-editorial .rc-article-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.rc-editorial .rc-article-content .wp-block-table :where(th, td) { padding: 10px 12px; border: 1px solid var(--rc-line); text-align: left; vertical-align: top; overflow-wrap: normal; word-break: normal; }
.rc-editorial .rc-article-content .wp-block-table th { color: var(--rc-gold); font-weight: 600; background: #f2c28b0d; }
.rc-editorial .rc-article-content blockquote { margin-inline: 0; padding-left: 24px; border-left: 2px solid var(--rc-lilac); color: var(--rc-muted); }
.rc-editorial .rc-reading-panel > .rc-articles-nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rc-line); }
.rc-editorial .rc-marketing-footer { flex-shrink: 0; }
@media (max-width: 1250px) { .rc-editorial .rc-articles { width: min(960px, calc(100% - 72px)); } }
@media (max-width: 950px) { .rc-editorial .rc-articles { width: calc(100% - 48px); } }
@media (max-width: 600px) {
  .rc-editorial .rc-article-content .wp-block-table table { font-size: 15px; }
  .rc-editorial .rc-article-content .wp-block-table :where(th, td) { padding: 8px; }
  .rc-editorial .rc-articles { width: calc(100% - 32px); padding-bottom: 48px; }
  .rc-editorial .rc-article-heading { padding-block: 40px 32px; }
  .rc-editorial .rc-article-list > li,
  .rc-editorial .rc-articles-empty,
  .rc-editorial .rc-reading-panel { padding: 24px 20px; }
  .rc-editorial .rc-article-content { font-size: 17px; }
}
