/*
Theme Name:  VerbaPulse Blog
Description: VerbaPulse — minimal Notion-style blog, standalone classic theme
Version:     1.8
*/

/* ── TOKENS ── */
:root {
  --blue:   #1c2bff;
  --blue-d: #1630d4;
  --blue-lt: #eef0ff;
  --black:  #0a0a0a;
  --text:   #0a0a0a;
  --muted:  #6b6b6b;
  --subtle: #9b9b9b;
  --border: #e8e8e8;
  --bg:     #fafafa;
  --white:  #ffffff;
}

/* ── BASE RESET — override Twenty Twenty-Five completely ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: 'Manrope', system-ui, sans-serif !important;
  background: var(--white) !important;
  color: var(--text) !important;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5,
.vs-post-title, .vs-single-title,
.vs-hero-title, .vs-section-title {
  font-family: 'Instrument Sans', system-ui, sans-serif;
}

/* Kill all parent theme layout wrappers */
.wp-site-blocks,
.wp-site-blocks > *:not(body) {
  all: unset;
  display: block;
}

/* ═══════════════════════════════════════
   NAV — identical to verbapulse.com
════════════════════════════════════════ */
.vs-nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--blue-lt);
  border-bottom: 1px solid transparent;
  height: 64px;
  display: flex; align-items: center;
  padding: 0 48px;
}
#wpadminbar ~ * .vs-nav,
.admin-bar .vs-nav { top: 32px; }

.vs-nav-inner {
  max-width: 1320px; margin: 0 auto; width: 100%;
  display: flex; align-items: center;
}
.vs-nav-logo { display: flex; align-items: center; text-decoration: none; margin-right: 48px; flex-shrink: 0; }
.vs-nav-logo img { height: 22px; display: block; }
.vs-nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.vs-nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: -0.01em;
  padding: 6px 12px; border-radius: 4px;
  transition: color 0.12s, background 0.12s;
}
.vs-nav-links a:hover, .vs-nav-links a.current { color: var(--text); background: var(--white); }

/* Solutions dropdown */
.vs-dd { position: relative; display: inline-flex; align-items: center; }
.vs-dd-trigger { font-family: inherit; font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: none; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 5px; }
.vs-dd:hover .vs-dd-trigger, .vs-dd:focus-within .vs-dd-trigger { color: var(--text); }
.vs-dd-caret { font-size: 9px; transition: transform .15s; }
.vs-dd:hover .vs-dd-caret, .vs-dd:focus-within .vs-dd-caret { transform: rotate(180deg); }
.vs-dd-panel { display: none; position: absolute; top: 100%; left: 0; padding-top: 12px; z-index: 300; }
.vs-dd:hover .vs-dd-panel, .vs-dd:focus-within .vs-dd-panel { display: flex; }
.vs-dd-inner { background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 16px 20px; display: flex; gap: 32px; white-space: nowrap; }
.vs-dd-col { display: flex; flex-direction: column; gap: 2px; }
.vs-dd-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin-bottom: 6px; }
.vs-dd-panel a { display: block; padding: 6px 0; font-size: 13.5px; font-weight: 500; color: #111827; }
.vs-dd-panel a:hover { color: #1c2bff; }
.vs-nav-actions { display: flex; align-items: center; gap: 10px; }
.vs-nav-login {
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; padding: 6px 14px;
  border-radius: 4px; transition: color 0.15s, background 0.15s;
}
.vs-nav-login:hover { color: var(--text); background: var(--bg); }
.vs-nav-cta {
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--black); text-decoration: none;
  padding: 8px 18px; border-radius: 4px; transition: opacity 0.15s;
  letter-spacing: -0.01em; white-space: nowrap;
}
.vs-nav-cta:hover { opacity: 0.85; }

/* ═══════════════════════════════════════
   PAGE WRAPPER
════════════════════════════════════════ */
.vs-page {
  min-height: calc(100vh - 60px);
}

/* ═══════════════════════════════════════
   BLOG INDEX — post list
════════════════════════════════════════ */
.vs-index-wrap {
  max-width: 1320px; margin: 0 auto;
  padding: 0 48px 96px;
}

/* Hero on a full-width blue-dim band, continuous with the nav (matches verbapulse.com) */
.vs-index-header {
  background: var(--blue-lt);
  box-shadow: 0 0 0 100vmax var(--blue-lt);
  clip-path: inset(0 -100vmax);
  margin: 0 0 56px;
  padding: 60px 0 64px;
}
.vs-index-tag {
  display: block; font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.vs-index-title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.05; color: var(--text); margin-bottom: 12px;
}
.vs-index-sub {
  font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 500px;
}

/* Category filter tabs */
.vs-cat-nav {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.vs-cat-tab {
  font-size: 12px; font-weight: 600;
  color: var(--muted); text-decoration: none;
  padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid var(--border);
  transition: all 0.15s;
  white-space: nowrap;
}
.vs-cat-tab:hover { border-color: var(--blue); color: var(--blue); }
.vs-cat-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Featured post (first one, full-width) */
.vs-post-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  padding-bottom: 56px; margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
}
.vs-post-featured:hover .vs-post-featured-title { color: var(--blue); }
.vs-post-featured-thumb {
  border-radius: 4px; overflow: hidden;
  aspect-ratio: 16/9; background: var(--blue-lt);
}
.vs-post-featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vs-post-featured-thumb-placeholder {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 48px; opacity: 0.3;
}
.vs-post-featured-label {
  font-size: 11px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px;
}
.vs-post-featured-title {
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.15;
  color: var(--text); margin-bottom: 14px;
  transition: color 0.15s;
}
.vs-post-featured-excerpt {
  font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 20px;
}
.vs-post-featured-meta {
  font-size: 12px; color: var(--subtle);
  display: flex; align-items: center; gap: 10px;
}
.vs-post-featured-read {
  font-size: 13px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 5px;
}

/* Post grid */
.vs-post-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vs-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.vs-card:hover {
  border-color: #bbb;
}
.vs-card-thumb {
  aspect-ratio: 16/9; background: var(--blue-lt); overflow: hidden;
}
.vs-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vs-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; opacity: 0.3;
}
.vs-card-body { padding: 20px 20px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.vs-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--subtle);
}
.vs-card-cat {
  font-size: 10px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.vs-card-title {
  font-size: 15px; font-weight: 800; color: var(--text);
  line-height: 1.35; letter-spacing: -0.1px; flex: 1;
}
.vs-card:hover .vs-card-title { color: var(--blue); }
.vs-card-excerpt {
  font-size: 13px; color: var(--muted); line-height: 1.6;
}

/* Pagination */
.vs-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 64px;
}
.vs-pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 3px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1.5px solid var(--border); text-decoration: none;
  transition: all 0.15s;
}
.vs-pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.vs-pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.vs-pagination .page-numbers.dots { border: none; width: auto; padding: 0 4px; }

/* ═══════════════════════════════════════
   SINGLE POST — Notion-style reading
════════════════════════════════════════ */
.vs-single-wrap {
  max-width: 780px; margin: 0 auto;
  padding: 64px 40px 96px;
}

.vs-single-header { margin-bottom: 40px; }
.vs-single-cats { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }

.vs-single-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.1; color: var(--text);
  margin-bottom: 20px;
}
.vs-single-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--subtle); padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.vs-single-meta-author {
  display: flex; align-items: center; gap: 8px;
}
.vs-single-meta-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-lt); color: var(--blue);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.vs-single-meta-name { font-weight: 600; color: var(--muted); }

.vs-single-thumb {
  width: 100%; border-radius: 4px; overflow: hidden;
  margin: 32px 0; aspect-ratio: 16/9; background: var(--blue-lt);
}
.vs-single-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Article typography — Notion-level ── */
.vs-content {
  font-size: 17px; line-height: 1.85; color: #1e293b;
  letter-spacing: 0.01em;
}
.vs-content > * + * { margin-top: 1.4em; }
.vs-content p { margin: 0; }

.vs-content h2 {
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.3px; line-height: 1.25;
  color: var(--text); margin-top: 2.4em; margin-bottom: 0.5em;
}
.vs-content h3 {
  font-size: 19px; font-weight: 700;
  line-height: 1.3; color: var(--text);
  margin-top: 2em; margin-bottom: 0.4em;
}
.vs-content h4 {
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-top: 1.8em; margin-bottom: 0.3em;
}
.vs-content a {
  color: var(--blue); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.vs-content a:hover { text-decoration-thickness: 2px; }

.vs-content ul, .vs-content ol {
  padding-left: 1.5em; margin: 0;
}
.vs-content li { margin-bottom: 0.4em; line-height: 1.75; }
.vs-content li + li { margin-top: 0.2em; }

.vs-content blockquote {
  border-left: 3px solid var(--blue);
  margin: 0; padding: 14px 22px;
  background: var(--blue-lt);
  font-size: 18px; font-style: italic; color: var(--text);
  line-height: 1.7;
}

.vs-content pre {
  background: #f1f5f9; border-radius: 4px;
  padding: 18px 22px; overflow-x: auto;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 14px; line-height: 1.65; color: #334155;
}
.vs-content code {
  background: #f1f5f9; border-radius: 4px;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 14px; padding: 2px 6px; color: #334155;
}
.vs-content pre code { background: none; padding: 0; }

.vs-content img {
  max-width: 100%; border-radius: 4px;
  display: block; margin: 0 auto;
}
.vs-content figure { margin: 0; text-align: center; }
.vs-content figcaption {
  font-size: 13px; color: var(--subtle);
  margin-top: 8px; font-style: italic;
}
.vs-content hr {
  border: none;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 2.5em 0;
}
.vs-content hr::after {
  content: "· · ·"; color: var(--border);
  font-size: 20px; letter-spacing: 6px;
}
.vs-content table {
  width: 100%; border-collapse: collapse;
  font-size: 15px; margin: 0;
}
.vs-content th, .vs-content td {
  padding: 10px 14px; border: 1px solid var(--border);
  text-align: left;
}
.vs-content th { background: var(--bg); font-weight: 700; font-size: 13px; }

/* Post nav */
.vs-post-nav {
  display: flex; justify-content: space-between;
  gap: 24px; margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.vs-post-nav a {
  font-size: 13px; font-weight: 600; color: var(--blue);
  text-decoration: none; display: flex; align-items: center; gap: 5px;
  max-width: 45%; line-height: 1.4;
}
.vs-post-nav a:hover { text-decoration: underline; }
.vs-post-nav-next { text-align: right; margin-left: auto; }

/* Back to blog */
.vs-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-decoration: none; margin-bottom: 36px;
  transition: color 0.15s;
}
.vs-back:hover { color: var(--text); }

/* ═══════════════════════════════════════
   FOOTER — identical to verbapulse.com
════════════════════════════════════════ */
.vs-footer {
  background: var(--text); color: rgba(255,255,255,0.6);
  padding: 60px 40px 36px;
}
.vs-footer-inner { max-width: 1320px; margin: 0 auto; }
.vs-footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.vs-footer-brand-desc {
  font-size: 13px; line-height: 1.65; max-width: 260px; margin-top: 10px;
}
.vs-footer-col-title {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.vs-footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.55);
  text-decoration: none; margin-bottom: 9px; transition: color 0.15s;
}
.vs-footer-col a:hover { color: #fff; }
.vs-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.vs-footer-bottom-text { font-size: 12px; }
.vs-footer-bottom-links { display: flex; gap: 20px; }
.vs-footer-bottom-links a {
  font-size: 12px; color: rgba(255,255,255,0.45); text-decoration: none;
}
.vs-footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ═══════════════════════════════════════
   INFOGRAPHIC COMPONENTS
════════════════════════════════════════ */

/* Stat grid — 3 col */
.vs-inf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0;
}
.vs-inf-stats.vs-inf-stats-2 {
  grid-template-columns: repeat(2, 1fr);
}
.vs-inf-stat {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 22px 18px 18px;
  text-align: center;
}
.vs-inf-stat-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.vs-inf-stat-label {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
  font-weight: 500;
}
.vs-inf-stat-source {
  font-size: 11px;
  color: var(--subtle);
  font-style: italic;
}

/* Compare block — 2 col */
.vs-inf-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 36px 0;
}
.vs-inf-compare-col {
  border-radius: 4px;
  padding: 22px 20px;
}
.vs-inf-compare-col.bad {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
}
.vs-inf-compare-col.good {
  background: var(--blue-lt);
  border: 1.5px solid #c7d2fe;
}
.vs-inf-compare-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.vs-inf-compare-col.bad  .vs-inf-compare-label { color: #dc2626; }
.vs-inf-compare-col.good .vs-inf-compare-label { color: var(--blue); }
.vs-inf-compare-text {
  font-size: 14px;
  font-style: italic;
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}

/* Research callout */
.vs-inf-callout {
  background: var(--blue-lt);
  border-left: 4px solid var(--blue);
  border-radius: 0 4px 4px 0;
  padding: 22px 24px;
  margin: 36px 0;
}
.vs-inf-callout-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 10px;
}
.vs-inf-callout-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  font-weight: 500;
}
.vs-inf-callout-cite {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  font-style: italic;
}

/* Caution box */
.vs-inf-caution {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: 4px;
  padding: 18px 22px;
  margin: 36px 0;
}
.vs-inf-caution-title {
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vs-inf-caution-text {
  font-size: 14px;
  color: #78350f;
  line-height: 1.65;
}

/* Signal coherence — 2×2 grid */
.vs-inf-signal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 36px 0;
}
.vs-inf-signal-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.vs-inf-signal-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.vs-inf-signal-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.vs-inf-signal-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}

/* Employer brand — blue impact block */
.vs-inf-brand {
  background: var(--black);
  border-radius: 4px;
  padding: 32px 28px;
  margin: 36px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.vs-inf-brand-stat { text-align: center; }
.vs-inf-brand-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: #fff;
}
.vs-inf-brand-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
  line-height: 1.5;
}
.vs-inf-brand-source {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  font-style: italic;
}

/* Article CTA block */
.vs-inf-cta {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  margin: 40px 0 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.vs-inf-cta-text { flex: 1; }
.vs-inf-cta-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.vs-inf-cta-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.vs-inf-cta-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.vs-inf-cta-btn:hover { opacity: 0.85; }

/* ═══════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .vs-nav { padding: 0 20px; }
  .vs-nav-links { display: none; }
  .vs-index-wrap { padding: 48px 20px 72px; }
  .vs-post-featured { grid-template-columns: 1fr; gap: 24px; }
  .vs-post-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .vs-single-wrap { padding: 48px 20px 72px; }
  .vs-footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .vs-footer { padding: 48px 20px 28px; }
  .vs-inf-cta { flex-direction: column; gap: 16px; }
  .vs-inf-cta-btn { width: 100%; justify-content: center; }
}
@media (max-width: 580px) {
  .vs-post-featured { display: none; }
  .vs-post-grid { grid-template-columns: 1fr; }
  .vs-footer-top { grid-template-columns: 1fr; }
  .vs-content { font-size: 16px; }
  .vs-single-title { font-size: 26px; }
  .vs-inf-stats { grid-template-columns: 1fr; }
  .vs-inf-stats.vs-inf-stats-2 { grid-template-columns: 1fr; }
  .vs-inf-compare { grid-template-columns: 1fr; }
  .vs-inf-signal { grid-template-columns: 1fr; }
  .vs-inf-brand { grid-template-columns: 1fr; }
  .vs-inf-brand-num { font-size: 44px; }
}
