/*
Theme Name: Remarkable Work
Theme URI: https://remarkable.work
Author: Miles Nurse
Author URI: https://remarkable.work
Description: Three-section positioning site for a fractional / interim Chief Product Officer. Home, Insights, Case Studies. Includes custom post types for Insights and Case Studies, five message-frame taxonomy, tiered case-study proof with an optional per-case-study email gate, and a one-click content seeder.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: remarkable-work
Tags: one-column, custom-colors, custom-menu, editor-style, blog, portfolio
*/

/* ==========================================================================
   0. Tokens
   ========================================================================== */
:root {
  --ink:        #12151A;
  --ink-2:      #1D2229;
  --ink-3:      #2A313A;
  --slate:      #48525F;
  --muted:      #8A94A2;
  --line:       #E2E6EA;
  --paper:      #FFFFFF;
  --wash:       #F4F5F7;
  --accent:     #FF5A1F;
  --accent-ink: #B03D10;
  --accent-soft:#FFE9DF;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --max-read: 720px;

  --r: 10px;
  --shadow: 0 1px 2px rgba(18,21,26,.04), 0 8px 24px rgba(18,21,26,.06);
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.021em;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(34px, 5.6vw, 60px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(19px, 2.1vw, 24px); }
h4 { font-size: 17px; letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
blockquote {
  margin: 2rem 0; padding: 1.4rem 1.6rem;
  background: var(--wash); border-radius: var(--r);
  font-size: 1.05em; color: var(--ink);
}
blockquote p:last-child { margin-bottom: 0; }
code { font-family: var(--mono); font-size: .9em; background: var(--wash); padding: .15em .4em; border-radius: 4px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; z-index: 999; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 6px;
}

/* ==========================================================================
   2. Layout primitives
   ========================================================================== */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--read { max-width: calc(var(--max-read) + var(--gut) * 2); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--dark { background: var(--ink); color: #C8CFD8; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--wash { background: var(--wash); }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow--muted { color: var(--muted); }
.lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--slate); max-width: 62ch; }
.section--dark .lede { color: #9AA4B2; }

.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 15px; font-weight: 600; line-height: 1;
  padding: 15px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #ED4E14; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

/* Any dark surface: the ghost button must invert or it disappears. */
.section--dark .btn--ghost,
.hero .btn--ghost,
.cta .btn--ghost,
.cs-hero .btn--ghost,
.card--dark .btn--ghost {
  color: #fff;
  border-color: #3A424E;
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover,
.cta .btn--ghost:hover,
.cs-hero .btn--ghost:hover,
.card--dark .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   4. Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__mark { font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.brand__sub { font-size: 12px; color: var(--muted); display: none; }
@media (min-width: 900px) { .brand__sub { display: inline; } }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--slate); }
.nav a:hover, .nav .current-menu-item > a, .nav a[aria-current="page"] { color: var(--ink); }
.nav__cta { font-size: 14px; padding: 11px 18px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0 9px; background: none;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); }
@media (min-width: 860px) { .nav-toggle { display: none; } }
@media (max-width: 859px) {
  .nav {
    position: absolute; inset: 68px 0 auto; flex-direction: column;
    align-items: flex-start; gap: 4px; padding: 16px var(--gut) 24px;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: 10px 0; font-size: 18px; }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { background: var(--ink); color: #C8CFD8; padding-block: clamp(64px, 9vw, 128px); }
.hero__eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 22px; }
.hero h1 { color: #fff; max-width: 17ch; font-size: clamp(36px, 6.2vw, 68px); line-height: 1.05; }
.hero__sub { font-size: clamp(17px, 2vw, 21px); color: #9AA4B2; max-width: 58ch; margin-top: 22px; line-height: 1.55; }
.hero__grid { display: grid; gap: 44px; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.35fr .65fr; align-items: end; } }

.factbox { border: 1px solid var(--ink-3); border-radius: var(--r); padding: 22px 24px; background: var(--ink-2); }
.factbox dl { margin: 0; display: grid; gap: 16px; }
.factbox dt { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.factbox dd { margin: 3px 0 0; font-size: 14.5px; color: #C8CFD8; line-height: 1.45; }

.proofstrip { border-top: 1px solid var(--ink-3); margin-top: 56px; padding-top: 30px; display: grid; gap: 26px; }
@media (min-width: 720px) { .proofstrip { grid-template-columns: repeat(4, 1fr); } }
.proofstrip__n { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; color: #fff; letter-spacing: -.03em; line-height: 1; }
.proofstrip__l { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   6. Cards
   ========================================================================== */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 28px; display: flex; flex-direction: column; height: 100%;
}
.section--wash .card { border-color: transparent; box-shadow: var(--shadow); }
.card--dark { background: var(--ink); border-color: var(--ink); color: #C8CFD8; }
.card--dark h3, .card--dark h4 { color: #fff; }
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
  margin-bottom: 16px;
}
.card__kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 0; }
.card__link { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.card__link:hover { text-decoration: underline; }

a.card { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* Engine (SEE / BUILD / EARN) */
.engine__word { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; color: var(--accent); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.engine__cap { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }

/* ==========================================================================
   7. Case studies
   ========================================================================== */
.cs-teaser { display: flex; flex-direction: column; }
.cs-teaser__client { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.cs-teaser h3 { font-size: 20px; margin-bottom: 10px; }
.cs-teaser p { font-size: 15px; color: var(--slate); }

.cs-hero { background: var(--ink); color: #C8CFD8; padding-block: clamp(56px, 7vw, 96px); }
.cs-hero__client { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.cs-hero h1 { color: #fff; max-width: 20ch; }
.cs-hero__sub { font-size: clamp(17px, 2vw, 20px); color: #9AA4B2; max-width: 60ch; margin-top: 18px; }

.statbar { display: grid; gap: 22px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--ink-3); }
@media (min-width: 620px) { .statbar { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .statbar { grid-template-columns: repeat(5, 1fr); } }
.statbar__n { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.15; }
.statbar__l { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.cs-body h2 { margin-top: 2.4rem; font-size: clamp(22px, 2.6vw, 28px); }
.cs-body h2:first-child { margin-top: 0; }
.cs-body ul { padding-left: 1.1em; }
.cs-body ul li::marker { color: var(--accent); }

.cs-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.cs-meta strong { color: var(--ink); font-weight: 600; }

/* Gate */
.gate {
  margin-top: 44px; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: var(--wash);
}
.gate__inner { padding: 30px clamp(22px, 4vw, 40px) 34px; }
.gate__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.gate h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 10px; }
.gate p { font-size: 15.5px; max-width: 58ch; }
.gate ul { font-size: 15px; max-width: 58ch; }
.gate__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.gate__form input[type="email"], .gate__form input[type="text"] {
  flex: 1 1 240px; min-width: 0; font: inherit; font-size: 15px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.gate__form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.gate__fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.gate__hp { position: absolute; left: -9999px; }
.gate-notice { padding: 14px 18px; border-radius: var(--r); font-size: 14.5px; margin-bottom: 20px; }
.gate-notice--ok  { background: var(--accent-soft); color: var(--accent-ink); }
.gate-notice--err { background: #FDECEC; color: #99231F; }

.locked-preview { position: relative; }
.locked-preview::after {
  content: ""; position: absolute; inset: auto 0 0; height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 88%);
  pointer-events: none;
}

/* ==========================================================================
   8. Insights
   ========================================================================== */
.frame-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 5px 11px; border-radius: 999px; text-decoration: none;
}
.frame-tag:hover { background: #FFD9C7; }

.post-list { display: grid; gap: 4px; margin-top: 8px; }
.post-item {
  display: grid; gap: 6px 30px; padding: 26px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
@media (min-width: 860px) { .post-item { grid-template-columns: 190px 1fr; align-items: start; } }
.post-item:hover h3 { color: var(--accent); }
.post-item__side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-item__date { font-size: 13px; color: var(--muted); }
.post-item h3 { font-size: clamp(20px, 2.2vw, 25px); margin-bottom: 8px; transition: color .15s ease; }
.post-item p { font-size: 15.5px; margin-bottom: 0; }

.entry-hero { padding-block: clamp(48px, 6vw, 84px) 0; }
.entry-hero h1 { max-width: 22ch; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.entry-content { font-size: 17.5px; line-height: 1.72; }
.entry-content h2 { margin-top: 2.4rem; font-size: clamp(22px, 2.6vw, 29px); }
.entry-content h3 { margin-top: 1.9rem; }
.entry-content > p:first-child { font-size: 19.5px; color: var(--ink); line-height: 1.6; }
.entry-content a { color: var(--accent-ink); text-decoration-color: currentColor; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filters a { font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--slate); }
.filters a:hover, .filters a.is-active { border-color: var(--ink); color: var(--ink); }

/* ==========================================================================
   9. CTA + footer
   ========================================================================== */
.cta { background: var(--ink); color: #9AA4B2; padding-block: clamp(56px, 7vw, 96px); }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { max-width: 56ch; font-size: 17px; }

.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 14.5px; color: var(--muted); }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--slate); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; }

/* ==========================================================================
   9b. Figures — diagrams and charts
   ========================================================================== */
.rw-fig { margin: 44px 0; }
.rw-fig__canvas {
  background: var(--wash); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(18px, 3vw, 30px);
}
.section--dark .rw-fig__canvas, .card--dark .rw-fig__canvas { background: var(--ink-2); border-color: var(--ink-3); }
.rw-fig figcaption {
  margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted);
  max-width: 62ch;
}
.rw-svg { display: block; overflow: visible; }

/* nodes */
.rw-node rect { fill: var(--paper); stroke: var(--line); stroke-width: 1; }
.rw-node--fill rect { fill: var(--ink); stroke: var(--ink); }
.rw-node--fill .rw-t, .rw-node--fill .rw-num { fill: #fff; }
.rw-node--fill .rw-s { fill: #9AA4B2; }
.rw-node--muted rect { fill: transparent; stroke: var(--line); stroke-dasharray: 4 4; }
.rw-node--dashed rect { fill: transparent; stroke: var(--line); stroke-dasharray: 5 5; }
.rw-node--alert rect { fill: var(--accent-soft); stroke: var(--accent-soft); }
.rw-node--alert .rw-t { fill: var(--accent-ink); }
.rw-node--alert .rw-s { fill: #8A4222; }

/* quadrants */
.rw-quad rect { fill: var(--paper); stroke: var(--line); stroke-width: 1; }
.rw-quad--strong rect { fill: var(--ink); stroke: var(--ink); }
.rw-quad--strong .rw-t { fill: #fff; }
.rw-quad--strong .rw-s { fill: #9AA4B2; }
.rw-quad--alert rect { fill: var(--accent-soft); stroke: var(--accent-soft); }
.rw-quad--alert .rw-t { fill: var(--accent-ink); }
.rw-quad--alert .rw-s { fill: #8A4222; }

/* svg type */
.rw-t   { font: 600 17px/1 var(--sans); fill: var(--ink); letter-spacing: -.01em; }
.rw-t--sm  { font-size: 15px; }
.rw-t--dim { fill: var(--muted); }
.rw-s   { font: 400 13px/1 var(--sans); fill: var(--slate); }
.rw-s--dim { fill: var(--muted); }
.rw-ax  { font: 600 11px/1 var(--sans); fill: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.rw-num { font: 600 13px/1 var(--sans); fill: var(--accent); }
.rw-num--dim { fill: var(--muted); }

/* connectors */
.rw-arr  { stroke: var(--accent); stroke-width: 1.4; fill: none; }
.rw-arr--muted { stroke: var(--muted); }
.rw-lead { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }

/* bars, lines */
.rw-bar--before { fill: #C9CFD6; }
.rw-bar--after  { fill: var(--accent); }
.rw-grid { stroke: var(--line); stroke-width: 1; }
.rw-line { stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.rw-area { fill: var(--accent); opacity: .08; }
.rw-dot  { fill: var(--paper); stroke: var(--accent); stroke-width: 2.5; }

@media (max-width: 620px) {
  .rw-t { font-size: 19px; } .rw-t--sm { font-size: 17px; }
  .rw-s { font-size: 15px; } .rw-ax { font-size: 13px; }
}

/* ==========================================================================
   9c. Motion — rationed, and off by default without JS
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(12px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .42s cubic-bezier(.22,.61,.36,1), transform .42s cubic-bezier(.22,.61,.36,1);
}
.js .reveal--d1.is-in { transition-delay: .06s; }
.js .reveal--d2.is-in { transition-delay: .12s; }
.js .reveal--d3.is-in { transition-delay: .18s; }

.js .hero h1 .w { display: inline-block; opacity: 0; transform: translateY(14px); }
.js .hero h1.is-in .w {
  opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);
}

.readbar {
  position: fixed; inset: 0 auto auto 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--accent); z-index: 70; pointer-events: none;
}

.secnum {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}
.secnum b { color: var(--accent); font-weight: 700; }
.section--dark .secnum { color: #5A6472; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero h1 .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .readbar { display: none; }
  .btn:hover, a.card:hover { transform: none; }
}

/* ==========================================================================
   10. Utilities
   ========================================================================== */
.stack > * + * { margin-top: 14px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 74ch; }
.section-head p { margin-bottom: 0; }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.head-row h2 { margin-bottom: 0; }
.viewall { font-size: 14.5px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.viewall:hover { text-decoration: underline; }

.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 44px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--slate);
}
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* WP core alignment classes */
.alignleft  { float: left; margin: .4rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.4rem; }
.aligncenter{ margin-inline: auto; }
.wp-caption-text { font-size: 13px; color: var(--muted); }
.sticky, .gallery-caption, .bypostauthor { /* required by theme check */ }

@media print {
  .site-header, .cta, .site-footer, .gate { display: none !important; }
}
