/* PERCEPTRIC BLOG · scoped to .pc-blog · mirrors .pc-home */

.pc-blog {
  --brand: #0943B0;
  --brand-fg: #2E6BE0;
  --brand-deep: #062E7A;
  --brand-bg: #E8EFFC;
  --brand-pale: #F4F8FE;
  --line: #000000;
  --ink: #0B0D12;
  --n700: #232A38;
  --ink-2: #2B3242;
  --g600: #4A5363;
  --g500: #7C8697;
  --border: #D9DEE6;
  --border-faint: #EDF0F4;
  --on-dark: #FFFFFF;
  --on-dark-2: #C9CFDA;
  --white: #FFFFFF;
  --paper: #F8F8FF;
  --bg-ink: #0B0D12;
  --bg-ink-2: #171B23;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.pc-blog *, .pc-blog *::before, .pc-blog *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font); }
.pc-blog a { color: var(--brand-fg); }
.pc-blog img { max-width: 100%; }
.pc-blog .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── SHARED ───────────────────────────── */
.pc-blog .section { padding: 96px 0; }
.pc-blog .section + .section { border-top: 1px solid var(--border); }
.pc-blog .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-bottom: 28px; margin-bottom: 44px; border-bottom: 2px solid var(--line); }
.pc-blog .sec-head h2 { font-size: 44px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; color: var(--ink); max-width: 560px; }
.pc-blog .sec-head p { font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--ink-2); max-width: 460px; justify-self: end; }

.pc-blog .frame { background: var(--white); border: 2px solid var(--line); border-radius: 6px; overflow: hidden; }
.pc-blog .lift { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pc-blog .lift:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--brand); }

.pc-blog .badge { font-size: 12px; font-weight: 500; color: var(--white); background: var(--brand); border-radius: 2px; padding: 4px 8px; white-space: nowrap; }

.pc-blog .text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink) !important; text-decoration: none !important; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .15s, border-color .15s; }
.pc-blog .text-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }

.pc-blog .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none !important;
  font-size: 16px; font-weight: 500; padding: 15px 24px; border-radius: 4px; border: 2px solid var(--line); cursor: pointer;
  transition: background .15s, color .15s, transform .15s var(--ease), box-shadow .15s var(--ease);
}
.pc-blog .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO ─────────────────────────────── */
.pc-blog .hero { position: relative; overflow: hidden; padding: 96px 0 80px; border-bottom: 2px solid var(--line); }
.pc-blog .hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.pc-blog .hero .wrap { position: relative; z-index: 1; }
.pc-blog .hero h1 { font-size: 46px; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); text-align: center; max-width: 860px; margin: 0 auto 20px; }
.pc-blog .hero-deck { font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--ink-2); text-align: center; max-width: 620px; margin: 0 auto 40px; }

.pc-blog .tabs-row { display: flex; justify-content: center; }
.pc-blog .tabs { display: inline-flex; gap: 4px; padding: 4px; border: 2px solid var(--line); border-radius: 6px; background: var(--white); flex-wrap: wrap; justify-content: center; }
.pc-blog .tab { border-radius: 3px; padding: 12px 20px; font-size: 15px; font-weight: 500; color: var(--n700) !important; text-decoration: none !important; transition: background .15s, color .15s; }
.pc-blog .tab:hover:not(.on) { background: var(--brand-bg); color: var(--brand) !important; }
.pc-blog .tab.on { background: var(--ink); color: var(--white) !important; }
.pc-blog .tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ── LATEST ARTICLE ───────────────────── */
.pc-blog .feature { display: grid; grid-template-columns: 1.25fr 1fr; text-decoration: none !important; color: inherit; }
.pc-blog .feature-img { position: relative; min-height: 420px; background: var(--border-faint); border-right: 2px solid var(--line); overflow: hidden; }
.pc-blog .feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.pc-blog .feature:hover .feature-img img { transform: scale(1.03); }
.pc-blog .feature-body { padding: 44px 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.pc-blog .feature-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pc-blog .feature-top .post-cat { margin-bottom: 0; }
.pc-blog .feature-title { font-size: 32px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.18; color: var(--ink); margin-bottom: 16px; }
.pc-blog .feature-excerpt { font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--ink-2); margin-bottom: 22px; }
.pc-blog .post-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g600); margin-bottom: 28px; }
.pc-blog .post-meta .sep { color: var(--g500); }
.pc-blog .feature .text-link { align-self: flex-start; }
.pc-blog .feature:hover .text-link { color: var(--brand) !important; border-color: var(--brand); }
.pc-blog .feature:hover .text-link svg { transform: translateX(3px); }

/* ── ARTICLE GRID ─────────────────────── */
.pc-blog .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pc-blog .post-card { text-decoration: none !important; color: inherit; display: flex; flex-direction: column; }
.pc-blog .post-img { aspect-ratio: 16 / 9; background: var(--border-faint); border-bottom: 2px solid var(--line); overflow: hidden; }
.pc-blog .post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.pc-blog .post-card:hover .post-img img { transform: scale(1.04); }
.pc-blog .post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-blog .post-cat { font-size: 13px; font-weight: 500; color: var(--brand); margin-bottom: 10px; }
.pc-blog .post-title { font-size: 18px; font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
.pc-blog .post-excerpt { font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink-2); margin-bottom: 20px; }
.pc-blog .post-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-blog .post-read { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); transition: color .15s; }
.pc-blog .post-read svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.pc-blog .post-card:hover .post-read { color: var(--brand); }
.pc-blog .post-card:hover .post-read svg { transform: translateX(3px); }
.pc-blog .post-date { font-size: 13px; color: var(--g500); white-space: nowrap; }

/* ── PAGINATION ───────────────────────── */
.pc-blog .pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pc-blog .pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--ink) !important; text-decoration: none !important; background: var(--white); border: 2px solid var(--line); border-radius: 4px; transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; }
.pc-blog .pager a.page-numbers:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--brand); }
.pc-blog .pager .current { background: var(--ink); border-color: var(--ink); color: var(--white) !important; }
.pc-blog .pager .dots { background: transparent; border-color: transparent; }
.pc-blog .pager .prev, .pc-blog .pager .next { padding: 0 18px; }

.pc-blog .empty { font-size: 17px; color: var(--ink-2); text-align: center; }

/* ── FINAL CTA ────────────────────────── */
.pc-blog .cta-panel { background: var(--bg-ink); border: 2px solid var(--line); border-radius: 6px; box-shadow: 8px 8px 0 var(--brand); display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px; }
.pc-blog .cta-panel h2 { font-size: 38px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--on-dark); margin-bottom: 12px; }
.pc-blog .cta-panel p { font-size: 17px; font-weight: 400; line-height: 1.55; color: var(--on-dark-2); max-width: 500px; }
.pc-blog .cta-panel p a { color: var(--white); font-weight: 500; }
.pc-blog .cta-panel .btn-primary { background: var(--white); color: var(--ink) !important; border-color: var(--white); }
.pc-blog .cta-panel .btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--brand-fg); }
.pc-blog .cta-panel .btn-secondary { background: transparent; color: var(--white) !important; border: 1px solid rgba(255,255,255,.4); }
.pc-blog .cta-panel .btn-secondary:hover { background: var(--bg-ink-2); border-color: var(--white); }

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 1024px) {
  .pc-blog .feature { grid-template-columns: 1fr; }
  .pc-blog .feature-img { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--line); }
  .pc-blog .post-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-blog .cta-panel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .pc-blog .wrap { padding: 0 16px; }
  .pc-blog .section { padding: 72px 0; }
  .pc-blog .hero { padding: 56px 0 48px; }
  .pc-blog .hero h1 { font-size: 34px; }
  .pc-blog .hero-deck { margin-bottom: 32px; }
  .pc-blog .tab { padding: 10px 14px; font-size: 13px; }
  .pc-blog .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .pc-blog .sec-head p { justify-self: start; }
  .pc-blog .sec-head h2 { font-size: 32px; }
  .pc-blog .feature-body { padding: 26px 22px; }
  .pc-blog .feature-title { font-size: 24px; }
  .pc-blog .post-grid { grid-template-columns: 1fr; }
  .pc-blog .cta-panel { padding: 34px 22px; box-shadow: 5px 5px 0 var(--brand); }
  .pc-blog .cta-panel h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-blog *, .pc-blog *::before, .pc-blog *::after { transition: none !important; }
  .pc-blog .lift:hover { transform: none; }
}