/**
 * content.css: /blog, /blog/<slug> and /changelog (ACT-249).
 *
 * A port of the design system's `ui_kits/website/Actorly Blog.dc.html`, `Actorly Article.dc.html` and
 * `Actorly Changelog.dc.html` (skill actorly-design): the inline styles of the specimens, as classes on the tokens.
 * Every colour is a token from design-tokens.css; sizes the tokens do not name are in rem (1rem = 16px).
 * The card tints are the specimens' own oklch values. Motion is public/js/content-pages.js (pills, copy link) and
 * motion-kit.js (the reveals).
 */

.cp-root { overflow-x: clip; }
.cp-wrap { max-width: var(--act-content-max); margin: 0 auto; }
.cp-wrap-narrow { max-width: 61.25rem; }
.cp-wrap-narrow .cp-lede { max-width: 37.5rem; } /* the Changelog specimen caps its lede at 600px, the Blog at 620px */

/* ---------------------------------------------------------------- hero */
.cp-hero { padding: 11.25rem var(--act-gutter) 4rem; }
.cp-hero .cp-wrap { display: flex; flex-direction: column; gap: 1.375rem; }
.cp-h1 { margin: 0; font-variation-settings: var(--act-display-wdth); font-weight: 700; font-size: var(--act-h1); line-height: var(--act-lh-display); letter-spacing: -.058em; }
.cp-h1-art { font-size: clamp(2.5rem, 5.6vw, 5.25rem); line-height: var(--act-lh-h2); letter-spacing: -.055em; }
.cp-h2 { margin: 0; font-variation-settings: var(--act-display-wdth); font-weight: 700; font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: var(--act-lh-h2); letter-spacing: -.055em; }
.cp-lede { margin: 0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: var(--act-lh-lede); color: var(--act-body); max-width: 38.75rem; }
.cp-link { color: var(--act-ink); text-decoration: underline; text-decoration-color: var(--act-ember); text-underline-offset: 5px; font-weight: 600; }

/* ---------------------------------------------------------------- pill filters */
.cp-pills { display: flex; flex-wrap: nowrap; gap: .5rem; margin-top: .625rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cp-pills::-webkit-scrollbar { display: none; }
.cp-pill { flex: none; white-space: nowrap; height: 2.5rem; padding: 0 1rem; border: 0; border-radius: var(--act-radius-pill); font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; background: var(--act-white); color: var(--act-ink); box-shadow: var(--act-ring); transition: background .25s ease, color .25s ease; }
.cp-pill.is-on { background: var(--act-ink); color: var(--act-paper); }
.cp-pill:focus-visible, .cp-copy:focus-visible { outline: 2px solid var(--act-ember-text); outline-offset: 3px; }

/* ---------------------------------------------------------------- list + cards */
.cp-list { padding: 0 var(--act-gutter) 8.75rem; }
.cp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22.5rem), 1fr)); gap: 1.125rem; }
.cp-card { background: var(--act-white); border-radius: 1.625rem; box-shadow: var(--act-ring); overflow: hidden; display: flex; flex-direction: column; color: var(--act-ink); text-decoration: none; transition: box-shadow .25s ease; }
.cp-card:hover { box-shadow: var(--act-ring-hover); }
.cp-card[hidden], .cp-entry[hidden] { display: none; }
.cp-card.is-in, .cp-entry.is-in { animation: cp-in .45s var(--act-ease-settle) both; }
@keyframes cp-in { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
.cp-card-img { aspect-ratio: 1200 / 630; padding: var(--act-gutter); display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; background-size: cover; background-position: center; }
.tone-0 { background-color: oklch(0.9 0.04 60); }
.tone-1 { background-color: oklch(0.9 0.035 150); }
.tone-2 { background-color: oklch(0.9 0.04 250); }
.tone-3 { background-color: oklch(0.9 0.05 88); }
.tone-4 { background-color: oklch(0.89 0.04 300); }
.tone-5 { background-color: oklch(0.9 0.04 20); }
.cp-stamp { align-self: flex-start; background: var(--act-ember); color: var(--act-ink); border-radius: var(--act-radius-stamp); padding: .5rem .75rem; font-size: .875rem; font-weight: 700; line-height: 1.3; transform: rotate(-3deg); box-shadow: var(--act-shadow-stamp); }
.cp-stamp span { display: block; font-weight: 500; }
/* a card whose cover image carries its own title shows no stamp over it: the stamp hid words of the title (ACT-272) */
.cp-card-img[style*="background-image"] .cp-stamp { display: none; }
.cp-card-body { padding: 1.5rem 1.625rem 1.75rem; display: flex; flex-direction: column; gap: .625rem; flex: 1; }
.cp-cat { font-size: .875rem; font-weight: 650; color: var(--act-ember-text); }
.cp-card h2 { margin: 0; font-size: 1.4375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.cp-card p { margin: 0; font-size: 1rem; line-height: var(--act-lh-lede); color: var(--act-body); }
.cp-meta { margin-top: auto; padding-top: .625rem; font-size: var(--act-small); color: var(--act-faint); }
.cp-empty { margin: 0; padding: 2rem 0; font-size: 1.125rem; color: var(--act-body); }
.cp-empty[hidden], .cp-empty-card[hidden] { display: none; }
.cp-empty-card { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding: 2.5rem 1.5rem; background: var(--act-white); box-shadow: var(--act-ring); border-radius: var(--act-radius-tile); text-align: center; }
.cp-empty-card .cp-empty { padding: 0; }
.cp-empty-art { width: min(20rem, 100%); height: auto; }
.cp-empty-art .e-card { fill: var(--act-white); stroke: var(--act-ink); stroke-width: 2; }
.cp-empty-art .e-line { fill: var(--act-line); }
.cp-empty-art .e-ink { fill: var(--act-ink); }
.cp-empty-art .e-ember { fill: var(--act-ember); }
.cp-empty-art .e-tone1 { fill: oklch(0.9 0.035 150); } .cp-empty-art .e-tone2 { fill: oklch(0.9 0.04 250); } .cp-empty-art .e-tone3 { fill: oklch(0.9 0.05 88); }

/* ---------------------------------------------------------------- changelog */
.cp-entries { display: flex; flex-direction: column; gap: .875rem; }
.cp-entry { background: var(--act-white); border-radius: var(--act-radius-card); box-shadow: var(--act-ring); padding: clamp(1.375rem, 3vw, 2.125rem); display: grid; grid-template-columns: 9.375rem minmax(0, 1fr); gap: var(--act-gutter); }
.cp-entry-side { display: flex; flex-direction: column; gap: .625rem; }
.cp-entry-side .d { font-size: .9375rem; font-weight: 650; }
.cp-tag { align-self: flex-start; padding: .25rem .6875rem; border-radius: var(--act-radius-pill); font-size: .8125rem; font-weight: 600; background: var(--act-notyet-bg); color: var(--act-notyet-fg); }
.cp-tag-feature { background: var(--act-ember-soft); color: var(--act-ember-text); }
.cp-tag-improvement { background: var(--act-likely-bg); color: var(--act-likely-fg); }
.cp-tag-coverage { background: var(--act-confirmed-bg); color: var(--act-confirmed-fg); }
.cp-entry-main { display: flex; flex-direction: column; gap: .625rem; min-width: 0; }
.cp-entry h2 { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.cp-entry-body { font-size: 1rem; line-height: var(--act-lh-body); color: var(--act-body); }
.cp-entry-body > * { margin: 0 0 .75rem; }
.cp-entry-body > :last-child { margin-bottom: 0; }
.cp-entry .cp-meta { margin-top: 0; padding-top: 0; }

/* ---------------------------------------------------------------- article */
.cp-art-head { padding: 10.625rem var(--act-gutter) 3.5rem; }
.cp-art-head-in { max-width: 55rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.375rem; }
.cp-back { font-size: .9375rem; font-weight: 600; color: var(--act-body); text-decoration: none; }
.cp-back:hover { color: var(--act-ember-text); }
.cp-dek { margin: 0; font-size: 1.25rem; line-height: var(--act-lh-lede); color: var(--act-body); }
.cp-art-meta { display: flex; flex-wrap: wrap; gap: .625rem 1.25rem; align-items: center; font-size: .9375rem; color: var(--act-body); }
.cp-art-meta .who { font-weight: 650; color: var(--act-ink); }
.cp-art-meta .grow { flex: 1; }
.cp-copy { height: 2.375rem; padding: 0 1rem; border: 0; border-radius: var(--act-radius-pill); background: var(--act-white); box-shadow: var(--act-ring); font: inherit; font-size: var(--act-small); font-weight: 600; cursor: pointer; color: var(--act-ink); }
.cp-art-main { background: var(--act-white); padding: 5rem var(--act-gutter) 8.125rem; }
.cp-art-grid { max-width: 73.75rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 4rem; }
.cp-art-body { max-width: 45rem; display: flex; flex-direction: column; gap: 1.375rem; font-size: 1.125rem; line-height: var(--act-lh-long); color: var(--act-body-strong); }
.cp-art-body > * { margin: 0; }
.cp-art-cover { width: 100%; height: auto; border-radius: var(--act-radius-card); }
.cp-art-body img { max-width: 100%; height: auto; border-radius: var(--act-radius-inner); }
.cp-art-body h2 { margin: 1.5rem 0 0; font-variation-settings: var(--act-display-wdth); font-weight: 700; font-size: 2.125rem; line-height: 1.05; letter-spacing: -.04em; color: var(--act-ink); scroll-margin-top: 6.875rem; }
.cp-art-body h3 { margin: 1rem 0 0; font-weight: 700; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.03em; color: var(--act-ink); }
.cp-art-body h4 { margin: .5rem 0 0; font-weight: 700; font-size: 1.1875rem; color: var(--act-ink); }
.cp-art-body blockquote { margin: .375rem 0; padding: .25rem 0 .25rem 1.375rem; box-shadow: inset 3px 0 0 var(--act-ember); font-size: 1.3125rem; line-height: 1.5; color: var(--act-ink); font-weight: 500; }
.cp-art-body a { color: var(--act-ink); text-decoration: underline; text-decoration-color: var(--act-ember); text-underline-offset: var(--act-space-1); }
.cp-art-body ul, .cp-art-body ol { padding-left: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.cp-art-body pre { padding: 1rem 1.125rem; border-radius: var(--act-radius-inner); background: var(--act-paper); overflow-x: auto; font-size: .9375rem; }
.cp-art-body code { font-size: .95em; background: var(--act-paper); padding: .1em .35em; border-radius: .3em; }
.cp-art-body pre code { padding: 0; background: none; }
.cp-art-body hr { border: 0; height: thin; background: var(--act-line); width: 100%; }
.cp-art-side { position: sticky; top: 6.875rem; align-self: start; display: flex; flex-direction: column; gap: 1.125rem; }
.cp-side-box { padding: 1.375rem; border-radius: 1.375rem; display: flex; flex-direction: column; gap: .375rem; font-size: .9375rem; }
.cp-side-label { font-size: .8125rem; font-weight: 700; color: var(--act-faint); margin-bottom: .375rem; }
.cp-toc { background: var(--act-paper); }
.cp-toc a { padding: .3125rem 0; color: var(--act-ink); text-decoration: none; }
.cp-toc a:hover { color: var(--act-ember-text); }
.cp-side-cta { background: var(--act-surface-inverse); color: var(--act-text-on-inverse); gap: .875rem; }
.cp-side-cta span { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; }
.cp-side-cta a { height: 2.875rem; border-radius: var(--act-radius-pill); background: var(--act-button-inverse-bg); color: var(--act-button-inverse-fg); font-size: .9375rem; font-weight: 700; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .25s ease, color .25s ease; }
.cp-side-cta a:hover { background: var(--act-paper); color: var(--act-ink); }
.cp-side-ai { box-shadow: var(--act-ring); gap: .625rem; }
.cp-side-chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.cp-side-ai-note { font-size: var(--act-small); color: var(--act-muted); }
.cp-side-chips a { padding: .375rem .75rem; border-radius: var(--act-radius-pill); background: var(--act-paper); color: var(--act-ink); text-decoration: none; }
.cp-side-chips a:hover { color: var(--act-ember-text); }
.cp-more { padding: 6.875rem var(--act-gutter); }
.cp-more .cp-wrap { max-width: 73.75rem; display: flex; flex-direction: column; gap: 1.375rem; }
.cp-more-h { margin: 0; font-variation-settings: var(--act-display-wdth); font-weight: 700; font-size: clamp(1.875rem, 3.6vw, 3.25rem); letter-spacing: -.05em; }
.cp-more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.cp-more-card { background: var(--act-white); border-radius: 1.375rem; box-shadow: var(--act-ring); padding: var(--act-gutter); display: flex; flex-direction: column; gap: .5rem; color: var(--act-ink); text-decoration: none; transition: box-shadow .25s ease; }
.cp-more-card:hover { box-shadow: var(--act-ring-hover); }
.cp-more-card .t { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }

@media (max-width: 60rem) {
  .cp-art-grid { grid-template-columns: minmax(0, 1fr); }
  .cp-art-side { position: static; }
}
@media (max-width: 40rem) {
  /* a card cover shows whole at its own 1200x630 ratio; the stamp is smaller and sits inside the card padding */
  .cp-card-img { height: auto; aspect-ratio: 1200 / 630; padding: .625rem; }
  .cp-stamp { padding: .25rem .5rem; font-size: .6875rem; border-radius: .5rem; }
  .cp-hero { padding-top: 8.5rem; }
  .cp-art-head { padding-top: 8rem; }
  .cp-entry { grid-template-columns: minmax(0, 1fr); gap: .875rem; }
  .cp-entry-side { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-pill, .cp-card, .cp-more-card, .cp-side-cta a { transition: none; }
  .cp-card.is-in, .cp-entry.is-in { animation: none; }
}
.cp-rss { color: var(--act-ink); display: block; width: fit-content; margin: 1.125rem auto 0; font-size: .9375rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--act-ember); text-underline-offset: 5px; } /* the Changelog specimen's "Subscribe with RSS" (ACT-263) */
.cp-art-body table, .cp-entry-body table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.cp-art-body th, .cp-entry-body th { text-align: left; font-weight: 700; color: var(--act-ink); background: var(--act-table-head); }
.cp-art-body th, .cp-art-body td, .cp-entry-body th, .cp-entry-body td { padding: .625rem .75rem; border: thin solid var(--act-line); vertical-align: top; }

/* ---------------------------------------------------------------- phones (ACT-272)
   /blog, the articles and /changelog: tighter section rhythm, 44px pills and buttons, an article body sized for reading in one hand. */
@media (max-width: 40rem) {
  .cp-hero { padding: 7rem var(--act-gutter) 2rem; }
  .cp-h1 { font-size: clamp(2.5rem, 12.5vw, 3.25rem); }
  .cp-h1-art { font-size: clamp(2rem, 9.4vw, 2.5rem); line-height: 1.02; }
  .cp-h2 { font-size: clamp(1.875rem, 8.6vw, 2.25rem); }
  .cp-hero .cp-wrap { gap: 1rem; }
  .cp-pills { margin-top: .25rem; margin-right: calc(var(--act-gutter) * -1); padding-right: 2rem; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); }
  .cp-pill { height: 2.5rem; padding: 0 1rem; font-size: .875rem; }
  .cp-list { padding-bottom: 4rem; }
  .cp-grid { gap: .875rem; }
  .cp-card { border-radius: 1.375rem; }
  .cp-card-body { padding: 1.125rem 1.25rem 1.375rem; gap: .5rem; }
  .cp-card h2 { font-size: 1.25rem; }
  .cp-card p { font-size: .9375rem; }
  .cp-empty-card { padding: 2rem 1.25rem; }
  .cp-entry { padding: 1.25rem; }
  .cp-entries { gap: .75rem; }
  .cp-entry h2 { font-size: 1.1875rem; }
  .cp-rss { min-height: 2.75rem; display: flex; align-items: center; justify-content: center; }

  .cp-art-head { padding: 6.5rem var(--act-gutter) 2rem; }
  .cp-art-head-in { gap: 1rem; }
  .cp-back { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .cp-dek { font-size: 1.0625rem; }
  .cp-art-meta { gap: .5rem 1rem; font-size: .875rem; }
  .cp-art-meta .grow { flex-basis: 100%; height: 0; }
  .cp-copy { height: 2.75rem; padding: 0 1.25rem; }
  .cp-art-main { padding: 2.5rem var(--act-gutter) 3.5rem; }
  .cp-art-grid { gap: 2.5rem; }
  .cp-art-body { gap: 1.125rem; font-size: 1.0625rem; line-height: 1.7; }
  .cp-art-body h2 { margin-top: 1.25rem; font-size: 1.625rem; line-height: 1.1; scroll-margin-top: 5.5rem; }
  .cp-art-body h3 { font-size: 1.3125rem; }
  .cp-art-body blockquote { font-size: 1.125rem; padding-left: 1rem; }
  .cp-art-body ul, .cp-art-body ol { padding-left: 1.25rem; }
  .cp-art-body pre, .cp-art-body table { max-width: 100%; overflow-x: auto; }
  .cp-art-body table { display: block; }
  .cp-art-side { gap: .875rem; }
  .cp-side-box { padding: 1.125rem; border-radius: 1.25rem; }
  .cp-toc a { display: flex; align-items: center; min-height: 2.75rem; padding: .25rem 0; }
  .cp-side-cta a { height: 3.25rem; font-size: 1rem; }
  .cp-side-chips a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .375rem 1rem; }
  .cp-more { padding: 3.5rem var(--act-gutter); }
  .cp-more .cp-wrap { gap: 1rem; }
  .cp-more-h { font-size: 1.875rem; }
  .cp-more-card { border-radius: 1.25rem; padding: 1.25rem; }
}

/* ACT-299: topic clusters, the Key takeaways box, the FAQ block and the author box. Tokens only. */
a.cp-pill { display: inline-flex; align-items: center; text-decoration: none; }
.cp-back-cat { margin-left: .75rem; color: var(--act-ember-text); }
.cp-art-meta .who { text-decoration: none; }
.cp-art-meta .who:hover { color: var(--act-ember-text); }
.cp-art-body .cp-keybox { padding: 1.375rem 1.5rem; border-radius: var(--act-radius-card); background: var(--act-white); box-shadow: var(--act-ring), inset var(--act-space-1) 0 0 var(--act-ember); }
.cp-art-body .cp-keybox h2 { margin: 0 0 .75rem; font-size: 1.375rem; letter-spacing: -.02em; }
.cp-art-body .cp-keybox ul { margin: 0; }
.cp-art-body .cp-faq { display: flex; flex-direction: column; gap: 1.125rem; }
.cp-art-body .cp-faq h2 { margin-bottom: 0; }
.cp-art-body .cp-faq h3 { margin: .5rem 0 0; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; }
.cp-art-body .cp-faq h3 + p { margin: 0; }
.cp-author { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--act-radius-card); background: var(--act-white); box-shadow: var(--act-ring); display: flex; gap: 1.25rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.cp-author-img { flex: none; width: 4.5rem; height: 4.5rem; border-radius: var(--act-radius-pill); object-fit: cover; background: var(--act-paper); }
.cp-author-img.is-mark { object-fit: contain; padding: .875rem; }
.cp-author-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; }
.cp-author-label { font-size: .8125rem; font-weight: 700; color: var(--act-faint); }
.cp-art-body .cp-author-name, .cp-author-name { font-size: 1.25rem; font-weight: 700; color: var(--act-ink); text-decoration: none; }
.cp-author-name:hover { color: var(--act-ember-text); }
.cp-author-role { font-size: .9375rem; color: var(--act-body); margin: 0; }
.cp-author-bio { margin: .5rem 0 0; color: var(--act-body-strong); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-author-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .625rem; font-size: .9375rem; }
.cp-author-links a { color: var(--act-ink); text-decoration: underline; text-decoration-color: var(--act-ember); text-underline-offset: 5px; min-height: 2.75rem; display: inline-flex; align-items: center; }
.cp-author-hero { flex-direction: row; gap: 1.75rem; align-items: flex-start; }
.cp-author-hero .cp-author-img { width: 7.5rem; height: 7.5rem; }
.cp-author-hero-text { display: flex; flex-direction: column; gap: .875rem; min-width: 0; }
.cp-author-topics { margin: 0; font-size: .9375rem; color: var(--act-body); }
.cp-author-topics span { font-weight: 700; color: var(--act-ink); }
.cp-more-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 2.5rem; }
.cp-more-col { display: flex; flex-direction: column; gap: 1.375rem; min-width: 0; }
.cp-more-h a { color: inherit; text-decoration: underline; text-decoration-color: var(--act-ember); text-underline-offset: 6px; }
.cp-pager { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.75rem; font-size: .9375rem; color: var(--act-body); }
.cp-pager a { color: var(--act-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--act-ember); text-underline-offset: 5px; min-height: 2.75rem; display: inline-flex; align-items: center; }
@media (max-width: 40rem) {
  .cp-author { flex-direction: column; padding: 1.25rem; }
  .cp-author-hero { flex-direction: column; }
  .cp-art-body .cp-keybox { padding: 1.125rem 1.25rem; }
  .cp-more-cols { gap: 2rem; }
}

/* ACT-299: the topic filter (All, four chips, a "More topics" menu; one full-width "Topic" menu on a phone) and the blog opener.
   Tokens only. The wide row wraps instead of scrolling, so no width scrolls sideways at 320 or 390. */
.cp-filter { margin-top: .625rem; }
.cp-filter-wide { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.cp-filter-narrow { display: none; }
.cp-menu { position: relative; }
.cp-menu-btn { display: inline-flex; align-items: center; gap: .5rem; }
.cp-chev { flex: none; transition: transform .2s ease; }
.cp-menu-btn[aria-expanded="true"] .cp-chev { transform: rotate(180deg); }
.cp-menu-list { position: absolute; z-index: 30; top: calc(100% + .5rem); left: 0; min-width: 17rem; max-height: min(24rem, 70vh); overflow-y: auto; margin: 0; padding: .375rem; list-style: none; background: var(--act-white); border-radius: var(--act-radius-tile); box-shadow: var(--act-shadow-nav); }
.cp-menu-list[hidden] { display: none; }
.cp-menu-item { display: flex; align-items: center; min-height: 2.75rem; padding: .5rem .875rem; border-radius: var(--act-radius-inner); color: var(--act-ink); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.cp-menu-item:hover, .cp-menu-item:focus-visible { background: var(--act-paper); }
.cp-menu-item:focus-visible { outline: 2px solid var(--act-ember-text); outline-offset: -2px; }
.cp-menu-item[aria-current="page"] { background: var(--act-ink); color: var(--act-paper); }
.cp-menu-full { width: 100%; }
.cp-menu-full .cp-menu-btn { width: 100%; height: 3rem; justify-content: flex-start; text-align: left; }
.cp-menu-full .cp-chev { margin-left: auto; }
.cp-menu-full .cp-menu-btn > span { min-width: 0; }
.cp-menu-full .cp-menu-v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-menu-btn .cp-menu-k { color: var(--act-faint); font-weight: 600; }
.cp-menu-btn.is-on .cp-menu-k { color: inherit; }
.cp-menu-full .cp-menu-btn { display: flex; }
.cp-menu-full .cp-menu-btn > .cp-menu-k + .cp-menu-v { margin-left: .25rem; }
.cp-menu-full .cp-menu-list { left: 0; right: 0; min-width: 0; }

/* the opener: the newest post leads, wide; the rest sit three across, tighter */
.cp-hero { padding-bottom: 2.5rem; }
.cp-feature-wrap { margin-bottom: 1.125rem; }
.cp-feature { flex-direction: row; }
.cp-feature .cp-card-img { aspect-ratio: auto; flex: 0 0 56%; min-height: 19rem; }
.cp-feature .cp-card-body { justify-content: center; padding: 2.25rem 2.5rem; gap: .875rem; }
.cp-feature h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); letter-spacing: -.035em; line-height: 1.1; }
.cp-feature p { font-size: 1.0625rem; }
.cp-feature .cp-meta { margin-top: .5rem; padding-top: 0; }
.cp-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.cp-card p { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cp-card-body { padding: 1.25rem 1.375rem 1.5rem; }
.cp-feature .cp-card-body { padding: 2.25rem 2.5rem; }
.cp-card h2 { font-size: 1.3125rem; }
.cp-feature h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.cp-meta time { color: inherit; }
@media (max-width: 60rem) {
  .cp-feature { flex-direction: column; }
  .cp-feature .cp-card-img { flex: none; min-height: 0; aspect-ratio: 1200 / 630; }
  .cp-feature .cp-card-body { padding: 1.5rem; }
}
@media (max-width: 40rem) {
  .cp-filter-wide { display: none; }
  .cp-filter-narrow { display: block; }
  .cp-feature-wrap { margin-bottom: .875rem; }
  .cp-feature .cp-card-body { padding: 1.125rem 1.25rem 1.375rem; }
  .cp-feature h2 { font-size: 1.5rem; }
  .cp-menu-list { max-height: min(22rem, 60vh); }
}
@media (prefers-reduced-motion: reduce) { .cp-chev { transition: none; } }

/* ACT-299: the blog list breathes. Specimen rhythm (24px gutter, 18px gap) kept as the floor; the list gets more air between the filter, the lead post, the grid and the pager. */
.cp-hero { padding-bottom: 3.5rem; }
.cp-list { padding-bottom: 7.5rem; }
.cp-feature-wrap { margin-bottom: 2rem; }
.cp-grid { gap: 2rem 1.5rem; }
.cp-card-body { gap: .625rem; padding: 1.5rem 1.625rem 1.75rem; }
.cp-list .cp-pager { margin-top: 3.5rem; }
.cp-list .cp-rss { display: block; width: fit-content; margin: 2.5rem auto 0; }
@media (max-width: 40rem) {
  .cp-hero { padding-bottom: 2.25rem; }
  .cp-list { padding-bottom: 4rem; }
  .cp-feature-wrap { margin-bottom: 1.5rem; }
  .cp-grid { gap: 1.5rem; }
  .cp-card-body { padding: 1.25rem 1.25rem 1.5rem; }
  .cp-list .cp-pager { margin-top: 2.5rem; flex-wrap: wrap; gap: .5rem 1.25rem; }
}
