/* ═══════════════════════════════════════════════════════════════════════════
   blog-index.css — VSHR Knowledge Hub (blog landing / archive)
   Created 2026-06-08. Premium editorial index: serif display masthead,
   featured lead story, sticky category filters, card grid, Compliance Brief.
   Pairs with single-post.css (same navy/blue/orange family + Fraunces display).
   No live "Compliance OS" widgets — static editorial only.
   All classes namespaced .bx-* and the container is .bx-wrap to avoid
   collisions with the bespoke sitewide .wrap/.container/.grid/.card.
   ═══════════════════════════════════════════════════════════════════════════ */

.bx-page {
  --navy: #07192E; --navy2: #0D2B45; --blue: #2170b5; --blue-br: #29ABE2;
  --orange: #F97316; --ink: #111827; --muted: #5B6B7E; --hair: #e3e7ed; --surf: #f6f8fb;
  background: #fff;
  color: var(--ink);
}
.bx-page * { box-sizing: border-box; }
.bx-page img { display: block; max-width: 100%; }
.bx-page a { color: inherit; text-decoration: none; }
.bx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }

/* ──── MASTHEAD ────────────────────────────────────────────────────────── */
.bx-top {
  position: relative;
  background:
    radial-gradient(120% 140% at 80% -20%, rgba(41,171,226,.30), transparent 55%),
    linear-gradient(180deg, var(--navy), var(--navy2));
  color: #fff; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(7rem, 11vw, 9rem);
}
.bx-top::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 39h40M39 0v40' stroke='%23ffffff' stroke-opacity='.04'/%3E%3C/svg%3E");
}
.bx-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #bfe0f4; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18);
  padding: .45rem .85rem; border-radius: 999px;
}
.bx-top h1 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem);
  line-height: 1.05; letter-spacing: -.02em; margin: 1.1rem 0 0; max-width: 18ch; text-wrap: balance;
}
.bx-top p {
  font-size: clamp(1.02rem, 1rem + .3vw, 1.2rem); color: rgba(255,255,255,.82);
  max-width: 52ch; margin: 1rem 0 0; line-height: 1.6;
}
.bx-search { margin-top: 1.8rem; display: flex; gap: .5rem; max-width: 30rem; }
.bx-search input {
  flex: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px; padding: .8rem 1rem; color: #fff; font: inherit; font-size: .95rem; min-width: 0;
}
.bx-search input::placeholder { color: rgba(255,255,255,.6); }
.bx-search button {
  background: var(--orange); border: 0; color: #fff; font: inherit; font-weight: 700;
  padding: 0 1.3rem; border-radius: 10px; cursor: pointer; min-width: 0;
}

/* ──── FEATURED LEAD STORY ─────────────────────────────────────────────── */
.bx-feature {
  position: relative; margin-top: -5.5rem;
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: #fff; border: 1px solid var(--hair); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(7,25,46,.55);
}
.bx-feature-media { position: relative; min-height: 340px; overflow: hidden; background: var(--surf); }
.bx-feature-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.bx-feature:hover .bx-feature-media img { transform: scale(1.04); }
.bx-feature-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--blue);
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem .75rem; border-radius: 999px;
}
.bx-feature-body { padding: clamp(1.6rem, 3vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; }
.bx-feature-flag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.bx-feature-body h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.12; letter-spacing: -.015em;
  margin: .7rem 0 0; color: var(--navy);
}
.bx-feature-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.6; margin: .9rem 0 0; }
.bx-feature-meta { margin-top: 1.4rem; display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--muted); }
.bx-readmore { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--blue); }
.bx-readmore svg { transition: transform .25s; }
.bx-feature:hover .bx-readmore svg { transform: translateX(4px); }

/* ──── STICKY FILTER BAR ───────────────────────────────────────────────── */
.bx-filter {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair); margin-top: 3.5rem;
}
.bx-filter-inner { display: flex; gap: .5rem; overflow-x: auto; padding: 1rem 0; scrollbar-width: none; }
.bx-filter-inner::-webkit-scrollbar { display: none; }
.bx-chip {
  flex: 0 0 auto; border: 1px solid var(--hair); background: #fff; color: var(--muted);
  font: inherit; font-size: .86rem; font-weight: 600; padding: .5rem 1rem; border-radius: 999px;
  cursor: pointer; transition: all .18s; white-space: nowrap;
}
.bx-chip:hover { border-color: var(--blue); color: var(--blue); }
.bx-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ──── CARD GRID ───────────────────────────────────────────────────────── */
.bx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.6rem; padding: 2.5rem 0 1rem; }
.bx-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hair);
  border-radius: 18px; overflow: hidden;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s, border-color .22s;
}
.bx-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -38px rgba(7,25,46,.5); border-color: #cdd9e6; }
.bx-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surf); }
.bx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bx-card:hover .bx-card-media img { transform: scale(1.06); }
.bx-card-noimg { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.bx-card-body { padding: 1.3rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.bx-eyebrow { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.bx-card-body h3 { font-size: 1.18rem; line-height: 1.26; font-weight: 700; color: var(--navy); margin: .55rem 0 0; letter-spacing: -.01em; }
.bx-card-excerpt { color: var(--muted); font-size: .94rem; line-height: 1.55; margin: .6rem 0 0; }
.bx-card-meta { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--muted); }
.bx-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.bx-empty { padding: 4rem 0; text-align: center; color: var(--muted); }

/* ──── COMPLIANCE BRIEF ────────────────────────────────────────────────── */
.bx-brief {
  margin: 3.5rem 0; border-radius: 24px; color: #fff; text-align: center;
  background:
    radial-gradient(100% 160% at 100% 0, rgba(41,171,226,.25), transparent 60%),
    linear-gradient(135deg, var(--navy), #06243f);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.bx-brief .bx-kicker { color: #bfe0f4; }
.bx-brief h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin: 1rem 0 0; letter-spacing: -.015em; }
.bx-brief p { color: rgba(255,255,255,.82); max-width: 46ch; margin: .8rem auto 0; line-height: 1.6; }
.bx-brief form { margin: 1.6rem auto 0; display: flex; gap: .5rem; max-width: 30rem; }
.bx-brief input { flex: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; padding: .85rem 1rem; color: #fff; font: inherit; min-width: 0; }
.bx-brief input::placeholder { color: rgba(255,255,255,.6); }
.bx-brief button { background: var(--orange); border: 0; color: #fff; font: inherit; font-weight: 700; padding: 0 1.5rem; border-radius: 10px; cursor: pointer; }
.bx-brief small { display: block; margin-top: .9rem; color: rgba(255,255,255,.55); font-size: .78rem; }

/* ──── REVEAL ──────────────────────────────────────────────────────────── */
.bx-page .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.bx-page .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bx-page .reveal { opacity: 1; transform: none; }
  .bx-card, .bx-card-media img, .bx-feature-media img { transition: none; }
}
@media (max-width: 760px) {
  .bx-feature { grid-template-columns: 1fr; margin-top: -4.5rem; }
  .bx-feature-media { min-height: 220px; aspect-ratio: 16 / 10; }
}
