/* RouteWise blog: blog/index.html and the article pages (built by tools/build-blog.py).
   Uses the tokens in site.css. Signature: every article has its own route line between two stops. */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }
@media (min-width: 961px) {
  .nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--edge); }
}

/* ---------- the route drawing ---------- */
.route-art { display: block; width: 100%; height: auto; overflow: visible; }
.route-art path { fill: none; stroke-linecap: round; }
.route-art .trail { stroke: #C2EBA6; stroke-width: 3; stroke-dasharray: 2 10; }
.route-art .drawn { stroke: var(--edge); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.route-art .stop { fill: var(--white); stroke: var(--edge); stroke-width: 2.5; }
.route-art .end { fill: var(--green); stroke: var(--edge); stroke-width: 2.5; }

/* ---------- blog home ---------- */
.blog-hero .page-hero-in > h1 { max-width: 12em; }
.blog-list { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #D5D8CF; background: var(--white);
  font-size: .93rem; font-weight: 580; color: var(--ink-2); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s ease-out;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.post-card { position: relative; }
.card-link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s var(--ease-out), border-color .2s, transform .25s var(--ease-out);
}
.card-link:hover { box-shadow: var(--shadow-md); border-color: #D5D8CF; transform: translateY(-2px); }
.card-link:active { transform: translateY(0) scale(.99); transition-duration: .1s; }
.card-link:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.card-art { background: var(--tint); border-bottom: 1px solid #DDF3CC; padding: 18px 22px; aspect-ratio: 16 / 7; display: grid; place-items: center; }
.card-art .route-art { max-height: 100%; }
/* card photo (tools/make-blog-heroes.py): fills the panel; the route line sits on top, styled like the hero's */
.card-art.has-photo { position: relative; overflow: hidden; background: var(--line); border-bottom-color: var(--line); }
.card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.card-art.has-photo .route-art { position: relative; filter: drop-shadow(0 1px 1.5px rgb(30 35 32 / .45)); }
.card-art.has-photo .route-art .trail { stroke: var(--white); stroke-opacity: .9; }
.card-link:hover .card-photo { transform: scale(1.03); }
.post-card.lead .card-art.has-photo { border-left-color: var(--line); border-bottom-color: var(--line); }
.card-copy { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.card-topic { font-size: .8rem; font-weight: 680; letter-spacing: .06em; text-transform: uppercase; color: var(--green-text); }
.card-title { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.018em; }
.card-desc { color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.card-meta { margin-top: auto; padding-top: 6px; font-size: .87rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* the first article sits wide, drawing beside the words */
.post-card.lead { margin-bottom: clamp(20px, 2.4vw, 28px); }
.post-card.lead .card-link { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.post-card.lead .card-art { order: 2; aspect-ratio: auto; border-bottom: 0; border-left: 1px solid #DDF3CC; padding: clamp(24px, 4vw, 48px); }
.post-card.lead .card-copy { padding: clamp(26px, 3.6vw, 48px); gap: 12px; justify-content: center; }
.post-card.lead .card-title { font-size: clamp(1.6rem, 1.6vw + 1rem, 2.3rem); line-height: 1.1; letter-spacing: -.03em; }
.post-card.lead .card-desc { font-size: 1.05rem; max-width: 34em; }
.post-card.lead .card-meta { margin-top: 8px; }
@media (max-width: 760px) {
  .post-card.lead .card-link { display: flex; }
  .post-card.lead .card-art { order: 0; border-left: 0; border-bottom: 1px solid #DDF3CC; aspect-ratio: 16 / 7; padding: 18px 22px; }
  .post-card.lead .card-copy { padding: 20px 22px 22px; }
}

.post-grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 980px) { .post-grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid-cards { grid-template-columns: 1fr; } }
.post-card[hidden], .list-static[hidden], .list-filtered[hidden], .pager[hidden] { display: none; }
.blog-list { scroll-margin-top: 72px; }
.blog-hero-sub { padding-bottom: clamp(80px, 9vw, 120px); }
.filter-status { margin: -8px 0 18px; font-size: .93rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- pages: Previous · 1 2 · Next ---------- */
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 16px; margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.pg-step {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid #D5D8CF; background: var(--white); color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: border-color .15s, transform .1s ease-out;
}
.pager > :first-child { justify-self: start; }
.pager > .pg-nums + * { justify-self: end; }
.pg-step svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a.pg-step:hover, button.pg-step:hover { border-color: var(--ink-3); }
a.pg-step:active, button.pg-step:active, .pg-num:active { transform: scale(.97); }
.pg-step[aria-disabled="true"] { color: var(--ink-3); border-color: var(--line); background: transparent; cursor: default; }
.pg-nums { display: flex; gap: 6px; justify-content: center; }
.pg-num {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .1s ease-out;
}
.pg-num:hover { background: var(--panel); color: var(--ink); }
.pg-num[aria-current="page"] { background: var(--green); border-color: var(--edge); color: var(--on-green); }
.pg-status { grid-column: 1 / -1; text-align: center; font-size: .87rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .pg-step span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pg-step { padding: 0; width: 44px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pg-step, .pg-num { transition: none; } }

/* ---------- article ---------- */
.post-hero { position: relative; background: var(--tint); border-bottom: 1px solid #DDF3CC; overflow: hidden; }
.post-hero-in { position: relative; z-index: 1; padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; font-weight: 600; margin-bottom: 18px; }
.crumbs a { color: var(--green-text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { color: var(--ink-3); }
.post-hero h1 { font-size: clamp(2.1rem, 3.2vw + .9rem, 3.6rem); line-height: 1.05; max-width: 17em; }
.post-hero .lede { margin-top: 18px; max-width: 40em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: .92rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.post-hero-art { width: min(720px, 92%); margin: 0 0 -6px auto; padding-right: var(--gutter); }
.post-hero-art .route-art .drawn { stroke-width: 5; }

/* hero photo (tools/make-blog-heroes.py). Paper-coloured shading from the left keeps the ink heading at full
   contrast whatever the photo does; the route line sits on the photo like a plan drawn on the map. */
.post-hero.has-photo { background: var(--paper); border-bottom-color: var(--line); }
.post-hero-photo, .post-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.post-hero-photo img { object-fit: cover; object-position: 70% 50%; }
.post-hero.has-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 36%, rgb(250 250 247 / .9) 54%, rgb(250 250 247 / .35) 74%, rgb(250 250 247 / 0) 90%),
    linear-gradient(0deg, rgb(250 250 247 / .55), rgb(250 250 247 / 0) 30%);
}
.post-hero.has-photo .post-hero-in, .post-hero.has-photo .post-hero-art { position: relative; z-index: 1; }
.post-hero.has-photo h1 { max-width: 13.5em; }
.post-hero.has-photo .lede { max-width: 34em; color: var(--ink); }
.post-hero.has-photo .post-meta { color: var(--ink); }
.post-hero.has-photo .route-art { filter: drop-shadow(0 1px 1.5px rgb(30 35 32 / .35)); }
.post-hero.has-photo .route-art .trail { stroke: var(--white); stroke-opacity: .9; }
@media (max-width: 720px) {
  /* phones: the photo is a band across the top that fades into paper, and the text sits on plain paper below */
  .post-hero-photo { position: relative; display: block; height: auto; aspect-ratio: 3 / 2; }
  .post-hero-photo img { position: absolute; object-position: 50% 50%; }
  .post-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--paper), rgb(250 250 247 / 0) 45%); }
  .post-hero.has-photo::after { display: none; }
  .post-hero.has-photo .post-hero-in { margin-top: -28px; padding-top: 0; }
  .post-hero.has-photo .lede, .post-hero.has-photo .post-meta { color: var(--ink-2); }
}

/* draw the line once on arrival (only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .post-hero-art .drawn { stroke-dashoffset: 1; animation: draw 1.4s var(--ease-out) .15s forwards; }
  .post-hero-art .stop, .post-hero-art .end { opacity: 0; animation: pop .35s var(--ease-out) forwards; }
  .post-hero-art .end:first-of-type { animation-delay: .05s; }
  .post-hero-art .stop:nth-of-type(1) { animation-delay: .55s; }
  .post-hero-art .stop:nth-of-type(2) { animation-delay: .8s; }
  .post-hero-art .stop:nth-of-type(3) { animation-delay: 1.05s; }
  .post-hero-art .stop:nth-of-type(4) { animation-delay: 1.25s; }
  .post-hero-art .end:last-of-type { animation-delay: 1.45s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }

.post-grid { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(32px, 6vw, 88px); align-items: start; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.post-toc { position: sticky; top: 96px; font-size: .9rem; }
.post-toc .kicker { margin-bottom: 12px; }
.post-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.post-toc a:hover { color: var(--ink); }
.post-toc a.on { color: var(--ink); border-left-color: var(--edge); font-weight: 600; }
@media (max-width: 900px) { .post-grid { grid-template-columns: minmax(0, 1fr); } .post-toc { display: none; } }

.post-body { font-size: 1.08rem; line-height: 1.7; color: #333833; min-width: 0; }
.post-body > h2 { font-size: clamp(1.45rem, .9vw + 1.1rem, 1.85rem); line-height: 1.2; letter-spacing: -.024em; margin: 48px 0 14px; scroll-margin-top: 90px; }
.post-body > h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.post-body > p + p, .post-body > p + ul, .post-body > p + ol, .post-body > ul + p, .post-body > ol + p { margin-top: 16px; }
.post-body > ul, .post-body > ol { padding-left: 24px; margin: 14px 0 0; display: grid; gap: 8px; }
.post-body li::marker { color: var(--green-text); font-weight: 700; }
.post-body strong { color: var(--ink); font-weight: 650; }
.post-body a { color: var(--green-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body a:hover { text-decoration-thickness: 2px; }

.post-key { margin: 0 0 8px; padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--green); }
.post-key-title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); margin-bottom: 10px; }
.post-key ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 1rem; line-height: 1.55; }
.post-tip { margin: 22px 0; padding: 16px 20px; border-radius: 14px; background: var(--tint); border: 1px solid #DDF3CC; }
.post-tip p { font-size: 1rem; line-height: 1.6; color: var(--ink); }
.post-fig { margin: 28px 0; }
.post-fig img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--white); }
.post-fig figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-3); line-height: 1.5; }

.post-demo {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap;
  margin: 36px 0; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); background: var(--ink); color: var(--white);
}
.post-demo > div { flex: 1 1 300px; }
.post-demo-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.post-demo-title { margin-top: 6px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.018em; line-height: 1.25; color: var(--white); }
.post-demo-text { margin-top: 6px; font-size: .97rem; line-height: 1.55; color: #C9CEC8; }
.post-demo .btn { flex: 0 0 auto; }
.post-demo .btn:focus-visible { outline-color: var(--green); }
.post-body .post-demo a.btn { color: var(--on-green); text-decoration: none; }

/* ---------- questions and answers ---------- */
.faq { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.faq > h2 { font-size: clamp(1.45rem, .9vw + 1.1rem, 1.85rem); letter-spacing: -.024em; margin-bottom: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 2px; cursor: pointer; list-style: none; border-radius: 8px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.06rem; line-height: 1.4; letter-spacing: -.01em; font-weight: 640; margin: 0; }
.faq-item summary:hover h3 { color: #000; }
.faq-icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--panel); transition: background-color .2s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--green); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 2px 20px; }
.faq-a p + p { margin-top: 10px; }
.faq-a p { font-size: 1rem; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) {
  .faq-icon::before, .faq-icon::after, .card-link, .chip { transition: none; }
  .card-link:hover { transform: none; }
  .card-photo { transition: none; }
  .card-link:hover .card-photo { transform: none; }
}

/* ---------- keep reading ---------- */
.related { padding: clamp(48px, 6vw, 80px) 0; background: var(--panel); border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); margin-bottom: 24px; }

/* ---------- article hero in brand green (22 Nov 2026) ----------
   The hero's ground is the brand green: the photo fades into green from the left (phones: from the bottom), and
   all text switches to the dark on-green ink (green is a fill only, never text). The route turns ink so it still
   reads where it crosses the green; on the photo it keeps its white trail and shadow. */
.post-hero, .post-hero.has-photo { background: var(--green); border-bottom-color: var(--edge); }
.post-hero.has-photo::after {
  background:
    linear-gradient(90deg, var(--green) 0%, var(--green) 36%, rgb(96 243 18 / .9) 54%, rgb(96 243 18 / .35) 74%, rgb(96 243 18 / 0) 90%),
    linear-gradient(0deg, rgb(96 243 18 / .5), rgb(96 243 18 / 0) 30%);
}
.post-hero h1, .post-hero .lede, .post-hero .post-meta, .post-hero.has-photo .lede, .post-hero.has-photo .post-meta { color: var(--on-green); }
.post-hero .crumbs a { color: var(--on-green); text-decoration: underline; text-decoration-color: rgb(26 46 5 / .35); text-underline-offset: 3px; }
.post-hero .crumbs a:hover { text-decoration-color: currentColor; }
.post-hero .crumbs span { color: rgb(26 46 5 / .72); }
.post-hero a:focus-visible { outline-color: var(--on-green); }
.post-hero .route-art .drawn { stroke: var(--on-green); }
.post-hero .route-art .trail { stroke: rgb(26 46 5 / .35); }
.post-hero.has-photo .route-art .trail { stroke: var(--white); stroke-opacity: .9; }
.post-hero .route-art .stop { stroke: var(--on-green); }
.post-hero .route-art .end { stroke: var(--on-green); }
@media (max-width: 720px) {
  .post-hero-photo::after { background: linear-gradient(0deg, var(--green), rgb(96 243 18 / 0) 45%); }
  .post-hero.has-photo .lede, .post-hero.has-photo .post-meta { color: var(--on-green); }
}

/* ---------- article hero rework (22 Nov 2026): photo multiplied into the green, call-to-action buttons,
   and the route moved out of the hero into a reading route under it (.post-route) ---------- */
.post-hero-art { display: none; }                                   /* the old large route drawing (no longer built) */
.post-hero-photo img { mix-blend-mode: multiply; filter: saturate(.9) contrast(1.05); }
.post-hero.has-photo::after {                                       /* lighter wash: multiply already greens the photo */
  background:
    linear-gradient(90deg, var(--green) 0%, var(--green) 34%, rgb(96 243 18 / .82) 50%, rgb(96 243 18 / .2) 70%, rgb(96 243 18 / 0) 86%);
}
.post-hero-in { padding-bottom: clamp(36px, 4vw, 56px); }
.post-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-ink { background: var(--on-green); color: var(--white); border-color: var(--on-green); box-shadow: 0 10px 24px -12px rgb(26 46 5 / .6); }
.btn-ink:hover { background: #0F1C02; }
.btn-clear { background: rgb(255 255 255 / .28); color: var(--on-green); border-color: rgb(26 46 5 / .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-clear:hover { background: rgb(255 255 255 / .5); border-color: var(--on-green); }
.post-cta .btn:focus-visible { outline: 2px solid var(--on-green); outline-offset: 3px; }

/* the reading route: a thin track with one stop per section, sticky under the site menu */
.post-route { position: sticky; top: var(--nav-h, 64px); z-index: 40; background: rgb(250 250 247 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.post-route-in { position: relative; height: 34px; }
.pr-track { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: repeating-linear-gradient(90deg, #C9D6BE 0 3px, transparent 3px 9px); }
.pr-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--read, 0) * 100%); border-radius: 3px; background: var(--edge); }
.post-route ol { list-style: none; margin: 0; padding: 0; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; bottom: 0; }
.post-route li { position: absolute; top: 50%; left: calc(var(--at) * 100%); transform: translate(-50%, -50%); }
.post-route a { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; text-decoration: none; }
.post-route a::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid #A9B8A0; transition: background-color .2s, border-color .2s, transform .25s var(--ease-out); }
.post-route li.passed a::before { border-color: var(--edge); background: var(--green); }
.post-route li.here a::before { transform: scale(1.35); border-color: var(--on-green); background: var(--green); }
.post-route a:hover::before, .post-route a:focus-visible::before { transform: scale(1.35); border-color: var(--on-green); }
.post-route a:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.pr-label { position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, -4px); padding: 6px 10px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: .8rem; font-weight: 600; line-height: 1.3; white-space: nowrap; max-width: min(320px, 80vw); overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity .15s, transform .2s var(--ease-out); }
.post-route a:hover .pr-label, .post-route a:focus-visible .pr-label { opacity: 1; transform: translate(-50%, 0); }
.post-route li:first-child .pr-label { left: 0; transform: translate(-8px, -4px); }
.post-route li:first-child a:hover .pr-label, .post-route li:first-child a:focus-visible .pr-label { transform: translate(-8px, 0); }
.post-route li:last-child .pr-label { left: auto; right: 0; transform: translate(8px, -4px); }
.post-route li:last-child a:hover .pr-label, .post-route li:last-child a:focus-visible .pr-label { transform: translate(8px, 0); }
@media (max-width: 720px) {
  .post-hero.has-photo .post-hero-in { padding-bottom: 32px; }
  .post-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .post-route a::before, .pr-label { transition: none; } }
@media print { .post-route, .post-cta { display: none; } }
.post-route { overflow-x: clip; }   /* hidden labels near the edges must not widen the page */

/* ---------- card branding on photos (22 Nov 2026): no route over the picture; the mark sits small in the corner
   on a dark tile (the mark is always green) and a thin brand-green edge runs under the photo ---------- */
.card-art.has-photo { border-bottom: 3px solid var(--green); }
.card-mark { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgb(30 35 32 / .86); box-shadow: 0 2px 8px rgb(30 35 32 / .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card-mark svg { width: 18px; height: 18px; }
.post-card.lead .card-art.has-photo { border-bottom: 0; border-left: 3px solid var(--green); }
.post-card.lead .card-mark { left: auto; right: 14px; bottom: 14px; }
@media (max-width: 760px) { .post-card.lead .card-art.has-photo { border-left: 0; border-bottom: 3px solid var(--green); } .post-card.lead .card-mark { left: 12px; right: auto; bottom: 12px; } }
@media (prefers-reduced-transparency: reduce) { .card-mark { background: var(--ink); backdrop-filter: none; } }
