/* =============================================================
   WestgateFS — Blog  v4.0  (Production Master)
   Elite editorial publishing system.
   Apply to: /blog/ index and all /blog/* post pages.

   Component map:
     01  Tokens
     02  Reading progress bar
     03  Hero + review meta
     04  Article layout
     05  Body typography
     06  Tables
     07  Article summary
     08  TOC — inline mobile
     09  TOC — sidebar desktop
     10  Definition block system
     11  Callout blocks
     12  Inline stat
     13  Before / after
     14  Workflow steps
     15  Trust micro-strip
     16  Inline CTA
     17  Related concepts
     18  Reading path footer
     19  Sidebar modules
     20  Article footer
     21  Blog index hero
     22  Featured article card
     23  Popular topics rail      [NEW]
     24  Recently updated strip   [NEW]
     25  Category navigation
     26  Blog index CTA
     27  Article grid + cards
     28  Grid header              [NEW]
     29  Topic cluster grid
     30  Filter bar architecture  [NEW]
     31  Reveal animation system  [NEW]
     32  Section layout helpers   [NEW — eliminates inline styles]

   Layered on global.css. Requires blog.js for motion + TOC.
   FAQ accordion: conversion.js (class-based).
   ============================================================= */

/* ── 01. TOKENS ───────────────────────────────────────────── */

:root {
  --blog-body-lh: 1.78;
  --blog-h2-mt: clamp(2.75rem, 5vw, 4rem);
  --blog-h3-mt: clamp(1.75rem, 3vw, 2.25rem);
  --blog-element-gap: 1.625rem;
  --blog-block-px: clamp(1.25rem, 3vw, 1.75rem);
  --blog-block-py: clamp(1rem, 2vw, 1.375rem);
  --blog-sidebar-top: clamp(1.5rem, 2.5vw, 2rem);
  --blog-card-r: var(--r-xl);
  --blog-card-hover-y: -3px;
  --blog-card-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --blog-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --delay: 0ms;
}

/* ── 02. READING PROGRESS BAR ──────────────────────────────── */

.wfs-blog-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: var(--line-fine);
  pointer-events: none;
}

.wfs-blog-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%);
  transition: width 80ms linear;
  will-change: width;
}

/* ── 03. POST HERO + REVIEW META ───────────────────────────── */

.wfs-blog-hero {
  padding-block: clamp(48px, 5.5vw, 80px) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.wfs-blog-hero__inner {
  max-width: 54rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.wfs-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-7);
}

.wfs-blog-meta__category {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  background: var(--brand-tint);
  border: 1px solid var(--brand);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--brand-deep);
  text-decoration: none;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.wfs-blog-meta__category:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.wfs-blog-meta__sep {
  width: 3px;
  height: 3px;
  background: var(--ink-4);
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.wfs-blog-meta__item {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.wfs-blog-meta__item--author {
  font-weight: 600;
  color: var(--ink-2);
}

.wfs-blog-review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  background: var(--paper-mist);
  border: 1px solid var(--line-fine);
  border-radius: var(--r-lg);
  margin-top: var(--sp-7);
}

.wfs-blog-review-meta__item {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
}

.wfs-blog-review-meta__label {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

.wfs-blog-review-meta__value {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-2);
}

.wfs-blog-review-meta__sep {
  width: 3px;
  height: 3px;
  background: var(--ink-4);
  border-radius: var(--r-pill);
}

.wfs-blog-review-meta__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 2px var(--sp-3);
  background: var(--brand-tint);
  border: 1px solid var(--brand);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-deep);
  margin-left: auto;
}

@media (max-width: 767.98px) {
  .wfs-blog-review-meta__badge {
    margin-left: 0;
  }
}

.wfs-blog-hero__heading {
  text-wrap: balance;
  margin-bottom: var(--sp-6);
  line-height: 1.18;
}

.wfs-blog-hero__deck {
  font-size: clamp(1.0625rem, 0.6vw + 0.95rem, 1.2rem);
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 50rem;
}

.wfs-blog-hero__cover {
  width: 100%;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.wfs-blog-hero__cover picture, .wfs-blog-hero__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  background: var(--paper-warm);
}

/* ── 04. ARTICLE LAYOUT + STICKY SIDEBAR ──────────────────── */

.wfs-blog-layout {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.wfs-blog-row {
  align-items: flex-start;
}

.wfs-blog-sidebar {
  position: sticky;
  top: var(--blog-sidebar-top);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-height: calc(100vh - var(--blog-sidebar-top) - 2rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding-bottom: var(--sp-4);
}

.wfs-blog-sidebar::-webkit-scrollbar {
  width: 3px;
}

.wfs-blog-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.wfs-blog-sidebar::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: var(--r-pill);
}

@media (max-width: 991.98px) {
  .wfs-blog-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    margin-top: var(--sp-12);
  }
}

/* ── 05. ARTICLE BODY ──────────────────────────────────────── */

.wfs-blog-body {
  font-size: 1rem;
  line-height: var(--blog-body-lh);
  color: var(--ink-2);
}

.wfs-blog-body > * + * {
  margin-top: var(--blog-element-gap);
}

.wfs-blog-body h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-xl), 1.75vw, var(--fs-2xl));
  font-weight: 500;
  letter-spacing: var(--tk-snug);
  color: var(--ink-1);
  line-height: 1.22;
  text-wrap: balance;
  margin-top: var(--blog-h2-mt);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-fine);
  scroll-margin-top: calc(var(--blog-sidebar-top) + 0.5rem);
}

.wfs-blog-body h2:first-of-type {
  margin-top: var(--sp-8);
}

.wfs-blog-body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: var(--tk-snug);
  color: var(--ink-1);
  line-height: 1.3;
  margin-top: var(--blog-h3-mt);
  margin-bottom: var(--sp-4);
  scroll-margin-top: calc(var(--blog-sidebar-top) + 0.5rem);
}

.wfs-blog-body p {
  text-wrap: pretty;
  margin: 0;
}

.wfs-blog-body p strong {
  font-weight: 600;
  color: var(--ink-1);
}

.wfs-blog-body em {
  font-style: italic;
}

.wfs-blog-body ul, .wfs-blog-body ol {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-left: 0;
}

.wfs-blog-body ul li {
  padding-left: var(--sp-7);
  position: relative;
  color: var(--ink-2);
}

.wfs-blog-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: var(--r-pill);
  opacity: 0.75;
}

.wfs-blog-body ol {
  padding-left: var(--sp-7);
  list-style: decimal;
}

.wfs-blog-body ol li {
  color: var(--ink-2);
  padding-left: var(--sp-2);
}

.wfs-blog-body ol li::marker {
  font-weight: 600;
  color: var(--brand);
}

.wfs-blog-body ul ul, .wfs-blog-body ol ol {
  margin-top: var(--sp-3);
}

.wfs-blog-body a:not(.wfs-btn) {
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-deep) 35%, transparent);
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}

.wfs-blog-body a:not(.wfs-btn):hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

/* Global button reset within blog context */

.wfs-blog-body .wfs-btn, .wfs-blog-inline-cta .wfs-btn, .wfs-blog-sidebar-cta .wfs-btn, .wfs-blog-footer .wfs-btn, .wfs-blog-index-cta .wfs-btn, .wfs-reading-path .wfs-btn {
  text-decoration: none !important;
}

.wfs-blog-body .wfs-btn--primary, .wfs-blog-inline-cta .wfs-btn--primary, .wfs-blog-sidebar-cta .wfs-btn--primary, .wfs-blog-footer .wfs-btn--primary, .wfs-blog-index-cta .wfs-btn--primary, .wfs-reading-path .wfs-btn--primary {
  color: #ffffff !important;
}

.wfs-blog-body .wfs-btn--ghost, .wfs-blog-inline-cta .wfs-btn--ghost {
  color: var(--ink-1) !important;
}

.wfs-blog-body .wfs-btn:hover, .wfs-blog-inline-cta .wfs-btn:hover {
  text-decoration: none !important;
}

.wfs-blog-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}

/* ── 06. TABLES ────────────────────────────────────────────── */

.wfs-blog-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--blog-card-r);
  margin-block: var(--sp-2);
}

.wfs-blog-body table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--paper);
  font-size: var(--fs-sm);
}

.wfs-blog-body thead tr {
  background: var(--paper-mist);
  border-bottom: 2px solid var(--line);
}

.wfs-blog-body thead th {
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.wfs-blog-body tbody td {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--line-fine);
  color: var(--ink-2);
  vertical-align: top;
  line-height: var(--lh-body);
}

.wfs-blog-body tbody tr:last-child td {
  border-bottom: 0;
}

.wfs-blog-body tbody tr:hover td {
  background: var(--paper-mist);
}

.wfs-blog-body td:first-child, .wfs-blog-body th:first-child {
  padding-left: var(--sp-7);
}

.wfs-blog-body td:last-child, .wfs-blog-body th:last-child {
  padding-right: var(--sp-7);
}

@media (max-width: 575.98px) {
  .wfs-blog-body thead th, .wfs-blog-body tbody td {
    padding: var(--sp-4) var(--sp-5);
  }
}

/* ── 07. ARTICLE SUMMARY ───────────────────────────────────── */

.wfs-blog-summary {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  margin-block: var(--sp-2);
}

.wfs-blog-summary__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-7);
  background: var(--paper-mist);
  border-bottom: 1px solid var(--line);
}

.wfs-blog-summary__icon {
  font-size: var(--fs-md);
  color: var(--brand);
  flex-shrink: 0;
  line-height: 1;
}

.wfs-blog-summary__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  flex-grow: 1;
  letter-spacing: 0.01em;
}

.wfs-blog-summary__time {
  font-size: var(--fs-xs);
  color: var(--ink-4);
  white-space: nowrap;
}

.wfs-blog-summary__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.wfs-blog-summary__fact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-5) var(--sp-7);
  border-right: 1px solid var(--line-fine);
  border-bottom: 1px solid var(--line-fine);
}

.wfs-blog-summary__fact:nth-child(2n) {
  border-right: 0;
}

.wfs-blog-summary__fact:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.wfs-blog-summary__fact dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-4);
}

.wfs-blog-summary__fact dd {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-1);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-blog-summary__takeaways {
  padding: var(--sp-6) var(--sp-7);
  border-top: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.wfs-blog-summary__takeaways-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
}

.wfs-blog-summary__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.wfs-blog-summary__list li {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: var(--lh-body);
  padding-left: var(--sp-6);
  position: relative;
}

.wfs-blog-summary__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: var(--r-pill);
  opacity: 0.7;
}

@media (max-width: 575.98px) {
  .wfs-blog-summary__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .wfs-blog-summary__fact {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line-fine) !important;
  }
}

@media (max-width: 575.98px) {
  .wfs-blog-summary__fact:last-child {
    border-bottom: 0 !important;
  }
}

/* ── 08. TOC — INLINE MOBILE ───────────────────────────────── */

.wfs-blog-toc {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--blog-card-r);
  overflow: hidden;
  margin-bottom: var(--sp-2);
}

@media (min-width: 992px) {
  .wfs-blog-toc--mobile {
    display: none;
  }
}

.wfs-blog-toc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-7);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
  gap: var(--sp-4);
  user-select: none;
  transition: background-color var(--t-fast) var(--ease);
}

.wfs-blog-toc__toggle::-webkit-details-marker {
  display: none;
}

.wfs-blog-toc__toggle:hover {
  background: var(--paper-mist);
}

.wfs-blog-toc__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: -3px;
  transition: transform var(--t-fast) var(--ease);
}

details.wfs-blog-toc[open] .wfs-blog-toc__toggle::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.wfs-blog-toc__list {
  padding: var(--sp-5) var(--sp-7) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  border-top: 1px solid var(--line-fine);
  counter-reset: toc;
  list-style: none;
}

.wfs-blog-toc__list li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  counter-increment: toc;
}

.wfs-blog-toc__list li::before {
  content: counter(toc, decimal-leading-zero);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand);
  flex-shrink: 0;
  min-width: 1.6em;
}

.wfs-blog-toc__list a {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  line-height: var(--lh-snug);
  transition: color var(--t-fast) var(--ease);
}

.wfs-blog-toc__list a:hover {
  color: var(--brand);
}

/* ── 09. TOC — SIDEBAR DESKTOP ─────────────────────────────── */

.wfs-blog-toc-sidebar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--blog-card-r);
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .wfs-blog-toc-sidebar {
    display: none;
  }
}

.wfs-blog-toc-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-6);
  background: var(--paper-mist);
  border-bottom: 1px solid var(--line);
}

.wfs-blog-toc-sidebar__title {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
}

.wfs-blog-toc-sidebar__read {
  font-size: var(--fs-xs);
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
}

.wfs-blog-toc-sidebar__bar {
  height: 2px;
  background: var(--line-fine);
  margin: 0 var(--sp-6) var(--sp-1);
}

.wfs-blog-toc-sidebar__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  transition: width 200ms ease;
}

.wfs-blog-toc-sidebar__list {
  display: flex;
  flex-direction: column;
  padding: var(--sp-3) 0;
  list-style: none;
  margin: 0;
}

.wfs-blog-toc-sidebar__item {
  display: flex;
}

.wfs-blog-toc-sidebar__link {
  display: block;
  width: 100%;
  padding: var(--sp-2) var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--ink-3);
  text-decoration: none;
  line-height: var(--lh-snug);
  position: relative;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.wfs-blog-toc-sidebar__link:hover {
  color: var(--ink-1);
  background: var(--paper-mist);
}

.wfs-blog-toc-sidebar__link.is-active {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-tint);
}

.wfs-blog-toc-sidebar__link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand);
}

.wfs-blog-toc-sidebar__item--sub .wfs-blog-toc-sidebar__link {
  padding-left: var(--sp-9);
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

.wfs-blog-toc-sidebar__item--sub .wfs-blog-toc-sidebar__link.is-active {
  color: var(--brand);
  background: var(--brand-tint);
}

/* ── 10. DEFINITION BLOCK SYSTEM ───────────────────────────── */

.wfs-definition-block {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-block: var(--sp-2);
}

.wfs-definition-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-7);
  border-bottom: 1px solid var(--line);
}

.wfs-definition-block__type {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
}

.wfs-definition-block__badge {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px var(--sp-3);
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  white-space: nowrap;
}

.wfs-definition-block__body {
  padding: var(--sp-6) var(--sp-7) var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.wfs-definition-block__term {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  letter-spacing: var(--tk-snug);
  color: var(--ink-1);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-definition-block__text {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--ink-2);
  text-wrap: pretty;
}

.wfs-definition-block__text strong {
  font-weight: 600;
  color: var(--ink-1);
}

.wfs-definition-block__related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-fine);
}

.wfs-definition-block__related-label {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

.wfs-definition-block__related-link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.wfs-definition-block__related-link:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

.wfs-definition-block--framework {
  border-color: var(--brand);
  background: linear-gradient(160deg, var(--paper) 0%, var(--brand-tint) 100%);
}

.wfs-definition-block--framework .wfs-definition-block__header {
  background: linear-gradient(135deg, var(--paper) 0%, var(--brand-tint) 100%);
  border-color: var(--brand);
}

.wfs-definition-block--framework .wfs-definition-block__type {
  color: var(--brand-deep);
}

.wfs-definition-block--framework .wfs-definition-block__badge {
  color: var(--brand);
}

.wfs-definition-block--operational {
  background: var(--paper);
  border-left: 3px solid var(--ink-2);
}

.wfs-definition-block--operational .wfs-definition-block__header {
  background: var(--paper-mist);
}

.wfs-definition-block--operational .wfs-definition-block__type {
  color: var(--ink-2);
}

.wfs-definition-block--operational .wfs-definition-block__badge {
  color: var(--ink-3);
}

.wfs-definition-block--glossary {
  background: var(--paper);
}

.wfs-definition-block--glossary .wfs-definition-block__header {
  background: var(--paper-warm);
}

.wfs-definition-block--glossary .wfs-definition-block__type {
  color: var(--ink-3);
}

.wfs-definition-block--glossary .wfs-definition-block__badge {
  color: var(--ink-4);
}

.wfs-definition-block--warning {
  background: var(--paper);
  border-left: 3px solid #C17F40;
}

.wfs-definition-block--warning .wfs-definition-block__header {
  background: #FDF6ED;
  border-color: #E8C99A;
}

.wfs-definition-block--warning .wfs-definition-block__type {
  color: #A36830;
}

.wfs-definition-block--warning .wfs-definition-block__badge {
  color: #A36830;
  border-color: #C17F40;
}

/* ── 11. CALLOUT BLOCKS ────────────────────────────────────── */

.wfs-blog-callout {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--blog-block-py) var(--blog-block-px);
  border-radius: var(--r-xl);
  border-left: 3px solid var(--brand);
  background: var(--paper-warm);
  border-top: 1px solid var(--line-fine);
  border-right: 1px solid var(--line-fine);
  border-bottom: 1px solid var(--line-fine);
  margin-block: var(--sp-2);
}

.wfs-blog-callout__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--brand);
}

.wfs-blog-callout__text {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--ink-1);
  text-wrap: pretty;
}

.wfs-blog-callout__text strong {
  font-weight: 600;
}

.wfs-blog-callout--neutral {
  background: var(--paper-mist);
  border-left-color: var(--line-strong);
  border-top-color: var(--line-fine);
  border-right-color: var(--line-fine);
  border-bottom-color: var(--line-fine);
}

.wfs-blog-callout--neutral .wfs-blog-callout__label {
  color: var(--ink-3);
}

/* ── 12. INLINE STAT ───────────────────────────────────────── */

.wfs-blog-stat {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-7);
  padding: var(--blog-block-py) var(--blog-block-px);
  background: linear-gradient(135deg, var(--paper) 0%, var(--brand-tint) 100%);
  border: 1px solid var(--brand);
  border-radius: var(--r-xl);
  margin-block: var(--sp-2);
}

.wfs-blog-stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--brand);
  letter-spacing: var(--tk-tight);
  line-height: 1;
  flex-shrink: 0;
}

.wfs-blog-stat__label {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: 0.15em;
}

.wfs-blog-stat__label strong {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink-1);
  line-height: var(--lh-snug);
}

.wfs-blog-stat__label span {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: var(--lh-body);
}

@media (max-width: 479.98px) {
  .wfs-blog-stat {
    flex-direction: column;
    gap: var(--sp-4);
  }
}

/* ── 13. BEFORE / AFTER ────────────────────────────────────── */

.wfs-blog-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  margin-block: var(--sp-2);
}

.wfs-blog-before-after__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.wfs-blog-before-after__col--before {
  background: var(--paper-warm);
  border-right: 1px solid var(--line);
}

.wfs-blog-before-after__col--after {
  background: linear-gradient(160deg, var(--paper) 0%, var(--brand-tint) 100%);
}

.wfs-blog-before-after__header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}

.wfs-blog-before-after__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
}

.wfs-blog-before-after__col--before .wfs-blog-before-after__label {
  color: var(--ink-3);
}

.wfs-blog-before-after__col--after .wfs-blog-before-after__label {
  color: var(--brand);
}

.wfs-blog-before-after__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-blog-before-after__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.wfs-blog-before-after__item {
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  padding-left: var(--sp-5);
  position: relative;
}

.wfs-blog-before-after__col--before .wfs-blog-before-after__item {
  color: var(--ink-2);
}

.wfs-blog-before-after__col--before .wfs-blog-before-after__item::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--ink-4);
  font-weight: 600;
}

.wfs-blog-before-after__col--after .wfs-blog-before-after__item {
  color: var(--ink-1);
}

.wfs-blog-before-after__col--after .wfs-blog-before-after__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: var(--r-pill);
}

@media (max-width: 639.98px) {
  .wfs-blog-before-after {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639.98px) {
  .wfs-blog-before-after__col--before {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ── 14. WORKFLOW STEPS ────────────────────────────────────── */

.wfs-blog-workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-block: var(--sp-2);
}

.wfs-blog-workflow__step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.wfs-blog-workflow__num {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--brand);
  letter-spacing: var(--tk-wide);
}

.wfs-blog-workflow__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-blog-workflow__body {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: var(--lh-body);
  flex-grow: 1;
}

@media (max-width: 767.98px) {
  .wfs-blog-workflow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 479.98px) {
  .wfs-blog-workflow {
    grid-template-columns: 1fr;
  }
}

/* ── 15. TRUST MICRO-STRIP ─────────────────────────────────── */

.wfs-blog-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  padding: var(--sp-5) var(--sp-7);
  background: var(--paper-mist);
  border: 1px solid var(--line-fine);
  border-radius: var(--r-lg);
  margin-block: var(--sp-2);
}

.wfs-blog-trust__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.wfs-blog-trust__item::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.wfs-blog-trust__item strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* ── 16. INLINE CTA ────────────────────────────────────────── */

.wfs-blog-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
  padding: var(--blog-block-py) var(--blog-block-px);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  margin-block: var(--sp-2);
}

.wfs-blog-inline-cta__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.wfs-blog-inline-cta__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--brand);
}

.wfs-blog-inline-cta__text {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-1);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-blog-inline-cta .wfs-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 639.98px) {
  .wfs-blog-inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 17. RELATED CONCEPTS ──────────────────────────────────── */

.wfs-related-concepts {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.wfs-related-concepts__header {
  margin-bottom: var(--sp-7);
}

.wfs-related-concepts__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.wfs-related-concepts__item {
  display: inline-flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) var(--sp-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 280ms var(--ease), background-color 280ms var(--ease), transform 280ms var(--blog-card-spring);
}

.wfs-related-concepts__item:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
  transform: translateY(-1px);
  text-decoration: none;
}

.wfs-related-concepts__label {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

.wfs-related-concepts__item:hover .wfs-related-concepts__label {
  color: var(--brand);
}

.wfs-related-concepts__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-1);
  line-height: var(--lh-snug);
}

/* ── 18. READING PATH FOOTER ───────────────────────────────── */

.wfs-reading-path {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.wfs-reading-path__header {
  margin-bottom: var(--sp-8);
}

.wfs-reading-path__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--sp-2);
}

.wfs-reading-path__title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-xl), 2vw, var(--fs-2xl));
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-reading-path__grid > [class*="col-"] {
  display: flex;
}

.wfs-reading-path__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-7);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  width: 100%;
}

.wfs-reading-path__card--action {
  background: linear-gradient(160deg, var(--paper) 0%, var(--brand-tint) 100%);
  border-color: var(--brand);
}

.wfs-reading-path__track {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
}

.wfs-reading-path__card--action .wfs-reading-path__track {
  color: var(--brand);
}

.wfs-reading-path__card-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-reading-path__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex-grow: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.wfs-reading-path__link {
  font-size: var(--fs-sm);
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-deep) 35%, transparent);
  text-underline-offset: 2px;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  line-height: var(--lh-snug);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.wfs-reading-path__link:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

.wfs-reading-path__link::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: var(--r-pill);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ── 19. SIDEBAR MODULES ───────────────────────────────────── */

.wfs-blog-author-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-7);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--blog-card-r);
}

.wfs-blog-author-card__header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.wfs-blog-author-card__photo {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-warm);
  border: 1px solid var(--line);
}

.wfs-blog-author-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wfs-blog-author-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wfs-blog-author-card__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-1);
}

.wfs-blog-author-card__role {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.wfs-blog-author-card__bio {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

.wfs-blog-author-card__footer {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-4);
  border-top: 1px solid var(--line-fine);
  padding-top: var(--sp-4);
}

.wfs-blog-sidebar-cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-7);
  background: linear-gradient(160deg, var(--paper) 0%, var(--brand-tint) 100%);
  border: 1px solid var(--brand);
  border-radius: var(--blog-card-r);
}

.wfs-blog-sidebar-cta__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--brand);
}

.wfs-blog-sidebar-cta__heading {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-blog-sidebar-cta__body {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: var(--lh-body);
}

.wfs-blog-sidebar-related {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--blog-card-r);
  overflow: hidden;
}

.wfs-blog-sidebar-related__label {
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-mist);
  border-bottom: 1px solid var(--line);
}

.wfs-blog-sidebar-related__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-5) var(--sp-6);
  text-decoration: none;
  border-bottom: 1px solid var(--line-fine);
  transition: background-color var(--t-fast);
}

.wfs-blog-sidebar-related__item:last-child {
  border-bottom: 0;
}

.wfs-blog-sidebar-related__item:hover {
  background: var(--paper-mist);
  text-decoration: none;
}

.wfs-blog-sidebar-related__title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-1);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-blog-sidebar-related__meta {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

.wfs-blog-sidebar-topics {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--blog-card-r);
  overflow: hidden;
}

.wfs-blog-sidebar-topics__group {
  border-bottom: 1px solid var(--line);
}

.wfs-blog-sidebar-topics__group:last-child {
  border-bottom: 0;
}

.wfs-blog-sidebar-topics__label {
  display: block;
  padding: var(--sp-4) var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper-mist);
  border-bottom: 1px solid var(--line-fine);
}

.wfs-blog-sidebar-topics__list {
  display: flex;
  flex-direction: column;
  padding: var(--sp-2) 0;
  margin: 0;
  list-style: none;
}

.wfs-blog-sidebar-topics__item a {
  display: block;
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.wfs-blog-sidebar-topics__item a:hover {
  background: var(--paper-mist);
  color: var(--ink-1);
}

/* ── 20. ARTICLE FOOTER ────────────────────────────────────── */

.wfs-blog-footer {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.wfs-blog-author-full {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-8);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}

.wfs-blog-author-full__photo {
  width: 72px;
  height: 72px;
  border-radius: var(--r-pill);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-mist);
  border: 1px solid var(--line);
}

.wfs-blog-author-full__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wfs-blog-author-full__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.wfs-blog-author-full__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-4);
}

.wfs-blog-author-full__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
}

.wfs-blog-author-full__bio {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: var(--lh-relaxed);
  text-wrap: pretty;
}

@media (max-width: 575.98px) {
  .wfs-blog-author-full {
    flex-direction: column;
    gap: var(--sp-5);
  }
}

/* ── 21. BLOG INDEX HERO ─────────────────────────────────────
   Atmospheric editorial entry point. Premium depth via
   ::before radial glow. Barely visible on most screens —
   depth on high-quality displays. Zero runtime cost.
   ─────────────────────────────────────────────────────────── */

.wfs-blog-index-hero {
  padding-block: clamp(56px, 7vw, 96px) clamp(56px, 6vw, 88px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.wfs-blog-index-hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient( circle, color-mix(in srgb, var(--brand) 6%, transparent) 0%, transparent 65% );
  pointer-events: none;
  z-index: 0;
}

.wfs-blog-index-hero .container {
  position: relative;
  z-index: 1;
}

.wfs-blog-index-hero__content {
  max-width: 52rem;
}

.wfs-blog-index-hero__heading {
  text-wrap: balance;
  margin-top: var(--sp-6);
  line-height: 1.16;
}

.wfs-blog-index-hero__lede {
  margin-top: var(--sp-5);
  font-size: clamp(1.0625rem, 0.5vw + 0.95rem, 1.125rem);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 48rem;
  text-wrap: pretty;
}

.wfs-blog-index-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-7);
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line-fine);
}

.wfs-blog-index-hero__stat {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

.wfs-blog-index-hero__stat::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

.wfs-blog-index-hero__stat strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* ── 22. FEATURED ARTICLE CARD ─────────────────────────────── */

.wfs-blog-featured-section {
  padding-block: clamp(2rem, 4vw, 3rem) 0;
}

.wfs-blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--paper);
  text-decoration: none;
  transition: box-shadow 360ms var(--ease), border-color 360ms var(--ease), transform 360ms var(--blog-card-spring);
}

.wfs-blog-featured-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
  transform: translateY(var(--blog-card-hover-y));
  text-decoration: none;
}

.wfs-blog-featured-card__cover {
  overflow: hidden;
  background: var(--paper-warm);
  aspect-ratio: 4 / 3;
  position: relative;
}

.wfs-blog-featured-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.16,1,0.3,1);
}

.wfs-blog-featured-card:hover .wfs-blog-featured-card__cover img {
  transform: scale(1.04);
}

.wfs-blog-featured-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  justify-content: center;
  background: linear-gradient(160deg, var(--paper) 0%, var(--paper-warm) 100%);
}

.wfs-blog-featured-card__badges {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.wfs-blog-featured-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px var(--sp-4);
  background: var(--brand);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: #fff;
}

.wfs-blog-featured-card__category {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
}

.wfs-blog-featured-card__title {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-xl), 2vw, 2.125rem);
  font-weight: 500;
  letter-spacing: var(--tk-snug);
  color: var(--ink-1);
  line-height: 1.2;
  text-wrap: balance;
}

.wfs-blog-featured-card__excerpt {
  font-size: var(--fs-md);
  color: var(--ink-2);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

.wfs-blog-featured-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-fine);
}

.wfs-blog-featured-card__meta-item {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.wfs-blog-featured-card__link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap 200ms var(--ease);
}

.wfs-blog-featured-card:hover .wfs-blog-featured-card__link {
  gap: var(--sp-3);
}

@media (max-width: 767.98px) {
  .wfs-blog-featured-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .wfs-blog-featured-card__cover {
    aspect-ratio: 16 / 9;
  }
}

/* ── 23. POPULAR TOPICS RAIL ─────────────────────────────────
   Semantic entity strip below hero. Compact horizontal scroll.
   Distinct from category nav — concepts, not filter actions.
   ─────────────────────────────────────────────────────────── */

.wfs-blog-popular-topics {
  background: var(--paper);
  border-bottom: 1px solid var(--line-fine);
  padding-block: var(--sp-5);
}

.wfs-blog-popular-topics__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.wfs-blog-popular-topics__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
  flex-shrink: 0;
}

.wfs-blog-popular-topics__chips {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1px;
}

.wfs-blog-popular-topics__chips::-webkit-scrollbar {
  display: none;
}

.wfs-blog-popular-topics__chip {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  /*Editorial: squared, not pill;*/
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 240ms var(--ease), color 240ms var(--ease), background-color 240ms var(--ease);
}

.wfs-blog-popular-topics__chip:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-tint);
  text-decoration: none;
}

@media (max-width: 639.98px) {
  .wfs-blog-popular-topics__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
}

/* ── 24. RECENTLY UPDATED STRIP ──────────────────────────────
   Freshness signal — 3 recently reviewed articles.
   Compact horizontal cards. Content currency for AI systems.
   ─────────────────────────────────────────────────────────── */

.wfs-blog-recently-updated {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
}

.wfs-blog-recently-updated__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.wfs-blog-recently-updated__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.wfs-blog-recently-updated__all {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.wfs-blog-recently-updated__all:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

.wfs-blog-recently-updated__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.wfs-blog-recently-updated__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-6);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 280ms var(--ease), background-color 280ms var(--ease), transform 280ms var(--blog-card-spring);
}

.wfs-blog-recently-updated__card:hover {
  border-color: var(--brand);
  background: var(--brand-tint);
  transform: translateY(-1px);
  text-decoration: none;
}

.wfs-blog-recently-updated__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--sp-3);
  background: var(--brand-tint);
  border: 1px solid var(--brand);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-deep);
  width: fit-content;
  letter-spacing: 0.01em;
}

.wfs-blog-recently-updated__article-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-1);
  line-height: var(--lh-snug);
  text-wrap: balance;
  flex-grow: 1;
}

.wfs-blog-recently-updated__meta {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

@media (max-width: 767.98px) {
  .wfs-blog-recently-updated__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 479.98px) {
  .wfs-blog-recently-updated__grid {
    grid-template-columns: 1fr;
  }
}

/* ── 25. CATEGORY NAVIGATION ───────────────────────────────── */

.wfs-blog-category-section {
  padding-block: var(--sp-6) var(--sp-4);
}

.wfs-blog-category-nav {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.wfs-blog-category-nav::-webkit-scrollbar {
  display: none;
}

.wfs-blog-category-nav__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease), color 240ms var(--ease);
}

.wfs-blog-category-nav__item:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-tint);
  text-decoration: none;
}

.wfs-blog-category-nav__item--active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.wfs-blog-category-nav__item--active:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

.wfs-blog-category-nav__count {
  font-size: var(--fs-xs);
  font-weight: 600;
  opacity: 0.7;
}

/* ── 26. BLOG INDEX CTA ────────────────────────────────────── */

.wfs-blog-index-cta {
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(160deg, var(--paper) 0%, var(--brand-tint) 100%);
  border: 1px solid var(--brand);
  border-radius: var(--r-2xl);
}

.wfs-blog-index-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.wfs-blog-index-cta__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.wfs-blog-index-cta__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--brand);
}

.wfs-blog-index-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-lg), 1.5vw, var(--fs-xl));
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.wfs-blog-index-cta__body {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: var(--lh-body);
  max-width: 44ch;
}

.wfs-blog-index-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: flex-start;
  flex-shrink: 0;
}

/* ── 27. ARTICLE GRID + INDEX CARDS ───────────────────────── */

.wfs-blog-grid-section {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.wfs-blog-index__grid > [class*="col-"] {
  display: flex;
}

.wfs-blog-index-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--blog-card-r);
  overflow: hidden;
  width: 100%;
  text-decoration: none;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--blog-card-spring);
}

.wfs-blog-index-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(var(--blog-card-hover-y));
  text-decoration: none;
}

.wfs-blog-index-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-warm);
  flex-shrink: 0;
}

.wfs-blog-index-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 600ms cubic-bezier(0.16,1,0.3,1);
}

.wfs-blog-index-card:hover .wfs-blog-index-card__cover img {
  transform: scale(1.04);
}

.wfs-blog-index-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-7) var(--sp-7);
  flex-grow: 1;
}

.wfs-blog-index-card__category {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--brand);
}

.wfs-blog-index-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: var(--tk-snug);
  color: var(--ink-1);
  line-height: var(--lh-snug);
  text-wrap: balance;
  flex-grow: 1;
}

.wfs-blog-index-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

.wfs-blog-index-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-fine);
}

.wfs-blog-index-card__meta-item {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

/* ── 28. GRID HEADER ───────────────────────────────────────── */

.wfs-blog-grid-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-8);
}

.wfs-blog-grid-header__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
}

.wfs-blog-grid-header__count {
  font-size: var(--fs-sm);
  color: var(--ink-4);
  white-space: nowrap;
}

/* ── 29. TOPIC CLUSTER GRID ────────────────────────────────── */

.wfs-blog-topic-link {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-deep) 35%, transparent);
  text-underline-offset: 2px;
  margin-top: var(--sp-3);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.wfs-blog-topic-link:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

/* ── 30. FILTER BAR ARCHITECTURE ────────────────────────────
   Future-ready. Activates when JS filter is wired.
   Currently hidden — shown by blog.js when capability ready.
   ─────────────────────────────────────────────────────────── */

.wfs-blog-filter-bar {
  display: none;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
}

.wfs-blog-filter-bar.is-ready {
  display: flex;
}

.wfs-blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 200ms var(--ease);
  -webkit-appearance: none;
}

.wfs-blog-filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  background: var(--brand-tint);
}

.wfs-blog-filter-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* Data attribute states for filterable items */

.wfs-blog-index-card[data-hidden] {
  display: none;
}

/* ── 31. REVEAL ANIMATION SYSTEM ────────────────────────────
   IntersectionObserver-driven. Driven by blog.js.
   prefers-reduced-motion: immediately visible.
   --delay CSS custom property set per-element by JS.
   ─────────────────────────────────────────────────────────── */

.js-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--blog-ease-out) var(--delay), transform 500ms var(--blog-ease-out) var(--delay);
  will-change: opacity, transform;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal--fade {
  transform: none;
  transition: opacity 600ms var(--blog-ease-out) var(--delay);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal, .js-reveal--fade {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* ── 32. SECTION LAYOUT HELPERS ──────────────────────────────
   Eliminates all inline styles from HTML.
   Every padding/spacing decision lives here.
   ─────────────────────────────────────────────────────────── */

.wfs-blog-section-flush-top {
  padding-top: 0 !important;
}

.wfs-blog-section-flush-both {
  padding-block: 0 !important;
}

/* Author card link override — no underline on label links */

.wfs-blog-author-card__footer a {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 2px;
  color: var(--brand-deep);
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}

.wfs-blog-author-card__footer a:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

/* ── 33. PUBLICATION HEADER ──────────────────────────────────
   Sticky editorial header for the entire blog/resource silo.
   Replaces or supplements the main site nav during reading.
   Scales across: blog articles, guides, resources, case studies.
   ─────────────────────────────────────────────────────────── */

.wfs-pub-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 300ms var(--ease);
}

.wfs-pub-header--scrolled {
  box-shadow: 0 2px 24px rgba(26, 35, 50, 0.07);
}

.wfs-pub-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-4);
}

.wfs-pub-header__brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  flex-shrink: 0;
}

.wfs-pub-header__wordmark {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  line-height: 1;
  transition: color var(--t-fast);
}

.wfs-pub-header__brand:hover .wfs-pub-header__wordmark {
  color: var(--brand);
}

.wfs-pub-header__tagline {
  font-size: var(--fs-xs);
  color: var(--ink-4);
  letter-spacing: 0.03em;
}

/* Horizontal nav */

.wfs-pub-header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-grow: 1;
  justify-content: center;
}

.wfs-pub-header__nav-link {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-radius: var(--r-lg);
  white-space: nowrap;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}

.wfs-pub-header__nav-link:hover {
  color: var(--ink-1);
  background: var(--paper-mist);
}

.wfs-pub-header__nav-link--active {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-tint);
}

/* Compact CTA */

.wfs-pub-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none !important;
  color: #ffffff !important;
}

/* Reading progress embedded in header bottom edge */

.wfs-pub-header__progress {
  height: 2px;
  background: transparent;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.wfs-pub-header__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--brand);
  transition: width 80ms linear;
  will-change: width;
}

@media (max-width: 991.98px) {
  .wfs-pub-header__nav {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .wfs-pub-header__inner {
    padding-block: var(--sp-3);
  }
}

@media (max-width: 767.98px) {
  .wfs-pub-header__tagline {
    display: none;
  }
}

/* ── 34. PUBLICATION FOOTER ──────────────────────────────────
   Rich editorial footer for blog + resource silo.
   Brand · Topic clusters · Recent guides · Legal bar.
   ─────────────────────────────────────────────────────────── */

.wfs-pub-footer {
  background: var(--paper);
  border-top: 2px solid var(--line);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.wfs-pub-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

/* Brand column */

.wfs-pub-footer__wordmark {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--ink-1);
  letter-spacing: var(--tk-snug);
  display: block;
  text-decoration: none;
  margin-bottom: var(--sp-4);
  transition: color var(--t-fast);
}

.wfs-pub-footer__wordmark:hover {
  color: var(--brand);
}

.wfs-pub-footer__desc {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: var(--lh-relaxed);
  text-wrap: pretty;
  max-width: 28ch;
  margin-bottom: var(--sp-5);
}

.wfs-pub-footer__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  background: var(--brand-tint);
  border: 1px solid var(--brand);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-deep);
  margin-bottom: var(--sp-6);
}

.wfs-pub-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.wfs-pub-footer__contact-item {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

.wfs-pub-footer__contact-item a {
  color: var(--brand-deep);
  text-decoration: none;
  transition: color var(--t-fast);
}

.wfs-pub-footer__contact-item a:hover {
  color: var(--brand);
}

/* Topics column */

.wfs-pub-footer__topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6) var(--sp-8);
}

.wfs-pub-footer__topic-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.wfs-pub-footer__topic-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line-fine);
}

.wfs-pub-footer__topic-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.wfs-pub-footer__topic-links a {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  line-height: var(--lh-snug);
  transition: color var(--t-fast);
}

.wfs-pub-footer__topic-links a:hover {
  color: var(--brand-deep);
}

/* Recent guides column */

.wfs-pub-footer__recent {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.wfs-pub-footer__recent-header {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--line-fine);
}

.wfs-pub-footer__recent-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.wfs-pub-footer__recent-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.wfs-pub-footer__recent-badge {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--brand-deep);
  letter-spacing: 0.01em;
}

.wfs-pub-footer__recent-title a {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  line-height: var(--lh-snug);
  text-wrap: balance;
  transition: color var(--t-fast);
}

.wfs-pub-footer__recent-title a:hover {
  color: var(--brand-deep);
}

/* Bottom bar */

.wfs-pub-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-block: var(--sp-6);
}

.wfs-pub-footer__legal {
  font-size: var(--fs-xs);
  color: var(--ink-4);
}

.wfs-pub-footer__legal a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--t-fast);
}

.wfs-pub-footer__legal a:hover {
  color: var(--ink-1);
}

.wfs-pub-footer__legal-sep {
  color: var(--ink-4);
  margin-inline: var(--sp-2);
}

.wfs-pub-footer__attribution {
  font-size: var(--fs-xs);
  color: var(--ink-4);
  font-style: italic;
}

@media (max-width: 991.98px) {
  .wfs-pub-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .wfs-pub-footer__brand {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line-fine);
    padding-bottom: var(--sp-7);
  }
}

@media (max-width: 991.98px) {
  .wfs-pub-footer__desc {
    max-width: 100%;
  }
}

@media (max-width: 639.98px) {
  .wfs-pub-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639.98px) {
  .wfs-pub-footer__topics-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639.98px) {
  .wfs-pub-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
}

/* ── 35. IMAGE CONSISTENCY SYSTEM ────────────────────────────
   Unified editorial image treatment across all blog covers.
   Subtle warm overlay ties all images as a publication system.
   Apply .wfs-blog-cover-wrap on the cover image container.
   ─────────────────────────────────────────────────────────── */

.wfs-blog-cover-wrap {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
}

/* Very subtle warm editorial overlay — barely perceptible */

.wfs-blog-cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( 160deg, rgba(26, 35, 50, 0.02) 0%, rgba(197, 106, 46, 0.05) 100% );
  pointer-events: none;
  z-index: 1;
}

.wfs-blog-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── 36. INLINE STYLE ELIMINATION UTILITIES ──────────────────
   Every inline style from HTML has a CSS equivalent here.
   These classes exist ONLY to absorb presentation that was
   previously inline. Future HTML never needs inline styles.
   ─────────────────────────────────────────────────────────── */

/* Replaces: style="color:inherit;text-decoration:underline;" */

.wfs-link-inherit {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--t-fast);
}

.wfs-link-inherit:hover {
  opacity: 0.8;
}

/* Replaces: style="border:0;padding:0;margin-bottom:var(--sp-4);" on author card init label */

.wfs-blog-author-card__init-label {
  border: 0;
  padding: 0;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tk-wide);
  text-transform: uppercase;
  color: var(--ink-4);
}

/* ── 37. ARTICLE READING ATMOSPHERE ──────────────────────────
   Enhancements specific to the individual article reading page.
   Improves immersion without adding visual noise.
   ─────────────────────────────────────────────────────────── */

/* Article hero: subtle ambient depth (same pattern as index hero) */

.wfs-blog-hero {
  position: relative;
  overflow: hidden;
}

.wfs-blog-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient( circle, color-mix(in srgb, var(--brand) 5%, transparent) 0%, transparent 65% );
  pointer-events: none;
  z-index: 0;
}

.wfs-blog-hero .container {
  position: relative;
  z-index: 1;
}

/* Definition blocks: premium hover state */

.wfs-definition-block {
  transition: box-shadow 300ms var(--ease), transform 300ms var(--blog-card-spring);
}

.wfs-definition-block:hover {
  box-shadow: var(--shadow-sm);
}

/* Workflow step hover */

.wfs-blog-workflow__step {
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease), transform 260ms var(--blog-card-spring);
}

.wfs-blog-workflow__step:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Before/after — subtle hover on individual items */

.wfs-blog-before-after__col--after {
  transition: background 300ms var(--ease);
}

.wfs-blog-before-after__col--after:hover {
  background: linear-gradient(160deg, var(--paper) 0%, color-mix(in srgb, var(--brand-tint) 150%, var(--paper)) 100%);
}

/* Inline CTA: premium hover depth */

.wfs-blog-inline-cta {
  transition: box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}

.wfs-blog-inline-cta:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

/* Article summary: refined hover */

.wfs-blog-summary {
  transition: box-shadow 300ms var(--ease);
}

.wfs-blog-summary:hover {
  box-shadow: var(--shadow-sm);
}

/* Reading path cards: uniform premium hover */

.wfs-reading-path__card {
  transition: box-shadow 280ms var(--ease), border-color 280ms var(--ease), transform 280ms var(--blog-card-spring);
}

.wfs-reading-path__card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.wfs-reading-path__card--action:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-deep);
}

