/* ==================================================================
   Blog index — kwizzbit/blog-index  (the /blog/ listing)
   Hero + category pills + Query Loop card grid (first card featured).
   Namespaced .blog-index / .blog-card. Dynamic content via core blocks.
   ================================================================== */

  .kwb-segment--blog { background: var(--wp--preset--color--cream); }

  /* ── HERO ──────────────────────────────────────────────── */
  .blog-index__hero {
    padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  }
  .blog-index__hero-inner,
  .blog-index__body {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
  }
  /* Centre the whole hub header — eyebrow, headline, lead & pills */
  .blog-index__hero-inner { text-align: center; }
  .blog-index__eyebrow {
    font-family: 'Pixelar', monospace;
    font-weight: 400;
    font-size: 19px;
    letter-spacing: 0.04em;
    color: var(--wp--preset--color--coral);
    margin: 0 0 0.5rem;
  }
  .blog-index__title {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    /* Matches the homepage hero headline: display token (80px), 88px at ≥1024 */
    font-size: var(--wp--preset--font-size--display);
    line-height: 0.95;
    letter-spacing: -0.10764em;
    color: var(--wp--preset--color--ink);
    margin: 0 0 1rem;
  }
  @media (min-width: 1024px) {
    .blog-index__title { font-size: 5.5rem; }
  }
  /* Floating pencil sticker next to the headline — flipped from features-tour */
  .blog-pencil-anchor {
    position: relative;
    display: inline-block;
    width: 0;
    overflow: visible;
  }
  .blog-pencil {
    position: absolute;
    bottom: calc(0.1em - 20px);
    left: calc(0.75rem - 25px);
    width: 68px;
    height: auto;
    /* Flip horizontally so pencil points inward toward the headline */
    transform: scaleX(-1) rotate(-18deg);
    transform-origin: center center;
    animation: blog-pencil-float 4.2s ease-in-out infinite;
    pointer-events: none;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
  }
  @keyframes blog-pencil-float {
    0%   { transform: scaleX(-1) rotate(-18deg) translate(0, 0); }
    50%  { transform: scaleX(-1) rotate(-15deg) translate(-3px, -4px); }
    100% { transform: scaleX(-1) rotate(-18deg) translate(0, 0); }
  }
  @media (prefers-reduced-motion: reduce) { .blog-pencil { animation: none; } }
  @media (max-width: 640px) { .blog-pencil { width: 36px; } }

  .blog-index__cursor {
    color: var(--wp--preset--color--coral);
    display: inline-block;
    animation: blog-cursor-blink 1.1s step-end infinite;
  }
  @keyframes blog-cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .blog-index__cursor { animation: none; } }
  .blog-index__lead {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    font-size: var(--wp--preset--font-size--md);
    line-height: 1.5;
    color: var(--wp--custom--color--subcopy);
    max-width: 46ch;
    margin: 0 auto 1.75rem;
  }

  /* Category pills */
  .blog-index__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .blog-index__pill {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    font-size: var(--wp--preset--font-size--sm);
    color: var(--wp--custom--color--subcopy);
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    padding: 0.4375rem 0.875rem;
    border: 1px solid var(--wp--custom--color--warm-border);
    transition: color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out),
                background-color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out),
                border-color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }
  .blog-index__pill:hover { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
  .blog-index__pill.is-active {
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--ink);
    border-color: var(--wp--preset--color--ink);
  }

  /* Header content lifts in, staggered, once the page-loader clears
     (held at frame 0 by the html.kwb-loading animation pause in base.css). */
  .blog-index__eyebrow,
  .blog-index__title,
  .blog-index__lead,
  .blog-index__pills {
    animation: kwb-content-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .blog-index__eyebrow { animation-delay: 0.05s; }
  .blog-index__title   { animation-delay: 0.13s; }
  .blog-index__lead    { animation-delay: 0.21s; }
  .blog-index__pills   { animation-delay: 0.29s; }
  @media (prefers-reduced-motion: reduce) {
    .blog-index__eyebrow,
    .blog-index__title,
    .blog-index__lead,
    .blog-index__pills { animation: none; }
  }

  /* ── BODY ──────────────────────────────────────────────── */
  .blog-index__body { padding-bottom: clamp(3rem, 6vw, 5.5rem); }

  /* Breathing room between the featured card and the row of 4 —
     margin-bottom on the full-width first card pushes the whole row down. */
  .blog-index__grid:not(.is-filtered) > li:first-child {
    margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
  }

  /* Query Loop grid (post-template renders a <ul>) */
  .blog-index__query .wp-block-post-template {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.875rem, 1.5vw, 1.25rem);
  }
  .blog-index__query .wp-block-post-template > li {
    margin: 0;
    min-width: 0;
  }

  /* ── "READ ALL" PROGRESSIVE REVEAL ─────────────────────────
     Collapsed by default: only the featured card + first secondary
     row show; a text button (JS-injected by blog.js) reveals the rest. */
  .blog-index__query .wp-block-post-template > li.is-collapsed-hidden { display: none; }

  .blog-index__readall-wrap {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
  }
  /* blog.js hides this wrap via the `hidden` attribute whenever there is
     nothing left to reveal — a category filter is active, or the set is
     shorter than one row. An author-stylesheet `display` beats the UA
     sheet's `[hidden] { display: none }` whatever the specificity, so the
     attribute has to be honoured explicitly or the button never goes away.
     QA finding, 2026-08: "Read all" sat under the empty Events filter. */
  .blog-index__readall-wrap[hidden] { display: none; }
  .blog-index__readall {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.5rem 0.5rem;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 700;
    font-size: var(--wp--preset--font-size--sm);
    letter-spacing: 0.01em;
    color: var(--wp--preset--color--coral);
    transition: color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }
  @media (hover: hover) {
    .blog-index__readall:hover { color: var(--wp--preset--color--ink); }
  }
  .blog-index__readall-arrow {
    display: inline-block;
    animation: blog-readall-bounce 1.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  }
  @keyframes blog-readall-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
  }
  @media (prefers-reduced-motion: reduce) { .blog-index__readall-arrow { animation: none; } }

  /* ── CARD ──────────────────────────────────────────────── */
  .blog-card {
    display: flex;
    /* Small cards: image on top, FFFAF5 body underneath (column) */
    flex-direction: column;
    height: 100%;
    gap: 0;
    /* Glow wraps the entire card (image + body) as one unified block */
    box-shadow: 0 20px 50px rgba(255, 54, 35, 0.10);
  }
  .blog-card__image {
    flex-shrink: 0;
    overflow: hidden;
    background: var(--wp--preset--color--cream-soft, #F5EAE0);
    margin: 0;
  }
  .blog-card__image a,
  .blog-card__image img {
    display: block;
    width: 100%;
  }
  .blog-card__image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .blog-card:hover .blog-card__image img { transform: scale(1.04); }

  /* Text container — FFFAF5 fill + coral glow, same as flow/features-9/who-for */
  .blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
    background: #FFFAF5;
    padding: 1.375rem 1.5rem 1.5rem;
  }

  /* Pillbox tags — font-size:0 on the wrapper hides the term separator text */
  .blog-card__cat {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    font-size: 0;
  }
  .blog-card__cat a {
    display: inline-block;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--wp--preset--color--coral);
    background: rgba(255, 54, 35, 0.10);
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    text-decoration: none;
    transition: background-color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }
  .blog-card__cat a:hover { background: rgba(255, 54, 35, 0.18); }

  /* Hide author name on all blog card meta */
  .blog-card__meta .wp-block-post-author-name { display: none; }

  .blog-card__title {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.05;
    letter-spacing: -0.065em;
    margin: 0;
  }
  .blog-card__title a {
    color: var(--wp--preset--color--ink);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--wp--custom--motion--dur-base) var(--wp--custom--motion--ease-out);
  }
  @media (hover: hover) {
    .blog-card__title a:hover { color: var(--wp--preset--color--coral); }
  }
  /* Tap feedback on touch — coral, never the default burgundy/ink */
  .blog-card__title a:active { color: var(--wp--preset--color--coral); }

  .blog-card__excerpt {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    font-size: var(--wp--preset--font-size--sm);
    line-height: 1.55;
    color: var(--wp--custom--color--subcopy);
    margin: 0;
  }
  .blog-card__excerpt p { margin: 0; }

  .blog-card__meta {
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--wp--custom--color--nav-ink);
  }
  .blog-card__meta .wp-block-post-date,
  .blog-card__meta .wp-block-post-time-to-read { margin: 0; }
  .blog-card__read { position: relative; padding-left: 0.75rem; font-weight: 700; }
  .blog-card__read::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: currentColor;
    transform: translateY(-50%);
    opacity: 0.5;
  }

  /* ── FEATURED FIRST CARD (spans full width, horizontal) ──
     Scoped to :not(.is-filtered) so filtered views show a clean uniform grid. */
  @media (min-width: 768px) {
    .blog-index__grid:not(.is-filtered) > li:first-child {
      grid-column: 1 / -1;
    }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card {
      flex-direction: row;
      align-items: stretch; /* body container stretches to image height */
      gap: 0;               /* no gap — containers sit flush together */
    }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__image {
      flex: 1 1 56%;
    }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__image img {
      aspect-ratio: unset;
      height: 100%;
      object-fit: cover;
    }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__body {
      flex: 1 1 44%;
      gap: 0.875rem;
      justify-content: center;  /* centre content vertically in the panel */
      padding: 2.25rem 2.5rem;
    }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__title {
      font-size: clamp(2rem, 3.5vw, 2.75rem);
      letter-spacing: -0.09em;
      max-width: 14ch;
    }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__excerpt {
      font-size: var(--wp--preset--font-size--md);
    }
  }

  /* "Latest" badge on the featured (first) card */
  .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__image { position: relative; }
  .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__image::after {
    content: "Latest";
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    z-index: 1;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 700;
    font-size: 0.6875rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--wp--preset--color--white);
    background: var(--wp--preset--color--coral);
    padding: 0.3125rem 0.625rem;
    pointer-events: none;
  }

  /* ── EMPTY SLOT (JS-injected to fill the last row) ─────── */
  .blog-slot--empty { margin: 0; list-style: none; }
  .blog-empty-slot {
    height: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border: 1.5px dashed var(--wp--custom--color--warm-border);
    color: var(--wp--custom--color--nav-ink);
  }
  .blog-empty-slot__mark {
    font-family: var(--wp--preset--font-family--display);
    font-size: 2rem;
    line-height: 1;
    color: var(--wp--preset--color--coral);
  }
  .blog-empty-slot__text {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 600;
    font-size: 0.8125rem;
    opacity: 0.75;
  }
  /* Pencil — overlaps the right edge, same float as features-tour */
  .blog-empty-slot {
    position: relative;
    overflow: visible;
  }
  .blog-empty-slot__pencil {
    position: absolute;
    bottom: 1.25rem;
    right: -1.5rem;
    width: 60px; /* 52 × 1.15 */
    height: auto;
    animation: slot-pencil-float 4.2s ease-in-out infinite;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    pointer-events: none;
  }
  /* Flipped horizontally + same rotate/translate drift as sticker-pencil */
  @keyframes slot-pencil-float {
    0%   { transform: scaleX(-1) rotate(-18deg) translate(0, 0); }
    50%  { transform: scaleX(-1) rotate(-15deg) translate(3px, -4px); }
    100% { transform: scaleX(-1) rotate(-18deg) translate(0, 0); }
  }
  @media (prefers-reduced-motion: reduce) { .blog-empty-slot__pencil { animation: none; } }

  /* ── PAGINATION ────────────────────────────────────────── */
  .blog-index__pagination {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 600;
    font-size: var(--wp--preset--font-size--sm);
  }
  .blog-index__pagination .wp-block-query-pagination-numbers,
  .blog-index__pagination a { color: var(--wp--custom--color--nav-ink); text-decoration: none; }
  .blog-index__pagination a:hover { color: var(--wp--preset--color--coral); }
  .blog-index__pagination .page-numbers.current { color: var(--wp--preset--color--coral); }

  /* ── EMPTY / NO-RESULTS STATE (brand voice) ────────────── */
  .blog-index__empty,
  .blog-index__noresults {
    text-align: center;
    max-width: 380px;
    margin-inline: auto;
    padding: clamp(3rem, 8vw, 6rem) 1rem;
  }

  /* Floating Mark character — reuses the 404's char-idle animation */
  .blog-index__nores-mark-wrap {
    display: inline-block;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 8px 20px rgba(255, 54, 35, 0.20));
  }
  .blog-index__nores-mark {
    display: block;
    width: 64px;
    height: 64px;
    animation: blog-mark-float 7s ease-in-out 0.5s infinite;
  }
  @keyframes blog-mark-float {
    0%            { transform: translateY(0)    translateX(0); }
    25%           { transform: translateY(-8px) translateX(0); }
    38%           { transform: translateY(-4px) translateX(-2px); }
    44%           { transform: translateY(-2px) translateX(2px); }
    50%           { transform: translateY(0)    translateX(-1px); }
    56%           { transform: translateY(0)    translateX(1px); }
    65%, 100%     { transform: translateY(0)    translateX(0); }
  }
  @media (prefers-reduced-motion: reduce) { .blog-index__nores-mark { animation: none; } }

  .blog-index__empty-title {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    font-size: clamp(1.375rem, 3.5vw, 1.875rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--wp--preset--color--ink);
    margin: 0 0 0.75rem;
  }
  .blog-index__empty-accent { color: var(--wp--preset--color--coral); }
  .blog-index__empty-lead {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    font-size: var(--wp--preset--font-size--sm);
    line-height: 1.5;
    color: var(--wp--custom--color--subcopy);
    margin: 0;
    max-width: 24ch;
    margin-inline: auto;
  }
  .blog-index__empty-lead a,
  .blog-index__empty-reset {
    color: var(--wp--preset--color--coral);
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
  }

  /* ── NEWSLETTER CTA ────────────────────────────────────── */
  /* position:relative + overflow:hidden anchor the animated pixel-grain
     canvas blog.js injects behind the copy — the same cream-toned cousin
     of the mantra glitch field used on the FAQs footer CTA (see mantra.js/
     .mantra, and faq-page.js for the first mock-up of this cream variant). */
  .blog-newsletter {
    background: #F0E3D9;
    padding-block: clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
  }
  .blog-newsletter__inner {
    max-width: 560px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
    text-align: center;
    position: relative;
    z-index: 1;
  }
  .blog-newsletter__eyebrow {
    font-family: 'Pixelar', monospace;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--wp--preset--color--coral);
    margin: 0 0 0.5rem;
  }
  .blog-newsletter__title {
    font-family: 'Roobert Semimono', monospace;
    font-weight: 400;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.0;
    letter-spacing: -0.06em;
    color: var(--wp--preset--color--ink);
    margin: 0 0 0.75rem;
    max-width: 11ch;
    margin-inline: auto;
    margin-bottom: 0.75rem;
  }
  /* Features page copy is two explicit <br>-broken lines ("Be the first to
     use" / "our future features.") rather than the blog's single wrapped
     word — the blog's 11ch cap would force a second, unwanted wrap. */
  .kwb-segment--features-cta .blog-newsletter__title { max-width: 21ch; }
  .blog-newsletter__accent { color: var(--wp--preset--color--coral); }
  .blog-newsletter__lead {
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    font-size: var(--wp--preset--font-size--sm);
    line-height: 1.5;
    color: var(--wp--custom--color--subcopy);
    margin: 0 0 1.75rem;
    max-width: 28ch;
    margin-inline: auto;
    margin-bottom: 1.75rem;
  }
  .blog-newsletter__form { margin: 0; }
  .blog-newsletter__field {
    display: flex;
    gap: 0;
    max-width: 440px;
    margin-inline: auto;
  }
  .blog-newsletter__input {
    flex: 1;
    min-width: 0;
    height: 50px;
    background: var(--wp--preset--color--white);
    border: none;
    outline: none;
    padding: 0 1rem;
    font-family: var(--wp--preset--font-family--body);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--wp--preset--color--ink);
    transition: box-shadow 160ms var(--wp--custom--motion--ease-out);
    -webkit-appearance: none;
  }
  .blog-newsletter__input::placeholder { color: #7E6E67; }
  .blog-newsletter__input:focus { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--coral); }
  /* Prevent iOS Safari auto-zoom — must be >=16px on all inputs. Found in
     passing while fixing the same bug on the FAQ search field (15px here, same
     family). Same convention as contact.css / gateway.css / faq-page.css. */
  @media (max-width: 640px) {
    .blog-newsletter__input { font-size: 16px; }
  }
  .blog-newsletter__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 50px;
    padding: 0 1.25rem;
    background: var(--wp--preset--gradient--btn-secondary);
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--body);
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background var(--wp--custom--motion--dur-fast) var(--wp--custom--motion--ease-out);
  }
  @media (hover: hover) {
    .blog-newsletter__btn:hover { background: var(--wp--preset--gradient--btn-secondary-hover); }
  }
  .blog-newsletter__btn:active { background: var(--wp--preset--gradient--btn-secondary-hover); transform: translateY(1px); }
  .blog-newsletter__btn svg { width: 10px; height: 10px; }
  .blog-newsletter__error {
    margin-top: 0.5rem;
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--sm);
    color: var(--wp--preset--color--coral);
  }
  /* Confirmed state — floating badge from gateway */
  .blog-newsletter__badge {
    animation: badge-float 3.5s ease-in-out infinite;
    margin: 0 auto 0.75rem;
    display: flex;
    justify-content: center;
  }
  .blog-newsletter__badge img {
    width: 64px; height: 64px;
    display: block;
    image-rendering: pixelated;
  }
  @keyframes badge-float {
    0%, 100% { transform: translateY(0px)  rotate(-2deg); }
    50%       { transform: translateY(-8px) rotate(2deg);  }
  }
  @media (prefers-reduced-motion: reduce) { .blog-newsletter__badge { animation: none; } }

  /* ── Responsive ────────────────────────────────────────── */
  @media (max-width: 900px) {
    .blog-index__query .wp-block-post-template { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  }
  @media (max-width: 560px) {
    /* Tighter 2-column grid for the secondary cards (was single column) */
    .blog-index__query .wp-block-post-template { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    /* Featured card keeps its full-width, stacked treatment across both columns */
    .blog-index__grid:not(.is-filtered) > li:first-child { grid-column: 1 / -1; }
    /* Featured article title → homepage hero mobile headline, −8px */
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__title {
      font-size: clamp(1.625rem, 7.25vw, 2.125rem);
      font-weight: 400;
      line-height: 0.95;
      letter-spacing: -0.10764em;
      max-width: none;
    }
    /* 2-column secondary card headlines — Semimono Regular, 18px */
    .blog-card__title { font-size: 1.125rem; font-weight: 400; }
    /* 2-column cards: headline + time-est only — drop subtext, category, and date.
       The featured (1-column) card keeps its full treatment below. */
    .blog-index__grid .blog-card__excerpt,
    .blog-index__grid .blog-card__cat,
    .blog-index__grid .blog-card__date { display: none; }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__excerpt { display: block; }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__cat { display: flex; }
    .blog-index__grid:not(.is-filtered) > li:first-child .blog-card__date { display: block; }
    /* Pin time-est to the bottom of each card body so secondary cards
       show it in the same position regardless of headline length */
    .blog-index__grid li:not(:first-child) .blog-card__meta { margin-top: auto; }
    .blog-index__title { font-size: clamp(2.25rem, 11vw, 3rem); }
    .blog-index__eyebrow { font-size: 18px; } /* Pixelar eyebrow → 16px on mobile */
    /* Narrower, centred lead under the headline */
    .blog-index__lead { font-size: 1rem; max-width: min(28ch, 82vw); }
    .blog-newsletter__lead { font-size: 1rem; } /* 16px on mobile — matches hero lead */
    /* Narrower email input/button row for the newsletter signup */
    .blog-newsletter__field { max-width: 295px; }
    /* Category pills → one horizontal scroll strip (bleeds to the hero
       edges) instead of wrapping onto a second row */
    .blog-index__pills {
      flex-wrap: nowrap;
      justify-content: flex-start;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      margin-inline: calc(-1 * clamp(1.25rem, 4vw, 3rem));
      padding-inline: clamp(1.25rem, 4vw, 3rem);
    }
    .blog-index__pills::-webkit-scrollbar { display: none; }
    .blog-index__pill { flex: 0 0 auto; }
  }

/* ── Desktop & tablet — newsletter headline aligned to the how-it-works
   footer strip's treatment (2026-07-19, user's call, "far nicer") ───────
   Used to pin smaller/heavier to match the article H2 (Roobert Semimono
   600, 1.625rem) — swapped for the larger, thinner display-font style the
   unscoped kwb-segment--try-cta strip already carries via .faqs__cta-title
   in faq-page.css (same values, mirrored here since blog-newsletter__title
   is blog's own class, not a shared one). Scoped to ≥641px so mobile keeps
   its own smaller Semimono size set above, untouched. */
@media (min-width: 641px) {
  .blog-newsletter__title {
    font-family: var(--wp--preset--font-family--display);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    letter-spacing: -0.06em;
  }
}
