/* ================================================================
   Myśli Złote — Phase 2 CSS
   Based on approved mockup v0.11 design system.
   Overrides Blocksy 2.1.x to match the editorial gold/cream palette.
   ================================================================ */

/* ── 1. DESIGN TOKENS ───────────────────────────────────────────── */

:root {
  /* Palette — Blocksy vars overridden */
  --theme-palette-color-1: #A48140;
  --theme-palette-color-2: #6E5424;
  --theme-palette-color-3: #1C1C1E;
  --theme-palette-color-4: #595045;
  --theme-palette-color-5: #F8F4ED;
  --theme-palette-color-6: #E4DACA;
  --theme-palette-color-7: #FFFFFF;
  --theme-palette-color-8: #8B8175;

  /* Local tokens (matching v0.11) */
  --bg:         #F8F4ED;
  --bg-el:      #FFFFFF;
  --ink:        #1C1C1E;
  --ink-soft:   #595045;
  --ink-faint:  #8B8175;
  --gold:       #A48140;
  --gold-deep:  #6E5424;
  --rule:       #E4DACA;
  --rule-soft:  #EFE8DC;

  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.78rem + 0.20vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.93rem + 0.31vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.10rem + 0.46vw, 1.40rem);
  --step-2:  clamp(1.44rem, 1.31rem + 0.62vw, 1.78rem);
  --step-3:  clamp(1.73rem, 1.55rem + 0.83vw, 2.22rem);
  --step-4:  clamp(2.07rem, 1.83rem + 1.10vw, 2.78rem);

  /* Layout */
  --col-text:  42rem;
  --col-wide:  72rem;
}

/* ── 2. GLOBAL ──────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

/* ──────────────────────────────────────────────────────────────────
   PHASE 2 — GLOBAL HORIZONTAL OVERFLOW GUARDS
   Hard constraint: documentElement.scrollWidth <= clientWidth
   ────────────────────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg) !important;
  color: var(--ink-soft) !important;
  font-family: var(--sans) !important;
  font-size: var(--step-0) !important;
  line-height: 1.65 !important;
  font-feature-settings: "kern", "liga" !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  position: relative !important;
  max-width: 100vw !important;
  width: 100%;
}

/* Note: NO `overflow-x: hidden` here on purpose — that masks the real
   offender. Real width constraints are applied in the mobile media block. */

/* Universal: flex/grid children can shrink below content width.
   This is the single most important fix for global overflow. */
*,
*::before,
*::after { min-width: 0; }

/* Media never exceeds container */
img, picture, video, iframe, embed, object, svg, canvas {
  max-width: 100% !important;
  height: auto;
}
img[width][height] { height: auto; }  /* preserve aspect ratio */

/* Long content with no spaces (URLs, emails) breaks instead of overflowing */
p, h1, h2, h3, h4, h5, h6, li, dd, dt, blockquote,
.editorial-body, .article-body, .quote-item__text, .blog-card__title,
.article-head__title, .editorial-head__title, .next-prompt__title,
.feed-item__title, .search-results__title, .teaser__title,
.editorial-feature__text, .flagship-quote__text,
.q-dense__text, .mz-blockquote, .hero__quote--editorial,
.manifesto__text, .quote-list__intro, .editorial-rail__post-title {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
}

/* Horizontal-scroll containers stay strictly inside viewport */
.authors-rail, .recent-rail__items, .quote-toc__list, .header-tools,
.cats-dense, .blog-grid, .mixed-feed, .quotes-dense,
.mz-quotes-stream, .editorial-share__buttons,
.quote-graphic__actions {
  max-width: 100%;
}

/* Tables / pre / code never push viewport */
table, pre, code { max-width: 100%; }
pre, code { overflow-x: auto; word-wrap: break-word; }

/* Yoast schema breadcrumbs sometimes inject wide content */
.ct-breadcrumbs, .breadcrumb {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Paper grain texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.45  0 0 0 0 0.30  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif) !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.18 !important;
}

a {
  color: var(--ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--rule) !important;
  transition: color .15s ease, border-color .15s ease !important;
}
a:hover {
  color: var(--gold-deep) !important;
  border-color: var(--gold) !important;
}

::selection {
  background: var(--gold) !important;
  color: #fff !important;
}

/* Elevate content above grain layer */
#header, .ct-header, main, .site-main, .ct-container,
article, aside, nav, .breadcrumb,
.entry-content, .mz-footer,
.mz-kicker-bar, .mz-quotes-stream, .mz-related, .mz-home-hero {
  position: relative;
  z-index: 2;
}

/* ── 3. HEADER ──────────────────────────────────────────────────── */

#header.ct-header,
.ct-header {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--rule) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Remove dark/transparent Blocksy header styles */
[data-header*="type-1"] .ct-header {
  background-color: var(--bg) !important;
  background-image: none !important;
}

[data-header*="type-1"] .ct-header [data-row*="middle"] {
  background-color: var(--bg) !important;
  background-image: none !important;
}

/* Logo / site title */
.site-branding .site-title,
.site-branding .site-title a,
[data-id="logo"] .site-title a,
.ct-logo a,
.site-title a {
  font-family: var(--serif) !important;
  font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: var(--ink) !important;
  border-bottom: none !important;
  --theme-link-initial-color: var(--ink) !important;
}
.site-branding .site-title a:hover,
.ct-logo a:hover,
.site-title a:hover {
  color: var(--gold) !important;
  --theme-link-hover-color: var(--gold) !important;
}

/* Nav links */
.ct-menu-link,
.ct-menu > li > a,
#header nav a,
[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a {
  font-family: var(--sans) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: var(--ink-soft) !important;
  letter-spacing: 0.015em !important;
  border-bottom: none !important;
  text-transform: none !important;
  --theme-link-initial-color: var(--ink-soft) !important;
  --theme-font-weight: 500 !important;
  --theme-font-size: 14px !important;
  --theme-text-transform: none !important;
}
.ct-menu-link:hover,
.ct-menu > li > a:hover,
.ct-menu > li.current-menu-item > a {
  color: var(--gold) !important;
  --theme-link-hover-color: var(--gold) !important;
  --theme-link-active-color: var(--gold) !important;
}

/* Search icon color */
.ct-header-search button,
.ct-search-button-content,
[data-id="search"] button,
[data-id="trigger"] {
  color: var(--ink-soft) !important;
  --theme-icon-color: var(--ink-soft) !important;
  --theme-icon-hover-color: var(--gold) !important;
}

/* Mobile hamburger */
[data-id="trigger"] svg,
.ct-toggle svg {
  color: var(--ink-soft) !important;
}

/* Offcanvas mobile menu */
#offcanvas .ct-panel-inner,
[data-header*="type-1"] #offcanvas .ct-panel-inner {
  background-color: var(--ink) !important;
}
#offcanvas .ct-menu-link,
#offcanvas nav a {
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--serif) !important;
  font-size: 1.2rem !important;
  border-bottom: none !important;
  --theme-link-initial-color: rgba(255,255,255,0.85) !important;
}
#offcanvas .ct-menu-link:hover {
  color: var(--gold) !important;
}

/* ── 4. HOME HERO ────────────────────────────────────────────────── */

.mz-home-hero {
  background: var(--bg);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.mz-home-hero__h1 {
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
  margin: 0 0 0.75rem !important;
}
.mz-home-hero__h1 em {
  font-style: italic;
  color: var(--gold-deep);
}

.mz-home-hero__sub {
  font-family: var(--sans);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--ink-faint);
  margin: 0 0 2rem;
  line-height: 1.6;
}

/* Search form in hero */
.mz-home-hero .search-form,
.mz-home-hero form[role="search"] {
  display: flex !important;
  max-width: 520px !important;
  margin: 0 auto 2rem !important;
  border: 1px solid var(--rule) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: var(--bg-el) !important;
  box-shadow: 0 2px 12px rgba(28,28,30,0.06) !important;
}
.mz-home-hero .search-field,
.mz-home-hero input[type="search"] {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--sans) !important;
  font-size: 0.9rem !important;
  background: transparent !important;
  color: var(--ink) !important;
  min-width: 0 !important;
}
.mz-home-hero .search-field::placeholder {
  color: var(--ink-faint) !important;
}
.mz-home-hero .search-submit,
.mz-home-hero button[type="submit"] {
  background: var(--ink) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.75rem 1.25rem !important;
  font-family: var(--sans) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  cursor: pointer !important;
  transition: background .18s !important;
  white-space: nowrap !important;
}
.mz-home-hero .search-submit:hover {
  background: var(--gold-deep) !important;
}

/* Category pills in hero */
.mz-home-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.mz-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--bg-el);
  border: 1px solid var(--rule) !important;
  border-radius: 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft) !important;
  transition: all .18s;
  border-bottom: 1px solid var(--rule) !important;
}
.mz-cat-pill:hover {
  border-color: var(--gold) !important;
  color: var(--gold-deep) !important;
}
.mz-cat-pill span {
  font-size: 0.67rem;
  color: var(--ink-faint);
  font-weight: 400;
}

/* Featured links row */
.mz-home-featured-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 0.75rem;
  font-size: 0.8rem;
}
.mz-home-featured-links__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--ink-faint);
  font-weight: 500;
}
.mz-home-featured-links a {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-soft) !important;
  border-bottom: 1px solid var(--rule) !important;
  transition: all .15s;
}
.mz-home-featured-links a:hover {
  color: var(--gold-deep) !important;
  border-color: var(--gold) !important;
}

/* ── 5. ARCHIVE / HOMEPAGE CARDS ────────────────────────────────── */

/* Hide featured images on archive/home — text-only editorial cards */
.blog article.entry-card .ct-media-container,
.archive article.entry-card .ct-media-container,
.home article.entry-card .ct-media-container,
.search article.entry-card .ct-media-container {
  display: none !important;
}

/* Archive header (category/tag/search hero) */
.entry-header.hero-section,
[data-prefix="blog"] .entry-header,
[data-prefix="categories"] .entry-header,
[data-prefix="search"] .entry-header {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--rule) !important;
  padding: 2rem 0 1.5rem !important;
}
[data-prefix="blog"] .entry-header .page-title,
[data-prefix="categories"] .entry-header .page-title,
[data-prefix="search"] .entry-header .page-title {
  color: var(--ink) !important;
  --theme-heading-color: var(--ink) !important;
  font-size: var(--step-2) !important;
}
[data-prefix="blog"] .entry-header .page-description,
[data-prefix="categories"] .entry-header .page-description {
  color: var(--ink-faint) !important;
  --theme-text-color: var(--ink-faint) !important;
}

article.entry-card {
  background: var(--bg-el) !important;
  border: 1px solid var(--rule-soft) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s !important;
  padding: 1.4rem 1.5rem 1.25rem !important;
}
article.entry-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(28, 28, 30, 0.07) !important;
  border-color: var(--rule) !important;
}

article.entry-card .entry-title {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  font-size: var(--step-1) !important;
  line-height: 1.28 !important;
  margin: 0 0 0.6rem !important;
}
article.entry-card .entry-title a {
  color: var(--ink) !important;
  border-bottom: none !important;
}
article.entry-card .entry-title a:hover {
  color: var(--gold-deep) !important;
}

article.entry-card .entry-meta,
article.entry-card .ct-meta-element-date,
article.entry-card .ct-meta-element-author,
article.entry-card .ct-meta-element-categories {
  font-family: var(--sans) !important;
  font-size: 0.68rem !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.45rem !important;
}
article.entry-card .entry-meta a {
  color: var(--gold) !important;
  border-bottom: none !important;
}

article.entry-card .entry-excerpt,
article.entry-card .entry-excerpt p {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: var(--step-0) !important;
  color: var(--ink) !important;
  line-height: 1.65 !important;
  margin: 0 0 0.9rem !important;
}

article.entry-card .more-link,
article.entry-card .read-more,
article.entry-card .entry-button a {
  font-family: var(--sans) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  color: var(--gold) !important;
  border-bottom: none !important;
  letter-spacing: 0.04em !important;
  transition: color .15s !important;
}
article.entry-card .more-link:hover,
article.entry-card .entry-button a:hover {
  color: var(--gold-deep) !important;
}

/* ── 6. SINGLE POST — ARTICLE HEAD ──────────────────────────────── */

.single .entry-header,
.single .article-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}

.single h1.entry-title,
.single .entry-title h1,
h1.entry-title {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  font-size: clamp(1.75rem, 4vw, 2.6rem) !important;
  line-height: 1.18 !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.75rem !important;
}

.single .entry-meta,
.single .ct-meta-element-categories {
  font-family: var(--sans) !important;
  font-size: 0.67rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--gold) !important;
  margin-bottom: 0.9rem !important;
  display: block !important;
}
.single .entry-meta a,
.single .ct-meta-element-categories a {
  color: var(--gold) !important;
  border-bottom: none !important;
}

.single .ct-media-container img,
.single .wp-post-image,
.single .entry-media img {
  width: 100% !important;
  max-height: 340px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  display: block !important;
  margin-bottom: 2rem !important;
}

/* ── 7. QUOTE STREAM ─────────────────────────────────────────────── */

.mz-kicker-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.mz-kicker {
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.mz-kicker-sep {
  color: var(--rule);
  font-size: 0.7rem;
}
.mz-count {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.mz-post-intro {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: var(--col-text);
  margin: 0 0 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule-soft);
}
.mz-post-intro p { margin: 0 0 0.75em; }
.mz-post-intro p:last-child { margin-bottom: 0; }

.mz-quotes-toc {
  background: var(--bg-el);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  max-width: var(--col-text);
}
.mz-quotes-toc__label {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule-soft);
}
.mz-quotes-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.mz-quotes-toc__list li {
  counter-increment: toc;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--rule-soft);
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}
.mz-quotes-toc__list li:last-child { border-bottom: none; }
.mz-quotes-toc__list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
  min-width: 1.8rem;
}
.mz-quotes-toc__list a {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-soft) !important;
  border-bottom: none !important;
  transition: color .15s;
  line-height: 1.4;
}
.mz-quotes-toc__list a:hover { color: var(--gold-deep) !important; }

.mz-quotes-stream { max-width: var(--col-text); }

.mz-quote-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 1.5rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 80px;
}
.mz-quote-item:last-child {
  border-bottom: none;
  padding-bottom: 0.5rem;
}

.mz-quote-num {
  padding-top: 0.2rem;
  text-align: right;
  user-select: none;
  line-height: 1;
  font-family: var(--sans);
}
.mz-quote-num strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.mz-quote-num em {
  display: block;
  font-style: normal;
  font-size: 0.6rem;
  color: var(--rule);
  margin: 0.2rem 0;
}
.mz-quote-num span {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-faint);
}

.mz-quote-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mz-blockquote,
blockquote.mz-blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: clamp(1.14rem, 2.2vw, 1.38rem) !important;
  line-height: 1.78 !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
}
.mz-blockquote p,
blockquote.mz-blockquote p {
  font-family: var(--serif) !important;
  font-style: italic !important;
  color: var(--ink) !important;
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 0 0.65em !important;
}
.mz-blockquote p:last-child,
blockquote.mz-blockquote p:last-child { margin-bottom: 0 !important; }

.mz-quote-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mz-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color .15s;
}
.mz-action-btn:hover { color: var(--gold); }
.mz-action-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.mz-action-btn--done { color: var(--gold-deep); }

/* ── 8. RELATED POSTS ────────────────────────────────────────────── */

.mz-related {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  max-width: var(--col-text);
}
.mz-related__label {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 1.25rem;
}
.mz-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mz-related__card {
  display: block;
  padding: 1.1rem 1.25rem 1rem;
  background: var(--bg-el);
  border: 1px solid var(--rule-soft) !important;
  border-radius: 4px;
  transition: all .18s;
}
.mz-related__card:hover {
  border-color: var(--rule) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(28,28,30,.06);
}
.mz-related__cat {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.mz-related__title {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.35;
}
.mz-related__count {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  color: var(--ink-faint);
  margin-top: 0.4rem;
}

/* ── 9. SINGLE BLOG ARTICLES (non-quote) ────────────────────────── */

.single:not(.has-mz-quotes) .entry-content {
  max-width: var(--col-text);
  margin: 0 auto;
}
.single:not(.has-mz-quotes) .entry-content > p {
  font-size: var(--step-0);
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.5em;
}
.single:not(.has-mz-quotes) .entry-content h2,
.single:not(.has-mz-quotes) .entry-content h3 {
  font-family: var(--serif) !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  margin-top: 2em;
  margin-bottom: 0.75em;
}
.single:not(.has-mz-quotes) .entry-content > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: 0.8;
  float: left;
  margin-right: 0.12em;
  margin-top: 0.07em;
  color: var(--gold-deep);
  font-weight: 700;
}
.single:not(.has-mz-quotes) .entry-content blockquote {
  border-left: 3px solid var(--gold);
  border-top: none; border-right: none; border-bottom: none;
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink);
  background: transparent;
}

/* ── 10. BREADCRUMB ──────────────────────────────────────────────── */

.ct-breadcrumbs,
nav.breadcrumb,
.breadcrumb {
  font-family: var(--sans) !important;
  font-size: 0.72rem !important;
  color: var(--ink-faint) !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 2rem !important;
}
.ct-breadcrumbs a,
.breadcrumb a {
  color: var(--ink-faint) !important;
  border-bottom: none !important;
  transition: color .15s !important;
}
.ct-breadcrumbs a:hover,
.breadcrumb a:hover { color: var(--gold) !important; }
.ct-breadcrumbs span,
.ct-breadcrumbs .ct-breadcrumb-sep { color: var(--rule) !important; }

/* ── 11. ARCHIVE / TAXONOMY HEADER ──────────────────────────────── */

.page-title, h1.page-title, .archive-title, h1.archive-title {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  font-size: var(--step-3) !important;
  letter-spacing: -0.015em !important;
  margin-bottom: 0.5rem !important;
}
.archive-description, .taxonomy-description, .category-description {
  font-size: 0.95rem;
  color: var(--ink-faint);
  line-height: 1.75;
  max-width: 60ch;
  margin-top: 0.5rem;
}

/* ── 12. SIDEBAR ─────────────────────────────────────────────────── */

.ct-sidebar .widget,
aside .widget {
  background: var(--bg-el);
  border: 1px solid var(--rule-soft);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.widget-title {
  font-family: var(--sans) !important;
  font-size: 0.67rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--ink-faint) !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.65rem !important;
  border-bottom: 1px solid var(--rule-soft) !important;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { border-bottom: 1px solid var(--rule-soft); padding: 0.4rem 0; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft) !important;
  border-bottom: none !important;
}
.widget ul li a:hover { color: var(--gold) !important; }

/* ── 13. PAGINATION ──────────────────────────────────────────────── */

.ct-pagination .page-numbers {
  font-family: var(--sans) !important;
  border-color: var(--rule) !important;
  background: var(--bg-el) !important;
  color: var(--ink-soft) !important;
  border-radius: 4px !important;
  transition: all .18s !important;
  border-bottom: none !important;
}
.ct-pagination .page-numbers.current {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}
.ct-pagination .page-numbers:hover:not(.current) {
  border-color: var(--gold) !important;
  color: var(--gold-deep) !important;
}

/* ── 14. POST TAGS ───────────────────────────────────────────────── */

.post-tags, .entry-tags, .ct-meta-element-tags {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.post-tags a, .entry-tags a,
.ct-meta-element-tags a {
  font-family: var(--sans) !important;
  font-size: 0.7rem !important;
  color: var(--ink-faint) !important;
  border: 1px solid var(--rule) !important;
  border-bottom: 1px solid var(--rule) !important;
  padding: 0.22rem 0.6rem !important;
  border-radius: 2px !important;
  transition: all .18s !important;
  line-height: 1.4 !important;
}
.post-tags a:hover,
.ct-meta-element-tags a:hover {
  border-color: var(--gold) !important;
  color: var(--gold-deep) !important;
}

/* ── 15. READING PROGRESS BAR ───────────────────────────────────── */

.mz-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  z-index: 9998;
  pointer-events: none;
}
.mz-progress__bar {
  height: 100%;
  background: var(--gold);
  width: var(--progress, 0%);
  transition: width 100ms linear;
  box-shadow: 0 0 6px rgba(164, 129, 64, 0.4);
}

/* ── 16. TOAST ───────────────────────────────────────────────────── */

.mz-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: rgba(255,255,255,0.9);
  font-family: var(--sans);
  font-size: 0.78rem;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.mz-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── 17. PREMIUM FOOTER ──────────────────────────────────────────── */

/* Hide any remaining Blocksy footer output */
.ct-footer { display: none !important; }

.mz-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  font-family: var(--sans);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
  margin-top: 4rem;
}

.mz-footer__top {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mz-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Brand col */
.mz-footer__brand {}
.mz-footer__logo {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff !important;
  border-bottom: none !important;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.mz-footer__logo span { color: var(--gold); }
.mz-footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.mz-footer__random {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.4) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 3px;
  padding: 0.3rem 0.75rem;
  transition: all .18s;
}
.mz-footer__random:hover {
  color: var(--gold) !important;
  border-color: rgba(164,129,64,0.4) !important;
}

/* Footer columns */
.mz-footer__colhead {
  font-family: var(--sans) !important;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: rgba(255,255,255,0.3) !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1 !important;
}
.mz-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mz-footer__col ul li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.35rem 0;
}
.mz-footer__col ul li:last-child { border-bottom: none; }
.mz-footer__col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5) !important;
  border-bottom: none !important;
  transition: color .15s;
}
.mz-footer__col ul li a:hover { color: var(--gold) !important; }

/* Footer bottom bar */
.mz-footer__bottom {
  padding: 1.1rem 0;
}
.mz-footer__bottom .ct-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.mz-footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
}
.mz-footer__credits {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.15);
}

/* ── 18. SECTION LABEL (shared) ──────────────────────────────────── */

.mz-section-label {
  font-family: var(--sans) !important;
  font-size: 0.67rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--ink-faint) !important;
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid var(--rule-soft) !important;
}

/* ── 19. SEARCH RESULTS PAGE ─────────────────────────────────────── */

.search .entry-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.search h1.page-title {
  font-size: var(--step-2) !important;
}

/* ── 20. RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .mz-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .mz-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .mz-related__grid { grid-template-columns: 1fr 1fr; }
  .mz-quote-item { grid-template-columns: 44px 1fr; gap: 0 1.1rem; }
  .mz-home-hero { padding: 2.5rem 0 2rem; }
}

@media (max-width: 640px) {
  /* Quote items */
  .mz-quote-item {
    grid-template-columns: 38px 1fr;
    gap: 0 0.9rem;
    padding: 1.75rem 0;
  }
  .mz-blockquote,
  blockquote.mz-blockquote {
    font-size: 1.08rem !important;
  }
  .mz-related__grid { grid-template-columns: 1fr; }
  .mz-quotes-toc { display: none; }

  /* Single post title */
  .single h1.entry-title,
  h1.entry-title {
    font-size: clamp(1.55rem, 5.5vw, 2rem) !important;
  }

  /* Archive cards */
  article.entry-card .entry-title {
    font-size: 1.05rem !important;
  }

  /* Footer */
  .mz-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .mz-footer__brand { grid-column: auto; }
  .mz-footer__bottom .ct-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  /* Home hero */
  .mz-home-hero__h1 {
    font-size: clamp(1.7rem, 7vw, 2.5rem) !important;
  }
  .mz-home-hero .search-form,
  .mz-home-hero form[role="search"] {
    flex-direction: column !important;
    border-radius: 4px !important;
  }
  .mz-home-hero .search-field,
  .mz-home-hero input[type="search"] {
    border-bottom: 1px solid var(--rule) !important;
  }
  .mz-home-hero .search-submit,
  .mz-home-hero button[type="submit"] {
    border-radius: 0 !important;
  }
}

@media (max-width: 480px) {
  .mz-action-btn span { display: none; }
  .mz-home-featured-links { font-size: 0.75rem; }
  .mz-home-featured-links a { font-size: 0.72rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PHASE 2 EDITORIAL LAYOUT — All mockup v0.11 components
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Z-INDEX: elevate new layout elements above grain layer ── */
.site-header, .mz-mobile-nav,
.hero, .manifesto, .section, .stats-strip,
.editorial-feature, .next-prompt, .recent-rail,
.site-footer, .load-more {
  position: relative;
  z-index: 2;
}

/* ── 21. CUSTOM SITE HEADER ─────────────────────────────────────────────── */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  font-family: var(--serif) !important;
  font-size: 1.42rem !important;
  font-style: italic !important;
  letter-spacing: -0.01em !important;
  color: var(--ink) !important;
  border: none !important;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand__mark {
  display: inline-block;
  width: 0.52em;
  height: 0.52em;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-0.08em);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink) !important; }

.issue-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-faint);
  border: none !important;
  padding-left: 1.1rem;
  border-left: 1px solid var(--rule) !important;
  margin-left: 0.2rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.issue-mark__num { color: var(--gold-deep); }

.nav {
  display: flex;
  gap: 1.6rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  flex: 1;
  justify-content: center;
}
.nav a {
  border: none !important;
  color: var(--ink-soft) !important;
  padding: 0.25rem 0;
  position: relative;
  transition: color .15s;
}
.nav a:hover { color: var(--ink) !important; }
.nav a.is-active { color: var(--ink) !important; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.search-mini {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-sizing: border-box;
  height: 36px;               /* match btn-random for a stable, aligned header row */
  padding: 0 0.85rem;
  background: var(--bg-el);
  border: 1px solid var(--rule) !important;
  border-radius: 99px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  cursor: text;
  transition: border-color .15s;
  min-width: 200px;
  flex-shrink: 0;
}
.search-mini:hover { border-color: var(--gold) !important; }
.search-mini input {
  border: none !important;
  background: transparent !important;
  outline: none;
  font: inherit;
  color: var(--ink);
  width: 100%;
  padding: 0 !important;
}
.search-mini input::placeholder { color: var(--ink-faint); }
.search-mini__icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--ink-faint);
}
.btn-random {
  display: inline-flex;        /* stiffen: predictable box, no inline baseline drift */
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 36px;               /* matches search-mini height — row stays aligned */
  line-height: 1;
  border: 1px solid var(--gold) !important;
  background: transparent;
  padding: 0 0.95rem;
  border-radius: 99px;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep) !important;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
  flex-shrink: 0;             /* never squash/grow in the flex header row */
  vertical-align: middle;
}
.btn-random:hover {
  background: var(--gold);
  color: #fff !important;
}
.btn-random__shuffle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;             /* fixed width → label never shifts */
  margin-right: 0.3rem;
}
/* No hover rotation: the ↻ glyph isn't centered in its em-box, so a 180° spin
   visually swings the arrow side-to-side and reads as "floating". Hover feedback
   comes purely from the gold fill + white text — the icon stays put. */

/* ── 22. MOBILE HAMBURGER ───────────────────────────────────────────────── */

.mz-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  background: none;
  border: 1px solid var(--rule) !important;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}
/* Hamburger icon (3 bars) — stacked in a wrapper */
.mz-mobile-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
  flex-shrink: 0;
}
.mz-mobile-toggle__label {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}
.mz-mobile-toggle__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bg);
  border-radius: 1px;
  transition: transform .25s ease, opacity .2s, width .2s;
}
.mz-mobile-toggle[aria-expanded="true"] .mz-mobile-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.mz-mobile-toggle[aria-expanded="true"] .mz-mobile-toggle__icon span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.mz-mobile-toggle[aria-expanded="true"] .mz-mobile-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── 23. MOBILE NAV ─────────────────────────────────────────────────────── */

.mz-mobile-nav {
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
  z-index: 99;
}
.mz-mobile-nav[hidden] { display: none; }
.mz-mobile-nav__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mz-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mz-mobile-nav__list li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mz-mobile-nav__list li a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.85) !important;
  border: none !important;
  transition: color .15s;
}
.mz-mobile-nav__list li a:hover,
.mz-mobile-nav__list li a.is-active { color: var(--gold) !important; }
.mz-mobile-nav__search {
  display: flex;
  margin-top: 1.25rem;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 4px;
  overflow: hidden;
}
.mz-mobile-nav__search input {
  flex: 1;
  background: transparent;
  border: none !important;
  outline: none;
  padding: 0.7rem 1rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.mz-mobile-nav__search input::placeholder { color: rgba(255,255,255,0.3); }
.mz-mobile-nav__search button {
  background: var(--gold);
  color: #fff;
  border: none !important;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  cursor: pointer;
}
.mz-mobile-nav__random {
  display: block;
  margin-top: 1rem;
  padding: 0.65rem 0;
  color: rgba(255,255,255,0.4) !important;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border: none !important;
}
.mz-mobile-nav__random:hover { color: var(--gold) !important; }

/* ── 24. HERO EDITORIAL ─────────────────────────────────────────────────── */

.hero--editorial {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(5rem, 14vh, 11rem) 1.5rem clamp(5rem, 12vh, 8rem);
  color: var(--ink);
  overflow: hidden;
  border-bottom: none;
}
/* Warm photo overlay (v0.5 light editorial) */
.hero--editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg,
      rgba(248,244,237,0.74) 0%,
      rgba(248,244,237,0.58) 60%,
      rgba(248,244,237,0.78) 100%),
    url("https://images.unsplash.com/photo-1457369804613-52c61a468e7d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=82");
  background-size: cover;
  background-position: center 35%;
  filter: contrast(0.96) brightness(1.06) saturate(0.85) sepia(0.06);
  z-index: 0;
}
.hero--editorial::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.22;
  z-index: 1;
  pointer-events: none;
}
.hero--editorial > * { position: relative; z-index: 2; }

.hero__edition {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.hero__edition::before, .hero__edition::after {
  content: "";
  width: 2rem; height: 1px;
  background: var(--gold); opacity: 0.5;
}

.hero__quote--editorial {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.2rem + 4vw, 4.8rem);
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 auto 2.5rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 2px rgba(248,244,237,0.5);
}
.hero__quote--editorial em {
  font-style: italic;
  color: var(--gold-deep);
}

.hero__attr--editorial {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
}
.hero__attr--editorial::before, .hero__attr--editorial::after {
  content: ""; width: 2rem; height: 1px;
  background: var(--rule);
}
.hero__attr--editorial a {
  border: none !important;
  color: var(--gold-deep) !important;
}
.hero__attr--editorial a:hover { color: var(--gold) !important; }
.hero__attr--editorial .sig { color: var(--gold); }

.hero__scroll-cue {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__scroll-cue__line {
  width: 1px; height: 2.5rem;
  background: linear-gradient(180deg, transparent, var(--ink-faint), transparent);
}

/* ── 25. MANIFESTO ──────────────────────────────────────────────────────── */

.manifesto {
  background: linear-gradient(180deg, var(--bg) 0%, #F2EBDA 100%);
  color: var(--ink);
  padding: clamp(4rem, 9vh, 7rem) 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(164,129,64,0.05), transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(164,129,64,0.04), transparent 55%);
  pointer-events: none;
}
.manifesto__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}
.manifesto__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 0.8rem;
  border-top: 1px solid var(--gold) !important;
}
.manifesto__label__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
  line-height: 1;
}
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 0.9rem + 1.5vw, 2.2rem);
  line-height: 1.32;
  color: var(--ink);
  max-width: 32ch;
  letter-spacing: -0.012em;
  font-weight: 400;
}
.manifesto__text em { font-style: italic; color: var(--gold-deep); }
.manifesto__sign {
  margin-top: 2rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.manifesto__sign::before { content: "—"; color: var(--gold); }

/* ── 26. SECTION HEADERS ────────────────────────────────────────────────── */

.section {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.section:last-of-type { border-bottom: none; }

.section--numbered { position: relative; }
.section--numbered .section__head { padding-left: 5rem; }
.section__num {
  position: absolute;
  left: 1.5rem;
  top: -0.3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--rule);
}
.section__title {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  color: var(--ink) !important;
  margin: 0 !important;
}
.section__title em { color: var(--gold-deep); font-style: italic; }
.section__more {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft) !important;
  border: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.section__more:hover { color: var(--gold-deep) !important; }
.section__more::after { content: " →"; }

/* ── 27. FEED LAYOUT (2-col: quotes + sidebar) ──────────────────────────── */

.feed-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.feed-layout__sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── 28. QUOTES DENSE GRID ──────────────────────────────────────────────── */

.quotes-dense {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.q-dense {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.8rem 1.4rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-el);
  text-decoration: none;
  border-bottom-color: var(--rule);
  transition: background .18s;
  min-height: 200px;
}
.q-dense:hover { background: #FCFAF5; }
.q-dense__text {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.42;
  color: var(--ink) !important;
  font-weight: 400;
  border: none !important;
}
.q-dense__attr {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.q-dense:hover .q-dense__text { color: var(--gold-deep) !important; }

/* Feature cells span 2 columns */
.q-dense--feature {
  grid-column: span 2;
  background: linear-gradient(180deg, #FCFAF5 0%, var(--bg-el) 100%);
  min-height: 260px;
  position: relative;
}
.q-dense--feature::before {
  content: "\201E";
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.15;
  pointer-events: none;
}
.q-dense--feature .q-dense__text {
  font-size: 1.45rem;
  line-height: 1.32;
}

/* ── 29. TRENDING SIDEBAR ───────────────────────────────────────────────── */

.trending {
  background: var(--bg-el);
  border: 1px solid var(--rule);
  padding: 1.75rem;
}
.trending__title {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trending__pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.trending__pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.5;
  animation: mz-pulse 2s ease-out infinite;
}
@keyframes mz-pulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.9); opacity: 0; }
}
.trending__list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
}
.trending__list li {
  border-bottom: 1px solid var(--rule-soft);
  padding: 0.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.trending__list li:last-child { border-bottom: none; }
.trending__list .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  width: 1.5rem;
  flex-shrink: 0;
}
.trending__list a {
  border: none !important;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink) !important;
  display: block;
}
.trending__list a:hover { color: var(--gold-deep) !important; }
.trending__list .meta {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  display: block;
  margin-top: 0.15rem;
}

/* ── 30. STATS STRIP ────────────────────────────────────────────────────── */

.stats-strip {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg);
}
.stats-strip__item {
  padding: 0 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: left;
}
.stats-strip__item:first-child { padding-left: 0; }
.stats-strip__item:last-child { border-right: none; }
.stats-strip__num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1.1rem + 1vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.45rem;
  display: block;
}
.stats-strip__num em { font-style: italic; color: var(--gold-deep); }
.stats-strip__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── 31. EDITORIAL FEATURE ──────────────────────────────────────────────── */

.editorial-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.editorial-feature__photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-el); /* cream placeholder */
  min-height: 420px;
}
.editorial-feature__photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 65%, rgba(20,18,14,0.28) 100%),
    url("https://images.unsplash.com/photo-1532012197267-da84d127e765?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=82");
  background-size: cover;
  background-position: center;
  filter: contrast(0.95) brightness(1.04) saturate(0.92);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.editorial-feature:hover .editorial-feature__photo::before { transform: scale(1.04); }
.editorial-feature__photo__caption {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}

.editorial-feature__quote {
  padding: clamp(2.5rem, 7vh, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.editorial-feature__quote::before {
  content: "\201E";
  position: absolute;
  top: 1.2rem;
  left: clamp(1.5rem, 5vw, 4.5rem);
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.15;
  pointer-events: none;
}
.editorial-feature__kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.8rem;
}
.editorial-feature__text {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 0.9rem + 1.6vw, 2.5rem);
  line-height: 1.28;
  color: var(--ink);
  margin: 0 0 1.8rem;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.editorial-feature__text em { font-style: italic; color: var(--gold-deep); }
.editorial-feature__attr {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.editorial-feature__attr a {
  border: none !important;
  color: var(--ink-soft) !important;
}
.editorial-feature__attr a:hover { color: var(--gold-deep) !important; }
.editorial-feature__more {
  margin-top: 2.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none !important;
  color: var(--ink) !important;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  align-self: flex-start;
  transition: gap .25s, color .2s;
}
.editorial-feature__more:hover {
  color: var(--gold-deep) !important;
  gap: 1.4rem;
}
.editorial-feature__more__arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
.editorial-feature--reverse .editorial-feature__photo { order: 2; }
.editorial-feature--reverse .editorial-feature__photo::before {
  background-image:
    linear-gradient(180deg, transparent 65%, rgba(20,18,14,0.28) 100%),
    url("https://images.unsplash.com/photo-1499209974431-9dddcece7f88?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=82");
}

/* ── 32. AUTHORS GRID ───────────────────────────────────────────────────── */

.authors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.author-mini {
  border: none !important;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--rule) !important;
  transition: background .15s;
}
.author-mini__avatar {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--rule-soft);
  border: 1px solid var(--rule) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1rem;
  transition: background .25s, color .25s, transform .3s;
}
.author-mini:hover .author-mini__avatar {
  background: var(--gold);
  color: #fff;
  transform: scale(1.06);
}
.author-mini__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink) !important;
  margin-bottom: 0.25rem;
  display: block;
  border: none !important;
}
.author-mini__meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.author-mini:hover .author-mini__name { color: var(--gold-deep) !important; }

/* ── 33. CATS DENSE ─────────────────────────────────────────────────────── */

.cats-dense {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem 2.5rem;
  font-size: 0.95rem;
}
.cats-dense a {
  border: none !important;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--rule) !important;
  color: var(--ink) !important;
  transition: color .15s;
}
.cats-dense a:hover { color: var(--gold-deep) !important; }
.cats-dense__count {
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 0.83rem;
  letter-spacing: 0.02em;
}

/* ── 34. MIXED FEED ─────────────────────────────────────────────────────── */

.mixed-feed {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.feed-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.feed-item__type {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.feed-item__title {
  border: none !important;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--ink) !important;
  transition: color .15s;
}
.feed-item__title:hover { color: var(--gold-deep) !important; }
.feed-item__meta {
  font-family: var(--sans);
  font-size: 0.76rem;
  color: var(--ink-faint);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ── 35. LOAD MORE ──────────────────────────────────────────────────────── */

.load-more {
  display: block;
  width: 100%;
  margin: 2.5rem 0 0;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: 1px solid var(--rule) !important;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft) !important;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.load-more:hover {
  background: var(--ink);
  color: var(--bg) !important;
  border-color: var(--ink) !important;
}
.load-more__count {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}

/* ── 36. NEXT PROMPT ────────────────────────────────────────────────────── */

.next-prompt {
  background: linear-gradient(180deg, var(--bg) 0%, #F2EBDA 100%);
  padding: clamp(4rem, 10vh, 7rem) 1.5rem;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.next-prompt::before {
  content: "→";
  position: absolute;
  font-family: var(--serif);
  font-size: 18rem;
  color: var(--gold);
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}
.next-prompt > * { position: relative; z-index: 2; }
.next-prompt__kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
  display: block;
}
.next-prompt__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 0.9rem + 1.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink) !important;
  max-width: 44ch;
  margin: 0 auto 2.5rem;
}
.next-prompt__title a {
  border-bottom: 1px solid var(--gold) !important;
  color: var(--ink) !important;
}
.next-prompt__title a:hover { color: var(--gold-deep) !important; }
.next-prompt__arrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft) !important;
  border: none !important;
  transition: gap .25s, color .2s;
}
.next-prompt__arrow:hover { color: var(--gold-deep) !important; gap: 1.5rem; }

/* ── 37. RECENT RAIL ────────────────────────────────────────────────────── */

.recent-rail {
  background: var(--ink);
  color: var(--bg);
  padding: 1.75rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.recent-rail__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}
.recent-rail__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.recent-rail__items {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.recent-rail__items::-webkit-scrollbar { display: none; }
.recent-rail__item {
  flex-shrink: 0;
  border: none !important;
  color: rgba(248,244,237,0.8) !important;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-style: italic;
  white-space: nowrap;
  padding-right: 2rem;
  border-right: 1px solid rgba(248,244,237,0.1) !important;
  transition: color .15s;
}
.recent-rail__item:last-child { border-right: none !important; padding-right: 0; }
.recent-rail__item:hover { color: var(--gold) !important; }
.recent-rail__item .meta {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(248,244,237,0.4);
  display: block;
  margin-bottom: 0.15rem;
}

/* ── 38. SITE FOOTER (light cream) ─────────────────────────────────────── */

/* Hide old dark Blocksy footer if it ever renders */
.ct-footer { display: none !important; }
/* Also keep .mz-footer hidden in case old markup loads */
.mz-footer { display: none !important; }

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 4rem 1.5rem 2rem;
  position: relative;
  z-index: 2;
}
.site-footer__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--sans) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ink-faint) !important;
  margin: 0 0 1.2rem !important;
  font-weight: 500 !important;
  padding: 0 !important;
  border: none !important;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.footer-col ul li { border: none; }
.footer-col a {
  border: none !important;
  color: var(--ink-soft) !important;
  font-size: 0.9rem;
  transition: color .15s;
}
.footer-col a:hover { color: var(--gold-deep) !important; }
.footer-col p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 1rem;
}
.footer-brand {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: 1.4rem !important;
  color: var(--ink) !important;
  border: none !important;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-brand:hover { color: var(--ink) !important; }
.footer-random-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--ink-faint) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 3px;
  padding: 0.28rem 0.65rem;
  margin-top: 0.5rem;
  transition: all .15s;
}
.footer-random-link:hover {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}
.site-footer__bottom {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ── 39. RESPONSIVE FOR NEW COMPONENTS ─────────────────────────────────── */

@media (max-width: 1100px) {
  .feed-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .feed-layout__sidebar { position: static; }
  .quotes-dense { grid-template-columns: repeat(2, 1fr); }
  .q-dense--feature { grid-column: span 2; }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-dense { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col--brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .editorial-feature { grid-template-columns: 1fr; }
  .editorial-feature--reverse .editorial-feature__photo { order: 1; }
  .editorial-feature__photo { min-height: 320px; }
  .manifesto__inner { grid-template-columns: 1fr; gap: 2rem; }
  .section--numbered .section__head { padding-left: 0; }
  .section__num { position: static; display: block; margin-bottom: 0.5rem; font-size: 1.5rem; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__item { border-right: none; padding: 0.5rem 0.75rem; }
  .stats-strip__item:nth-child(odd) { border-right: 1px solid var(--rule); }
  .stats-strip__item:first-child { padding-left: 0.75rem; }
  .recent-rail__inner { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
  .mz-mobile-toggle { display: flex; }
  .nav, .header-tools, .issue-mark { display: none; }
  .site-header__inner { flex-wrap: wrap; }
  .brand { font-size: 1.25rem !important; }
}

@media (max-width: 700px) {
  .quotes-dense { grid-template-columns: 1fr; }
  .q-dense--feature { grid-column: span 1; }
  .authors-grid { grid-template-columns: 1fr; }
  .cats-dense { grid-template-columns: 1fr; }
  .feed-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .feed-item__meta { display: none; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 0.3rem; }
}

@media (max-width: 480px) {
  .hero--editorial { min-height: 70vh; padding: 3.5rem 1rem 3rem; }
  .hero__quote--editorial {
    /* @360px viewport: 360 - 32px padding = 328px usable.
       Hero font max ~1.95rem (~31px) at 360px. 18ch ≈ 280px — fits. */
    font-size: clamp(1.35rem, 5.4vw, 1.95rem) !important;
    line-height: 1.18;
    max-width: 17ch !important;
    letter-spacing: -0.012em;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    box-sizing: border-box;
  }
  .hero__attr--editorial { letter-spacing: 0.1em; gap: 0.4rem; flex-wrap: wrap; justify-content: center; }
  .hero__attr--editorial::before, .hero__attr--editorial::after { width: 0.75rem; }
  .hero__edition { font-size: 0.65rem; letter-spacing: 0.22em; }
  .hero__edition::before, .hero__edition::after { width: 1rem; }
  .manifesto__text {
    font-size: clamp(1.1rem, 4.5vw, 1.55rem);
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .manifesto__inner { padding: 0 0.5rem; }
  .section { padding: 2.5rem 1rem; }
  .section__head { gap: 1rem; flex-wrap: wrap; }
  .section__title { font-size: 1.45rem; }
  .next-prompt { padding: 2.5rem 1rem; }
  .next-prompt__title { font-size: 1.2rem; line-height: 1.3; }
  .stats-strip { padding: 1.5rem 1rem; gap: 0.75rem; }
  .stats-strip__item { padding: 0 0.5rem; }
  .stats-strip__num { font-size: 1.35rem; }
  .stats-strip__label { font-size: 0.62rem; letter-spacing: 0.1em; }
  .author-mini { padding-right: 0; }
  .feed-layout { gap: 2rem; }
  .editorial-hero { margin: 1.5rem -1rem; }
}

/* Tighten on the smallest devices (360px) */
@media (max-width: 380px) {
  .hero__quote--editorial { font-size: 1.55rem; }
  .article-head__title { font-size: 1.5rem !important; }
  .editorial-head__title { font-size: 1.55rem !important; }
  .blog-card__title { font-size: 1.1rem !important; }
  .quote-graphic__head { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .quote-graphic__btn { padding: 0.45rem 0.75rem; font-size: 0.74rem !important; }
  .mz-mobile-toggle { width: 40px; height: 40px; }
}

/* ──────────────────────────────────────────────────────────────────
   MOBILE — AGGRESSIVE REAL CONTAINER WIDTH FIXES (no overflow:hidden)
   Forces block layout, hard 100% widths, breaks all flex/grid columns.
   ────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Every direct mobile-rendered container is 100% width and contained. */
  html, body, #main-container, main, header, footer, section, article, aside, nav, div, ul, ol {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Force every multi-column grid/flex to a single column on mobile. */
  .editorial-feature,
  .editorial-feature--reverse,
  .editorial-layout,
  .author-layout,
  .cat-layout,
  .feed-layout,
  .blog-grid,
  .related-grid,
  .quotes-dense,
  .authors-grid,
  .cats-dense,
  .manifesto__inner,
  .mega-stats,
  .stats-strip,
  .paged-list__items,
  .blog-card--feature,
  .bio-box,
  .mixed-feed {
    display: block !important;
    grid-template-columns: none !important;
  }
  .feed-item { display: grid !important; grid-template-columns: 1fr !important; gap: 0.25rem !important; }
  .feed-item--with-thumb { grid-template-columns: 80px 1fr !important; }
  /* Hero quote: NO max-width: 17ch (that broke); use natural width */
  .hero__quote--editorial,
  .article-head__title,
  .editorial-head__title,
  .next-prompt__title,
  .blog-card__title,
  .editorial-feature__text,
  .flagship-quote__text,
  .cat-featured__text,
  .manifesto__text,
  .editorial-body p,
  .editorial-body h2,
  .editorial-body h3,
  .article-body p,
  .quote-item__text,
  .q-dense__text,
  .article-head__lede,
  .editorial-head__lede {
    max-width: 100% !important;
    width: auto !important;
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
  }
}

/* Mobile-only: prevent horizontal escape from header layout */
@media (max-width: 768px) {
  .site-header__inner {
    padding: 0.85rem 1rem !important;
    gap: 0.75rem;
    flex-wrap: nowrap;
    box-sizing: border-box;
    max-width: 100% !important;
  }
  .brand {
    font-size: 1.1rem !important;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ct-container, .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  /* Hamburger ALWAYS visible + the MENU label is FORCED visible (no Blocksy
     override can hide it) */
  .mz-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: auto !important;
    min-width: 78px !important;
    padding: 0.55rem 0.85rem !important;
    background: var(--ink) !important;
    border: 1px solid var(--ink) !important;
    border-radius: 4px !important;
    color: var(--bg) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
  }
  .mz-mobile-toggle__icon {
    display: inline-flex !important;
    flex-direction: column !important;
    width: 16px !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
  }
  .mz-mobile-toggle__icon span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: var(--bg) !important;
    border-radius: 1px !important;
  }
  .mz-mobile-toggle__label {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--bg) !important;
    font-family: var(--sans) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* H1/H2 — force wrap on mobile, no word can push past viewport */
  h1, h2, h3,
  .article-head__title,
  .editorial-head__title,
  .hero__quote--editorial,
  .next-prompt__title,
  .blog-card__title,
  .editorial-feature__text,
  .flagship-quote__text,
  .cat-featured__text {
    overflow-wrap: anywhere !important;
    word-wrap: break-word !important;
    box-sizing: border-box;
    max-width: 100%;
  }
  .article-head__title { font-size: clamp(1.4rem, 5.5vw, 2rem) !important; }
  .editorial-head__title { font-size: clamp(1.45rem, 5.5vw, 2.05rem) !important; }
  .blog-card__title { font-size: clamp(1.1rem, 4.4vw, 1.45rem) !important; }
  .cat-featured__text { font-size: clamp(1.15rem, 4.4vw, 1.55rem) !important; }
  .editorial-feature__text { font-size: clamp(1.3rem, 4.7vw, 1.75rem) !important; }
  .flagship-quote__text { font-size: clamp(1.2rem, 4.5vw, 1.6rem) !important; max-width: 100%; }

  /* Everything is contained */
  body, #main-container, main, section, article, aside, header, footer, div,
  .site-header, .site-footer, .editorial-layout, .cat-layout, .author-layout {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Stop sticky sidebars from creating positioning issues on mobile */
  .feed-layout__sidebar, .author-rail, .editorial-rail { position: static !important; }
}

/* ──────────────────────────────────────────────────────────────────
   MOBILE — neutralize negative margins / wide media that overflow
   Required for scrollWidth <= clientWidth at 360/390/430.
   ────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Negative-margin "bleed" elements: keep within viewport on mobile */
  .editorial-hero,
  .single .ct-media-container,
  .quote-graphic {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .editorial-body blockquote,
  .article-body blockquote {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1rem !important;
  }
  /* Editorial feature (split-screen) avoids overflow on small screens */
  .editorial-feature { grid-template-columns: 1fr !important; }
  .editorial-feature__quote {
    padding: 2rem 1.25rem !important;
  }
  /* Stats strip + cats-dense + author grid all 1-col under 700 */
  .stats-strip { padding-left: 1rem !important; padding-right: 1rem !important; }
  /* Layouts confined to viewport */
  .author-layout,
  .cat-layout,
  .editorial-layout {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
  }
  .author-layout__main,
  .editorial-layout__main {
    max-width: 100% !important;
  }
  /* Hero, manifesto, next-prompt — vertical paddings only */
  .hero--editorial { padding-left: 1rem !important; padding-right: 1rem !important; }
  .manifesto       { padding-left: 1rem !important; padding-right: 1rem !important; }
  .next-prompt     { padding-left: 1rem !important; padding-right: 1rem !important; }
  /* Section padding tightened */
  .section { padding-left: 1rem !important; padding-right: 1rem !important; }
  /* Inline blockquote / pull-quote — drop negative side margins */
  .pull-quote--side {
    margin: 2rem 0 !important;
    padding: 0 0 0 1rem !important;
  }
  /* Header tools were already display:none; ensure search button doesn't push width */
  .header-tools { display: none !important; }
  /* Issue-mark already hidden, but enforce */
  .issue-mark { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PHASE 2 — SINGLE POST TEMPLATE (mockup v0.11 autor.html)
   ══════════════════════════════════════════════════════════════════════════ */

/* Z-INDEX: elevate single-post components above grain */
.breadcrumb, .author-layout, .author-layout__main, .author-rail,
.article-head, .bio-box, .mega-stats, .flagship-quote,
.authors-rail, .quote-list, .quote-toc, .quote-item,
.related-block, .article-body {
  position: relative;
  z-index: 2;
}

/* Hide WP/Blocksy's default single-post chrome since we use single.php */
.single .entry-header,
.single .entry-meta:not(.quote-item__meta),
.single article.post > .entry-content > .ct-meta-element-categories,
.single .ct-meta-element-author,
.single .ct-share-box,
.single .entry-tags,
.single .post-tags,
.single .author-box.ct-author-box,
.single nav.ct-pagination-wrap,
.single .ct-comments,
.single .comments-area,
.single .entry-related-posts,
.single .ct-related-posts {
  display: none !important;
}

/* Make sure Blocksy's container width doesn't conflict */
.single .ct-container,
.single .container,
.single article.post {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── 40. BREADCRUMB (single posts) ─────────────────────────────────────── */

.author-layout > nav.breadcrumb,
nav.breadcrumb {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--ink-faint) !important;
  border: none !important;
}
nav.breadcrumb a {
  border: none !important;
  color: var(--ink-faint) !important;
  transition: color .15s;
}
nav.breadcrumb a:hover { color: var(--gold-deep) !important; }
nav.breadcrumb .breadcrumb__sep {
  margin: 0 0.4rem;
  color: var(--rule);
}
nav.breadcrumb span[aria-current] { color: var(--ink-soft); }

/* ── 41. AUTHOR LAYOUT (2-col with sidebar) ────────────────────────────── */

.author-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  align-items: start;
}
.author-layout__main { min-width: 0; }

/* ── 42. AUTHOR RAIL (sticky sidebar) ──────────────────────────────────── */

.author-rail {
  position: sticky;
  top: 5rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.author-rail__block h4 {
  font-family: var(--sans) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ink-faint) !important;
  margin: 0 0 1rem !important;
  padding-bottom: 0.55rem !important;
  border-bottom: 1px solid var(--rule) !important;
}
.author-rail__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.author-rail__list li { border: none; padding: 0; }
.author-rail__list a {
  border: none !important;
  color: var(--ink-soft) !important;
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  transition: color .15s;
}
.author-rail__list a:hover { color: var(--gold-deep) !important; }
.author-rail__list .small {
  font-family: var(--sans);
  font-size: 0.74rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ── 43. ARTICLE HEAD ──────────────────────────────────────────────────── */

.article-head {
  margin: 0 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.article-head__kicker {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
  display: block;
  font-weight: 500;
}
.article-head__title {
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 1.3rem + 2vw, 3.2rem) !important;
  line-height: 1.1 !important;
  color: var(--ink) !important;
  margin: 0 0 0.5rem !important;
  letter-spacing: -0.02em !important;
  font-weight: 400 !important;
}
.article-head__title em {
  color: var(--gold-deep);
  font-style: italic;
}

/* ── 44. MEGA STATS ────────────────────────────────────────────────────── */

.mega-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.mega-stat {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: left;
}
.mega-stat:first-child { padding-left: 0; }
.mega-stat:last-child { border-right: none; }
.mega-stat__num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.6rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.mega-stat__num em {
  font-style: italic;
  color: var(--gold-deep);
}
.mega-stat__label {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.45;
}

/* ── 45. FLAGSHIP QUOTE ────────────────────────────────────────────────── */

.flagship-quote {
  margin: 3rem 0;
  padding: clamp(3rem, 6vh, 5rem) clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(180deg, var(--bg-el) 0%, #FCF8EF 100%);
  border: 1px solid var(--rule);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.flagship-quote::before {
  content: "\201E";
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 10rem);
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.16;
  font-weight: 400;
  pointer-events: none;
}
.flagship-quote::after {
  content: "\201D";
  position: absolute;
  bottom: -2rem;
  right: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 10rem);
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.16;
  font-weight: 400;
  pointer-events: none;
}
.flagship-quote__kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.75rem;
  display: block;
  position: relative;
  z-index: 2;
  font-weight: 500;
}
.flagship-quote__text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  line-height: 1.32;
  color: var(--ink);
  margin: 0 auto 1.75rem;
  max-width: 24ch;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}
.flagship-quote__attr {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  position: relative;
  z-index: 2;
  display: inline-block;
}

/* ── 46. BIO BOX ───────────────────────────────────────────────────────── */

.bio-box {
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.bio-box__avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.85rem;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.bio-box__text {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.bio-box__text strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.1rem;
}
.bio-box__text p { margin: 0 0 0.6em; }
.bio-box__text p:last-child { margin-bottom: 0; }

/* ── 47. CROSSREF LINK ─────────────────────────────────────────────────── */

.crossref {
  border-bottom: 1px solid var(--gold) !important;
  color: var(--ink) !important;
  transition: color .15s, border-color .15s;
}
.crossref:hover {
  color: var(--gold-deep) !important;
  border-bottom-color: var(--gold-deep) !important;
}

/* ── 48. AUTHORS RAIL (horizontal) ─────────────────────────────────────── */

.authors-rail {
  display: flex;
  gap: 0;
  margin: 2.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: thin;
}
.authors-rail::-webkit-scrollbar { height: 4px; }
.authors-rail::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 2px; }
.authors-rail__label {
  flex-shrink: 0;
  padding: 0.4rem 1.5rem 0.4rem 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  align-self: center;
  border-right: 1px solid var(--rule);
  margin-right: 1.5rem;
  white-space: nowrap;
}
.authors-rail__item {
  flex-shrink: 0;
  padding: 0.4rem 1.1rem;
  border: none !important;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink-soft) !important;
  white-space: nowrap;
  border-right: 1px solid var(--rule-soft) !important;
  transition: color .15s;
}
.authors-rail__item:last-child { border-right: none !important; }
.authors-rail__item:hover { color: var(--gold-deep) !important; }

/* ── 49. QUOTE LIST (single post) ──────────────────────────────────────── */

.quote-list {
  margin: 3rem 0 0;
  padding: 0;
}
.quote-list__intro {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.quote-list__intro a { color: var(--ink) !important; }

/* ── 50. QUOTE TOC (single post mockup style) ──────────────────────────── */

.quote-toc {
  border: 1px solid var(--rule);
  background: var(--bg-el);
  padding: 1.5rem 1.75rem;
  margin: 0 0 2.5rem;
}
.quote-toc__title {
  font-family: var(--sans) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ink-faint) !important;
  margin: 0 0 1rem !important;
}
.quote-toc__list {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: q;
  columns: 2;
  column-gap: 2.5rem;
}
.quote-toc__list li {
  break-inside: avoid;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--rule);
  counter-increment: q;
}
.quote-toc__list li::before {
  content: counter(q, decimal-leading-zero) ". ";
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  margin-right: 0.55rem;
}
.quote-toc__list a {
  border: none !important;
  color: var(--ink) !important;
  font-family: var(--sans);
  font-size: 0.9rem;
  transition: color .15s;
}
.quote-toc__list a:hover { color: var(--gold-deep) !important; }

/* ── 51. QUOTE ITEM (single post mockup style) ─────────────────────────── */

.quote-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 90px;
}
.quote-item:last-child { border-bottom: none; }

.quote-item__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.quote-item__text {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 1.5rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.quote-item__text p {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 0.75em;
  font-size: inherit;
  line-height: inherit;
}
.quote-item__text p:last-child { margin-bottom: 0; }
.quote-item__context {
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.7;
  padding-left: 1.5rem;
  border-left: 2px solid var(--rule);
  margin-bottom: 1.25rem;
}
.quote-item__meta {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.quote-item__meta a {
  border: none !important;
  color: var(--ink-faint) !important;
  transition: color .15s;
}
.quote-item__meta a:hover { color: var(--gold-deep) !important; }
.quote-item__meta .mz-action-btn { margin-left: auto; }
.quote-item__meta .mz-action-btn + .mz-action-btn { margin-left: 0; }

/* ── 52. RELATED BLOCK + TEASERS ───────────────────────────────────────── */

.related-block {
  margin: 4rem 0 0;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}
.related-block__title {
  font-family: var(--sans) !important;
  font-size: 0.74rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ink-faint) !important;
  margin: 0 0 2rem !important;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.teaser {
  border: none !important;
  display: block;
  text-decoration: none;
}
.teaser__date {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.75rem;
  display: block;
}
.teaser__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.7rem;
  color: var(--ink) !important;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.teaser__excerpt {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  font-family: var(--serif);
  font-style: italic;
  margin: 0;
}
.teaser:hover .teaser__title { color: var(--gold-deep) !important; }

/* ── 53. NON-QUOTE FALLBACK CONTENT ─────────────────────────────────────── */

.article-body {
  max-width: var(--col-text);
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--ink);
}
.article-body p { margin: 0 0 1.4em; }
.article-body h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  margin: 2.5rem 0 1.25rem;
  letter-spacing: -0.015em;
}
.article-body a {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--gold) !important;
}

/* ── 54. RESPONSIVE FOR SINGLE POST ─────────────────────────────────────── */

@media (max-width: 1100px) {
  .author-layout { grid-template-columns: 1fr; gap: 3rem; }
  .author-rail { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .mega-stats { grid-template-columns: 1fr; }
  .mega-stat {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem 0;
  }
  .mega-stat:last-child { border-bottom: none; }
  .flagship-quote { padding: 3rem 1.5rem; }
  .quote-toc__list { columns: 1; }
  .bio-box { grid-template-columns: 1fr; gap: 1rem; }
  .bio-box__avatar { width: 64px; height: 64px; font-size: 1.4rem; }
}

@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; gap: 2rem; }
  .author-layout { padding: 1.5rem 1rem 3rem; }
  .quote-item__meta { font-size: 0.7rem; gap: 0.75rem; }
  .quote-item__meta .mz-action-btn { margin-left: 0; }
  .quote-item__meta .mz-action-btn span { display: none; }
  .authors-rail__label { display: none; }
}

@media (max-width: 480px) {
  .article-head__title { font-size: clamp(1.55rem, 6vw, 2rem) !important; }
  .quote-item { padding: 2rem 0; }
  .quote-item__text { font-size: 1.1rem; line-height: 1.45; }
  nav.breadcrumb { font-size: 0.72rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PHASE 2 — REFINEMENTS (parser fix, dark CTA, category archive, search,
   paged list, hamburger contrast, q-dense author separation)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 55. Q-DENSE author + cat separation ──────────────────────────────── */

.q-dense__attr {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.q-dense__author {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink) !important;
  font-style: normal;
}
.q-dense__cat {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint) !important;
}

/* ── 56. QUOTE-ITEM author cite (single post) ─────────────────────────── */

.quote-item__author {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: -0.5rem 0 1.25rem;
}

/* ── 57. Z-INDEX elevate new editorial elements above grain ───────────── */
.paged-list, .cat-layout, .cat-featured, .cat-break-tags,
.search-results__list, .search-results__item, .mz-pagination,
.next-prompt--dark, .next-prompt {
  position: relative;
  z-index: 2;
}

/* ── 58. NEXT PROMPT — dark editorial variant ─────────────────────────── */

.next-prompt--dark {
  background: var(--ink);
  color: var(--bg);
  border-top: none;
  border-bottom: none;
}
.next-prompt--dark::before {
  color: var(--gold);
  opacity: 0.08;
}
.next-prompt--dark .next-prompt__kicker { color: var(--gold); }
.next-prompt--dark .next-prompt__title {
  color: var(--bg) !important;
}
.next-prompt--dark .next-prompt__title a {
  color: var(--bg) !important;
  border-bottom: 1px solid var(--gold) !important;
}
.next-prompt--dark .next-prompt__title a:hover { color: var(--gold) !important; }
.next-prompt--dark .next-prompt__arrow {
  color: rgba(248,244,237,0.7) !important;
}
.next-prompt--dark .next-prompt__arrow:hover { color: var(--gold) !important; }

/* ── 59. CATEGORY ARCHIVE — cat-layout, cat-featured, cat-break-tags ── */

.cat-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  align-items: start;
}
.cat-layout--solo { grid-template-columns: 1fr; }
.cat-layout__main { min-width: 0; }

/* CAT FEATURED — flagship-style featured quote */
.cat-featured {
  margin: 2.5rem 0;
  padding: clamp(2.5rem, 5vh, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--bg-el) 0%, #FCF8EF 100%);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.cat-featured::before {
  content: "\201E";
  position: absolute;
  top: -0.25rem;
  left: 1rem;
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.16;
  pointer-events: none;
}
.cat-featured__kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.cat-featured__star {
  color: var(--gold);
  font-size: 0.78rem;
}
.cat-featured__text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  line-height: 1.32;
  color: var(--ink);
  margin: 0 0 1.5rem;
  font-style: italic;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 32ch;
}
.cat-featured__text em {
  color: var(--gold-deep);
  font-style: italic;
}
.cat-featured__attr {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.cat-featured__attr a {
  border: none !important;
  color: var(--ink-soft) !important;
  font-weight: 500;
}
.cat-featured__attr a:hover { color: var(--gold-deep) !important; }
.cat-featured__attr .sig { color: var(--gold); }

/* QUOTE LIST stream mode (category archive) */
.quote-list--stream {
  margin: 1.5rem 0 0;
  padding: 0;
}
.quote-list--stream .quote-item {
  display: block;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.quote-list--stream .quote-item:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.quote-list--stream .quote-item__text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.3rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 0.5rem;
  font-weight: 400;
}
.quote-list--stream .quote-item__meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  align-items: baseline;
  letter-spacing: 0.04em;
  text-transform: none;
  margin: 0;
}
.quote-list--stream .quote-item__meta a {
  border: none !important;
  color: var(--ink-soft) !important;
  font-weight: 500;
}
.quote-list--stream .quote-item__meta .author-link {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.quote-list--stream .quote-item__meta .author-link:hover { color: var(--gold-deep) !important; }
.quote-list--stream .quote-item__meta .sig { color: var(--gold); }
.quote-list--stream .quote-item__meta .also-in { font-size: 0.76rem; color: var(--ink-faint); }
.quote-list--stream .quote-item__meta .also-in a { color: var(--ink-soft) !important; }
.quote-list--stream .quote-item__meta .quote-next-hint {
  margin-left: auto;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep) !important;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
}
.quote-list__empty {
  margin: 4rem 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1.1rem;
}

/* AUTHORS RAIL counter span (mockup style) */
.authors-rail__item .authors-rail__count {
  font-family: var(--sans);
  font-size: 0.74rem;
  color: var(--ink-faint);
  font-weight: 500;
  margin-left: 0.35rem;
}

/* CAT BREAK TAGS (between batches of quotes) */
.cat-break-tags {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--bg-el);
  border-left: 2px solid var(--gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.cat-break-tags__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}
.cat-break-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
}
.cat-break-tags__list a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink) !important;
  border: none !important;
  padding: 0.15rem 0;
  border-bottom: 1px solid var(--rule) !important;
  transition: color .15s, border-color .15s;
}
.cat-break-tags__list a:hover {
  color: var(--gold-deep) !important;
  border-bottom-color: var(--gold) !important;
}

/* ── 60. SEARCH RESULTS template ───────────────────────────────────────── */

.search-results__form {
  display: flex;
  margin: 0 0 2rem;
  border: 1px solid var(--rule) !important;
  background: var(--bg-el);
  border-radius: 4px;
  overflow: hidden;
}
.search-results__form input {
  flex: 1;
  border: none !important;
  padding: 0.85rem 1.1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.search-results__form button {
  background: var(--ink);
  color: var(--bg);
  border: none !important;
  padding: 0.85rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s;
}
.search-results__form button:hover { background: var(--gold-deep); }

.search-results__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.search-results__item {
  border-bottom: 1px solid var(--rule-soft);
}
.search-results__link {
  display: block;
  padding: 1.5rem 0;
  border: none !important;
  text-decoration: none;
  transition: padding .2s;
}
.search-results__link:hover { padding-left: 0.5rem; }
.search-results__head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}
.search-results__cat {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
}
.search-results__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink) !important;
  margin: 0 !important;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.search-results__link:hover .search-results__title { color: var(--gold-deep) !important; }
.search-results__excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.search-results__empty {
  padding: 3rem 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.search-results__empty strong {
  font-style: italic;
  color: var(--ink);
}

/* ── 61. PAGINATION (shared: paged list + category) ───────────────────── */

.mz-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 3rem 0;
  font-family: var(--sans);
  font-size: 0.92rem;
}
.mz-pagination .page-numbers,
.mz-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--rule) !important;
  background: var(--bg-el);
  color: var(--ink-soft) !important;
  border-bottom: 1px solid var(--rule) !important;
  text-decoration: none;
  transition: all .15s;
}
.mz-pagination a:hover {
  border-color: var(--gold) !important;
  color: var(--gold-deep) !important;
}
.mz-pagination .current {
  background: var(--ink);
  color: var(--bg) !important;
  border-color: var(--ink) !important;
}
.mz-pagination .dots {
  background: transparent;
  border: none !important;
}

/* ── 62. PAGED LIST (home /page/2+) ───────────────────────────────────── */

.paged-list {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.paged-list__head {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}
.paged-list__title {
  font-family: var(--serif) !important;
  font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  letter-spacing: -0.015em !important;
}
.paged-list__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.paged-list__item {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-el);
  transition: background .15s;
}
.paged-list__item:hover { background: #FCFAF5; }
.paged-list__link {
  display: block;
  padding: 1.5rem 1.5rem;
  border: none !important;
  text-decoration: none;
}
.paged-list__cat {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.6rem;
}
.paged-list__name {
  font-family: var(--serif) !important;
  font-size: 1.2rem !important;
  color: var(--ink) !important;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: 1.35;
}
.paged-list__link:hover .paged-list__name { color: var(--gold-deep) !important; }
.paged-list__meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.5rem;
  display: block;
  letter-spacing: 0.04em;
}

/* ── 63. HAMBURGER CONTRAST FIX ───────────────────────────────────────── */

.mz-mobile-toggle {
  background: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  color: var(--bg) !important;
}
.mz-mobile-toggle__icon span {
  background: var(--bg) !important;
}
.mz-mobile-toggle__label { color: var(--bg) !important; }
.mz-mobile-toggle:hover,
.mz-mobile-toggle:focus-visible {
  background: var(--gold-deep) !important;
  border-color: var(--gold-deep) !important;
}
.mz-mobile-toggle[aria-expanded="true"] {
  background: var(--gold-deep) !important;
  border-color: var(--gold-deep) !important;
}

/* ── 64. BLOCKSY ARCHIVE/CATEGORY CHROME HIDE ──────────────────────────── */

/* Hide default Blocksy category/archive header on our custom category.php */
.category .entry-header,
.category .ct-meta-element-author,
.category article.entry-card .ct-meta-element-date,
.category .ct-pagination-wrap,
.category .ct-pagination,
.category .ct-comments {
  display: none !important;
}
/* Make Blocksy container behave for our layout */
.category .ct-container,
.category .container,
.category main.site-main {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}
.category article.entry-card {
  display: none !important; /* we render our own list */
}

/* Same for search */
.search .entry-header,
.search .ct-pagination-wrap {
  display: none !important;
}
.search article.entry-card { display: none !important; }
.search .ct-container,
.search .container,
.search main.site-main {
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ── 65. RESPONSIVE for new components ────────────────────────────────── */

@media (max-width: 1100px) {
  .cat-layout { grid-template-columns: 1fr; gap: 3rem; }
  .paged-list__items { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .cat-featured { padding: 2rem 1.25rem; }
  .cat-featured__text { font-size: 1.2rem; }
  .cat-break-tags { padding: 1rem 1.25rem; }
  .quote-list--stream .quote-item__meta .quote-next-hint {
    margin-left: 0;
    display: block;
    width: 100%;
  }
  .search-results__head { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PHASE 2 — SECTION DIVIDER + BIO PHOTO + FEATURED IMAGE (refinement v2)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 66. SECTION DIVIDER (thin line with centered gold dot) ───────────── */

.mz-section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto;
  max-width: var(--col-wide);
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.mz-section-divider::before,
.mz-section-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.mz-section-divider__dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--bg);
}
.mz-section-divider + .section,
.section + .mz-section-divider {
  border-top: none;
}
.section + .mz-section-divider .section { border-top: none; }
/* Zero the top padding of section after divider (already has space) */
.mz-section-divider + .section { padding-top: 1.5rem; }

/* ── 67. BIO-BOX with photo (featured image variant) ──────────────────── */

.bio-box__photo {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-el); /* cream placeholder */
  border: 1px solid rgba(164, 129, 64, 0.25);
}
.bio-box__photo .bio-box__img,
.bio-box__photo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  filter: contrast(0.95) brightness(1.02) saturate(0.88);
  margin: 0 !important;
  border-radius: 0 !important;
  max-height: none !important;
  transition: transform .9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bio-box:hover .bio-box__photo img { transform: scale(1.04); }
.bio-box__photo-caption {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Bio-box layout when photo present: photo column 280px */
.bio-box {
  align-items: stretch;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .bio-box__photo { width: 100%; aspect-ratio: 4 / 3; max-width: 360px; }
}

/* ── 68. FEED-ITEM: fallback collection style ─────────────────────────── */

.feed-item__type:not(.feed-item__type--blog) {
  color: var(--gold-deep);
}
.feed-item__type--blog { color: #5C6B47; }

/* ── 69. RESPONSIVE: divider on mobile ─────────────────────────────────── */

@media (max-width: 700px) {
  .mz-section-divider { padding: 0 1rem; }
  .mz-section-divider::before,
  .mz-section-divider::after { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PHASE 2 — QUOTE GRAPHIC SECTION (Google Images SEO + share/download)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 70. QUOTE GRAPHIC SECTION ─────────────────────────────────────────── */

.quote-graphic {
  margin: 2.5rem 0 3rem;
  background: var(--bg-el);
  border: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}

.quote-graphic__head {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-el) 100%);
}
.quote-graphic__kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.quote-graphic__meta {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.quote-graphic__figure {
  margin: 0;
  position: relative;
  /* Light placeholder — cream blends with page while img arrives.
     Note: NO ::before overlay here, because lazy-load + abs-positioned
     overlay can cause some browsers to never select a srcset variant. */
  background: var(--bg-el);
  overflow: hidden;
}
.quote-graphic__picture {
  display: block;
  width: 100%;
}
.quote-graphic__img,
.quote-graphic__picture img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 640px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
}
.quote-graphic__caption {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 0.85rem 1.5rem;
  background: var(--bg-el);
  border-top: 1px solid var(--rule-soft);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.quote-graphic__cat {
  color: var(--ink-faint);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

/* ── 71. SHARE / DOWNLOAD ACTIONS ──────────────────────────────────────── */

.quote-graphic__actions {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  background: var(--bg);
}
.quote-graphic__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  font-family: var(--sans) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  color: var(--ink-soft) !important;
  background: var(--bg-el);
  border: 1px solid var(--rule) !important;
  border-radius: 99px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all .15s;
  white-space: nowrap;
}
.quote-graphic__btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold-deep) !important;
  background: #FCFAF5;
}
.quote-graphic__btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.quote-graphic__btn--download {
  background: var(--ink);
  color: var(--bg) !important;
  border-color: var(--ink) !important;
}
.quote-graphic__btn--download:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep) !important;
  color: var(--bg) !important;
}
.quote-graphic__btn--social svg { width: 14px; height: 14px; }
.quote-graphic__btn--done,
.quote-graphic__btn.is-success {
  background: var(--gold);
  color: var(--bg) !important;
  border-color: var(--gold) !important;
}
.quote-graphic__btn--done svg,
.quote-graphic__btn.is-success svg { transform: scale(1.15); }

/* ══════════════════════════════════════════════════════════════════════════
   PHASE 2 — EDITORIAL ARTICLE LAYOUT (single-editorial.php) + feed thumbs
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 73. FEED ITEM with thumbnail (home .04 Z redakcji) ───────────────── */

.feed-item--with-thumb {
  grid-template-columns: 110px 90px 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
}
.feed-item--with-thumb .feed-item__type,
.feed-item--with-thumb .feed-item__title,
.feed-item--with-thumb .feed-item__meta {
  align-self: center;
}
.feed-item__thumb {
  display: block;
  width: 110px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-el); /* cream placeholder */
  border: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule) !important;
  grid-row: 1;
  align-self: center;
}
.feed-item__thumb-img,
.feed-item__thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
  filter: contrast(0.95) brightness(1.02) saturate(0.88);
  transition: transform .8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.feed-item:hover .feed-item__thumb img { transform: scale(1.05); }

@media (max-width: 700px) {
  .feed-item--with-thumb {
    grid-template-columns: 80px 1fr;
    gap: 0.5rem 1rem;
  }
  .feed-item--with-thumb .feed-item__thumb { width: 80px; grid-row: 1 / span 3; }
  .feed-item--with-thumb .feed-item__type,
  .feed-item--with-thumb .feed-item__title,
  .feed-item--with-thumb .feed-item__meta {
    grid-column: 2;
  }
  .feed-item--with-thumb .feed-item__meta { display: block; }
}

/* ── 74. EDITORIAL ARTICLE LAYOUT ──────────────────────────────────────── */

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 4rem;
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}
.editorial-layout__main { min-width: 0; max-width: 720px; margin: 0 auto; }

/* Editorial head */
.editorial-head {
  margin: 0 0 2rem;
}
.editorial-head__kicker {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-weight: 500;
}
.editorial-head__sep { color: var(--rule); }
.editorial-head__title {
  font-family: var(--serif) !important;
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem) !important;
  line-height: 1.18 !important;
  color: var(--ink) !important;
  margin: 0 0 1.25rem !important;
  letter-spacing: -0.02em !important;
  font-weight: 400 !important;
}
.editorial-head__lede {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.2rem);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  font-style: italic;
  max-width: 36em;
}

/* Editorial hero image */
.editorial-hero {
  margin: 2rem -1rem;
  position: relative;
  background: var(--bg-el); /* cream placeholder (was #1a1815) */
  overflow: hidden;
}
.editorial-hero__picture { display: block; }
.editorial-hero__img,
.editorial-hero__picture img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 540px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
}
.editorial-hero__caption {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  padding: 0.85rem 1rem 0;
  letter-spacing: 0.04em;
  font-style: italic;
}

/* Editorial body */
.editorial-body {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.18rem);
  line-height: 1.78;
  color: var(--ink);
  margin: 2.5rem 0 3rem;
}
.editorial-body p {
  margin: 0 0 1.4em;
  color: var(--ink);
}
.editorial-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 4.2em;
  line-height: 0.85;
  float: left;
  margin: 0.06em 0.1em 0 0;
  color: var(--gold-deep);
  font-weight: 400;
}
.editorial-body h2 {
  font-family: var(--serif) !important;
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  margin: 2.5rem 0 1rem !important;
  letter-spacing: -0.015em !important;
  line-height: 1.25 !important;
}
.editorial-body h3 {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.45rem) !important;
  color: var(--gold-deep) !important;
  margin: 2rem 0 0.85rem !important;
  font-weight: 400 !important;
}
.editorial-body a {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--gold) !important;
  transition: color .15s, border-color .15s;
}
.editorial-body a:hover {
  color: var(--gold-deep) !important;
  border-bottom-color: var(--gold-deep) !important;
}
.editorial-body em { font-style: italic; color: var(--gold-deep); }
.editorial-body strong { font-weight: 600; }
.editorial-body blockquote {
  margin: 2.5rem -1rem;
  padding: 0 0 0 2rem;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}
.editorial-body ul, .editorial-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.4em;
  font-family: var(--sans);
  font-size: 0.98rem;
}
.editorial-body li { margin-bottom: 0.4em; }

/* Editorial share row */
.editorial-share {
  margin: 3rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.editorial-share__label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
}
.editorial-share__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Editorial sidebar (rail) */
.editorial-rail {
  position: sticky;
  top: 5rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.editorial-rail__block h4 {
  font-family: var(--sans) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--ink-faint) !important;
  margin: 0 0 1rem !important;
  padding-bottom: 0.6rem !important;
  border-bottom: 1px solid var(--rule) !important;
}
.editorial-rail__cats,
.editorial-rail__posts {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
}
.editorial-rail__cats li,
.editorial-rail__posts li {
  border-bottom: 1px solid var(--rule-soft);
  padding: 0;
}
.editorial-rail__cats li:last-child,
.editorial-rail__posts li:last-child { border-bottom: none; }

.editorial-rail__cats a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border: none !important;
  color: var(--ink) !important;
  font-family: var(--sans);
  font-size: 0.94rem;
  transition: color .15s, padding-left .2s;
}
.editorial-rail__cats a:hover { color: var(--gold-deep) !important; padding-left: 0.25rem; }
.editorial-rail__cats a.is-active {
  color: var(--gold-deep) !important;
  font-weight: 600;
}
.editorial-rail__cats a.is-active::before {
  content: "—";
  color: var(--gold);
  margin-right: 0.4rem;
}
.editorial-rail__cats .small {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.editorial-rail__posts a {
  display: block;
  padding: 0.75rem 0;
  border: none !important;
  text-decoration: none;
  transition: padding-left .2s;
}
.editorial-rail__posts a:hover { padding-left: 0.25rem; }
.editorial-rail__post-meta {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}
.editorial-rail__post-title {
  display: block;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--ink) !important;
}
.editorial-rail__posts a:hover .editorial-rail__post-title { color: var(--gold-deep) !important; }

.editorial-rail__about p {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
  font-style: italic;
}
.editorial-rail__home-link {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--gold-deep) !important;
  border: none !important;
  font-weight: 500;
}

/* Editorial teaser with media (related block) */
.teaser--editorial {
  border: none !important;
  text-decoration: none;
}
.teaser__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-el); /* cream placeholder */
  margin-bottom: 1rem;
  border: 1px solid var(--rule);
}
.teaser__media img,
.teaser__img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform .8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.teaser--editorial:hover .teaser__img { transform: scale(1.04); }

/* ── 75b. BLOG CATEGORY ARCHIVE — grid of cards ──────────────────────── */

.blog-archive { max-width: 760px; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 2rem;
  margin: 2rem 0 3rem;
}
.blog-card { margin: 0; }
.blog-card__link {
  display: block;
  border: none !important;
  text-decoration: none;
  color: inherit;
}
.blog-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-el); /* cream placeholder */
  margin-bottom: 1rem;
  border: 1px solid var(--rule);
}
.blog-card__img,
.blog-card__media img,
html body .blog-card__img,
html body .blog-card__media img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
  transition: transform .8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.blog-card:hover .blog-card__img { transform: scale(1.04); }
.blog-card__body { padding: 0; }
.blog-card__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 0.6rem;
}
.blog-card__sep { color: var(--rule); }
.blog-card__title {
  font-family: var(--serif) !important;
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.65rem) !important;
  line-height: 1.25 !important;
  color: var(--ink) !important;
  margin: 0 0 0.7rem !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  transition: color .15s;
}
.blog-card:hover .blog-card__title { color: var(--gold-deep) !important; }
.blog-card__excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}
.blog-card__cta {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  font-weight: 500;
  transition: gap .25s, padding-left .2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-card:hover .blog-card__cta { gap: 0.65rem; }

/* Featured first card spans both columns */
.blog-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 2rem;
  align-items: center;
}
.blog-card--feature .blog-card__link {
  display: contents;
}
.blog-card--feature .blog-card__media {
  aspect-ratio: 4 / 3;
  margin: 0;
}
.blog-card--feature .blog-card__title {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem) !important;
}
.blog-card--feature .blog-card__excerpt {
  font-size: 1.05rem;
  line-height: 1.6;
}

.blog-grid__empty {
  margin: 4rem 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1.15rem;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-card--feature { grid-template-columns: 1fr; }
  .blog-card--feature .blog-card__media { aspect-ratio: 16 / 10; }
}

/* ── 75. EDITORIAL RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 1100px) {
  .editorial-layout { grid-template-columns: 1fr; gap: 3rem; }
  .editorial-rail { position: static; }
}

@media (max-width: 700px) {
  .editorial-layout { padding: 1rem 1rem 3rem; }
  .editorial-hero { margin: 1.5rem -1rem; }
  .editorial-body { font-size: 1.05rem; }
  .editorial-body > p:first-of-type::first-letter { font-size: 3.4em; }
}

/* ── 72. RESPONSIVE quote-graphic ──────────────────────────────────────── */

@media (max-width: 700px) {
  .quote-graphic__head { padding: 0.9rem 1.1rem; }
  .quote-graphic__kicker { font-size: 0.66rem; letter-spacing: 0.18em; }
  .quote-graphic__meta { display: none; }
  .quote-graphic__caption { padding: 0.75rem 1.1rem; font-size: 0.74rem; }
  .quote-graphic__actions { padding: 0.9rem 1.1rem; gap: 0.45rem; }
  .quote-graphic__btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.76rem !important;
    flex: 1 1 auto;
    justify-content: center;
  }
  .quote-graphic__btn--social { flex: 0 0 auto; }
  .quote-graphic__btn--social span { display: none; }
  .quote-graphic__btn--social { padding: 0.5rem 0.7rem; }
  .quote-graphic__img,
  .quote-graphic__picture img { max-height: 480px; }
}
