/* Cream — polish layer.
 * Adds the interactive/visual details that block markup can't express:
 * hover states, masthead chrome, mobile breakpoints, form styling,
 * reading-progress bar, post-meta line, pullquote, sticky action rail.
 */

/* ---------- Site title with colored period ----------------------------- */
.cream-title-dot { color: #111; }

/* ---------- Headline hover (matches design: fade to stone on hover) ---- */
a:hover h1, a:hover h2, a:hover h3, a:hover h4, a:hover h5 {
  color: #6B6B66 !important;
  transition: color 0.18s ease;
}
.wp-block-post-title a { transition: color 0.18s ease; }

/* ---------- Sticky masthead backdrop blur ------------------------------ */
.wp-site-blocks > header,
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Cream nav (header categories) ------------------------------ */
.cream-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 14px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: #3a3a35;
}
.cream-nav a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.cream-nav a:hover { color: #111; border-bottom-color: #111; }
.cream-nav a.is-active { color: #111; font-weight: 600; border-bottom-color: #111; }

/* ---------- Reading progress bar (single posts only) ------------------- */
.cream-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #ECECEC;
  z-index: 100;
  pointer-events: none;
}
.cream-progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: #111;
  transition: width 0.05s linear;
}

/* ---------- Post meta line --------------------------------------------- */
.cream-post-meta {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B6B66;
  margin: 0;
}
.cream-post-meta .cream-meta-author { color: #111; }
.cream-post-meta .cream-meta-time {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
}

/* ---------- Pullquote --------------------------------------------------- */
.cream-pullquote {
  margin: 44px 0;
  padding: 28px 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  text-align: center;
}
.cream-pullquote p {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 30px;
  line-height: 1.25;
  color: #111;
  margin: 0 0 14px;
  font-weight: 400;
}
.cream-pullquote cite {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B6B66;
  font-style: normal;
}

/* ---------- Newsletter forms ------------------------------------------- */
.cream-newsletter input:focus,
.cream-newsletter-inline input:focus {
  outline: none;
  border-color: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.4);
}
.cream-newsletter-inline input:focus {
  border-color: #111 !important;
  box-shadow: 0 0 0 2px rgba(17,17,17,0.15);
}
.cream-newsletter button:hover,
.cream-newsletter-inline button:hover { opacity: 0.92; }

/* ---------- Featured image fallback hover ------------------------------ */
.cream-thumb-link { display: block; transition: opacity 0.2s ease; }
.cream-thumb-link:hover { opacity: 0.92; }

/* ---------- Hairline divider polish ------------------------------------ */
.cream-block { scroll-margin-top: 80px; }

/* ---------- Homepage category sections (dynamic, from cream_homepage_blocks) */
.cream-block__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 26px;
  gap: 16px;
}
.cream-block__head h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0;
  color: #111;
  letter-spacing: -0.01em;
  line-height: 1;
}
.cream-block__all {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6B66;
  text-decoration: none;
  white-space: nowrap;
}
.cream-block__all:hover { color: #111; }

.cream-block__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.cream-block__lead {
  display: block;
  text-decoration: none;
  color: inherit;
}
.cream-block__lead:hover .cream-block__lead-title { color: #6B6B66; }
.cream-block__lead-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.cream-block__lead-placeholder { display: block; }
.cream-block__lead-placeholder .cream-hero { height: 300px !important; }
.cream-block__lead-kicker {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  margin: 16px 0 8px;
}
.cream-block__lead-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 10px;
  color: #111;
  transition: color 0.18s;
}
.cream-block__lead-byline,
.cream-block__stack-byline {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B6B66;
}
.cream-block__when {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  font-size: 11px;
  text-transform: uppercase;
  color: #6B6B66;
}
.cream-block__sep { color: #C9C9C4; padding: 0 2px; }

.cream-block__stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cream-block__stack-item {
  border-bottom: 1px solid #ECECEC;
}
.cream-block__stack-item.is-last { border-bottom: none; }
.cream-block__stack-item a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: inherit;
}
.cream-block__stack-item a:hover .cream-block__stack-title { color: #6B6B66; }
.cream-block__stack-item:first-child a { padding-top: 0; }
.cream-block__stack-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 19px;
  line-height: 1.22;
  font-weight: 400;
  margin: 0 0 6px;
  color: #111;
  transition: color 0.18s;
}

@media (max-width: 900px) {
  .cream-block__cols { grid-template-columns: 1fr; gap: 24px; }
  .cream-block__head h2 { font-size: 30px; }
  .cream-block__lead-title { font-size: 26px; }
}
@media (max-width: 600px) {
  .cream-block { margin-top: 28px !important; padding-top: 18px !important; }
  .cream-block__head h2 { font-size: 26px; }
  .cream-block__lead-title { font-size: 22px; }
  .cream-block__stack-title { font-size: 17px; }
}

/* ---------- Mobile + tablet breakpoints (match the JSX design) --------- */
@media (max-width: 900px) {
  .wp-block-site-title { font-size: 44px !important; }
  .cream-nav { gap: 18px; row-gap: 8px; }
  .wp-block-columns { gap: 24px !important; }
  /* Stack the lead+stacked grid */
  .cream-block .wp-block-columns { flex-wrap: wrap; }
  .cream-block .wp-block-column { flex-basis: 100% !important; }
}

@media (max-width: 600px) {
  .wp-block-site-title { font-size: 36px !important; letter-spacing: -0.02em; }
  .cream-nav { gap: 14px; font-size: 12px; margin-top: 10px; }
  .cream-block { margin-top: 28px !important; padding-top: 18px !important; }
  .cream-pullquote p { font-size: 24px; }
}

/* ---------- Author archive page (bio + stats) -------------------------- */
.cream-author-bio {
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  color: #3a3a35;
  font-weight: 300;
  margin: 0 0 18px;
  max-width: 620px;
}
.cream-author-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  margin-top: 8px;
}
.cream-author-stats__row {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.cream-author-stats__row > span:first-child {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6B66;
}
.cream-author-stats__row > span:last-child {
  color: #111;
  font-weight: 500;
}

/* ---------- Author bio styling (single-post) -------------------------- */
.wp-block-post-author {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
}
.wp-block-post-author .wp-block-post-author__avatar img {
  border-radius: 50%;
  width: 72px;
  height: 72px;
}
.wp-block-post-author .wp-block-post-author__name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: #111;
}
.wp-block-post-author .wp-block-post-author__byline {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6B66;
}
.wp-block-post-author .wp-block-post-author__bio {
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: #1a1a1a;
}

/* ---------- 404 search input ------------------------------------------- */
.wp-block-search__input {
  border: 1px solid #1a1a1a;
  font-family: "Inter", sans-serif;
  padding: 12px 14px;
}

/* ===================================================================== */
/* SINGLE POST — pixel-faithful to post-v1.jsx                            */
/* ===================================================================== */

/* ---------- Post masthead (different from homepage) -------------------- */
.cream-post-masthead {
  border-bottom: 1px solid #E5E5E2;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 2px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20;
}
.cream-post-masthead__left {
  display: flex;
  align-items: center;
  gap: 28px;
}
.cream-post-masthead__logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #111;
  text-decoration: none;
  line-height: 1;
}
.cream-post-masthead__nav {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  gap: 16px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: #3a3a35;
}
.cream-post-masthead__nav a { color: inherit; text-decoration: none; }
.cream-post-masthead__nav a:hover { color: #111; }
.cream-post-masthead__right {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 13px;
}
.cream-post-masthead__signin { color: #3a3a35; text-decoration: none; }
.cream-post-masthead__signin:hover { color: #111; }
.cream-post-masthead__cta {
  background: #111;
  color: #fff !important;
  padding: 7px 14px;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.18s;
}
.cream-post-masthead__cta:hover { background: #3a3a35; }

@media (max-width: 900px) {
  .cream-post-masthead { padding: 12px 20px; }
  .cream-post-masthead__nav { display: none; }
}

/* ---------- Post grid + main column ------------------------------------ */
/* IMPORTANT: do NOT set align-items: flex-start. The default `stretch` is
 * what makes the sidebar column tall enough for `position: sticky` on
 * .cream-aside to actually engage as the user scrolls. */
.cream-post .post-body-grid {
  gap: 40px !important;
}
.cream-post .post-main { min-width: 0; }
/* Everything in the main column shares the same width — title, dek, byline,
 * kicker, hero image, and body all align to the column's left/right edges.
 * Visual consistency over editorial asymmetry. */
.cream-post .post-h1,
.cream-post .post-dek,
.cream-post .cream-byline,
.cream-post .cream-kicker,
.cream-post .cream-hero-figure,
.cream-post .post-body,
.cream-post .entry-content { max-width: 100%; }

/* Strip core's `has-global-padding` from the post-content wrapper. */
.cream-post .wp-block-post-content.has-global-padding,
.cream-post .entry-content.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- Key Points / TL;DR callout (.key-points) ------------------ */
/* Cream-bg box with a mono "KEY POINTS" kicker (the <strong> in the markup),
 * em-dash bullets, and Newsreader body — matches the inline newsletter card
 * styling so callouts feel like a deliberate part of the design system. */
.cream-post .key-points {
  background: var(--wp--preset--color--cream);
  border-radius: 4px;
  padding: 22px 26px;
  margin: 28px 0 32px;
}
.cream-post .key-points > strong:first-of-type,
.cream-post .key-points > p:first-of-type strong:first-of-type {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 14px;
}
.cream-post .key-points > p:first-of-type {
  margin: 0 !important;
}
.cream-post .key-points ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cream-post .key-points li {
  position: relative;
  padding-left: 24px !important;
  font-family: "Newsreader", Georgia, serif !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
}
.cream-post .key-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 1px;
  background: #111;
}
.cream-post .key-points a {
  color: #111;
  text-decoration: underline;
  text-decoration-color: #C9C9C4;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cream-post .key-points a:hover { text-decoration-color: #111; }

@media (max-width: 600px) {
  .cream-post .key-points { padding: 18px 20px; }
  .cream-post .key-points li { font-size: 15px !important; }
}

/* In-body links — visible but not loud. Thin stone underline that goes ink
 * on hover. text-decoration (not border-bottom) so the line wraps cleanly
 * when a link spans two lines of prose. */
.cream-post .entry-content a,
.cream-post .post-body a,
.cream-comment__text a {
  color: #111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #C9C9C4;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s ease, color 0.18s ease;
}
.cream-post .entry-content a:hover,
.cream-post .post-body a:hover,
.cream-comment__text a:hover {
  color: #111;
  text-decoration-color: #111;
}
.cream-post .entry-content a:visited,
.cream-post .post-body a:visited {
  color: #3a3a35;
  text-decoration-color: #C9C9C4;
}

/* Body sits centered below the featured image at a reading-optimal width.
 * Image stays full column width (the "hero"); body narrows for readability
 * and centers — classic editorial longform feel (NYT, The Atlantic). */
.cream-post .post-body,
.cream-post .entry-content {
  max-width: 620px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 700px) {
  .cream-post .post-body,
  .cream-post .entry-content { max-width: 100% !important; }
}

/* ---------- Kicker breadcrumb ------------------------------------------ */
.cream-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.cream-kicker__cat {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
}
.cream-kicker__cat:hover { color: #6B6B66; }
.cream-kicker__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #C9C9C4;
  display: inline-block;
}
.cream-kicker__series {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6B66;
}

/* ---------- H1 + dek (overrides global heading sizing) ----------------- */
.cream-post .post-h1 {
  max-width: 1000px;
}
.cream-post .post-dek {
  max-width: 720px;
}

/* ---------- Byline row ------------------------------------------------- */
.cream-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 0;
  border-bottom: 1px solid #E5E5E2;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #3a3a35;
  flex-wrap: wrap;
}
.cream-byline__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: "Instrument Serif", Georgia, serif;
}
.cream-byline__by a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #C9C9C4;
}
.cream-byline__by a:hover { border-bottom-color: #111; }
.cream-byline__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #C9C9C4;
  display: inline-block;
}
.cream-byline__when, .cream-byline__read {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6B6B66;
  text-transform: uppercase;
}

/* ---------- Hero figure with caption ----------------------------------- */
/* Match body column width so the hero and the text share the same left/right edges. */
.cream-hero-figure {
  margin: 28px 0 32px;
  max-width: 680px;
}
.cream-hero-figure .wp-block-post-featured-image,
.cream-hero-figure .cream-featured-fallback {
  margin: 0;
  overflow: hidden;
}
/* Real photo: keep natural aspect (no forced height — avoids letterbox stretch). */
.cream-hero-figure .wp-block-post-featured-image img {
  width: 100% !important;
  height: auto !important;
  max-height: 440px;
  object-fit: cover !important;
  display: block;
}
/* Procedural placeholder has no intrinsic ratio — keep a fixed editorial height. */
.cream-hero-figure .cream-featured-fallback .cream-hero {
  height: 360px !important;
}
@media (max-width: 600px) {
  .cream-hero-figure .wp-block-post-featured-image img { max-height: 280px; }
  .cream-hero-figure .cream-featured-fallback .cream-hero { height: 240px !important; }
}
.cream-hero-figure figcaption {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B6B66;
  margin-top: 10px;
  padding-left: 4px;
}
.cream-hero-figure figcaption span { color: #111; font-weight: 500; }

/* ---------- Body typography ------------------------------------------- */
.cream-post .post-body, .cream-post .entry-content {
  max-width: 680px;
}
.cream-post .post-body p,
.cream-post .entry-content > p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 20px;
}
.cream-post .post-body h2,
.cream-post .entry-content h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  margin: 36px 0 14px;
  color: #111;
  letter-spacing: -0.005em;
}

/* Drop cap — only on substantial features (>800 words). Body class is added
 * by cream_body_class_filter() in inc/site-meta.php. Short news hits don't
 * earn one — the visual interrupt is too heavy for 4-paragraph posts. */
.cream-has-drop-cap .cream-post .entry-content > p:first-of-type::first-letter {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 60px;
  line-height: 0.9;
  font-weight: 400;
  color: #111;
  float: left;
  padding-right: 10px;
  padding-top: 6px;
  margin-bottom: -6px;
}

/* ---------- FILED IN tags row ----------------------------------------- */
.cream-filedin {
  align-items: center !important;
  gap: 8px !important;
}
.cream-filedin__label {
  margin-right: 6px !important;
  align-self: center;
}

/* ---------- Post-body footer sections — match body's 620px centered column */
.cream-post .cream-filedin,
.cream-post .cream-authorbio-inline,
.cream-post .cream-comments-block {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Author bio (inline variant) ------------------------------- */
.cream-authorbio-inline { max-width: 680px; }
.cream-authorbio-inline .wp-block-post-author {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: transparent !important;
  padding: 0 !important;
}
.cream-authorbio-inline .wp-block-post-author__avatar img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
}
.cream-authorbio-inline .wp-block-post-author__byline {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B6B66;
  margin-bottom: 4px;
}
.cream-authorbio-inline .wp-block-post-author__name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #111;
  margin: 0 0 8px;
}
.cream-authorbio-inline .wp-block-post-author__bio {
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: #3a3a35;
  margin: 0;
}

/* ---------- Sidebar (3 stacked widgets) ------------------------------- */
.cream-post .post-sidebar { min-width: 0; }
/* Vertical hairline separating the body from the sidebar — adds the
 * "deliberate two-column publication" feel without forcing a heavier border. */
.cream-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 20px;
  border-left: 1px solid #ECECEC;
}
@media (max-width: 1000px) {
  .cream-aside { padding-left: 0; border-left: none; }
}
.cream-aside__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #6B6B66 !important;
  margin: 0 0 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #111;
}

/* Most Read sidebar list */
.cream-mostread-aside {
  margin-top: 36px;
}
.cream-mostread-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cream-mostread-aside__list a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  align-items: baseline;
  transition: opacity 0.18s;
}
.cream-mostread-aside__list a:hover { opacity: 0.7; }
.cream-mostread-aside__num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  color: #111;
  line-height: 1;
}
.cream-mostread-aside__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 17px;
  line-height: 1.25;
  color: #111;
}

/* Sidebar newsletter card */
.cream-newsletter-aside {
  display: flex;
}
.cream-newsletter-aside input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #1a1a1a;
  border-right: none;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #111;
  outline: none;
}
.cream-newsletter-aside input:focus { box-shadow: 0 0 0 2px rgba(17,17,17,0.15); }
.cream-newsletter-aside button {
  padding: 10px 14px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Mobile: stack sidebar below ------------------------------- */
@media (max-width: 1000px) {
  .cream-post .post-body-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    flex-wrap: wrap !important;
  }
  .cream-post .post-sidebar {
    flex-basis: 100% !important;
    order: 2;
  }
  .cream-aside { position: static; }
}
@media (max-width: 900px) {
  .cream-post { padding: 28px 20px 56px !important; }
  .cream-post .post-h1 { font-size: 36px !important; }
  .cream-post .post-dek { font-size: 17px !important; }
  .cream-hero-figure .wp-block-post-featured-image,
  .cream-hero-figure .cream-featured-fallback,
  .cream-hero-figure .cream-hero { height: 260px !important; }
}
@media (max-width: 600px) {
  .cream-post { padding: 22px 16px 44px !important; }
  .cream-post .post-h1 { font-size: 28px !important; line-height: 1.1 !important; }
  .cream-post .post-dek { font-size: 16px !important; }
  .cream-post .post-body p,
  .cream-post .entry-content > p { font-size: 16px !important; line-height: 1.6 !important; }
  .cream-post .post-body h2,
  .cream-post .entry-content h2 { font-size: 21px !important; margin-top: 28px !important; }
  .cream-post .entry-content > p:first-of-type::first-letter { font-size: 42px !important; }
  .cream-hero-figure .wp-block-post-featured-image,
  .cream-hero-figure .cream-featured-fallback,
  .cream-hero-figure .cream-hero { height: 220px !important; }
}

/* ===================================================================== */
/* ARCHIVE PAGES — meta line on cards + pagination                        */
/* ===================================================================== */
.cream-archive-meta {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  color: #6B6B66;
  margin-top: 6px;
}
.cream-archive-meta .cream-block__sep { color: #C9C9C4; padding: 0 2px; }
.cream-archive-meta .cream-block__when {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  font-size: 11px;
  text-transform: uppercase;
  color: #6B6B66;
}

/* Pagination — matches the editorial mono kicker style */
.wp-block-query-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: var(--wp--preset--spacing--50);
  padding-top: 28px;
  border-top: 1px solid #ECECEC;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wp-block-query-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6B6B66;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  font-variant-numeric: tabular-nums;
}
.wp-block-query-pagination .page-numbers:hover {
  color: #111;
  border-color: #ECECEC;
}
.wp-block-query-pagination .page-numbers.current {
  color: #fff;
  background: #111;
  border-color: #111;
  font-weight: 500;
}
.wp-block-query-pagination .page-numbers.dots {
  border: none;
  color: #C9C9C4;
}
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  font-family: "Inter", sans-serif !important;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #ECECEC;
  border-radius: 999px;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.wp-block-query-pagination-previous { margin-right: 8px; }
.wp-block-query-pagination-next { margin-left: 8px; }
/* WP wraps these in <a> with arrows — kill the default arrow chars and use our own */
.wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination-next-arrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  margin: 0 2px;
  opacity: 0.6;
}

@media (max-width: 600px) {
  .wp-block-query-pagination { gap: 4px; }
  .wp-block-query-pagination .page-numbers { min-width: 34px; height: 34px; padding: 0 10px; font-size: 11px; }
  .wp-block-query-pagination-previous,
  .wp-block-query-pagination-next { padding: 6px 12px; font-size: 11px; }
}

/* ===================================================================== */
/* CONTACT PAGE                                                           */
/* ===================================================================== */
.cream-contact > section { width: 100%; }

.cream-contact-hero {
  border-bottom: 1px solid #111;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px 48px;
  text-align: center;
}
.cream-contact-hero__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 16px;
}
.cream-contact-hero__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.022em;
  margin: 0 auto 18px;
  max-width: 920px;
  color: #111;
}
.cream-contact-hero__dek {
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
  color: #3a3a35;
  margin: 0 auto;
  max-width: 720px;
  font-weight: 300;
  font-style: italic;
}

.cream-contact-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}
.cream-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Flash messages */
.cream-contact-flash {
  max-width: 920px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}
.cream-contact-flash--ok  { background: #F2F8EF; border: 1px solid #B7D4A4; color: #2C5A1A; }
.cream-contact-flash--err { background: #FCEEEE; border: 1px solid #E5B6B6; color: #7C1F1F; }

/* Left: how-to-reach + tips */
.cream-contact-tips__kicker,
.cream-contact-form__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6B66;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #111;
}

.cream-contact-card {
  padding: 22px 0 26px;
  border-bottom: 1px solid #ECECEC;
  margin-bottom: 24px;
}
.cream-contact-card__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6B66;
  margin: 0 0 6px;
}
.cream-contact-card__addr {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #C9C9C4;
  display: inline-block;
  padding-bottom: 2px;
}
.cream-contact-card__addr:hover { border-bottom-color: #111; }
.cream-contact-card__note {
  font-family: "Newsreader", Georgia, serif;
  font-size: 14px;
  line-height: 1.55;
  color: #6B6B66;
  margin: 8px 0 0;
}

.cream-contact-tips__head {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  color: #1a1a1a;
  margin: 0 0 12px;
  font-weight: 500;
}
.cream-contact-tips__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cream-contact-tips__list li {
  position: relative;
  padding-left: 22px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: #1a1a1a;
}
.cream-contact-tips__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 1px;
  background: #111;
}
.cream-contact-tips__list strong { color: #111; font-weight: 500; }
.cream-contact-tips__sensitive {
  font-family: "Newsreader", Georgia, serif;
  font-size: 14px;
  color: #6B6B66;
  font-style: italic;
  margin: 0;
}

/* Right: form */
.cream-contact-form {
  background: #FAFAF7;
  border: 1px solid #ECECEC;
  padding: 28px;
}
.cream-contact-form label {
  display: block;
  margin-bottom: 14px;
}
.cream-contact-form label > span {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B6B66;
  display: block;
  margin-bottom: 6px;
}
.cream-contact-form input,
.cream-contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #DDDDD8;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  color: #111;
  box-sizing: border-box;
  border-radius: 0;
}
.cream-contact-form textarea { resize: vertical; line-height: 1.5; }
.cream-contact-form input:focus,
.cream-contact-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17,17,17,0.08);
}
.cream-contact-form button[type="submit"] {
  width: 100%;
  padding: 13px 18px;
  background: #111;
  color: #fff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.18s;
}
.cream-contact-form button[type="submit"]:hover { background: #3a3a35; }
.cream-contact-form__note {
  font-family: "Newsreader", Georgia, serif;
  font-size: 13px;
  color: #6B6B66;
  margin: 14px 0 0;
  line-height: 1.5;
  font-style: italic;
}
.cream-contact-form__note a { color: #111; text-decoration: underline; text-decoration-color: #C9C9C4; }
.cream-contact-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 800px) {
  .cream-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .cream-contact-hero { padding: 48px 20px 36px; }
  .cream-contact-body { padding: 36px 20px 56px; }
  .cream-contact-card__addr { font-size: 22px; }
  .cream-contact-form { padding: 22px; }
}

/* ===================================================================== */
/* LEGAL PAGES — Privacy / Terms                                          */
/* ===================================================================== */
.cream-legal {
  font-family: "Newsreader", Georgia, serif;
  color: #1a1a1a;
}
.cream-legal__updated {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6B66;
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ECECEC;
}
.cream-legal__lede {
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  color: #1a1a1a;
  font-weight: 300;
  margin: 0 0 32px;
}
.cream-legal h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: #111;
  margin: 44px 0 14px;
  padding-top: 12px;
  border-top: 1px solid #ECECEC;
}
.cream-legal h2:first-of-type { margin-top: 32px; }
.cream-legal p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1a1a1a;
  margin: 0 0 16px;
}
.cream-legal ul,
.cream-legal ol {
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: #1a1a1a;
  margin: 0 0 18px;
  padding-left: 22px;
}
.cream-legal li { margin: 0 0 8px; }
.cream-legal li::marker { color: #6B6B66; }
.cream-legal strong {
  color: #111;
  font-weight: 500;
}
.cream-legal a {
  color: #111;
  text-decoration: underline;
  text-decoration-color: #C9C9C4;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s;
}
.cream-legal a:hover { text-decoration-color: #111; }

@media (max-width: 600px) {
  .cream-legal__lede { font-size: 17px; }
  .cream-legal h2 { font-size: 24px; margin-top: 36px; }
  .cream-legal p,
  .cream-legal ul,
  .cream-legal ol { font-size: 16px; line-height: 1.6; }
}

/* ===================================================================== */
/* ABOUT PAGE — pixel-faithful to page-about.jsx                          */
/* ===================================================================== */
.cream-about > section { width: 100%; }

/* 1. Hero */
.cream-about-hero {
  border-bottom: 1px solid #111;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 32px 56px;
  text-align: center;
}
.cream-about-hero__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 18px;
}
.cream-about-hero__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.022em;
  margin: 0 auto;
  max-width: 920px;
  color: #111;
}

/* 2. Mission */
.cream-about-mission {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px 40px;
}
.cream-about-mission__lede {
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  line-height: 1.55;
  color: #1a1a1a;
  margin: 0 0 20px;
  font-weight: 300;
}
.cream-about-mission__cap {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 72px;
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  padding-top: 6px;
  font-weight: 400;
  color: #111;
}
.cream-about-mission p:not(.cream-about-mission__lede) {
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  color: #1a1a1a;
  margin: 0 0 18px;
}
.cream-about-mission a {
  color: #111;
  text-decoration: underline;
  text-decoration-color: #C9C9C4;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.18s;
}
.cream-about-mission a:hover { text-decoration-color: #111; }

/* 3. Stats banner */
.cream-about-stats {
  background: #111;
  color: #fff;
  padding: 56px 32px;
}
.cream-about-stats__row {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.cream-about-stats__num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.cream-about-stats__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}

/* 4. Masthead */
.cream-about-masthead {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px 24px;
}
.cream-about-masthead__head {
  border-top: 1px solid #111;
  padding-top: 24px;
  margin-bottom: 28px;
}
.cream-about-masthead__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  color: #111;
  line-height: 1;
}
.cream-about-masthead__sub {
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  color: #6B6B66;
  font-style: italic;
  margin: 8px 0 0;
}
.cream-about-masthead__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.cream-about-masthead__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #ECECEC;
  gap: 16px;
}
.cream-about-masthead__name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  transition: color 0.18s;
}
.cream-about-masthead__name:hover { color: #6B6B66; }
.cream-about-masthead__role {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6B6B66;
  white-space: nowrap;
}

/* 5. Tip line */
.cream-about-tip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px 80px;
}
.cream-about-tip__inner {
  background: #FAFAF7;
  border: 1px solid #ECECEC;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.cream-about-tip__kicker {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 14px;
}
.cream-about-tip__copy h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 14px;
  line-height: 1.1;
  color: #111;
  letter-spacing: -0.005em;
}
.cream-about-tip__copy p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  color: #3a3a35;
  margin: 0;
}
.cream-about-tip__channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #111;
}
.cream-about-tip__channels span {
  color: #6B6B66;
  font-weight: 500;
  margin-right: 10px;
  letter-spacing: 0.1em;
}

@media (max-width: 800px) {
  .cream-about-stats__row { grid-template-columns: 1fr 1fr; }
  .cream-about-masthead__grid { grid-template-columns: 1fr; }
  .cream-about-tip__inner { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
}
@media (max-width: 600px) {
  .cream-about-hero { padding: 48px 20px 40px; }
  .cream-about-mission { padding: 40px 20px 28px; }
  .cream-about-mission__lede { font-size: 19px; }
  .cream-about-mission__cap { font-size: 56px; }
  .cream-about-mission p:not(.cream-about-mission__lede) { font-size: 17px; }
  .cream-about-stats { padding: 40px 20px; }
  .cream-about-masthead { padding: 40px 20px 16px; }
  .cream-about-masthead__name { font-size: 19px; }
  .cream-about-masthead__title { font-size: 30px; }
  .cream-about-tip { padding: 16px 20px 56px; }
}

/* ---------- Footer row (matches site-footer.jsx) ---------------------- */
.cream-footer {
  background: #FFFFFF;
  border-top: 1px solid #111;
  margin-top: 40px;
}
.cream-footer__row {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.cream-footer__logo {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: #111;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}
.cream-footer__nav {
  display: flex;
  gap: 22px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: #3a3a35;
  flex-wrap: wrap;
}
.cream-footer__link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
.cream-footer__link:hover { color: #111; }
.cream-footer__copy {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B6B66;
}
@media (max-width: 600px) {
  .cream-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 16px;
  }
  .cream-footer__nav { gap: 14px; }
}

/* ---------- Comments (matches post-shared.jsx Comments component) ----- */
.cream-comments-block {
  margin-top: 56px;
  font-family: "Inter", system-ui, sans-serif;
}
.cream-comments-block__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.cream-comments-block__head h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  color: #111;
}
.cream-comments-block__count {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #6B6B66;
  font-variant-numeric: tabular-nums;
}
.cream-comments-block__closed {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #6B6B66;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 0;
  margin: 0 0 32px;
  border-top: 1px solid #E5E5E2;
  border-bottom: 1px solid #E5E5E2;
}

/* Form box */
.cream-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  padding: 20px;
  border: 1px solid #E5E5E2;
  border-radius: 4px;
  background: #FAFAFA;
}
.cream-comment-form input,
.cream-comment-form textarea {
  padding: 10px 12px;
  border: 1px solid #E5E5E2;
  background: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  border-radius: 3px;
  color: #111;
  width: 100%;
  box-sizing: border-box;
}
.cream-comment-form textarea {
  resize: vertical;
  line-height: 1.5;
  min-height: 84px;
}
.cream-comment-form input:focus,
.cream-comment-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17,17,17,0.08);
}
.cream-comment-form__as {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B6B66;
  margin: 0 0 4px;
}
.cream-comment-form__as a { color: #6B6B66; text-decoration: underline; }
.cream-comment-form__as a:hover { color: #111; }
.cream-comment-form__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
  gap: 10px;
}
.cream-comment-form__note {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #6B6B66;
  letter-spacing: 0.04em;
}
.cream-comment-form button[type="submit"] {
  padding: 9px 18px;
  background: #111;
  color: #fff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 3px;
  letter-spacing: 0.01em;
  transition: background 0.18s;
}
.cream-comment-form button[type="submit"]:hover { background: #3a3a35; }

/* Comment list */
.cream-comments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cream-comment {
  padding-bottom: 24px;
  border-bottom: 1px solid #ECECEC;
}
.cream-comment:last-child { border-bottom: none; padding-bottom: 0; }
.cream-comment.depth-2,
.cream-comment.depth-3,
.cream-comment.depth-4 {
  margin-left: 54px;
  border-bottom: none;
  padding-bottom: 12px;
}
.cream-comment__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.cream-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ECECEC;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #5a5a55;
  letter-spacing: 0.02em;
}
.cream-comment__head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.cream-comment__name {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}
.cream-comment__time {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  color: #6B6B66;
  letter-spacing: 0.02em;
}
.cream-comment__pending {
  font-style: italic;
  color: #C53030;
}
.cream-comment__text {
  font-family: "Newsreader", Georgia, serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: #1a1a1a;
}
.cream-comment__text p { margin: 0 0 10px; }
.cream-comment__text p:last-child { margin-bottom: 0; }
.cream-comment .reply { margin-top: 8px; }
.cream-comment .comment-reply-link {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #6B6B66;
  text-decoration: none;
  border-bottom: 1px solid #C9C9C4;
  padding-bottom: 1px;
}
.cream-comment .comment-reply-link:hover { color: #111; border-bottom-color: #111; }

@media (max-width: 600px) {
  .cream-comments-block__head h3 { font-size: 24px; }
  .cream-comment-form { padding: 16px; }
  .cream-comment-form__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .cream-comment-form__foot button { width: 100%; }
}

/* ---------- LEGACY block kept for archive cards (Single-post 2-col) --- */
.cream-article-grid { gap: 80px !important; }
.cream-article-main { max-width: 720px; }
.cream-article-aside {
  font-family: "Inter", sans-serif;
}
.cream-aside {
  position: sticky;
  top: 110px;
  display: block;
}
.cream-aside .wp-block-post-title a {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
  color: #111;
}
.cream-read-pill {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #6B6B66;
  text-transform: uppercase;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .cream-article-grid { gap: 32px !important; flex-wrap: wrap !important; }
  .cream-article-aside { flex-basis: 100% !important; }
  .cream-aside { position: static; }
}

/* ---------- Tag pills (matches Tag component) -------------------------- */
.cream-tags,
.wp-block-post-terms.cream-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
}
.cream-tags a,
.wp-block-post-terms.cream-tags a {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #DDDDD8;
  color: #3a3a35;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.cream-tags a:hover,
.wp-block-post-terms.cream-tags a:hover {
  background: #ECECEC;
  border-color: #ECECEC;
}

/* ---------- Action buttons (clap / save / share) ----------------------- */
.cream-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cream-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #E5E5E2;
  border-radius: 999px;
  background: transparent;
  color: #3a3a35;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
  font-variant-numeric: tabular-nums;
}
.cream-btn:hover { border-color: #111; color: #111; }
.cream-btn.is-active,
.cream-btn[aria-pressed="true"] {
  background: #111;
  color: #fff;
  border-color: #111;
}
.cream-btn.is-pulse { transform: scale(1.06); }
.cream-share-popover {
  position: absolute;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #E5E5E2;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  z-index: 30;
}
.cream-share-popover button {
  background: transparent;
  border: none;
  text-align: left;
  padding: 8px 12px;
  font: 13px/1 "Inter", sans-serif;
  color: #3a3a35;
  cursor: pointer;
  border-radius: 4px;
}
.cream-share-popover button:hover { background: #F6F6F4; color: #111; }

.cream-post-actions { gap: 24px; align-items: center; }
@media (max-width: 600px) {
  .cream-post-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Embeds (YouTube, Vimeo, Twitter, etc.) -----------------------
   Body prose lives at 620px for readability, but video embeds need room.
   Two cases:
   1) Block editor → <figure class="wp-block-embed"> wrapper
   2) Classic oEmbed → bare <iframe width="500" height="281"> with no wrapper
*/
.cream-post .wp-block-embed,
.cream-post figure.wp-block-embed {
  max-width: 880px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  margin-bottom: 32px;
}

/* Bare iframes (oEmbed without figure wrapper) — force 16:9 fluid sizing,
   ignore the inline width/height oEmbed sets, center, give the same width. */
.cream-post .wp-block-post-content iframe[src*="youtube.com"],
.cream-post .wp-block-post-content iframe[src*="youtu.be"],
.cream-post .wp-block-post-content iframe[src*="youtube-nocookie.com"],
.cream-post .wp-block-post-content iframe[src*="vimeo.com"],
.cream-post .wp-block-post-content iframe[src*="dailymotion.com"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  max-width: 880px;
  margin: 32px auto;
  display: block;
  border: 0;
}

/* When oEmbed wraps the iframe in <p>, give the paragraph the same break-out width. */
.cream-post .wp-block-post-content > p:has(> iframe) {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* The .wp-block-embed__wrapper wraps the iframe; force 16:9 fluid sizing. */
.cream-post .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.cream-post .wp-block-embed__wrapper > iframe,
.cream-post .wp-block-embed__wrapper > video,
.cream-post .wp-block-embed__wrapper > embed,
.cream-post .wp-block-embed__wrapper > object {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* Vertical video (TikTok, Instagram Reels, Shorts) — 9:16 instead of 16:9. */
.cream-post .wp-block-embed.is-type-rich.wp-block-embed-tiktok .wp-block-embed__wrapper,
.cream-post .wp-block-embed.is-type-video.wp-block-embed-instagram .wp-block-embed__wrapper {
  padding-bottom: 177.77%;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* Twitter/X embeds and Instagram posts aren't iframe-based — let them be. */
.cream-post .wp-block-embed.is-type-rich .wp-block-embed__wrapper {
  height: auto;
  padding-bottom: 0;
  position: static;
}
.cream-post .wp-block-embed.is-type-rich .wp-block-embed__wrapper > * {
  position: static;
  width: 100% !important;
  height: auto !important;
}

/* Caption styling under any embed. */
.cream-post .wp-block-embed figcaption {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6b66;
  margin-top: 10px;
  text-align: center;
}
