/*
  ============================================================
  CJX STUDIOS — blog.css  v2.0
  Visual twin of portfolio.css:
  — 44 px grid overlay on hero  
  — Radial blue glow centred on hero  
  — Outfit headings (var(--font-head))  
  — Blue accent token system  
  — Card hover identical to portfolio cards  
  ============================================================
*/

/* ============================================
   BODY GRID BACKGROUND
   ============================================ */
body {
  background: var(--bg);
  background-image:
    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: 44px 44px;
}

/* ============================================
   BLOG HERO — portfolio-style centered layout
   ============================================ */
.blog-hero-new {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 2rem 5rem;
}

/* Portfolio-identical: subtle radial blue glow */
.blog-hero-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 60% at 50% 42%,
    rgba(43, 102, 230, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Portfolio-identical: 44 px grid overlay */
.blog-hero-new::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(
    ellipse 85% 75% at 50% 40%,
    black,
    transparent
  );
}

/* ── INNER WRAPPER ── */
.bhn-left {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bhn-right {
  display: none; /* hero is now centered — right panel removed */
}

/* ── DATELINE ── */
.bhn-dateline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 2rem;
  padding: 0.26rem 0.8rem;
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  background: var(--accent-dim);
  opacity: 0;
  animation: blog-up 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.05s forwards;
}

.bhn-dateline-rule {
  display: none;
} /* clean badge style */
.bhn-dateline-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: blog-dot 2.2s ease-in-out infinite;
}

@keyframes blog-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.bhn-dateline-text {
  color: var(--accent);
}

/* ── KICKER ── */
.bhn-kicker {
  display: none; /* absorbed into dateline */
}

/* ── HEADLINE ── */
.bhn-h1 {
  font-family: var(--font-head, "Outfit", sans-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--text, #eef2ff);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: blog-up 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.14s forwards;
}

.bhn-h1 em {
  font-style: normal;
  color: var(--accent);
}

/* ── SUBTITLE ── */
.bhn-sub {
  font-size: 1rem;
  color: var(--text-2, #8b96b5);
  line-height: 1.8;
  max-width: 480px;
  margin: 0.75rem auto 2.25rem;
  opacity: 0;
  animation: blog-up 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.24s forwards;
}

/* ── CATEGORY FILTER ROW (hero) ── */
.bhn-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: blog-up 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.32s forwards;
}

.bhn-filter {
  padding: 0.45rem 1.05rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.22s var(--ease);
  letter-spacing: 0.01em;
}

.bhn-filter:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-dim);
}

.bhn-filter.active {
  background: var(--accent-dim);
  border-color: rgba(43, 102, 230, 0.5);
  color: var(--accent);
}

/* ── AUTHOR ROW (hero) ── */
.bhn-author {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: blog-up 0.55s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
  text-align: left;
}

.bhn-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  object-fit: cover;
}

.bhn-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.bhn-author-role {
  font-size: 0.72rem;
  color: var(--text-3);
  margin-top: 0.05rem;
}

.bhn-ask {
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wa);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-md);
  border: 1px solid var(--wa-border);
  background: var(--wa-dim);
  transition: all 0.2s;
  white-space: nowrap;
}

.bhn-ask:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
}

/* ── SCROLL INDICATOR ── */
.bhn-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
  opacity: 0.28;
  animation: bhn-bob 3s ease-in-out infinite 1s;
}

.bhn-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.bhn-scroll-lbl {
  font-size: 0.58rem;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono, monospace);
}

@keyframes bhn-bob {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(5px);
  }
}

/* ── HERO ANIMATIONS ── */
@keyframes blog-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── TRUST BAR ── */
.bhn-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0.85rem 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-2);
  font-weight: 600;
}

.bhn-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bhn-trust-item i {
  color: var(--accent);
}

.bhn-trust-sep {
  width: 1px;
  height: 18px;
  background: var(--border-2);
}

/* ── FEATURED ARTICLE CARD (hero right) ── */
.bhn-feat-label {
  display: none; /* only shown when right panel visible */
}

.bhn-feat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: bhn-pulse-amber 2s ease-in-out infinite;
}

@keyframes bhn-pulse-amber {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(245, 158, 11, 0);
  }
}

.bhn-card {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s var(--ease);
  position: relative;
}

.bhn-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.bhn-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg), var(--blue-glow-md);
}

.bhn-card-visual {
  height: 130px;
  background: linear-gradient(135deg, #0b1929, #0d1f33);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bhn-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(43, 102, 230, 0.1) 1px,
    transparent 0
  );
  background-size: 22px 22px;
}

.bhn-card-emoji {
  font-size: 3rem;
  opacity: 0.18;
}

.bhn-card-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.bhn-card-stats {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  right: 0.65rem;
  display: flex;
  gap: 0.45rem;
}

.bhn-stat {
  display: flex;
  flex-direction: column;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-2);
  border-radius: 7px;
  padding: 0.3rem 0.6rem;
}

.bhn-stat-val {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.bhn-stat-lbl {
  font-size: 0.55rem;
  color: var(--text-3);
  margin-top: 0.1rem;
}

.bhn-card-body {
  padding: 1.1rem 1.35rem 1.35rem;
}

.bhn-card-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.bhn-card-cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
}

.bhn-card-time,
.bhn-card-date {
  font-size: 0.7rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.bhn-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.bhn-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bhn-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s;
}

.bhn-card:hover .bhn-card-cta {
  gap: 0.6rem;
}

/* secondary article links */
.bhn-secondary {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bhn-sec {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.95rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.22s var(--ease);
}

.bhn-sec:hover {
  border-color: var(--accent-border);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.bhn-sec-icon {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.si-blue {
  background: var(--accent-dim);
}
.si-cjxblue {
  background: var(--amber-dim);
}

.bhn-sec-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

.bhn-sec-meta {
  font-size: 0.68rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bhn-sec-arrow {
  margin-left: auto;
  color: var(--text-3);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.bhn-sec:hover .bhn-sec-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ============================================
   CATEGORY FILTER STRIP (below hero)
   ============================================ */
.blog-filter-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

.blog-filter-btn {
  padding: 0.45rem 1.05rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.blog-filter-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-dim);
}

.blog-filter-btn.active {
  background: var(--accent-dim);
  border-color: rgba(43, 102, 230, 0.5);
  color: var(--accent);
}

/* ============================================
   SECTION LABEL DIVIDER
   ============================================ */
.blog-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.blog-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ============================================
   FEATURED POST — portfolio card aesthetic
   ============================================ */
.featured-post {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
  margin-bottom: 4rem;
  position: relative;
}

/* Blue top accent line — matches portfolio cards */
.featured-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 1;
}

.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--blue-glow-md);
  border-color: var(--accent-border);
}

.fp-img-wrap {
  position: relative;
  min-height: 340px;
  background: linear-gradient(135deg, #0f1928 0%, #111318 100%);
  overflow: hidden;
}

.fp-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: 0.15;
}

.fp-img-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(43, 102, 230, 0.12) 1px,
    transparent 0
  );
  background-size: 28px 28px;
}

.fp-img-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
}

.fp-img-stat {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.fp-stat-val {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  text-align: center;
}

.fp-stat-lbl {
  font-size: 0.7rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 2px;
  line-height: 1.3;
}

.fp-stat-div {
  height: 30px;
  background: var(--border-2);
  width: 1px;
}

.fp-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fp-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.fp-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
}

.fp-readtime,
.fp-date {
  font-size: 0.78rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fp-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}

.fp-excerpt {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.fp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.fp-cta:hover {
  gap: 0.85rem;
}

.fp-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.fp-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  object-fit: cover;
}

.fp-av-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.fp-av-role {
  font-size: 0.73rem;
  color: var(--text-3);
}

/* ============================================
   POST GRID — portfolio card aesthetic
   ============================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.post-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
}

/* Blue top accent — same as portfolio cards */
.post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.post-card:hover::before {
  opacity: 1;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg), var(--blue-glow-sm);
}

.post-card.hidden {
  display: none;
}

/* ── CARD IMAGE ZONE ── */
.pc-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pc-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0.2;
}

.pc-img-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 0
  );
  background-size: 24px 24px;
}

.pc-cat-pill {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

/* ── CARD BODY ── */
.pc-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pc-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.pc-readtime,
.pc-date {
  font-size: 0.73rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pc-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.pc-excerpt {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.1rem;
}

.pc-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
  text-decoration: none;
  align-self: flex-start;
}

.post-card:hover .pc-link {
  gap: 0.7rem;
}

/* ── CARD COLOUR THEMES ── */
.pc-bg-blue {
  background: linear-gradient(135deg, #0c1829 0%, #111318 100%);
}
.pc-bg-green {
  background: linear-gradient(135deg, #091a13 0%, #111318 100%);
}
.pc-bg-cjxblue {
  background: linear-gradient(135deg, #1a1308 0%, #111318 100%);
}
.pc-bg-purple {
  background: linear-gradient(135deg, #130d1c 0%, #111318 100%);
}
.pc-bg-cyan {
  background: linear-gradient(135deg, #071620 0%, #111318 100%);
}

.pill-blue {
  background: rgba(43, 102, 230, 0.15);
  color: var(--accent);
}
.pill-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
}
.pill-cjxblue {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
}
.pill-purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
}
.pill-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
}

/* ============================================
   COMING SOON PILL
   ============================================ */
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--amber-dim);
  color: #fde68a;
  border: 1px solid var(--amber-border);
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-full);
}

/* ============================================
   BLOG SOCIAL PROOF BLOCK
   ============================================ */
.blog-social-proof {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  border-left: 4px solid var(--green);
  border-radius: var(--r-lg);
}

.bsp-stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.bsp-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin: 0 0 0.75rem;
  border: none;
  padding: 0;
}

.bsp-author {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 0.6rem;
}

.bsp-author strong {
  color: var(--text);
}

.bsp-link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.bsp-link:hover {
  text-decoration: underline;
}

/* ============================================
   CTA STRIP — portfolio bottom-cta aesthetic
   ============================================ */
.blog-cta-strip {
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-xl);
  padding: 3rem 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.blog-cta-strip::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse at center top,
    rgba(43, 102, 230, 0.1) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.bcs-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.bcs-sub {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 500px;
}

.bcs-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ============================================
   EMAIL CAPTURE SECTION
   ============================================ */
.blog-email-section {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
}

.blog-email-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.blog-email-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-family: var(--font-body);
  margin-bottom: 0.85rem;
}

.blog-email-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.blog-email-sub {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.blog-email-form {
  display: flex;
  gap: 0.6rem;
  max-width: 460px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
}

.blog-email-input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  padding: 0.8rem 1.25rem;
  color: var(--text);
  font-size: 0.93rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.blog-email-input:focus {
  border-color: var(--accent);
}

.blog-email-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.blog-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--blue-glow-md);
}

.blog-email-note {
  font-size: 0.75rem;
  color: var(--text-3);
}

/* ============================================
   BOTTOM CTA SECTION — portfolio style
   ============================================ */
.blog-bottom-cta {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-bottom-cta::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(
    ellipse at center top,
    rgba(43, 102, 230, 0.14) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.blog-bottom-cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.blog-bottom-cta h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.blog-bottom-cta p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.blog-bottom-cta-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.blog-bottom-cta-note {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ── INLINE CTA BUTTONS (used in bottom section) ── */
.btn-blog-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--wa);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: var(--wa-glow-sm);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-blog-wa:hover {
  transform: translateY(-2px);
  box-shadow: var(--wa-glow-md);
}

.btn-blog-audit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 1rem 1.75rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}

.btn-blog-audit:hover {
  background: rgba(43, 102, 230, 0.18);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .blog-hero-new {
    min-height: 75vh;
    padding: 110px 1.5rem 4rem;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .fp-img-wrap {
    min-height: 220px;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-cta-strip {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .bcs-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .bhn-h1 {
    font-size: 2.2rem;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .blog-filter-wrap {
    gap: 0.4rem;
  }

  .bhn-author {
    flex-wrap: wrap;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
