/* ==========================================================================
   Bravo11 blog: index, archives, search and the single post.
   Class names are the source build's (blog.html, blog-health-framework.html)
   and every rule is scoped under .b11-blogroot so nothing reaches the theme.
   The design tokens are redeclared here under the source's own names, so the
   component rules below match the static files line for line.
   ========================================================================== */

.b11-blogroot {
  --red: #b32424;
  --red-hover: #c72929;
  --red-dim: #8c1b1b;
  --red-glow: rgba(179,36,36,0.35);
  --red-light: #d95a4f;
  --red-bright: #ff6b5e;
  --bg: #080808;
  --bg-2: #0c0c0e;
  --bg-3: #0f0f11;
  --bg-4: #121214;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.065);
  --text: #f2f2f2;
  --text-2: #a8a8a8;
  --text-3: #878787;
  --text-4: #787878;
  --border: rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.11);
  --border-3: rgba(255,255,255,0.16);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 350ms;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;
  --sticky-top: calc(88px + var(--wp-admin--admin-bar--height, 0px));

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.b11-blogroot *,
.b11-blogroot *::before,
.b11-blogroot *::after { box-sizing: border-box; }
.b11-blogroot :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd) { margin: 0; padding: 0; }
.b11-blogroot a { color: inherit; text-decoration: none; }
.b11-blogroot img { display: block; max-width: 100%; height: auto; }
.b11-blogroot button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.b11-blogroot ::selection { background: var(--red); color: #fff; }

/* Scroll reveal (initReveal in bravo11.js adds .in) */
.b11-js .b11-blogroot .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.b11-js .b11-blogroot .reveal.d1 { transition-delay: 0.08s; }
.b11-js .b11-blogroot .reveal.d2 { transition-delay: 0.16s; }
.b11-js .b11-blogroot .reveal.in { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Page hero (index, archives, search) - .page-hero from blog.html
   -------------------------------------------------------------------------- */

.b11-blogroot .page-hero { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.b11-blogroot .page-hero::before { content: ''; position: absolute; width: 900px; height: 400px; top: -160px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(179,36,36,0.22), transparent 65%); filter: blur(22px); pointer-events: none; }
.b11-blogroot .page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 38%, transparent 100%); mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 38%, transparent 100%); pointer-events: none; }
.b11-blogroot .page-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: clamp(56px, 7vw, 88px) 24px; }
.b11-blogroot .page-hero-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-light); margin-bottom: 14px; }
.b11-blogroot .page-hero-h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 14px; color: var(--text); }
.b11-blogroot .page-hero-p { color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 540px; }

/* --------------------------------------------------------------------------
   Index - .blog-section, .featured-post, .posts-grid, .post-card
   -------------------------------------------------------------------------- */

.b11-blogroot .blog-section { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) 24px; }

.b11-blogroot .blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.b11-blogroot .blog-filter { display: inline-flex; align-items: center; min-height: 36px; border: 1px solid var(--border-2); border-radius: var(--r-pill); padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--text-3); transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast); }
.b11-blogroot .blog-filter:hover { color: var(--text); border-color: var(--border-3); }
.b11-blogroot .blog-filter.is-active { color: var(--text); background: rgba(255,255,255,0.06); border-color: var(--border-3); }

.b11-blogroot .featured-post { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-4); overflow: hidden; transition: border-color var(--dur-base); }
.b11-blogroot .featured-post:hover { border-color: rgba(255,120,110,0.4); }
.b11-blogroot .featured-cover { min-height: 280px; background: repeating-linear-gradient(-45deg, #141416 0, #141416 12px, #121214 12px, #121214 24px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.b11-blogroot .featured-cover-label { font-family: var(--font-mono); font-size: 12px; color: #4a4a4a; }
.b11-blogroot .featured-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.b11-blogroot .featured-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.b11-blogroot .featured-badge { background: var(--red); color: #fff; border-radius: var(--r-pill); padding: 4px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; }
.b11-blogroot .featured-tag { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); }
.b11-blogroot .featured-title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; color: var(--text); }
.b11-blogroot .featured-excerpt { color: var(--text-3); line-height: 1.65; }
.b11-blogroot .featured-read { color: var(--red-light); font-weight: 600; font-size: 14px; }

.b11-blogroot .posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.b11-blogroot .post-card { position: relative; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-4); overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--dur-base); }
.b11-blogroot .post-card:hover { border-color: rgba(255,120,110,0.4); }
.b11-blogroot .post-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%); background-size: 200% 100%; background-position: -100% center; pointer-events: none; transition: background-position 0.7s var(--ease-out); }
.b11-blogroot .post-card:hover::after { background-position: 200% center; }
.b11-blogroot .post-cover { height: 170px; background: repeating-linear-gradient(-45deg, #141416 0, #141416 12px, #121214 12px, #121214 24px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.b11-blogroot .post-cover-label { font-family: var(--font-mono); font-size: 12px; color: #4a4a4a; }
.b11-blogroot .featured-cover.has-img img,
.b11-blogroot .post-cover.has-img img { width: 100%; height: 100%; object-fit: cover; }
.b11-blogroot .post-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.b11-blogroot .post-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--red-light); text-transform: uppercase; }
.b11-blogroot .post-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; color: var(--text); }
.b11-blogroot .post-excerpt { color: var(--text-3); font-size: 14px; line-height: 1.6; flex: 1; }
.b11-blogroot .post-card .post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); }

.b11-blogroot .blog-pagination { margin-top: 40px; }
.b11-blogroot .blog-pagination h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.b11-blogroot .blog-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.b11-blogroot .blog-pagination .page-numbers { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--border-2); border-radius: var(--r-pill); font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast); }
.b11-blogroot .blog-pagination a.page-numbers:hover { color: var(--text); border-color: var(--border-3); background: var(--surface-2); }
.b11-blogroot .blog-pagination .page-numbers.current { color: var(--text); background: rgba(255,255,255,0.06); border-color: var(--border-3); }
.b11-blogroot .blog-pagination .page-numbers.dots { border-color: transparent; }

.b11-blogroot .blog-empty { padding: 32px 0 8px; color: var(--text-3); }
.b11-blogroot .blog-empty p { font-size: 17px; line-height: 1.65; margin-bottom: 12px; }
.b11-blogroot .blog-empty-link { color: var(--red-light); font-weight: 600; font-size: 14px; }

/* --------------------------------------------------------------------------
   Article - blog-health-framework.html
   -------------------------------------------------------------------------- */

/* Reading progress */
.b11-blogroot .progress { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; height: 2px; width: 100%; z-index: 1300; background: transparent; pointer-events: none; }
.b11-blogroot .progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-bright)); transition: width 80ms linear; }

/* Hero */
.b11-blogroot .post-hero { position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.b11-blogroot .post-hero::before { content: ''; position: absolute; width: 900px; height: 400px; top: -160px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(179,36,36,0.22), transparent 65%); filter: blur(22px); pointer-events: none; }
.b11-blogroot .post-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 38%, transparent 100%); mask-image: radial-gradient(ellipse 80% 62% at 50% 0%, #000 38%, transparent 100%); pointer-events: none; }
/* Hero shares the article grid so its text aligns with the prose column below. */
.b11-blogroot .post-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 236px minmax(0, 720px); gap: 60px; justify-content: center; padding: clamp(30px, 4vw, 44px) 24px clamp(38px, 5vw, 56px); }
.b11-blogroot .post-hero-inner > * { grid-column: 2; }
.b11-blogroot .post-hero-inner.no-toc { grid-template-columns: minmax(0, 720px); }
.b11-blogroot .post-hero-inner.no-toc > * { grid-column: 1; }
.b11-blogroot .crumbs { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-bottom: 26px; flex-wrap: wrap; }
.b11-blogroot .crumbs a { color: var(--text-3); transition: color var(--dur-fast); }
.b11-blogroot .crumbs a:hover { color: var(--red-light); }
.b11-blogroot .post-cat-pill { display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-light); border: 1px solid rgba(255,120,110,0.3); border-radius: var(--r-pill); padding: 5px 13px; margin-bottom: 18px; transition: background var(--dur-fast); }
.b11-blogroot a.post-cat-pill:hover { background: rgba(255,120,110,0.09); }
.b11-blogroot .post-h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 20px; color: var(--text); }
.b11-blogroot .post-standfirst { color: var(--text-2); font-size: clamp(17px, 2vw, 19px); line-height: 1.66; margin-bottom: 28px; }
.b11-blogroot .post-hero .post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--border); }
.b11-blogroot .post-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #2a1010, #161618); border: 1px solid rgba(255,120,110,0.28); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--red-light); flex-shrink: 0; }
.b11-blogroot .post-byline { font-size: 14px; font-weight: 600; color: var(--text-2); }
.b11-blogroot .post-subline { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-top: 2px; }

/* Layout */
.b11-blogroot .post-layout { display: grid; grid-template-columns: 236px minmax(0, 720px); gap: 60px; justify-content: center; padding: clamp(40px, 5vw, 64px) 24px clamp(64px, 8vw, 96px); }
.b11-blogroot .post-layout.no-toc { grid-template-columns: minmax(0, 720px); gap: 0; }
.b11-blogroot .post-layout > div { min-width: 0; }

/* Contents rail */
.b11-blogroot .toc { position: sticky; top: var(--sticky-top); align-self: start; }
.b11-blogroot .toc-head { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 12px; }
.b11-blogroot .toc-list { display: flex; flex-direction: column; gap: 1px; list-style: none; }
.b11-blogroot .toc-list a { display: block; padding: 8px 13px; border-left: 2px solid var(--border); font-size: 13px; line-height: 1.45; color: var(--text-4); transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast); }
.b11-blogroot .toc-list a:hover { color: var(--text-2); background: var(--surface); }
.b11-blogroot .toc-list a.active { color: var(--red-light); border-left-color: var(--red-light); background: rgba(255,120,110,0.06); }
.b11-blogroot .toc-mobile { display: none; margin-bottom: 32px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-4); overflow: hidden; }
.b11-blogroot .toc-mobile summary { padding: 15px 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.b11-blogroot .toc-mobile summary::-webkit-details-marker { display: none; }
.b11-blogroot .toc-mobile summary::after { content: '+'; font-size: 17px; color: var(--red-light); }
.b11-blogroot .toc-mobile[open] summary::after { content: '\2212'; }
.b11-blogroot .toc-mobile ol { list-style: none; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 1px; }
.b11-blogroot .toc-mobile a { display: block; padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-3); }
.b11-blogroot .toc-mobile a:hover { background: var(--surface); color: var(--text); }

/* Prose */
.b11-blogroot .prose { font-size: 17px; line-height: 1.82; color: var(--text-2); }
.b11-blogroot .prose > p { margin-bottom: 26px; }
.b11-blogroot .prose .lead { font-size: 20px; line-height: 1.7; color: var(--text); font-weight: 300; margin-bottom: 32px; }
.b11-blogroot .prose h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 35px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.14; color: var(--text); margin: 60px 0 18px; scroll-margin-top: var(--sticky-top); }
.b11-blogroot .prose h2:first-child { margin-top: 0; }
.b11-blogroot .prose h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--text); margin: 40px 0 14px; scroll-margin-top: var(--sticky-top); }
.b11-blogroot .prose h4 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; color: var(--text); margin: 32px 0 10px; }
.b11-blogroot .prose h2 + h3 { margin-top: 28px; }
.b11-blogroot .prose strong { color: var(--text); font-weight: 600; }
.b11-blogroot .prose em { font-style: italic; }
.b11-blogroot .prose a { color: var(--red-light); font-weight: 500; border-bottom: 1px solid rgba(255,120,110,0.32); transition: border-color var(--dur-fast); }
.b11-blogroot .prose a:hover { border-bottom-color: var(--red-light); }
.b11-blogroot .prose ul { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.b11-blogroot .prose ul li { position: relative; padding-left: 26px; }
.b11-blogroot .prose ul li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--red-light); }
.b11-blogroot .prose ol:not(.chain) { list-style: decimal; padding-left: 26px; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.b11-blogroot .prose ol:not(.chain) li::marker { color: var(--red-light); font-weight: 600; }
.b11-blogroot .prose hr { border: none; height: 1px; background: var(--border); margin: 52px 0; }
.b11-blogroot .prose img { border-radius: var(--r-md); }
.b11-blogroot .prose figure { margin: 0 0 26px; }
.b11-blogroot .prose figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--text-4); margin-top: 10px; text-align: center; }
.b11-blogroot .prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.b11-blogroot .prose pre { font-family: var(--font-mono); font-size: 14px; line-height: 1.6; background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; overflow-x: auto; margin: 0 0 26px; }
.b11-blogroot .prose pre code { background: none; border: 0; padding: 0; }

/* Numbered component cards */
.b11-blogroot .components { display: flex; flex-direction: column; gap: 10px; margin: 0 0 30px; }
.b11-blogroot .component { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; border: 1px solid var(--border); border-left: 2px solid rgba(255,120,110,0.42); border-radius: var(--r-md); background: var(--bg-4); padding: 18px 22px; transition: border-color var(--dur-base), background var(--dur-base); }
.b11-blogroot .component:hover { background: var(--surface-2); border-color: var(--border-2); border-left-color: var(--red-light); }
.b11-blogroot .component-n { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--red-light); padding-top: 3px; }
.b11-blogroot .component-t { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin-bottom: 3px; }
.b11-blogroot .component-d { font-size: 15px; line-height: 1.62; color: var(--text-3); }

/* Pull quote - also the treatment for a plain quote block */
.b11-blogroot .pullquote,
.b11-blogroot .prose blockquote { margin: 40px 0; padding: 30px 32px; border-left: 3px solid var(--red); border-radius: 0 var(--r-md) var(--r-md) 0; background: linear-gradient(90deg, rgba(179,36,36,0.07), rgba(255,255,255,0.014)); }
.b11-blogroot .pullquote p,
.b11-blogroot .prose blockquote p { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; font-style: italic; line-height: 1.42; color: var(--text); letter-spacing: -0.01em; margin: 0; }
.b11-blogroot .prose blockquote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); }

/* Callout */
.b11-blogroot .callout { margin: 36px 0; border: 1px solid rgba(255,120,110,0.2); border-radius: var(--r-lg); background: linear-gradient(135deg, #17171a, #121214); padding: 26px 28px; }
.b11-blogroot .callout-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-light); margin-bottom: 10px; }
.b11-blogroot .callout p { font-size: 17px; line-height: 1.7; color: var(--text-2); margin: 0; }
.b11-blogroot .callout strong { color: var(--text); }

/* Chain list */
.b11-blogroot .chain { list-style: none; margin: 0 0 30px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-4); overflow: hidden; }
.b11-blogroot .chain li { display: grid; grid-template-columns: 172px 1fr; gap: 18px; padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.62; color: var(--text-3); transition: background var(--dur-base); }
.b11-blogroot .chain li:last-child { border-bottom: none; }
.b11-blogroot .chain li:hover { background: var(--surface); }
.b11-blogroot .chain b { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }

/* Comparison table - .prose-table from the source, and the core table block */
.b11-blogroot .prose-table,
.b11-blogroot .prose .wp-block-table { overflow-x: auto; margin: 0 0 30px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-4); }
.b11-blogroot .prose-table table,
.b11-blogroot .prose .wp-block-table table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 15px; border: 0; }
.b11-blogroot .prose-table th,
.b11-blogroot .prose-table td,
.b11-blogroot .prose .wp-block-table th,
.b11-blogroot .prose .wp-block-table td { text-align: left; padding: 14px 22px; border: 0; border-bottom: 1px solid var(--border); line-height: 1.5; }
.b11-blogroot .prose-table thead th,
.b11-blogroot .prose .wp-block-table thead th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-4); background: rgba(255,255,255,0.025); }
.b11-blogroot .prose-table thead th:last-child,
.b11-blogroot .prose .wp-block-table thead th:last-child { color: var(--red-light); }
.b11-blogroot .prose-table tbody th,
.b11-blogroot .prose .wp-block-table tbody th { font-weight: 600; color: var(--text-2); width: 24%; }
.b11-blogroot .prose-table tbody td,
.b11-blogroot .prose .wp-block-table tbody td { color: var(--text-3); }
.b11-blogroot .prose-table tbody td:last-child,
.b11-blogroot .prose .wp-block-table tbody td:last-child { color: var(--text); font-weight: 500; }
.b11-blogroot .prose-table tbody tr:last-child th,
.b11-blogroot .prose-table tbody tr:last-child td,
.b11-blogroot .prose .wp-block-table tbody tr:last-child th,
.b11-blogroot .prose .wp-block-table tbody tr:last-child td { border-bottom: none; }
.b11-blogroot .prose-table tbody tr:hover th,
.b11-blogroot .prose-table tbody tr:hover td,
.b11-blogroot .prose .wp-block-table tbody tr:hover th,
.b11-blogroot .prose .wp-block-table tbody tr:hover td { background: var(--surface); }
.b11-blogroot .prose .vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Closing highlight */
.b11-blogroot .closer { margin: 44px 0 0; border: 1px solid rgba(255,120,110,0.22); border-radius: var(--r-xl); background: linear-gradient(135deg, #17171a, #111113); padding: clamp(28px, 4vw, 40px); }
.b11-blogroot .closer h2 { margin-top: 0 !important; }
.b11-blogroot .closer p { font-size: 17px; line-height: 1.75; color: var(--text-2); margin-bottom: 18px; }
.b11-blogroot .closer p:last-child { margin-bottom: 0; font-weight: 500; background: linear-gradient(90deg, #ff8f7f, #d95a4f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Share and tags */
.b11-blogroot .post-foot { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--border); }
.b11-blogroot .post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.b11-blogroot .post-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.07em; color: var(--text-4); border: 1px solid var(--border-2); border-radius: var(--r-pill); padding: 5px 12px; transition: color var(--dur-fast), border-color var(--dur-fast); }
.b11-blogroot a.post-tag:hover { color: var(--text-2); border-color: var(--border-3); }
.b11-blogroot .share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.b11-blogroot .share-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); margin-right: 4px; }
.b11-blogroot .share-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--bg-4); color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast); }
.b11-blogroot .share-btn:hover { color: var(--text); border-color: var(--border-3); background: var(--surface-2); transform: translateY(-2px); }
.b11-blogroot .share-btn.copied { color: #25D366; border-color: rgba(37,211,102,0.5); }

/* Author card */
.b11-blogroot .author-card { margin-top: 40px; display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-4); padding: 26px 28px; }
.b11-blogroot .author-card .post-avatar { width: 52px; height: 52px; font-size: 17px; }
.b11-blogroot .author-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.b11-blogroot .author-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-light); margin: 3px 0 9px; }
.b11-blogroot .author-bio { font-size: 15px; line-height: 1.65; color: var(--text-3); }

/* Related posts */
.b11-blogroot .post-related { border-top: 1px solid var(--border); background: var(--bg); }
.b11-blogroot .post-related-inner { max-width: 1016px; margin: 0 auto; padding: clamp(48px, 6vw, 72px) 24px; }
.b11-blogroot .post-related h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; color: var(--text); }
.b11-blogroot .post-related .posts-grid { margin-top: 24px; }

/* Next-steps CTA */
.b11-blogroot .post-cta { border-top: 1px solid var(--border); background: var(--bg-2); }
.b11-blogroot .post-cta-inner { max-width: 1016px; margin: 0 auto; padding: clamp(52px, 6vw, 76px) 24px; }
.b11-blogroot .post-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.b11-blogroot .post-cta h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 10px; color: var(--text); }
.b11-blogroot .post-cta > .post-cta-inner > p { color: var(--text-2); font-size: 16px; line-height: 1.68; max-width: 560px; }
.b11-blogroot .next-card { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--bg-4); padding: 26px; transition: border-color var(--dur-base), background var(--dur-base), transform var(--dur-base) var(--ease-out); }
.b11-blogroot .next-card:hover { border-color: rgba(255,120,110,0.36); background: var(--surface-2); transform: translateY(-3px); }
.b11-blogroot .next-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-light); margin-bottom: 10px; }
.b11-blogroot .next-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); margin-bottom: 7px; }
.b11-blogroot .next-card p { font-size: 15px; line-height: 1.6; color: var(--text-3); }
.b11-blogroot .next-arrow { display: inline-block; margin-top: 14px; color: var(--red-light); font-size: 14px; font-weight: 600; }

/* Focus */
.b11-blogroot :focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Breakpoints - the source's own
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .b11-blogroot .post-layout,
  .b11-blogroot .post-hero-inner { grid-template-columns: minmax(0, 720px); gap: 0; }
  .b11-blogroot .post-hero-inner > * { grid-column: 1; }
  .b11-blogroot .toc { display: none; }
  .b11-blogroot .toc-mobile { display: block; }
}

@media (max-width: 640px) {
  .b11-blogroot .featured-post { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .b11-blogroot .chain li { grid-template-columns: 1fr; gap: 4px; }
  .b11-blogroot .component { grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 18px; }
  .b11-blogroot .pullquote,
  .b11-blogroot .prose blockquote { padding: 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .b11-js .b11-blogroot .reveal { opacity: 1; transform: none; transition: none; }
  .b11-blogroot .progress-bar,
  .b11-blogroot .share-btn,
  .b11-blogroot .next-card { transition: none; }
  .b11-blogroot .next-card:hover,
  .b11-blogroot .share-btn:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Theme leaks. Kadence styles bare headings and tables globally; the source
   build has none of that, so inherit the root values unless a rule above
   sets its own.
   -------------------------------------------------------------------------- */
.b11-blogroot :is(h1, h2, h3, h4, h5, h6) { line-height: 1.6; text-transform: none; }
.b11-blogroot .next-card h3 { line-height: 1.6; }
.b11-blogroot .post-related h2 { line-height: 1.1; }
.b11-blogroot .post-cta h2 { line-height: 1.1; }
.b11-blogroot .featured-title { line-height: 1.15; }
.b11-blogroot .post-title { line-height: 1.3; }
.b11-blogroot .post-h1 { line-height: 1.05; }
.b11-blogroot .page-hero-h1 { line-height: 1.05; }
.b11-blogroot .prose h2 { line-height: 1.14; }
.b11-blogroot .prose h3 { line-height: 1.25; }
.b11-blogroot .prose h4 { line-height: 1.3; }
.b11-blogroot table { margin: 0; border-spacing: 0; border: 0; }
.b11-blogroot .prose-table table,
.b11-blogroot .prose .wp-block-table table { margin: 0; }
.b11-blogroot figure.wp-block-table { border-radius: var(--r-lg); }
