/* Rottman Creative: blog & system templates (index/archive/single/search/404/
 * generic page). Builds on base.css tokens. Everything is scoped under
 * .rcg-blog so it can never touch the five hand-designed marketing pages.
 *
 * Top padding clears the FIXED site header (the marketing pages handle that in
 * their own section CSS; the blog/system templates need it here).
 */

.rcg-blog {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(5.5rem, 9vh, 8rem) clamp(1.25rem, 3vw, 2rem) clamp(3.5rem, 7vw, 6rem);
}

/* .rcg-blog already pads every child for the fixed header and the content
   width, so the breadcrumb bar (archive.php) needs none of its own, just
   room before the page title. */
.rcg-blog > .rcg-breadcrumbs {
  max-width: none;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  padding: 0;
}

/* ── Page / archive header ─────────────────────────────────────────── */
.rcg-blog__head {
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--border);
}
.rcg-blog__eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
}
.rcg-blog__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--rich-black);
}
.rcg-blog__intro {
  margin: 0.9rem 0 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* ── Listing grid (index / archive / search) ───────────────────────── */
.rcg-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 900px) { .rcg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rcg-cards { grid-template-columns: 1fr; } }

.rcg-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.15rem, 2vw, 1.6rem) clamp(1rem, 1.8vw, 1.4rem) clamp(1.5rem, 2.3vw, 2rem);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.rcg-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 340 / 220;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02);
  background: rgba(26, 25, 25, 0.05);
}
.rcg-card__date {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.78;
}
.rcg-card__title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.rcg-card__title a { color: var(--rich-black); transition: color 0.14s var(--ease); }
.rcg-card__title a:hover { color: var(--brand-red); }
.rcg-card__excerpt {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.rcg-card__more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-red);
  text-decoration: none;
}
.rcg-card__more::after { content: '>'; transition: transform 0.14s var(--ease); }
.rcg-card__more:hover::after { transform: translateX(2px); }

/* ── Single post / generic page prose ──────────────────────────────── */
.rcg-article__header { margin: 0 0 clamp(1.6rem, 3vw, 2.4rem); }
.rcg-article__meta {
  margin: 0 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.82;
}
.rcg-article__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--rich-black);
}
.rcg-article__featured {
  margin: clamp(1.5rem, 3vw, 2.4rem) 0 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
}

.rcg-prose {
  max-width: 70ch;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--rich-black);
}
.rcg-prose > * + * { margin-top: 1.25rem; }
.rcg-prose p { margin: 0 0 1.25rem; color: #2a2a2a; }
.rcg-prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 2.4rem 0 0.9rem;
  color: var(--rich-black);
}
.rcg-prose h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 2rem 0 0.7rem;
  color: var(--rich-black);
}
.rcg-prose a { color: var(--brand-red); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.rcg-prose a:hover { color: var(--brand-red-hover); }
.rcg-prose ul, .rcg-prose ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.rcg-prose li { margin: 0.35rem 0; }
.rcg-prose img { max-width: 100%; height: auto; border: 1px solid var(--border); }
.rcg-prose blockquote {
  margin: 1.6rem 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 3px solid var(--brand-red);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--rich-black);
}
.rcg-prose blockquote p { color: var(--rich-black); }
.rcg-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--cover-panel-gray);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}
.rcg-prose pre {
  overflow-x: auto;
  background: var(--rich-black);
  color: #f5f5f5;
  padding: 1.1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.rcg-prose pre code { background: none; padding: 0; color: inherit; }
.rcg-prose figure { margin: 1.6rem 0; }
.rcg-prose figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--ink-muted); }

.rcg-article__tags {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.rcg-article__tags a { color: var(--brand-red); }

/* Prev/next + back links */
.rcg-postnav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
}
.rcg-postnav a { color: var(--ink-muted); transition: color 0.14s var(--ease); }
.rcg-postnav a:hover { color: var(--brand-red); }

/* ── Pagination (the_posts_pagination) ─────────────────────────────── */
.rcg-blog .navigation.pagination { margin-top: clamp(2.5rem, 5vw, 4rem); }
.rcg-blog .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.rcg-blog .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  border: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: border-color 0.14s var(--ease), color 0.14s var(--ease);
}
.rcg-blog .page-numbers:hover { border-color: var(--rich-black); color: var(--rich-black); }
.rcg-blog .page-numbers.current { background: var(--brand-red); border-color: var(--brand-red); color: var(--white); }

/* ── Search form ───────────────────────────────────────────────────── */
.rcg-search { display: flex; max-width: 30rem; }
.rcg-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--rich-black);
  padding: 0.85rem 1.05rem;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.rcg-search__input:focus { outline: 2px solid var(--brand-red); outline-offset: -2px; }
.rcg-search__submit {
  flex: 0 0 auto;
  background: var(--rich-black);
  color: var(--white);
  border: 1px solid var(--rich-black);
  border-left: none;
  padding: 0 1.3rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.rcg-search__submit:hover { background: var(--brand-red); border-color: var(--brand-red); }

/* ── Empty state / 404 ─────────────────────────────────────────────── */
.rcg-empty { max-width: 46ch; }
.rcg-empty p { color: var(--ink-muted); line-height: 1.65; }
.rcg-404__code {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 12vw, 7rem);
  line-height: 1;
  color: var(--brand-red);
  margin: 0 0 0.5rem;
}

/* ── Comments ──────────────────────────────────────────────────────── */
.rcg-comments { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: clamp(1.5rem, 3vw, 2.4rem); border-top: 1px solid var(--border); max-width: 70ch; }
.rcg-comments__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 1.4rem; }
.rcg-comments .comment-list { list-style: none; margin: 0; padding: 0; }
.rcg-comments .comment-list ul.children { list-style: none; margin: 0 0 0 1.5rem; padding: 0; }
.rcg-comments .comment-body { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.rcg-comments .comment-author { font-weight: 600; font-size: 0.9rem; }
.rcg-comments .comment-meta { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.5rem; }
.rcg-comments .comment-content { font-size: 0.95rem; line-height: 1.6; color: #2a2a2a; }
.rcg-comments input[type="text"],
.rcg-comments input[type="email"],
.rcg-comments input[type="url"],
.rcg-comments textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--white);
}
.rcg-comments .form-submit input {
  background: var(--rich-black);
  color: var(--white);
  border: 1px solid var(--rich-black);
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.rcg-comments .form-submit input:hover { background: var(--brand-red); border-color: var(--brand-red); }

/* ══════════════════════════════════════════════════════════════════════
   BLOG INDEX (index.php): 2026 design
   Everything is scoped under .rcg-blog-index so these rules can never
   reach the marketing pages, the archives, search or 404.
   ══════════════════════════════════════════════════════════════════════ */

/* The design is drawn on an 18px root, same as the marketing pages set for
   themselves. The archives/search/404 keep the browser default, so this is
   opted into by the two redesigned templates only. Browsers without :has()
   simply render at 16px. Nothing breaks, it is a shade smaller. */
html:has(main.rcg-blog-index),
html:has(main.rcg-blog-single) { font-size: 18px; }

.rcg-blog-index { width: 100%; }

/* Reveal-on-scroll: driven by assets/js/rcg-theme.js. */
.rcg-blog-index .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.rcg-blog-index .reveal.visible { opacity: 1; transform: translateY(0); }
.rcg-blog-index .d1 { transition-delay: 0.06s; }
.rcg-blog-index .d2 { transition-delay: 0.12s; }
.rcg-blog-index .d3 { transition-delay: 0.18s; }
.rcg-blog-index .d4 { transition-delay: 0.24s; }
.rcg-blog-index .d5 { transition-delay: 0.30s; }
.rcg-blog-index .d6 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .rcg-blog-index .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Page header ──────────────────────────────────────────────────── */
.rcg-blog-index .blog-header {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(6.4rem, 10vw, 7rem) clamp(1.2rem, 3vw, 2rem) 2.5rem;
}
.rcg-blog-index .blog-header__title {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 400;
  /* Gary 8/25: the listing header doesn't need to be big — modest line. */
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--rich-black);
}
.rcg-blog-index .blog-header__sub {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ── Featured post: image on top, title left / excerpt right ─────── */
.rcg-blog-index .featured {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3vw, 2rem) 2.5rem;
}
.rcg-blog-index .featured__card { margin: 0; }
.rcg-blog-index .featured__image {
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.rcg-blog-index .featured__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(26, 25, 25, 0.05);
}
.rcg-blog-index .featured__split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.rcg-blog-index .featured__split h2 { margin: 0; line-height: 1.1; }
.rcg-blog-index .featured__title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.05;
  color: var(--rich-black);
  text-decoration: none;
}
.rcg-blog-index .featured__title { transition: color 0.14s var(--ease); }
.rcg-blog-index .featured__title:hover { color: var(--brand-red); }
.rcg-blog-index .featured__excerpt {
  margin: 0;
  /* Gary 8/26: the date and blurb wear the site serif, dark. */
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--rich-black);
}
.rcg-blog-index .featured__read {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink-muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.14s var(--ease);
}
.rcg-blog-index .featured__read:hover { color: var(--brand-red); text-decoration: underline; }
.rcg-blog-index .featured__meta-line,
.rcg-blog-index .blog-card__meta {
  margin: 0.35rem 0 0;
  /* Gary 8/26: the date and blurb wear the site serif, dark. */
  font-family: var(--serif);
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--rich-black);
}
@media (max-width: 700px) {
  .rcg-blog-index .featured__split { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Card row: image, title, READ MORE ───────────────────────────── */
.rcg-blog-index .blog-grid {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2.5rem clamp(1.2rem, 3vw, 2rem) 0;
}
.rcg-blog-index .blog-grid__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .rcg-blog-index .blog-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) { .rcg-blog-index .blog-grid__list { grid-template-columns: 1fr; } }

.rcg-blog-index .blog-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: inherit;
}
.rcg-blog-index .blog-card__image { overflow: hidden; margin-bottom: 0.75rem; }
.rcg-blog-index .blog-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: rgba(26, 25, 25, 0.05);
}
.rcg-blog-index .blog-card__body { display: flex; flex-direction: column; flex: 1; }
.rcg-blog-index .blog-card__body h3 { margin: 0; line-height: 1.1; }
.rcg-blog-index .blog-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.05;
  color: var(--rich-black);
  text-decoration: none;
}
.rcg-blog-index .blog-card__title { transition: color 0.14s var(--ease); }
.rcg-blog-index .blog-card__title:hover { color: var(--brand-red); }
.rcg-blog-index .blog-card__read {
  margin-top: auto;
  padding-top: 0.6rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink-muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.14s var(--ease);
}
.rcg-blog-index .blog-card__read:hover { color: var(--brand-red); text-decoration: underline; }

/* ── Pagination (the_posts_pagination with class="blog-pagination") ── */
.rcg-blog-index .blog-pagination {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2rem clamp(1.2rem, 3vw, 2rem) 3rem;
}
/* WordPress prints an off-screen heading above the page numbers; the theme has
   no .screen-reader-text rule of its own, so hide it here (scoped, so the
   archive and search templates are untouched). */
.rcg-blog-index .screen-reader-text,
.rcg-blog-single .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rcg-blog-index .blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.rcg-blog-index .blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.rcg-blog-index .blog-pagination .page-numbers:hover { background: var(--cover-panel-gray); color: var(--rich-black); }
.rcg-blog-index .blog-pagination .page-numbers.current {
  background: var(--rich-black);
  border-color: var(--rich-black);
  color: var(--white);
}
.rcg-blog-index .blog-pagination .page-numbers.dots { border-color: transparent; }
.rcg-blog-index .blog-pagination .page-numbers.dots:hover { background: none; }
.rcg-blog-index .blog-pagination .prev,
.rcg-blog-index .blog-pagination .next {
  border-color: transparent;
  color: var(--brand-red);
  font-weight: 600;
}
.rcg-blog-index .blog-pagination .prev:hover,
.rcg-blog-index .blog-pagination .next:hover { background: none; color: var(--rich-black); }
.rcg-blog-index .blog-pagination .prev svg,
.rcg-blog-index .blog-pagination .next svg { transition: transform 0.14s var(--ease); }
.rcg-blog-index .blog-pagination .next:hover svg { transform: translateX(3px); }
.rcg-blog-index .blog-pagination .prev:hover svg { transform: translateX(-3px); }

/* ── Nothing published yet ────────────────────────────────────────── */
.rcg-blog-index .blog-empty {
  max-width: min(46ch, var(--content-max));
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3vw, 2rem) clamp(3rem, 6vw, 5rem);
  font-family: var(--sans);
}
.rcg-blog-index .blog-empty p { color: var(--ink-muted); line-height: 1.65; }

/* ── Footer-reveal CTA (blog index only, replaces newsletter band) ── */
.footer-reveal.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.footer-reveal.reveal.visible { opacity: 1; transform: translateY(0); }

.rcg-blog-index + .footer-reveal {
  position: relative;
  background: var(--rich-black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  overflow: hidden;
}
.footer-reveal__tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.footer-reveal__tagline .em {
  color: rgba(190, 46, 43, 0.85);
  font-style: italic;
}
.footer-reveal__deck {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 2.5rem;
  max-width: 36ch;
}
.footer-reveal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.8rem;
  border: 1.3px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.footer-reveal__cta:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════════════════════════════════
   SINGLE POST (single.php): 2026 article design
   Scoped under .rcg-blog-single for the same reason.
   ══════════════════════════════════════════════════════════════════════ */

.rcg-blog-single { width: 100%; }
.rcg-blog-single .blog-post { margin: 0; }

/* ── Headline block ───────────────────────────────────────────────── */
.rcg-blog-single .article-head {
  max-width: var(--content-max);
  margin: 0 auto;
  /* Gary 8/25: title moves up — the old 6.4-7.5rem of air above it is gone. */
  padding: clamp(3.2rem, 5.5vw, 4.2rem) clamp(0.95rem, 1.8vw, 1.35rem) clamp(2rem, 4vw, 3rem);
}
.rcg-blog-single .article-head h1 {
  max-width: 48rem;
  margin: 0 0 1.15rem;
  /* Gary 8/25: the site's serif, regular weight — not the bold sans. */
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-red);
}
.rcg-blog-single .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  opacity: 0.78;
}

/* ── Hero band ────────────────────────────────────────────────────── */
.rcg-blog-single .hero-frame { margin: 0; }
.rcg-blog-single .hero {
  display: block;
  width: min(92vw, var(--site-max));
  height: auto;
  aspect-ratio: 1500 / 560;
  margin: 0 auto;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.02);
  background: rgba(26, 25, 25, 0.05);
}

/* ── Heading anchors (the "In this article" list itself was removed 2026-09-21) ─── */
/* Anchor jumps land clear of the fixed site header. */
.rcg-blog-single .story h2[id],
.rcg-blog-single .story h3[id] { scroll-margin-top: 5.5rem; }

/* ── Body + sidebar ───────────────────────────────────────────────── */
/* Launch switch off (Site Settings → "newsletter sign-up on articles"): no sidebar, story runs full width. */
.rcg-blog-single .layout.layout--no-sidebar { grid-template-columns: minmax(0, 1fr); }
.rcg-blog-single .layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(0.95rem, 1.8vw, 1.35rem) clamp(4rem, 8vw, 7rem);
}

.rcg-blog-single .story {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
}
.rcg-blog-single .story > *:first-child { margin-top: 0; }
.rcg-blog-single .story p { margin: 0 0 1rem; }
/* Older posts were authored with WordPress "Spacer" blocks carrying fixed
   inline heights (20-40px) from the old site. Gary 8/25: the article reads
   as one continuous text — spacers are removed outright and the heading and
   paragraph margins below carry the whole rhythm. */
.rcg-blog-single .story .wp-block-spacer { display: none !important; }
.rcg-blog-single .story strong { font-weight: 500; color: inherit; font-size: inherit; }
.rcg-blog-single .story em { font-family: inherit; font-size: inherit; font-style: italic; color: inherit; }
.rcg-blog-single .story .lede {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--ink-muted);
}
.rcg-blog-single .story .lede strong { color: var(--brand-red); font-weight: 500; }
.rcg-blog-single .story h2 {
  margin: 2.4rem 0 1.1rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--brand-red);
}
.rcg-blog-single .story h3 {
  margin: 1.9rem 0 0.75rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--brand-red);
}
.rcg-blog-single .story h4,
.rcg-blog-single .story h5,
.rcg-blog-single .story h6 {
  margin: 2rem 0 0.7rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--rich-black);
}
.rcg-blog-single .story h2.closing {
  margin: 0 0 1.35rem;
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-muted);
}
.rcg-blog-single .story a {
  color: var(--brand-red);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}
.rcg-blog-single .story a:hover { color: var(--brand-red-hover); }
.rcg-blog-single .story hr { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }
.rcg-blog-single .story ul,
.rcg-blog-single .story ol { margin: 0 0 1.5rem; padding-left: 1.3rem; }
.rcg-blog-single .story li { margin: 0.4rem 0; }
.rcg-blog-single .story img { max-width: 100%; height: auto; }
.rcg-blog-single .story figure { margin: 2rem 0; }
.rcg-blog-single .story figcaption { margin-top: 0.5rem; font-size: 0.78rem; color: var(--stone); }
.rcg-blog-single .story blockquote {
  margin: 2.5rem 0;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 3px solid var(--brand-red);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--rich-black);
}
.rcg-blog-single .story code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--cover-panel-gray);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}
.rcg-blog-single .story pre {
  overflow-x: auto;
  margin: 2rem 0;
  padding: 1.1rem 1.25rem;
  background: var(--rich-black);
  color: #f5f5f5;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.55;
}
.rcg-blog-single .story pre code { background: none; padding: 0; color: inherit; }
.rcg-blog-single .story table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.88rem; }
.rcg-blog-single .story th,
.rcg-blog-single .story td { border: 1px solid var(--border); padding: 0.6rem 0.8rem; text-align: left; }
.rcg-blog-single .story .alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.rcg-blog-single .story .alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.rcg-blog-single .story .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.rcg-blog-single .story__pages,
.rcg-blog-single .story__tags {
  margin: 2.5rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.rcg-blog-single .story__tags a { color: var(--brand-red); text-decoration: none; }
.rcg-blog-single .story__tags a:hover { text-decoration: underline; }

/* Editor-placed pull-quote / resource callout. */
.rcg-blog-single .pullquote {
  margin: 3.25rem 0;
  padding: 1.45rem 0;
  background: var(--white);
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rcg-blog-single .pullquote p { margin: 0; font-size: 0.92rem; line-height: 1.62; }
.rcg-blog-single .pullquote strong:first-child {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--brand-red);
}
.rcg-blog-single .pullquote a {
  display: inline-flex;
  margin-top: 0.65rem;
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.rcg-blog-single .pullquote a::after { content: '>'; margin-left: 0.25rem; }
.rcg-blog-single .pullquote a strong { font: inherit; color: inherit; }

/* ── Sidebar: poll + newsletter, one sticky unit ─────────────────────
   Follows the reader down the article (2026-07-28 standup: the links
   column is gone; the sidebar scrolls with the user). The sticky offset
   clears the floating fixed header; on short viewports the unit scrolls
   internally instead of clipping. */
.rcg-blog-single .sidebar {
  padding-left: 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-muted);
}
.rcg-blog-single .sidebar--sticky {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  scrollbar-width: none;
}
.rcg-blog-single .sidebar--sticky::-webkit-scrollbar { display: none; }

/* Poll (Typeform inline embed): full-width in the column, composed
   tight against the signup block below it. */
.rcg-blog-single .side-poll {
  margin: 0 0 1.1rem;
}
.rcg-blog-single .side-poll iframe,
.rcg-blog-single .side-poll > div {
  width: 100% !important;
  min-height: 320px;
  border: 0;
}

/* Newsletter signup: the Membership Today lockup at sidebar scale. */
.rcg-blog-single .side-signup {
  padding: 1.4rem 1.25rem 1.5rem;
  background: #f1f1f2;
}
.rcg-blog-single .side-signup__lockup {
  margin: 0 0 0.35rem;
  line-height: 1.05;
}
.rcg-blog-single .side-signup__membership {
  display: block;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--rich-black);
}
.rcg-blog-single .side-signup__today {
  display: inline-block;
  padding: 0.05em 0.35em;
  background: var(--brand-red);
  font-family: var(--serif, Georgia, serif);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #fff;
}
.rcg-blog-single .side-signup__strap {
  margin: 0.85rem 0 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.rcg-blog-single .side-signup__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rcg-blog-single .side-signup__input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--rich-black);
}
.rcg-blog-single .side-signup__input:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: -1px;
}
.rcg-blog-single .side-signup__submit {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--brand-red);
  background: var(--brand-red);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.rcg-blog-single .side-signup__submit:hover {
  background: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
}
.rcg-blog-single .side-signup__submit[disabled] {
  opacity: 0.6;
  cursor: default;
}
.rcg-blog-single .side-signup__done {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rich-black);
}

/* ── Comments (comments.php keeps its own .rcg-comments styling) ──── */
.rcg-blog-single .post-comments {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(0.95rem, 1.8vw, 1.35rem) clamp(3rem, 6vw, 5rem);
}
.rcg-blog-single .post-comments .rcg-comments { margin-top: 0; }

@media (max-width: 700px) {
  .rcg-blog-single .article-head { padding-inline: 1.2rem; }
  .rcg-blog-single .hero { width: 100%; }
  .rcg-blog-single .layout { display: block; padding-inline: 1.2rem; }
  .rcg-blog-single .sidebar { margin-top: 4rem; padding-left: 0; border-left: 0; }
  /* Stacked below the article on small screens: sticky would trap it over content. */
  .rcg-blog-single .sidebar--sticky { position: static; max-height: none; overflow: visible; }
  .rcg-blog-single .post-comments { padding-inline: 1.2rem; }
}

/* Card excerpt (blog.html reference): one short line under the meta. */
.rcg-blog-index .blog-card__excerpt {
  margin: 0.7rem 0 0;
  /* Gary 8/26: blurbs wear the site serif, dark (explicit, not inherited). */
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--rich-black);
}
