/**
 * The Traffic Plans Company - Blog (/blog/)
 * Rollout 4 - THEA-705
 *
 * ARCHITECTURE: this file is the SHARED stylesheet for both blog pages
 * (blog*.html archive family + blog-post.html), per PROJECT-DECISIONS.md
 * "reuse the site furniture, do not reinvent it" and the THEA-705 brief's
 * "put anything both blog pages share in ONE new blog.css".
 *
 * Everything that already exists is linked, not retyped:
 *   design-tokens.css / components.css   - furniture, bands, buttons, cards
 *   homepage.css                         - header, burger menu, dock, footer,
 *                                           splash, .tpc-close, .render-placeholder
 *   knowledge-hub.css (same folder, v4.1) - the Knowledge family's own tile
 *                                           (.tpc-kh-gcard), tag pills
 *                                           (.tpc-kh-tag), proof-strip variant
 *                                           (.tpc-proof--strip) and reading-view
 *                                           typography (.tpc-kh-drawer__body /
 *                                           __lead / __title), PLUS its white-
 *                                           lead-copy close-band override, which
 *                                           applies here for free.
 * This file adds only what is genuinely new: the archive's featured tile and
 * pagination, the blog card's extra date/read-time row, the sub-page hero tier
 * and breadcrumb trail (service-page-template.md's own pattern, which that doc
 * records is NOT centralised in services.css - every page that needs it carries
 * its own byte-identical copy; this is that copy for the Knowledge family), and
 * the post's reading column width.
 *
 * FINDING used: THEA-704's close - "this page now diverges from the v1.0
 * architecture entirely (accordion -> image grid -> drawer)... the current
 * pattern to reference is the drawer + image-grid one." That is exactly what
 * this file reuses: the image-grid tile and the reading-view typography, not
 * the old accordion.
 */

/* ─────────────────────────────────────────────────────────────────────
   BREADCRUMB - byte-identical from 02-Rollout-2/hifi/construction-tmp-ctmp.css,
   per that file's own recorded finding that .tpc-crumbs lives nowhere central
   (confirmed absent from services.css by grep). Copied rather than linking a
   service page's CSS into a Knowledge-family page. Only the content differs:
   Home -> Blog -> [this page], not Our services -> [this page].
   ───────────────────────────────────────────────────────────────────── */
.tpc-crumbs { margin-top: 1em; position: relative; }
.tpc-crumbs__back {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}
.tpc-crumbs__back:hover,
.tpc-crumbs__back:focus-visible { background: rgba(255, 255, 255, 0.4); }
.tpc-crumbs__back svg { display: block; }
.tpc-crumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: max-content;
  max-width: calc(100% + 44px);
}
.tpc-crumbs__item { display: flex; align-items: center; }
.tpc-crumbs__item + .tpc-crumbs__item::before {
  content: '';
  flex: none;
  width: 4px;
  height: 4px;
  margin: 0 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.tpc-crumbs__link { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
.tpc-crumbs__link:hover,
.tpc-crumbs__link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.tpc-crumbs__current { color: inherit; opacity: 0.72; }
@media (max-width: 1328px) {
  .tpc-crumbs { display: flex; align-items: center; gap: 8px; }
  .tpc-crumbs__back { position: static; transform: none; margin-right: 0; flex: none; }
  .tpc-crumbs__list { width: auto; max-width: 100%; min-width: 0; }
}
.tpc-shero--sub .shero__inner { min-width: 0; }

/* THEA-907: same PORT GAP as knowledge-hub.css's own `.tpc-proof--kh
   .tpc-visually-hidden` (that file's own comment: "the WordPress theme has
   no such global rule... every other page ships its own page-scoped copy").
   home.php/archive.php's trust strip uses the plain `.tpc-proof--strip`
   variant, not `--kh`, so the hub's scoped copy never matched its
   screen-reader-only <h2> here. Without it the heading rendered as a
   full-width in-flow element instead of 1x1px off the accessible-only
   clip, adding ~115px to the band on the blog index and every archive. */
.tpc-proof--strip .tpc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   ARCHIVE HERO - the hub's own tier (benchmark-knowledge.md section 1):
   .tpc-shero--split.tpc-shero--orange.band, 42vh, 1531/1027 media slot,
   figure at 150%, head on the 59px line. No --kh modifier (that scopes
   one hub-only rule, the title-accent colour, which this page's single-
   sentence H1 does not use).
   ───────────────────────────────────────────────────────────────────── */
.tpc-shero--blog .tpc-shero__media { position: relative; aspect-ratio: 1531 / 1027; }
.tpc-blog-hero__figure {
  display: block;
  position: absolute;
  left: 50%;
  height: 150%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  /* v1.1 - the founder's "Knowledge Base Hero Image" moved here from the
     hub (founder 2026-10-06; the hub gets a new image next). Alpha scan of
     knowledge-hub-hero (918x1148): the top of the hair is row 21 = 1.8293%,
     so top = 2.9211% - 1.8293% x 1.5 = 0.1772%, the same 59px head line as
     the Services and Knowledge Hub heroes at 1440x900. */
  top: 0.1772%;
}
/* v4.1 hub's own mobile strategy for this slot (knowledge-hub.css:192-196):
   the band keeps overflow:clip and the figure stays absolute/cropped: only
   the slot's aspect-ratio and a fixed min-height change. */
@media (max-width: 1024px) {
  .tpc-shero--blog .tpc-shero__media { order: -1; aspect-ratio: auto; }
  /* v1.11 - founder 2026-10-07 (THEA-798 review): the "keep it absolute"
     strategy above left the figure at 150% of a 260px slot, hanging ~130px
     over the eyebrow and H1 at 1024/768/390. It now returns to the flow,
     uncropped, capped at 46vh, centred: the escape hatch contact.css and
     the service heroes already use. */
  .tpc-blog-hero__figure {
    position: static;
    top: auto;
    height: auto;
    max-height: 46vh;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    transform: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   SUB-PAGE HERO TIER - the post's own hero (brief: "the playbook's sub-page
   tier, about 30vh"). .tpc-shero--orange.tpc-shero--sub is already defined
   in services.css (30vh, space-6 padding) but this page does not link
   services.css (a Services-family file) into a Knowledge-family page, so the
   tier is restated here, byte-identical to services.css's own rule, same
   reasoning construction-tmp-ctmp.css gives for the breadcrumb above. Single
   column: the post hero carries no image, no split grid (brief: "title and
   the date", cover sits below in the reading column instead).
   ───────────────────────────────────────────────────────────────────── */
.tpc-shero--orange.tpc-shero--sub.band {
  min-height: 30vh;
  min-height: 30svh;
  padding-block: var(--primitive-space-6);
  display: flex;
  align-items: center;
}
/* v1.8 - founder 2026-10-06: "the legal template headings need to follow
   the same x axis position as the about us page, services page hero heading
   etc right now it almost looks central". ROOT CAUSE: this tier is a flex
   row, so its .band__inner became a flex ITEM that shrank to fit its text,
   and the site container's margin-inline:auto then centred that shrunken
   box. The heading's x therefore moved with the title's length (Terms 647px,
   Privacy Policy 551px, search 589px, the post 330px at 1440). Full width
   restores the site container, so every sub-page hero starts on the same
   81px line as Services, the Knowledge Hub and About. */
.tpc-shero--orange.tpc-shero--sub.band > .band__inner { width: 100%; }
/* Left-aligned, the short 30vh tier's content rose into the fixed header's
   logo on laptop widths (at 1440 the column starts at 81px and the logo
   spans 46-102px, y 36-92). Top padding now clears the header itself:
   the header row's top pad + the logo's height + space-4, the same clamps
   homepage.css uses for .site-header (kept in step by hand, as the menu
   bar does), so the breadcrumb always starts below the logo. */
.tpc-shero--orange.tpc-shero--sub.band {
  padding-top: calc(clamp(34px, 4.4vh, 60px) + clamp(56px, 3.4vw, 64px) + var(--primitive-space-4));
}
.tpc-post-hero .shero__inner { max-width: 68ch; }
.tpc-post-hero .shero__title { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; text-wrap: balance; }
.tpc-post__meta {
  margin: var(--primitive-space-4) 0 0;
  font-size: 15px;
  color: var(--primitive-white);
  opacity: 0.92;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ─────────────────────────────────────────────────────────────────────
   BLOG CARD - the hub's own .tpc-kh-gcard, reused by reference (brief:
   "reuse the hub's own components by reference"). One addition: a fourth
   subgrid row for the lo-fi's date + read-time line, which the hub's Q&A
   tile never needed. The category pill reuses .tpc-kh-tag's base (un-
   jurisdictioned) styling rather than a state colour - this family has no
   jurisdictions, just the lo-fi's one category.
   ───────────────────────────────────────────────────────────────────── */
.tpc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--primitive-space-6) var(--primitive-space-5);
}
.tpc-blog-grid .tpc-kh-gcard { grid-row: span 4; }
/* .render-placeholder (homepage.css) sizes to its own padded content by
   default, which is correct for a standalone well but leaves the tinted
   .tpc-kh-gcard__frame showing around it here, since the frame crops to
   aspect-ratio 4/3 and expects an absolutely-positioned fill like its img
   rule already gets (knowledge-hub.css: .tpc-kh-gcard__frame img). Same fix
   as the featured tile and the post cover: fill the frame exactly. */
.tpc-kh-gcard__frame .render-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.tpc-blog-card__date {
  font-size: 13px;
  color: var(--primitive-ink);
  opacity: 0.85;
  margin: 2px 2px 0;
  text-wrap: pretty;
}
@media (max-width: 1024px) {
  .tpc-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tpc-blog-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────
   FEATURED TILE - the archive's one content-led difference (brief: "a wide
   featured tile for the newest post above the 3-across grid"). Built from
   the same visual language as .tpc-kh-gcard (frame radius, label tuck,
   hover lift, orange chevron) but horizontal, since it is a one-off, not a
   repeating row that needs subgrid's equal-height trick.
   ───────────────────────────────────────────────────────────────────── */
.tpc-blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--primitive-space-7);
  align-items: center;
  margin-bottom: var(--primitive-space-8);
  padding-bottom: var(--primitive-space-7);
  border-bottom: 1px solid var(--band-hairline);
}
.tpc-blog-featured__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: var(--primitive-panel-grey);
  transition: transform var(--primitive-duration-moderate) var(--primitive-easing-out),
              box-shadow var(--primitive-duration-moderate) var(--primitive-easing-out);
}
.tpc-blog-featured:hover .tpc-blog-featured__media,
.tpc-blog-featured:focus-within .tpc-blog-featured__media {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 24px 48px rgba(34, 34, 34, 0.18);
}
.tpc-blog-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tpc-blog-featured__media .render-placeholder { position: absolute; inset: 0; aspect-ratio: auto; }
.tpc-blog-featured__kicker { display: flex; gap: 8px; align-items: center; margin-bottom: var(--primitive-space-3); }
.tpc-blog-featured__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 var(--primitive-space-3);
  text-wrap: balance;
}
.tpc-blog-featured__title a { color: var(--primitive-asphalt); text-decoration: none; }
.tpc-blog-featured__title a:hover { color: var(--primitive-asphalt); }
.tpc-blog-featured__excerpt { font-size: 16px; line-height: 1.6; color: var(--primitive-ink); margin: 0 0 var(--primitive-space-4); max-width: 54ch; text-wrap: pretty; }
.tpc-blog-featured__meta { font-size: 13.5px; color: var(--primitive-ink); opacity: 0.85; margin: 0 0 var(--primitive-space-4); }
.tpc-blog-featured__cta { font-size: 14.5px; font-weight: 700; color: var(--primitive-asphalt); display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.tpc-blog-featured__cta .chev { color: var(--primitive-orange); transition: transform var(--primitive-duration-fast) var(--primitive-easing-out); }
.tpc-blog-featured:hover .tpc-blog-featured__cta .chev { transform: translateX(3px); }
@media (max-width: 900px) {
  .tpc-blog-featured { grid-template-columns: 1fr; gap: var(--primitive-space-5); }
}

/* ─────────────────────────────────────────────────────────────────────
   "MORE FROM THE BLOG" - lo-fi's own section heading above a 3-across
   tile grid, same tile component as the archive.
   ───────────────────────────────────────────────────────────────────── */
.tpc-blog-related { margin-top: var(--primitive-space-9); padding-top: var(--primitive-space-8); border-top: 1px solid var(--band-hairline); }
.tpc-blog-related__title { font-size: 22px; font-weight: 700; margin: 0 0 var(--primitive-space-6); color: var(--primitive-asphalt); text-wrap: balance; }

/* ─────────────────────────────────────────────────────────────────────
   PAGINATION - filled circular pills, same visual language as the hub's
   rail numbers (.tpc-kh-rail__num): 40px circle, panel-grey default,
   orange + asphalt for the current page. Never outlined.
   ───────────────────────────────────────────────────────────────────── */
.tpc-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--primitive-space-8);
}
.tpc-blog-pagination__num,
.tpc-blog-pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primitive-asphalt);
  background: var(--primitive-panel-grey);
  text-decoration: none;
  transition: background-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
a.tpc-blog-pagination__num:hover,
a.tpc-blog-pagination__arrow:hover { background: #E3E3E3; }
.tpc-blog-pagination__num[aria-current="page"] { background: var(--primitive-orange); color: var(--primitive-asphalt); }
.tpc-blog-pagination__arrow:focus-visible,
.tpc-blog-pagination__num:focus-visible { outline: 3px solid var(--primitive-asphalt); outline-offset: 2px; }

/* ─────────────────────────────────────────────────────────────────────
   POST READING COLUMN - the hub's own reading-view typography
   (.tpc-kh-drawer__body / __lead / __title, knowledge-hub.css) reused on a
   full page instead of inside the overlay. One addition: h2 sub-heading
   sizing, since the drawer's h4 was scoped to a sub-heading UNDER its own
   h2 question title, and a post's body sub-headings are h2 under the H1.
   ───────────────────────────────────────────────────────────────────── */
.tpc-post-reading { max-width: 640px; margin-inline: auto; }
.tpc-post__cover {
  margin: 0 0 var(--primitive-space-7);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--primitive-panel-grey);
}
.tpc-post__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tpc-post__cover .render-placeholder { width: 100%; height: 100%; aspect-ratio: auto; }
.tpc-post__content.tpc-kh-drawer__body { max-width: none; }
.tpc-post__content h2 { font-size: 19px; font-weight: 700; color: var(--primitive-asphalt); margin: 1.4em 0 0.5em; text-wrap: balance; }
.tpc-post__content p:first-child { margin-top: 0; }
.tpc-post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--primitive-space-7);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--primitive-asphalt);
  text-decoration: none;
}
.tpc-post__back:hover { text-decoration: underline; text-decoration-color: var(--primitive-orange); text-decoration-thickness: 2px; }

@media (prefers-reduced-motion: reduce) {
  .tpc-blog-featured__media,
  .tpc-kh-gcard__frame { transition-duration: 0.01ms; }
}

/* ─────────────────────────────────────────────────────────────────────
   THEA-833 - MOBILE PARITY PASS. blog.css is the shared stylesheet for
   all 17 blog-family pages plus search.html (which links this file too),
   so both fixes below land once and cover the whole family.

   1. .tpc-kh-panel WIDTH STARVATION. knowledge-hub.css defines the shared
      workspace panel with a fixed 64px/96px desktop padding and gives
      ONLY its own .tpc-kh-learn variant a <=1024px reduction
      (knowledge-hub.css line ~875). Every page here uses the BARE
      .tpc-kh-panel - the featured tile, the 3-across grid, every
      category grid, the post's own reading column and (via this file)
      search.html's result rows - and never inherited that reduction.
      Measured live at 390px with CDP computed styles, not eyeballed:
      panel content box was 214px wide inside a 342px panel, i.e. 128px
      (33% of the viewport) was pure fixed padding. On blog-post.html
      that means the ENTIRE article reads in a 214px column - the exact
      "desktop reading experience becomes an undifferentiated column"
      failure mode this task was written to catch. Reusing
      knowledge-hub.css's own proven value for this exact component
      rather than inventing a new one.
   2. .tpc-crumbs VERTICAL-CENTRE BUG ON WRAP. Below 1328px .tpc-crumbs
      becomes `display:flex; align-items:center` with the back button and
      the <ol> as its two flex items (blog.css itself, ~line 90). A short
      breadcrumb never shows the bug, but blog-post.html's current-page
      crumb is the full post title and wraps to 3-4 lines at 390px -
      centering the WHOLE flex row then vertically centers the 24px back
      button against the entire multi-line block, so it floats beside the
      second line instead of sitting next to "Home" on the first. Fixed
      by aligning to the top of the wrapped block instead.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-kh-panel { padding: var(--primitive-space-6); }

  .tpc-crumbs { align-items: flex-start; }
  .tpc-crumbs__back { margin-top: 2px; }
}

/* ─────────────────────────────────────────────────────────────────────
   v1.1 (founder 2026-10-06)
   1. NO UNDERLINE ON HEADINGS ("can we remove the underline in the
      headings?"). The tile titles here are links, where the hub's are
      buttons, so they picked up the browser's default underline; the
      featured title added an orange one on hover. Titles stay plain; the
      tile's own hover (frame lift) and "Read article" carry the affordance.
   2. SPECIFIC CATEGORY TAGS ("make the blog tags more specific not broad,
      traffic management won't help especially from an SEO perspective").
      Every post now carries one of nine specific categories instead of the
      lo-fi's single "Traffic Management", and the pill links to that
      category's archive (internal links into each topic cluster). Same
      filled pill as the hub's tags; never outlined.
   ───────────────────────────────────────────────────────────────────── */
.tpc-kh-gcard__title a,
.tpc-kh-gcard__title a:hover,
.tpc-kh-gcard__title a:visited,
.tpc-blog-featured__title a,
.tpc-blog-featured__title a:visited { text-decoration: none; color: inherit; }

/* v1.4 - brand colour (founder 2026-10-06: "make the seo tag at the top
   in a different colourway so it doesn't blend", then "what happened to
   the colour"). v1.3's asphalt pill read as no colour at all and sat
   against the dark cover placeholders. Now the brand orange with WHITE
   text, the site's orange rule (2.31:1, founder's call, see
   feedback on orange CTAs), so it pops off the white label and reads as
   distinct from the hub's state tags. Filled, never outlined. Hover
   deepens to the hero gradient's end stop. */
a.tpc-blog-tag,
.tpc-kh-tag.tpc-blog-tag {
  text-decoration: none;
  position: relative;
  z-index: 1;
  background: var(--primitive-orange);
  color: var(--primitive-white);
  transition: background-color var(--primitive-duration-fast) var(--primitive-easing-out);
}
a.tpc-blog-tag:hover { background: #E8611C; color: var(--primitive-white); }
a.tpc-blog-tag:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primitive-orange) 55%, white); }


/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-10-22: "across the entire website all text needs to be
   centred for mobile."

   This block lives HERE rather than only in homepage.css because of cascade
   ORDER, not specificity: every page links homepage.css first and its own
   sheet second, so a page-level `text-align: left` beats a sitewide rule of
   equal specificity no matter how the sitewide one is written. Verified on
   team.html, where the heading still computed `start` with the sitewide rule
   in place.

   Scope confirmed with the founder: marketing and content sections centre;
   long-form legal, blog post bodies and form fields stay left, because
   centring a 1,700-word document removes the left edge that clause-scanning
   depends on. Phone only - desktop is client-approved and frozen.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .band__inner, .band__inner h1, .band__inner h2, .band__inner h3,
  .band__inner p, .band__inner li,
  .tpc-sec, .tpc-section-head, .tpc-showcase__tile, .tpc-showcase__copy {
    text-align: center;
  }
  /* Carve-outs: these read worse centred. NOTE the doubled class - the
     obvious `.tpc-post__content *` is specificity (0,1,0) and LOSES to the
     `.band__inner p` above at (0,1,1), which is how the blog post body ended
     up centred on the first attempt. Doubling the class lifts each carve-out
     to (0,2,x) so it wins without resorting to !important. */
  .tpc-post__content.tpc-post__content,
  .tpc-post__content.tpc-post__content *,
  .tpc-legal-content.tpc-legal-content,
  .tpc-legal-content.tpc-legal-content *,
  .request-form-page .field.field,
  .request-form-page .field.field *,
  .request-form-page .field__label.field__label,
  .request-form-page .field__hint.field__hint,
  .request-form-page .form-row.form-row { text-align: left; }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-10-22: "fix the 3 service hero sections for mobile, the
   breadcrumb trail doesn't feel balanced."

   CAUSE: .tpc-crumbs is a flex row holding two items, the circular back
   control and the <ol> trail. Once the hero copy centres on mobile, the
   trail's TEXT centres inside the <ol> but the row itself still starts at
   the left edge - so the back button hangs off to one side of a centred
   block of text and the whole unit reads lopsided.

   Centring the ROW keeps the button and the trail together as one group on
   the hero's centre line. align-items: flex-start is kept from the existing
   fix so the button still sits beside the FIRST line when a long page title
   wraps, rather than floating against the middle of the wrapped block.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-crumbs {
    justify-content: center;
    align-items: flex-start;
    text-align: center;
  }
  .tpc-crumbs__list { justify-content: center; flex-wrap: wrap; }
}

/* ─────────────────────────────────────────────────────────────────────
   BREADCRUMB BALANCE, corrected twice. 2026-10-22.

   Attempt 1 set justify-content: center. No effect - .tpc-crumbs__back is
   `position: absolute` here, so a flex alignment on its parent cannot reach
   it. Attempt 2 forced it back into flow; the row then centred correctly but
   STILL looked wrong, and the real-device render showed why: the trail is two
   full-width lines, so [back][trail] already fills the row and "centred as a
   group" puts the button hard against the left edge anyway.

   The fix is to stop showing a redundant control at phone width. The back
   chevron's own markup comment says it "goes to the same place the first
   crumb does" - and the first crumb, "Our services", is a link to exactly
   that. On a 390px screen it is a second tap target for a destination already
   one tap away, bought at the cost of the balance the founder asked for.
   Hidden below 699px, leaving a clean centred trail. Desktop keeps it.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-crumbs {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    text-align: center;
  }
  .tpc-crumbs__back { display: none; }
  .tpc-crumbs__list {
    justify-content: center;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
  }

  /* The separator dot. With the trail stacked on two centred lines it ends
     up orphaned on its own row at the left - visible in the 390px render as
     a stray bullet. Each crumb now takes its own centred line and the
     separator is dropped, which is what divides them instead. */
  .tpc-crumbs__list { flex-direction: column; align-items: center; gap: 2px; }
  .tpc-crumbs__item + .tpc-crumbs__item::before { content: none; }
  .tpc-crumbs__item { justify-content: center; text-align: center; }
}

/* ─────────────────────────────────────────────────────────────────────
   MOBILE - hero figure bottom blend (founder 2026-10-22: "for the hero
   sections that have cut off images in it can we create a transparent
   blend so that they don't look cut off").

   Scoped to this one figure deliberately. An alpha scan of all seven hero
   assets found exactly one whose artwork runs into the file boundary:
   knowledge-hub-hero.png (918x1148) is solid across 62% of its bottom row,
   so both workers are chopped flat mid-shin. Every other hero asset
   (services, tgs, about, case-studies, contact, areas, the hub's own
   studious worker) is a fully floating cut-out with a clear alpha margin
   on all four edges - a fade there would be a gradient over nothing, which
   is what the earlier blanket version did before it was reverted.

   The cut only reads as a cut at mobile: above 1024 the figure is absolute
   at 150% height and the band's overflow takes the legs below the fold.
   Here it is static and uncropped, so the flat edge sits in open orange.
   The mask dissolves the bottom 24% so the shins fall away into the band
   instead of ending on a ruled line. Desktop is untouched.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-blog-hero__figure {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0, 0, 0, 0) 100%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 76%, rgba(0, 0, 0, 0) 100%);
  }
}

/* ═════════════════════════════════════════════════════════════════════
   MOBILE ARCHIVE - COMPACT CARDS + FOUR PER PAGE
   Founder 2026-10-22: "the blog for mobile needs a complete redesign to
   look and feel like the desktop blog page for desktop" and "instead of an
   infinite scroll can we have 4 blogs on a page and paginate the blogs".

   MEASURED STARTING POINT at 390px: the archive ran 7770px top to bottom.
   The desktop card is 3-up, so its anatomy (4:3 cover, white label tucked
   -40px over the cover's bottom edge, four-line summary, meta, CTA) is
   sized for a 390px column. Dropped to one column at 278px it keeps every
   one of those measurements, so each card stands 466px and the featured
   tile 601px. Nine of them is the "infinite scroll".

   WHAT CHANGES. Nothing about the card's design language - the tucked
   white label, the pill, the orange chevron and the hover lift are what
   makes it read as this site's blog, and they all stay. Only the
   measurements that were drawn for a 3-up desktop row are redrawn for a
   single mobile column:

     cover     4:3 (209px) -> 16:9 (156px), the ratio the desktop featured
               tile already uses, and the one a cover reads best at when
               it is the full width of the screen
     label     tuck -40 -> -28, padding 12/14 -> 10/12, and the pill drops
               to 10px/0.02em so the longest category ("Event & Emergency
               Traffic Management", 36 characters) holds one line in the
               226px the label gives it rather than wrapping to two
     summary   clamped to two lines instead of four, which is the length
               that reads as a teaser next to a cover this size
     gaps      row-gap 10 -> 8, grid gap space-6 -> space-5

   Card 466px -> about 320px, featured tile folded into the same shape.
   With four to a page the archive is roughly 3000px, a normal page.

   DESKTOP IS UNTOUCHED: every rule is inside the query.
   ═════════════════════════════════════════════════════════════════════ */
@media (max-width: 699px) {

  /* ---- the grid --------------------------------------------------- */
  .tpc-blog-grid {
    gap: var(--primitive-space-5);
  }

  /* ---- the card --------------------------------------------------- */
  .tpc-blog-grid .tpc-kh-gcard { row-gap: 8px; }
  .tpc-blog-grid .tpc-kh-gcard__frame { aspect-ratio: 16 / 9; border-radius: 18px; }
  .tpc-blog-grid .tpc-kh-gcard__label {
    margin: -28px 8px 0;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .tpc-blog-grid .tpc-kh-gcard__kicker { margin-bottom: 4px; justify-content: center; }
  .tpc-blog-grid .tpc-kh-tag {
    font-size: 10px;
    letter-spacing: 0.02em;
    padding: 2px 7px;
  }
  .tpc-blog-grid .tpc-kh-gcard__title { font-size: 15.5px; }

  /* Two-line teaser. -webkit-line-clamp is the only cross-browser way to
     cap a wrapped paragraph by LINES rather than by pixels, and it still
     needs the -webkit-box display to take effect; `line-clamp` on its own
     is not yet carried by the Safari this site has to serve. The full
     excerpt stays in the DOM, so nothing is lost to a reader or a crawler. */
  .tpc-blog-grid .tpc-kh-gcard__summary,
  .tpc-blog-grid .tpc-kh-gcard p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  /* ---- the featured tile, folded into the same card shape ----------
     [hidden] is only a UA `display:none`, so this tile's own
     `display: grid` beats it and a hidden featured card would keep its
     454px of the page on every mobile page but the first. .tpc-kh-gcard
     already carries the same guard in knowledge-hub.css:415. */
  .tpc-blog-featured[hidden] { display: none; }
  .tpc-blog-featured {
    grid-template-columns: 1fr;
    gap: var(--primitive-space-4);
    margin-bottom: var(--primitive-space-6);
    padding-bottom: var(--primitive-space-6);
  }
  .tpc-blog-featured__media { aspect-ratio: 16 / 9; border-radius: 18px; }
  .tpc-blog-featured__kicker { justify-content: center; margin-bottom: 6px; }
  .tpc-blog-featured__title { font-size: 20px; }
  .tpc-blog-featured__excerpt {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: var(--primitive-space-3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }
  .tpc-blog-featured__meta { margin-bottom: var(--primitive-space-3); }

  /* ---- paging ------------------------------------------------------
     The server pager (1 2 3 ->) is a desktop/crawler artefact down here:
     it counts ten posts to a page, this view counts four. blog-mobile-
     pager.js hides it and renders .tpc-mpager in its place, over exactly
     the same cards. Both stay in the DOM, so the crawlable links survive.
     ------------------------------------------------------------------ */
  [data-mpager-on] .tpc-blog-pagination { display: none; }

  .tpc-mpager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: var(--primitive-space-6);
  }
  .tpc-mpager__btn {
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: var(--primitive-panel-grey);
    color: var(--primitive-asphalt);
    cursor: pointer;
    transition: background var(--primitive-duration-fast) var(--primitive-easing-out);
  }
  .tpc-mpager__btn[aria-current="true"] {
    background: var(--primitive-orange);
    color: var(--primitive-white);
  }
  .tpc-mpager__btn[disabled] { opacity: 0.35; cursor: default; }
  .tpc-mpager__btn svg { display: block; }

  /* The cards slide the way the archive's page transitions already do
     (blog-swipe.js: 28px out, --primitive-easing-out back in). */
  .tpc-kh-panel[data-mpager-dir="next"] { animation: tpc-mpage-next 320ms var(--primitive-easing-out) both; }
  .tpc-kh-panel[data-mpager-dir="prev"] { animation: tpc-mpage-prev 320ms var(--primitive-easing-out) both; }
  @keyframes tpc-mpage-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
  @keyframes tpc-mpage-prev { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) {
    .tpc-kh-panel[data-mpager-dir] { animation: none; }
  }
}

/* ═════════════════════════════════════════════════════════════════════
   THEA-868 MOBILE REDESIGN - blog-post.html, the site's tallest page
   (12,279px at 390px, 10,220px of which is the reading section). Three
   genuine redesign moves, not a reflow - the article was already a
   verified-passing reflow (THEA-833 / THEA-800), this is the "does a
   phone reader get the same experience as desktop" pass.
   ═════════════════════════════════════════════════════════════════════ */

/* ---- 1. BREADCRUMB CLAMP ------------------------------------------
   The current-page crumb is this template's own headline, so on a post
   with a long title (this one: 102 characters) the breadcrumb repeats
   the H1 a second time, in full, immediately above it - at the stacked/
   centred mobile breadcrumb treatment (blog.css ~line 510) that is THREE
   more full-width centred lines of orange text before the reader reaches
   the actual title. Desktop never shows this: the crumb sits on one row
   there and reads as a label, not a restatement.
   FIX: clamp the repeat to one line with an ellipsis, same mechanism as
   every card excerpt on this site (-webkit-line-clamp, see
   .tpc-blog-grid .tpc-kh-gcard__summary above). The full title stays in
   the DOM/accessible name - aria-current="page" and the text node are
   untouched - only the visual line count changes, so nothing is removed
   from the page a crawler or screen reader sees. Saves ~3 lines (about
   110px at this type size) of pure duplication, not content. */
@media (max-width: 699px) {
  .tpc-post-hero .tpc-crumbs__current {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    max-width: 88vw;
    margin-inline: auto;
  }
}

/* ---- 2. READING PROGRESS BAR ---------------------------------------
   Brief asks directly: "whether there is any progress or navigation
   affordance" for 10,220px of body copy - there was none. A slim fixed
   bar under the header tracks scroll depth through .tpc-post-reading
   only (cover to "More from the blog"), not the whole document, so it
   reads 0 at the cover and 100 once the article itself is finished,
   not skewed by the hero or the footer. Mobile-only: matchMedia-gated
   in the script below, element hidden by default and only switched on
   inside the query, so desktop (frozen, client-approved) never renders
   it. Colour/opacity only, no layout property - cannot affect any
   other element's box. */
.tpc-read-progress { display: none; }
@media (max-width: 699px) {
  .tpc-read-progress {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 101; /* one above .site-header (100) so it stays visible over the logo row */
    background: transparent;
    pointer-events: none;
  }
  .tpc-read-progress__bar {
    height: 100%;
    width: 100%;
    background: var(--primitive-orange);
    transform-origin: left;
    transform: scaleX(0);
    /* ui-animation skill: movement/fill properties stay on transform, never
       width - width triggers a layout recalc on every scroll frame, scaleX
       is compositor-only. Set directly per frame (no transition), matching
       scroll position exactly the way a native scrollbar thumb does. */
  }
}

/* ═════════════════════════════════════════════════════════════════════
   FOUNDER 2026-11-05: "all the internal articles for mobile needs
   optimising and re designing."

   MEASURED FIRST, both sizes, same article:

                        desktop 1440      phone 393
     page height        7,201px           12,384px
     reading column     640px             281px
     body               17px / 29.75px    17px / 29.75px
     CHARACTERS A LINE  about 75          about 33
     related articles   647px             1,193px

   The type is identical at both sizes, so the difference is the column.
   281px comes from the band's 24px gutter plus the white card's own 32px
   padding on each side, which is right for the hub's cards and wrong for
   a 4,000-word article: 33 characters a line is half the desktop measure
   and well under the 45 to 75 that reading research puts as comfortable.
   It is also most of why the page is 1.7x taller than the desktop one.
   The same words in a wider column are fewer lines, so this is the one
   change that both improves the reading and shortens the page.

   THE READING SURFACE GOES EDGE TO EDGE on phones. A 4,000-word article
   is not a card: the inset, the 32px radius and the drop shadow are a
   container treatment for a summary tile, and on a phone they only buy
   112px of grey margin at the cost of the measure. Full bleed with a
   16px gutter gives 361px of column, about 42 characters a line.
   Scoped with :has(.tpc-post-reading) so it reaches the article page
   only: the knowledge hub and the archives use this same panel and keep
   their cards exactly as they are.
   ═════════════════════════════════════════════════════════════════════ */
@media (max-width: 699px) {
  .tpc-kh-panel:has(.tpc-post-reading) {
    /* NOT `width: 100vw` with a vw-based margin, which is how this was
       first written. `vw` is the LAYOUT viewport on iOS, and the layout
       viewport is not the visual one while Safari's toolbars are
       animating, so a 100vw block can be fractionally wider than the
       screen and leave the page pannable sideways for the length of that
       animation. The band's own gutter is a known 24px
       (--primitive-space-5), so bleeding by exactly that reaches the same
       edges with no viewport unit in the expression at all. Measured
       identical at 360, 390 and 393: panel spans 0 to the full width. */
    margin-inline: calc(-1 * var(--primitive-space-5));
    padding-inline: 16px;
    border-radius: 0;
    box-shadow: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   "MORE FROM THE BLOG" BECOMES A SWIPE CAROUSEL on the article page.

   Measured at 393px: three stacked cards ran 1,193px, against 647px for
   the same three laid out across on desktop. It is the tail of the page,
   after a 4,000-word article, and it was the single tallest block on it
   after the body copy. One card in frame with dots under it, the same
   row the homepage, the hub and the About points all use, per the
   founder's 2026-10-22 "one tile in frame and centred".

   `justify-content: start` is explicit. Learned twice now: a centred
   track inside a narrow scrollport puts half the row where nothing can
   scroll to it, and scrollWidth comes back short rather than visibly
   wrong. `min-width: 0` for the same class of reason, so the scroller
   takes its column's width instead of its content's.

   Scoped inside .tpc-post-reading so the archive listings, which use the
   identical grid to show every post, keep stacking as they do now.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-post-reading .tpc-blog-related,
  .tpc-post-reading .tpc-blog-grid { min-width: 0; }

  .tpc-post-reading .tpc-blog-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    justify-content: start;
    align-items: start;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 0 12px;
  }
  .tpc-post-reading .tpc-blog-grid::-webkit-scrollbar { display: none; }
  .tpc-post-reading .tpc-blog-grid > * {
    scroll-snap-align: center;
    min-width: 0;
  }
  /* the archive's "span 4" row trick is a masonry device for a stacked
     column and has no meaning in a single-row track */
  .tpc-post-reading .tpc-blog-grid .tpc-kh-gcard { grid-row: auto; }
}

/* ─────────────────────────────────────────────────────────────────────
   "IN THIS ARTICLE" - the navigation affordance the page still lacked.

   The reading progress bar above tells you HOW FAR through you are. It
   cannot tell you what is coming or let you get to it. This article runs
   six H2 sections across what is still ~9,800px on a phone, and the only
   way to reach section five was to scroll past four.

   Six links at the top, built from the article's own H2s by the script
   in blog-post.html, so it cannot drift out of sync with the copy and
   adds no words of its own. Phone only: the desktop column is 640px and
   client-approved, and a contents block there would be solving a problem
   that size does not have.
   ───────────────────────────────────────────────────────────────────── */
.tpc-post-toc { display: none; }

@media (max-width: 699px) {
  .tpc-post-toc {
    display: block;
    margin: 0 0 var(--primitive-space-6);
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--primitive-panel-grey);
    text-align: left;
  }
  .tpc-post-toc__head {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primitive-ink);
  }
  .tpc-post-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
    counter-reset: toc;
  }
  .tpc-post-toc__list li { counter-increment: toc; }
  .tpc-post-toc__link {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    padding: 7px 0;
    font-size: 15.5px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--primitive-asphalt);
    text-decoration: none;
    /* the sitewide phone rule centres text, and a centred label beside a
       left-aligned number reads as six separate lines rather than a list.
       Same carve-out the icon lists already take: descriptive copy sitting
       next to a marker stays left so the entries align under each other. */
    text-align: left;
  }
  .tpc-post-toc__link::before {
    content: counter(toc);
    font-size: 12.5px;
    font-weight: 800;
    color: var(--primitive-orange);
  }
  .tpc-post-toc__link:focus-visible {
    outline: 3px solid var(--primitive-asphalt);
    outline-offset: 2px;
    border-radius: 6px;
  }
  /* The fixed header floats over the content at this width, so a jump
     that lands a heading at y=0 puts it under the logo row. MEASURED:
     the header's bottom edge is 109px at 393x852 and 106px at 390x700,
     and a first pass at 104px left the heading 5px short of clear.
     120px clears the taller case with a little air above the line. */
  .tpc-post__content h2 { scroll-margin-top: 120px; }
}

/* ─────────────────────────────────────────────────────────────────────
   THE ARTICLE'S DATE AND READ TIME, centred with the rest of the hero.

   `.tpc-post__meta` already carried `text-align: center` from the
   sitewide phone-centring rule and still sat hard left, because it is a
   FLEX row: text-align has no effect on how flex distributes its items,
   so the date and the read time packed to the start under a centred
   headline and a centred breadcrumb. Measured at 393px, the text's
   centre line was 74px left of the box's.

   `justify-content` is the property that rule needed. Phone only, so the
   left-aligned desktop hero is untouched.
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 699px) {
  .tpc-post__meta { justify-content: center; }
}

/* ═════════════════════════════════════════════════════════════════════
   BLOG HERO SEARCH (founder 2026-11-05: "we have a search function for
   knowledge hub, we're going to need the same thing for the blogs, apply
   this to desktop mobile and tablet")

   The component is the sitewide `.tpc-site-search` from THEA-706, which
   already carries the dropdown, the combobox keys and a no-JS fallback.
   Only the hero DRESS is new: the menu's version sits on white and uses
   panel grey to separate itself from it, while this one sits on the
   orange hero band, so it inverts to a white field the way the knowledge
   hub's hero search does.

   All three sizes, as asked. The field takes the hero column's width up
   to 520px, which is where the placeholder stops needing to truncate;
   below that it simply fills the column, and on phones the hero is
   centred so the field centres with it.
   ═════════════════════════════════════════════════════════════════════ */
.tpc-blog-hero__search-row {
  margin-top: var(--primitive-space-5);
}

.tpc-site-search--hero {
  position: relative;
  display: block;
  width: 100%;
  max-width: 520px;
}
.tpc-site-search--hero .tpc-site-search__input {
  min-height: 56px;
  padding-left: 48px;
  padding-right: 58px;
  font-size: 16px;
  background: var(--primitive-white);
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.14);
}
.tpc-site-search--hero .tpc-site-search__icon {
  left: 18px;
  opacity: 0.75;
}
.tpc-site-search--hero .tpc-site-search__submit {
  right: 6px;
  top: 6px;
  width: 44px;
  height: 44px;
}
/* the clear button's offset is set for the 48px menu field; this one is
   56px with a 44px submit, so it moves out by the same difference */
.tpc-site-search--hero .tpc-search-clear { right: 58px; }

@media (max-width: 699px) {
  .tpc-blog-hero__search-row {
    margin-top: var(--primitive-space-4);
    display: flex;
    justify-content: center;
  }
  .tpc-site-search--hero { max-width: none; }
  .tpc-site-search--hero .tpc-site-search__input {
    min-height: 52px;
    font-size: 15.5px;
  }
}

/* ─────────────────────────────────────────────────────────────────────
   FOUNDER 2026-11-05: "need more padding between the end of the arrows
   and the tile."

   Not a spacing oversight, an overflow. The pager is a flex row of eight
   fixed-width buttons (two arrows plus six page numbers) that needs
   314px, inside a 281px column. Flex cannot shrink a fixed button, and
   `justify-content: center` spills the excess EQUALLY both ways, so the
   row was painting 32px outside its own box on each side: measured, the
   back arrow started at x=24, which is exactly the card's left edge, and
   the forward arrow ran past the right one. That is why it read as
   touching the tile rather than sitting inside it.

   Centring is the wrong packing for a row that can overflow, because the
   overflow it creates on the left is unreachable: a scroll container can
   only scroll towards its end. Packed to the start with the row made a
   real scroller, the buttons sit inside the card's own 32px padding
   again, and the extra pages scroll into reach rather than off the edge.

   The pager JS centres the current page in that scroller after every
   draw, so on page 5 of 6 the visitor does not land on a row scrolled
   back to page 1.

   Nothing is removed: every page number is still there and still a tap
   target at its current size. Worth knowing for later: this row only
   needs to scroll at all because six pages of four posts will not fit a
   393px screen at a usable button size. If you would rather see them all
   at once, the alternative is a "Page 2 of 6" readout between the two
   arrows, which always fits at any page count but gives up jumping
   straight to a page. Say which you prefer.
   ───────────────────────────────────────────────────────────────────── */
/* FOUNDER 2026-11-05, after seeing the scrolling version: "can we
   redesign the arrow + page strip so that only the page the user is on is
   visible and users click on the arrows to flick through, not showcasing
   all the page numbers."

   Two arrows and a readout. This is what finally settles the overflow the
   last two passes were working around: six fixed buttons never fit a
   393px screen at a usable tap size, so the row either spilled outside
   its card or had to scroll. A readout fits at any page count, and the
   archive will keep growing.

   The current page keeps the orange pill the current-page BUTTON had, so
   the row still reads as "you are here" rather than as a label, and the
   total sits beside it in quiet type. */
@media (max-width: 699px) {
  .tpc-mpager {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 14px;
  }
  .tpc-mpager__btn { flex: 0 0 auto; }

  .tpc-mpager__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .tpc-mpager__current {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding-inline: 10px;
    border-radius: 12px;
    background: var(--primitive-orange);
    color: var(--primitive-white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
  }
  .tpc-mpager__total {
    font-size: 14px;
    font-weight: 700;
    color: var(--primitive-ink);
    white-space: nowrap;
  }
}
