/* ============================================================
   Blog ARTICLE styles - scoped under .blogwrap so they never collide
   with the global marketing CSS (global.css). Ported from the live
   blog's post.css; tokens are scoped to the wrapper, not :root.
   Blog posts use the global (dark) Nav + Footer; this styles the body.
   ============================================================ */
.blogwrap {
  --b-navy: #1B2537;
  --b-orange: #F26A2A;
  --b-orange-d: #d4571c;
  --b-bg: #F5F4F0;
  --b-surface: #fff;
  --b-mid: #E6E4DE;
  --b-line: #ECEAE4;
  --b-ink: #222A38;
  --b-text: #3A3A3A;
  --b-muted: #71757E;
  --b-reading: 720px;
  --b-rail: 300px;
  --b-radius: 12px;
  --b-radius-sm: 8px;
  --b-section-y: clamp(56px, 8vw, 104px);
  --b-shadow-1: 0 1px 2px rgba(20,30,50,.04), 0 2px 8px rgba(20,30,50,.05);
  --b-shadow-2: 0 12px 28px rgba(20,30,50,.10), 0 4px 10px rgba(20,30,50,.06);

  background: var(--b-bg);
  color: var(--b-text);
  font-size: 16px;
  line-height: 1.65;
}
.blogwrap .bcontainer { width: min(100% - 40px, 1200px); margin-inline: auto; }
.blogwrap img { max-width: 100%; height: auto; display: block; }

/* Full-bleed post hero */
.blogwrap .post-hero-full {
  position: relative; overflow: hidden;
  min-height: clamp(360px, 56vh, 600px); display: flex; align-items: flex-end;
  background: var(--hero-img, linear-gradient(135deg,#27344a,#1B2537)) center/cover no-repeat;
}
.blogwrap .post-hero-full .hero-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,rgba(13,20,34,.42) 0%,rgba(13,20,34,.60) 50%,rgba(13,20,34,.88) 100%); }
.blogwrap .post-hero-full .hero-inner { position: relative; z-index: 2; text-align: center; color: #fff;
  max-width: 880px; margin-inline: auto; padding: clamp(76px,12vh,132px) 20px clamp(36px,6vh,64px); }
.blogwrap .post-hero-full h1 { color: #fff; font-size: clamp(30px,5vw,50px); line-height: 1.12; font-weight: 800;
  letter-spacing: -.02em; margin: 16px 0; text-shadow: 0 1px 30px rgba(0,0,0,.28); }
.blogwrap .post-hero-full .deck { color: rgba(255,255,255,.88); font-size: clamp(17px,2vw,20px); line-height: 1.55;
  max-width: 58ch; margin: 0 auto 24px; }
.blogwrap .hero-crumb { font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 16px; }
.blogwrap .hero-crumb a { color: rgba(255,255,255,.72); text-decoration: none; }
.blogwrap .hero-crumb a:hover { color: #fff; }
.blogwrap .hero-crumb span { margin: 0 8px; opacity: .55; }
.blogwrap .eyebrow-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.blogwrap .eyebrow-tag .dot { width: 9px; height: 9px; border-radius: 50%; }
.blogwrap .byline { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--b-muted); }
.blogwrap .post-hero-full .byline { justify-content: center; color: rgba(255,255,255,.85); }
.blogwrap .post-hero-full .byline b { color: #fff; }
.blogwrap .byline .avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }

/* Layout: article + rail */
.blogwrap .post-layout { display: grid; grid-template-columns: minmax(0,var(--b-reading)) var(--b-rail);
  justify-content: center; gap: clamp(32px,5vw,64px); padding-block: var(--b-section-y); }
.blogwrap .prose { min-width: 0; font-size: 18px; line-height: 1.8; color: #33373F; }
.blogwrap .prose p { margin-bottom: 24px; max-width: 68ch; }
.blogwrap .prose h2 { font-size: clamp(23px,2.8vw,30px); line-height: 1.25; font-weight: 800; color: var(--b-navy);
  letter-spacing: -.01em; margin: 48px 0 16px; }
.blogwrap .prose h3 { font-size: 20px; font-weight: 800; color: var(--b-navy); margin: 40px 0 12px; }
.blogwrap .prose a { color: var(--b-orange-d); font-weight: 600; text-underline-offset: 2px; }
.blogwrap .prose strong { color: var(--b-ink); }
.blogwrap .prose ul, .blogwrap .prose ol { margin: 0 0 24px 22px; }
.blogwrap .prose li { margin-bottom: 8px; max-width: 66ch; }

/* Callouts */
.blogwrap .stat-callout { background: var(--b-navy); border-radius: var(--b-radius); padding: 32px clamp(24px,3vw,36px);
  margin: 48px 0; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.blogwrap .stat-callout .stat-num { font-size: clamp(40px,6vw,56px); font-weight: 800; color: var(--b-orange); line-height: 1; }
.blogwrap .stat-callout .stat-label { font-size: 16px; color: #dfe5ee; flex: 1; min-width: 200px; line-height: 1.5; }
.blogwrap .callout { background: #fff; border-left: 4px solid var(--b-orange); border-radius: 0 8px 8px 0;
  padding: 24px 32px; margin: 32px 0; font-size: 16.5px; color: var(--b-text); box-shadow: var(--b-shadow-1); }
.blogwrap .answer-block { background: #EAFAF1; border: 1px solid #BFE9D2; border-left: 4px solid #27AE60;
  border-radius: 0 8px 8px 0; padding: 24px 32px; margin: 32px 0 48px; font-size: 17px; color: #244; line-height: 1.6; }
.blogwrap .answer-block strong { color: var(--b-navy); }

/* Data table + sources */
.blogwrap .data-table { width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15.5px; background: #fff;
  border: 1px solid var(--b-line); border-radius: var(--b-radius); overflow: hidden; box-shadow: var(--b-shadow-1); }
.blogwrap .data-table th { background: var(--b-navy); color: #fff; text-align: left; padding: 12px 16px; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; }
.blogwrap .data-table td { padding: 12px 16px; border-top: 1px solid var(--b-line); vertical-align: top; }
.blogwrap .data-table tr:nth-child(even) td { background: #FAFAF8; }
.blogwrap .data-table .big { font-weight: 800; color: var(--b-orange-d); white-space: nowrap; }
.blogwrap .sources { margin: 64px 0 0; padding: 32px; background: #fff; border: 1px solid var(--b-line);
  border-radius: var(--b-radius); box-shadow: var(--b-shadow-1); font-size: 14px; line-height: 1.6; color: var(--b-muted); }
.blogwrap .sources h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--b-navy); margin-bottom: 12px; }
.blogwrap .sources ol { margin-left: 18px; }
.blogwrap .sources a { color: var(--b-orange-d); word-break: break-word; }

/* Author bio */
.blogwrap .author-bio { display: flex; gap: 24px; align-items: flex-start; background: #fff; border: 1px solid var(--b-line);
  border-radius: var(--b-radius); padding: 32px; margin: 64px 0 0; box-shadow: var(--b-shadow-1); }
.blogwrap .author-bio .ab-mark { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--b-navy);
  color: var(--b-orange); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.blogwrap .author-bio .ab-role { color: var(--b-orange-d); font-weight: 800; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 6px; }
.blogwrap .author-bio .ab-name { font-weight: 800; color: var(--b-navy); font-size: 17px; margin-bottom: 6px; }
.blogwrap .author-bio .ab-text { font-size: 14.5px; color: var(--b-text); line-height: 1.6; }

/* FAQ */
.blogwrap .faq-section { margin-top: 64px; }
.blogwrap .faq-section h2 { font-size: clamp(22px,2.6vw,28px); font-weight: 800; color: var(--b-navy); margin-bottom: 24px; }
.blogwrap .faq-item { border-bottom: 1px solid var(--b-mid); }
.blogwrap .faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; font: inherit;
  font-weight: 700; color: var(--b-navy); font-size: 16.5px; padding: 24px 0; display: flex; justify-content: space-between;
  gap: 16px; align-items: center; }
.blogwrap .faq-q .arrow { color: var(--b-orange); transition: transform .2s; }
.blogwrap .faq-q.open .arrow { transform: rotate(180deg); }
.blogwrap .faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.blogwrap .faq-a.open { max-height: 520px; }
.blogwrap .faq-a p { padding-bottom: 24px; color: var(--b-text); font-size: 15.5px; line-height: 1.65; }

/* Sidebar rail */
.blogwrap .rail { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; align-self: start; }
.blogwrap .rail-card { background: #fff; border: 1px solid var(--b-line); border-radius: var(--b-radius); padding: 24px;
  box-shadow: var(--b-shadow-1); overflow: hidden; }
.blogwrap .rail-card .rail-img { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 16px; aspect-ratio: 16/9; object-fit: cover; }
.blogwrap .rail-card .rl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-orange-d);
  font-weight: 800; margin-bottom: 8px; }
.blogwrap .rail-card h4 { font-size: 16px; color: var(--b-navy); font-weight: 800; margin-bottom: 8px; }
.blogwrap .rail-card p { font-size: 13.5px; color: var(--b-muted); margin-bottom: 16px; line-height: 1.5; }
.blogwrap .rail-card .rcta { display: block; text-align: center; background: var(--b-orange); color: #fff; font-weight: 700;
  font-size: 13.5px; padding: 11px; border-radius: 100px; text-decoration: none; }
.blogwrap .rail-card .rcta.ghost { background: #fff; color: var(--b-navy); border: 1.5px solid var(--b-navy); }
.blogwrap .rail-list a { display: flex; gap: 10px; padding: 8px 0; font-size: 13.5px; color: var(--b-ink);
  text-decoration: none; border-top: 1px solid var(--b-line); }
.blogwrap .rail-list a:first-of-type { border-top: none; }
.blogwrap .rail-list a:hover { color: var(--b-orange-d); }

/* Related cards */
.blogwrap .related { padding-block: var(--b-section-y); border-top: 1px solid var(--b-mid); }
.blogwrap .related .section-head { margin-bottom: 32px; }
.blogwrap .related .section-head h2 { font-size: clamp(20px,2.4vw,26px); font-weight: 800; color: var(--b-navy); }
.blogwrap .rgrid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 28px; }
.blogwrap .rcard { background: var(--b-surface); border: 1px solid var(--b-line); border-radius: var(--b-radius);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; box-shadow: var(--b-shadow-1);
  transition: transform .18s, box-shadow .18s, border-color .18s; }
.blogwrap .rcard:hover { transform: translateY(-4px); box-shadow: var(--b-shadow-2); border-color: #dfdcd3; }
.blogwrap .rcard .thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: #222A38; }
.blogwrap .rcard .thumb .timg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blogwrap .rcard .cbody { padding: 24px 24px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blogwrap .rcard h4 { font-size: 19px; line-height: 1.3; font-weight: 800; color: var(--b-navy); letter-spacing: -.01em; }
.blogwrap .rcard .cmeta { margin-top: auto; font-size: 12.5px; color: var(--b-muted); }

@media (max-width: 980px) { .blogwrap .post-layout { grid-template-columns: 1fr; } .blogwrap .rail { position: static; } }
@media (max-width: 640px) { .blogwrap .post-hero-full { min-height: clamp(300px,64vh,440px); } }

/* ============================================================
   Blog page chrome - topbar nav + resources footer.
   Top-level classes (not under .blogwrap) since they're page chrome.
   Values ported from the live blog's post.css. Navy #1B2537, orange #F26A2A.
   ============================================================ */
.blog-topbar { background: #1B2537; height: 64px; position: sticky; top: 0; z-index: 100; }
.blog-topbar .bt-inner { width: min(100% - 40px, 1200px); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; }
.blog-topbar-logo { font-family: 'Inter', system-ui, sans-serif; font-size: 21px; font-weight: 900; color: #fff; letter-spacing: .02em; text-decoration: none; display: inline-flex; align-items: center; }
.blog-topbar-logo span { color: #fff; }
.blog-topbar-logo .pro { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #F26A2A; border: 1.5px solid #F26A2A; border-radius: 5px; padding: 2px 5px; margin-left: 6px; }
.blog-topbar-nav { display: flex; align-items: center; gap: 32px; }
.blog-topbar-nav a { color: #9BAABF; font-size: 14px; text-decoration: none; transition: color .15s; }
.blog-topbar-nav a:hover { color: #fff; }
.blog-topbar-cta { background: #F26A2A; color: #fff; font-size: 13px; font-weight: 700; padding: 9px 22px;
  border-radius: 100px; text-decoration: none; letter-spacing: .02em; transition: transform .15s, box-shadow .15s; }
.blog-topbar-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(242,106,42,.32); }
@media (max-width: 767px) { .blog-topbar-nav { display: none; } }

.blog-footer { background: #1B2537; color: #9BAABF; margin-top: clamp(56px,8vw,104px); }
.blog-footer .bf-inner { width: min(100% - 40px, 1200px); margin-inline: auto; padding-block: 64px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.blog-footer h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.blog-footer a { color: #9BAABF; text-decoration: none; display: block; padding: 5px 0; font-size: 14px; }
.blog-footer a:hover { color: #fff; }
.blog-footer p { font-size: 14px; }
.blog-footer .bf-cta { background: #222e44; border: 1px solid #2c3a55; border-radius: 12px; padding: 32px; }
.blog-footer .bf-cta p { color: #c3ccd9; font-size: 14px; margin: 8px 0 16px; }
.blog-footer .bf-cta a { display: inline-block; background: #F26A2A; color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 20px; border-radius: 100px; }
.blog-footer .bf-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #F26A2A; font-weight: 800; }
@media (max-width: 767px) { .blog-footer .bf-inner { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   BLOG INDEX - featured + filter pills + card grid.
   Scoped under .blogwrap. Ported from the live blog/index.html.
   ============================================================ */
.blogwrap .blog-hero { position: relative; background-color: #1B2537; color: #fff; text-align: center;
  padding: clamp(56px,8vw,104px) 0 clamp(40px,6vw,72px);
  background-image: linear-gradient(180deg,rgba(13,20,34,.42) 0%,rgba(13,20,34,.62) 55%,rgba(13,20,34,.88) 100%),
    url('/images/hf_20260625_233816_0b6dd51e-a6e5-47e2-9338-c53bae5ebc78.png');
  background-size: cover; background-position: center top; background-repeat: no-repeat; }
.blogwrap .blog-hero .eyebrow { color: #F26A2A; font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 24px; }
.blogwrap .blog-hero h1 { color: #fff; font-size: clamp(30px,5vw,52px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em;
  margin: 0 auto 24px; text-wrap: balance; }
.blogwrap .blog-hero p { color: #AEB8C7; font-size: clamp(16px,1.6vw,19px); max-width: 60ch; margin: 0 auto; line-height: 1.6; }

.blogwrap .filterbar { position: sticky; top: 64px; z-index: 90; background: rgba(245,244,240,.86);
  backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid #E6E4DE; }
.blogwrap .filterbar .fb-inner { width: min(100% - 40px,1200px); margin-inline: auto; display: flex; gap: 8px;
  flex-wrap: wrap; padding-block: 16px; }
.blogwrap .pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #E6E4DE;
  color: #222A38; font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 100px; cursor: pointer;
  transition: all .15s; }
.blogwrap .pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.blogwrap .pill:hover { border-color: #cfccc3; }
.blogwrap .pill.active { background: #1B2537; color: #fff; border-color: #1B2537; }

.blogwrap .section { padding-block: clamp(56px,8vw,104px); }
.blogwrap .section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.blogwrap .section-head h2 { font-size: clamp(20px,2.4vw,26px); font-weight: 800; color: #1B2537; letter-spacing: -.01em; }
.blogwrap .section-head .muted { color: #71757E; font-size: 14px; }

.blogwrap .featured { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px,4vw,56px); align-items: center;
  background: #fff; border: 1px solid #ECEAE4; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,30,50,.04),0 2px 8px rgba(20,30,50,.05); }
.blogwrap .featured .ph { aspect-ratio: 16/10; background: linear-gradient(135deg,#27344a,#1B2537); position: relative; overflow: hidden; }
.blogwrap .featured .ph .feat-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: #F26A2A; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 13px; border-radius: 100px;
  box-shadow: 0 4px 14px rgba(13,20,34,.3); }
.blogwrap .featured .ph .fimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blogwrap .featured .ph .ph-tint { position: absolute; inset: 0; }
.blogwrap .featured .fbody { padding: clamp(24px,3vw,44px) clamp(24px,3vw,48px) clamp(28px,3vw,44px) 0; }
.blogwrap .featured h3 { font-size: clamp(24px,3.2vw,38px); line-height: 1.16; font-weight: 800; color: #1B2537;
  letter-spacing: -.02em; margin-bottom: 16px; }
.blogwrap .featured h3 a { text-decoration: none; color: inherit; }
.blogwrap .featured .excerpt { color: #71757E; font-size: 17px; line-height: 1.6; margin-bottom: 24px; max-width: 46ch; }
.blogwrap .meta-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #71757E; }
.blogwrap .meta-row .avatar { width: 30px; height: 30px; border-radius: 50%; background: #1B2537; color: #F26A2A;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }
.blogwrap .meta-row b { color: #222A38; font-weight: 600; }
.blogwrap .meta-row .sep { opacity: .5; }
@media (max-width: 860px) { .blogwrap .featured { grid-template-columns: 1fr; } .blogwrap .featured .fbody { padding: 0 24px 28px; }
  .blogwrap .featured .ph { aspect-ratio: 16/9; } }

.blogwrap .grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 36px; }
.blogwrap .grid .card { background: #fff; border: 1px solid #ECEAE4; border-radius: 12px; overflow: hidden; display: flex;
  flex-direction: column; text-decoration: none; box-shadow: 0 1px 2px rgba(20,30,50,.04),0 2px 8px rgba(20,30,50,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.blogwrap .grid .card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20,30,50,.10),0 4px 10px rgba(20,30,50,.06);
  border-color: #dfdcd3; }
.blogwrap .grid .card .thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: #222A38; }
.blogwrap .grid .card .thumb .timg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blogwrap .grid .card .thumb .bar { position: absolute; inset: 0; }
.blogwrap .grid .card .cbody { padding: 24px 24px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blogwrap .grid .card h4 { font-size: 19px; line-height: 1.3; font-weight: 800; color: #1B2537; letter-spacing: -.01em; }
.blogwrap .grid .card .cmeta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #71757E; }

/* ============================================================
   BLOG INDEX - dark theme (light text).
   Scoped to .blogwrap.index-dark so it ONLY affects the blog
   landing page; individual blog POST pages stay cream/editorial.
   Matches the dark marketing aesthetic (navy surfaces, orange accent).
   ============================================================ */
.blogwrap.index-dark { background: #0E1726; color: rgba(255,255,255,0.82); }

/* sticky filter bar */
.blogwrap.index-dark .filterbar { background: rgba(14,23,38,.86); border-bottom: 1px solid rgba(255,255,255,0.08); }
.blogwrap.index-dark .pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.78); }
.blogwrap.index-dark .pill:hover { border-color: rgba(255,255,255,0.34); color: #fff; }
.blogwrap.index-dark .pill.active { background: #F26A2A; color: #fff; border-color: #F26A2A; }

/* section heads */
.blogwrap.index-dark .section-head h2 { color: #fff; }
.blogwrap.index-dark .section-head .muted { color: rgba(255,255,255,0.55); }

/* featured card */
.blogwrap.index-dark .featured { background: #14203A; border-color: rgba(255,255,255,0.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.40); }
.blogwrap.index-dark .featured h3 { color: #fff; }
.blogwrap.index-dark .featured .excerpt { color: rgba(255,255,255,0.66); }
.blogwrap.index-dark .meta-row { color: rgba(255,255,255,0.60); }
.blogwrap.index-dark .meta-row b { color: #fff; }
.blogwrap.index-dark .meta-row .avatar { background: rgba(255,255,255,0.10); color: #F26A2A; }

/* article cards */
.blogwrap.index-dark .grid .card { background: #14203A; border-color: rgba(255,255,255,0.10);
  box-shadow: 0 1px 2px rgba(0,0,0,.20), 0 2px 10px rgba(0,0,0,.25); }
.blogwrap.index-dark .grid .card:hover { border-color: rgba(255,255,255,0.28);
  box-shadow: 0 16px 34px rgba(0,0,0,.45); }
.blogwrap.index-dark .grid .card h4 { color: #fff; }
.blogwrap.index-dark .grid .card .cmeta { color: rgba(255,255,255,0.55); }
