/* Plus Bytes — article styles. Includes every pb-* component used by imported and pipeline posts. */
.wrap--post{--w:820px}
.post{padding:clamp(1.5rem,4vw,3rem) 0 clamp(3rem,6vw,5rem)}
.post__head h1{font-size:clamp(2rem,4.4vw,3.2rem);line-height:1.05}
.post__meta{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;color:var(--muted);font-size:.92rem;margin:1rem 0 1.8rem}
.post__meta span:first-child{font-weight:600;color:var(--ink)}
.post__img{margin:0 0 2rem}.post__img img{width:100%;border-radius:var(--r-lg);box-shadow:var(--sh)}
.post--legacy .post__img{margin-bottom:1.5rem}
.draftbar{background:#fff3d6;color:#8a5a00;padding:.7em 1em;border-radius:12px;font-weight:600;font-size:.9rem}
.post__foot{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:2rem;font-size:.9rem}
.share span{font-weight:600;color:var(--ink);margin-right:.4rem}
.share a,.share button{font:500 .9rem var(--body);padding:.45em 1em;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);text-decoration:none;cursor:pointer}
.share a:hover,.share button:hover{border-color:var(--cyan)}


/* Plain article text for policy pages and posts written without the pb-blog-wrap skeleton */
.prose{font-size:1.0625rem;line-height:1.75;color:var(--ink2)}
.prose h2{font-size:clamp(1.45rem,2.6vw,1.9rem);margin:2.2em 0 .6em;line-height:1.15}
.prose h3{font-size:1.22rem;margin:1.8em 0 .5em}
.prose p{margin:0 0 1.15em}.prose a{color:var(--cyan-d);font-weight:500}
.prose ul{list-style:disc;padding-left:1.4em;margin:0 0 1.2em}.prose ol{list-style:decimal;padding-left:1.5em;margin:0 0 1.2em}
.prose li{display:list-item;margin:.4em 0}.prose li::marker{color:var(--cyan-d);font-weight:700}
.prose table{width:100%;border-collapse:collapse;margin:1.8em 0;font-size:.96rem;display:block;overflow-x:auto}
.prose th{background:var(--ink);color:#fff;text-align:left;padding:.8em 1em}.prose td{padding:.8em 1em;border-bottom:1px solid var(--line)}

/* ══ Blog design system, carried over from WPCode snippet 261 (Blog CSS Consolidated) ══ */
/* ══════════════════════════════════════════════════════
   PLUS BYTES — BLOG DESIGN SYSTEM CSS
   Append to Blog CSS 2 in WPCode (CSS snippet, Site Wide Header)
   Covers: all current and future pb-blog-wrap posts
   Last updated: May 2026
   ══════════════════════════════════════════════════════

   TABLE OF CONTENTS
   1. CSS Custom Properties
   2. Base Layout
   3. Hero Banner
   4. Stat Cards
   5. Body Typography
   6. Pull Quote
   7. Before / After Compare
   8. Use Case Cards
   9. Callout Box
   10. Section Divider
   11. CTA Block
   12. Post Footer & Tags
   13. Responsive

   USAGE NOTES
   - All rules are scoped to .pb-blog-wrap to prevent bleed
   - Paste content between <div class="pb-blog-wrap"> ... </div>
     into the WordPress post Code Editor
   - No <style> tags needed here — WPCode adds them automatically
   - Fonts (Plus Jakarta Sans, Playfair Display) loaded via
     "Fonts awesome" WPCode snippet (ID 263, Site Wide Header)
   ══════════════════════════════════════════════════════ */


/* ── 1. CSS CUSTOM PROPERTIES ─────────────────────── */

.pb-blog-wrap {
  --pb-navy:         #0f172a;
  --pb-navy-deep:    #0a1628;
  --pb-cyan:         #22b8cf;
  --pb-cyan-light:   #00c8ff;
  --pb-blue:         #2563eb;
  --pb-amber:        #f59e0b;
  --pb-orange:       #f97316;
  --pb-text-body:    #334155;
  --pb-text-primary: #0f172a;
  --pb-text-muted:   #64748b;
  --pb-bg-light:     #f8fafc;
  --pb-border:       #e2e8f0;
  --pb-card-dark:    #0d1117;
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;
}


/* ── 2. BASE LAYOUT ───────────────────────────────── */

.pb-blog-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--pb-text-body);
  -webkit-font-smoothing: antialiased;
}

.pb-blog-wrap *,
.pb-blog-wrap *::before,
.pb-blog-wrap *::after {
  box-sizing: border-box;
}

.pb-blog-wrap img {
  max-width: 100%;
  display: block;
}

.pb-blog-wrap a {
  color: var(--pb-blue);
  text-decoration: none;
}

.pb-blog-wrap a:hover {
  text-decoration: underline;
}


/* ── 3. HERO BANNER ───────────────────────────────── */

.pb-hero {
  background: linear-gradient(135deg, var(--pb-navy-deep) 0%, #1a2744 60%, #0f2a3a 100%);
  border-radius: var(--radius-lg);
  padding: 64px 48px 56px;
  margin: 40px 0 56px;
  position: relative;
  overflow: hidden;
}

.pb-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,184,207,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pb-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 10%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pb-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pb-cyan);
  background: rgba(34,184,207,0.12);
  border: 1px solid rgba(34,184,207,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pb-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pb-cyan);
  animation: pb-pulse 2s ease-in-out infinite;
}

@keyframes pb-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.pb-hero h1 {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: clamp(28px, 5vw, 42px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  position: relative;
  z-index: 1;
}

.pb-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 600px;
  position: relative;
  z-index: 1;
  margin: 0;
}

.pb-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.pb-hero-meta span {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}

.pb-hero-meta span strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}


/* ── 4. STAT CARDS ────────────────────────────────── */

.pb-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 52px;
}

.pb-stat-card {
  background: var(--pb-card-dark);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.pb-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pb-cyan), var(--pb-blue));
}

.pb-stat-card .stat-num {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--pb-cyan-light);
  line-height: 1;
  margin-bottom: 6px;
}

.pb-stat-card .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  line-height: 1.4;
}


/* ── 5. BODY TYPOGRAPHY ───────────────────────────── */

.pb-blog-wrap .pb-content h2 {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: clamp(20px, 3vw, 26px) !important;
  font-weight: 800 !important;
  color: var(--pb-text-primary) !important;
  margin: 52px 0 16px !important;
  line-height: 1.25 !important;
}

.pb-blog-wrap .pb-content h3 {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--pb-text-primary) !important;
  margin: 32px 0 12px !important;
}

.pb-blog-wrap .pb-content p {
  margin-bottom: 20px;
  color: var(--pb-text-body);
}

.pb-blog-wrap .pb-content strong {
  color: var(--pb-text-primary);
  font-weight: 600;
}

.pb-blog-wrap .pb-content ul,
.pb-blog-wrap .pb-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.pb-blog-wrap .pb-content li {
  margin-bottom: 10px;
  color: var(--pb-text-body);
}

.pb-blog-wrap .pb-content em {
  color: var(--pb-text-muted);
}


/* ── 6. PULL QUOTE ────────────────────────────────── */

.pb-pullquote {
  border-left: 4px solid var(--pb-cyan);
  background: linear-gradient(to right, rgba(34,184,207,0.06), transparent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  margin: 36px 0;
}

.pb-pullquote p {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: var(--pb-text-primary) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  font-style: italic;
}


/* ── 7. BEFORE / AFTER COMPARE ────────────────────── */

.pb-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0;
}

.pb-compare-col {
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--pb-border);
}

.pb-compare-col.before {
  background: #fff8f5;
  border-color: #fddcce;
}

.pb-compare-col.after {
  background: #f0fdf9;
  border-color: #b6f0e2;
}

.pb-compare-col h4 {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pb-compare-col.before h4 { color: #c45b2d; }
.pb-compare-col.after  h4 { color: #0d7a5a; }

.pb-compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pb-compare-col li {
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  color: var(--pb-text-body);
}

.pb-compare-col.before li::before {
  content: '✕';
  position: absolute; left: 0;
  color: #e05c2a;
  font-weight: 700;
}

.pb-compare-col.after li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #0d7a5a;
  font-weight: 700;
}


/* ── 8. USE CASE CARDS ────────────────────────────── */

.pb-usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.pb-usecase-card {
  background: var(--pb-bg-light);
  border: 1px solid var(--pb-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pb-usecase-card:hover {
  border-color: rgba(34,184,207,0.4);
  box-shadow: 0 4px 20px rgba(34,184,207,0.08);
}

.pb-usecase-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--pb-navy), #1a2a4a);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.pb-usecase-card h4 {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--pb-text-primary);
  margin-bottom: 8px;
}

.pb-usecase-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--pb-text-muted);
}


/* ── 9. CALLOUT BOX ───────────────────────────────── */

.pb-callout {
  background: var(--pb-navy);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 44px 0;
  position: relative;
  overflow: hidden;
}

.pb-callout::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,184,207,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pb-callout h3 {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--pb-cyan) !important;
  margin-bottom: 12px !important;
  position: relative;
  z-index: 1;
}

.pb-callout p {
  color: rgba(255,255,255,0.78) !important;
  margin: 0 !important;
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.7;
}


/* ── 10. SECTION DIVIDER ──────────────────────────── */

.pb-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--pb-border), transparent);
  margin: 48px 0;
  border: none;
}


/* ── 11. CTA BLOCK ────────────────────────────────── */

.pb-cta {
  background: linear-gradient(135deg, var(--pb-navy-deep) 0%, #1a3050 100%);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  margin: 60px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pb-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(34,184,207,0.15), transparent 65%);
  pointer-events: none;
}

.pb-cta h2 {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: clamp(22px, 4vw, 30px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 14px !important;
  position: relative;
  z-index: 1;
}

.pb-cta p {
  color: rgba(255,255,255,0.7) !important;
  font-size: 16px !important;
  margin: 0 0 32px !important;
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.pb-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.pb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--pb-amber), var(--pb-orange));
  color: #fff !important;
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity 0.2s, transform 0.2s;
}

.pb-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.pb-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85) !important;
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}

.pb-btn-secondary:hover {
  border-color: var(--pb-cyan);
  color: var(--pb-cyan) !important;
  text-decoration: none !important;
}


/* ── 12. POST FOOTER & TAGS ───────────────────────── */

.pb-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--pb-border);
  margin-top: 56px;
}

.pb-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pb-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--pb-bg-light);
  border: 1px solid var(--pb-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pb-text-muted);
}


/* ── 13. RESPONSIVE ───────────────────────────────── */

@media (max-width: 640px) {
  .pb-hero {
    padding: 40px 28px;
    margin: 24px 0 40px;
  }

  .pb-stat-row {
    gap: 10px;
  }

  .pb-stat-card .stat-num {
    font-size: 24px;
  }

  .pb-compare {
    grid-template-columns: 1fr;
  }

  .pb-usecase-grid {
    grid-template-columns: 1fr;
  }

  .pb-cta {
    padding: 36px 24px;
  }

  .pb-callout {
    padding: 28px 24px;
  }

  .pb-blog-wrap {
    padding: 0 16px 60px;
  }
}

.pb-blog-wrap .pb-callout h3 {
  color: var(--pb-cyan) !important;
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  position: relative;
  z-index: 1;
}

.pb-blog-wrap .pb-callout .pb-callout-title {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--pb-cyan) !important;
  margin-bottom: 12px !important;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   INFOGRAPHIC — AGENTIC AI STACK
   Append to Blog CSS Consolidated in WPCode
   Used by: agentic-ai-stack post (and any future stack/tier diagrams)
   ══════════════════════════════════════════════════════ */

/* ── Outer wrapper ── */
.pb-infographic-wrap {
  margin: 40px 0 52px;
  border-radius: var(--radius-lg);
  background: #070e1c;
  border: 1px solid #1e2d45;
  overflow: hidden;
  padding: 32px 28px 20px;
}

.pb-infographic-label {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pb-cyan);
  text-align: center;
  margin-bottom: 28px;
}

/* ── Stack layers ── */
.pb-stack-layer {
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.pb-layer-agentic  { background: linear-gradient(135deg, #0a1f35 0%, #0d2a1f 100%); border: 1px solid #1a4a35; }
.pb-layer-assistive { background: linear-gradient(135deg, #1a1f35 0%, #0f1a30 100%); border: 1px solid #2a3355; }
.pb-layer-reactive  { background: linear-gradient(135deg, #1a1520 0%, #120f1a 100%); border: 1px solid #2a2035; }

/* ── Layer badge ── */
.pb-layer-badge {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.pb-badge-agentic  { background: rgba(34,184,207,0.15); color: #22b8cf; border: 1px solid rgba(34,184,207,0.3); }
.pb-badge-assistive { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }
.pb-badge-reactive  { background: rgba(100,116,139,0.15); color: #94a3b8; border: 1px solid rgba(100,116,139,0.3); }

/* ── Layer body layout ── */
.pb-layer-body {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: start;
}

/* ── Layer left ── */
.pb-layer-title {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.pb-layer-subtitle {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.pb-layer-agentic  .pb-layer-subtitle { color: #22b8cf; }
.pb-layer-assistive .pb-layer-subtitle { color: #818cf8; }
.pb-layer-reactive  .pb-layer-subtitle { color: #64748b; }

.pb-layer-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

/* ── Example pills ── */
.pb-layer-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pb-ex-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.pb-ex-pill       { background: rgba(34,184,207,0.1);  color: #7dd3e8; border: 1px solid rgba(34,184,207,0.2); }
.pb-ex-pill.pb-ex-mid { background: rgba(99,102,241,0.1);  color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2); }
.pb-ex-pill.pb-ex-low { background: rgba(100,116,139,0.1); color: #94a3b8; border: 1px solid rgba(100,116,139,0.2); }

/* ── Layer right — stat boxes ── */
.pb-layer-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pb-layer-stat-box {
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border-left: 3px solid #22b8cf;
}

.pb-stat-mid { border-left-color: #818cf8; }
.pb-stat-low { border-left-color: #475569; }

.pb-ls-num {
  font-family: "Bricolage", ui-sans-serif, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  color: #22b8cf;
}

.pb-ls-mid { color: #818cf8; }
.pb-ls-low { color: #64748b; }

.pb-ls-label {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}

/* ── Arrow between layers ── */
.pb-stack-arrow {
  text-align: center;
  color: #1e3a50;
  font-size: 20px;
  line-height: 1;
  margin: 2px 0;
}

/* ── Footer ── */
.pb-infographic-footer {
  font-size: 11px;
  color: #334155;
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #0f1f30;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .pb-layer-body {
    grid-template-columns: 1fr;
  }

  .pb-layer-right {
    flex-direction: row;
  }

  .pb-layer-stat-box {
    flex: 1;
  }

  .pb-infographic-wrap {
    padding: 24px 16px 16px;
  }

  .pb-layer-title {
    font-size: 18px;
  }
}

.pb-blog-wrap .pb-hero h2 {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: clamp(28px, 5vw, 42px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  position: relative;
  z-index: 1;
}

.pb-blog-wrap .pb-hero .pb-hero-title {
  font-family: "Bricolage", ui-sans-serif, sans-serif !important;
  font-size: clamp(28px, 5vw, 42px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  position: relative;
  z-index: 1;
}


/* ══════════════════════════════════════════════════════
   BLOG MOBILE FIXES
   Append to Blog CSS Consolidated (WPCode ID 261)
   Breakpoint: 640px (tablets) + 420px (phones)
   Added: May 2026
   ══════════════════════════════════════════════════════ */


/* ── TABLET (640px and below) ─────────────────────── */
@media (max-width: 640px) {

  /* Base wrap */
  .pb-blog-wrap {
    padding: 0 16px 60px !important;
    max-width: 100% !important;
  }

  /* ── HERO ── */
  .pb-hero {
    padding: 32px 24px 32px !important;
    margin: 16px 0 32px !important;
    border-radius: 14px !important;
  }

  .pb-hero-eyebrow {
    font-size: 11px !important;
    padding: 5px 12px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .pb-blog-wrap .pb-hero .pb-hero-title {
    font-size: clamp(22px, 6vw, 32px) !important;
    margin-bottom: 14px !important;
  }

  .pb-hero-sub {
    font-size: 15px !important;
  }

  .pb-hero-meta {
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
  }

  /* ── STAT CARDS — stack to single column ── */
  .pb-stat-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 0 32px !important;
  }

  .pb-stat-card {
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    text-align: left !important;
  }

  .pb-stat-card::before {
    display: none !important;
  }

  .pb-stat-card::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 3px !important;
    background: linear-gradient(180deg, var(--pb-cyan), var(--pb-blue)) !important;
  }

  .pb-stat-card {
    position: relative !important;
    overflow: hidden !important;
  }

  .pb-stat-card .stat-num {
    font-size: 36px !important;
    line-height: 1 !important;
    min-width: 80px !important;
    margin-bottom: 0 !important;
  }

  .pb-stat-card .stat-label {
    font-size: 13px !important;
    text-align: left !important;
    line-height: 1.5 !important;
  }

  /* ── BODY CONTENT ── */
  .pb-blog-wrap .pb-content h2 {
    font-size: 20px !important;
    margin: 36px 0 12px !important;
  }

  .pb-blog-wrap .pb-content h3 {
    font-size: 17px !important;
    margin: 24px 0 10px !important;
  }

  .pb-blog-wrap .pb-content p {
    font-size: 16px !important;
  }

  /* ── PULL QUOTE ── */
  .pb-pullquote {
    padding: 18px 20px !important;
  }

  .pb-pullquote p {
    font-size: 16px !important;
  }

  /* ── BEFORE / AFTER COMPARE ── */
  .pb-compare {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ── USE CASE CARDS ── */
  .pb-usecase-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* ── CALLOUT BOX ── */
  .pb-callout {
    padding: 24px 20px !important;
  }

  /* ── CTA BLOCK ── */
  .pb-cta {
    padding: 32px 20px !important;
    margin: 40px 0 0 !important;
  }

  .pb-cta h2 {
    font-size: 22px !important;
  }

  .pb-cta p {
    font-size: 15px !important;
    margin-bottom: 24px !important;
  }

  .pb-cta-btns {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .pb-btn-primary,
  .pb-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  /* ── TAGS ── */
  .pb-post-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 36px !important;
  }

  .pb-tags {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* ── INFOGRAPHIC STACK ── */
  .pb-infographic-wrap {
    padding: 20px 14px 14px !important;
  }

  .pb-layer-body {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .pb-layer-right {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .pb-layer-stat-box {
    flex: unset !important;
    width: 100% !important;
  }

  .pb-stack-layer {
    padding: 18px 16px !important;
  }

  .pb-layer-title {
    font-size: 18px !important;
  }

  .pb-layer-badge {
    white-space: normal !important;
    font-size: 9px !important;
  }

  .pb-ex-pill {
    font-size: 11px !important;
    padding: 4px 10px !important;
    white-space: normal !important;
  }

  .pb-ls-num {
    font-size: 22px !important;
  }

}


/* ── PHONE (420px and below) ──────────────────────── */
@media (max-width: 420px) {

  .pb-blog-wrap {
    padding: 0 12px 48px !important;
  }

  .pb-hero {
    padding: 28px 18px 28px !important;
  }

  .pb-blog-wrap .pb-hero .pb-hero-title {
    font-size: 22px !important;
  }

  .pb-stat-card .stat-num {
    font-size: 30px !important;
    min-width: 70px !important;
  }

  .pb-cta {
    padding: 28px 16px !important;
  }

  .pb-infographic-wrap {
    padding: 16px 12px 12px !important;
  }

}


/* ══════════════════════════════════════════════════════
   BLOG LISTING PAGE — MOBILE FIXES
   ══════════════════════════════════════════════════════ */

@media (max-width: 640px) {





  /* Hide sidebar on mobile */
  .sidebar {
    display: none !important;
  }


}

@media (max-width: 640px) {
  .pb-blog-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .pb-hero {
    border-radius: 0 !important;
  }

  .pb-infographic-wrap {
    border-radius: 0 !important;
  }

  .pb-cta {
    border-radius: 0 !important;
  }

  .pb-blog-wrap .pb-content,
  .pb-blog-wrap .pb-stat-row,
  .pb-blog-wrap .pb-post-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 640px) {
  .pb-blog-wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .pb-hero {
    border-radius: 0 !important;
  }

  .pb-infographic-wrap {
    border-radius: 0 !important;
  }

  .pb-cta {
    border-radius: 0 !important;
  }

  .pb-blog-wrap .pb-content,
  .pb-blog-wrap .pb-stat-row,
  .pb-blog-wrap .pb-post-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 640px) {
  .pb-hero-eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.06em !important;
  }
}
.pb-stat-card .stat-num {
  white-space: nowrap !important;
}

/* ── Blog CTA button — dark text for contrast ── */
.pb-blog-wrap .pb-btn-primary,
.pb-blog-wrap .pb-btn-primary:hover,
.sidebar-cta-card .btn,
.sidebar-cta-card .btn:hover {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
}

/* ── NEW COMPONENT: Source Citation — added August 2026 ── */
.pb-blog-wrap .pb-source-citation {
  font-size: 13px;
  color: var(--pb-text-muted);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--pb-border);
}

.pb-blog-wrap .pb-source-citation a {
  color: var(--pb-blue);
  text-decoration: none;
}

.pb-blog-wrap .pb-source-citation a:hover {
  text-decoration: underline;
}

/* ── FEATURED IMAGE ASPECT RATIO FIX — blog listing/archive/category ── */
.blog .post-image,
.archive .post-image,
.category .post-image,
.tag .post-image,
.home .post-image {
  position: relative;
  aspect-ratio: 1200 / 628;
  overflow: hidden;
  height: auto;
}

.blog .post-image a,
.archive .post-image a,
.category .post-image a,
.tag .post-image a,
.home .post-image a {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.blog .post-image img,
.archive .post-image img,
.category .post-image img,
.tag .post-image img,
.home .post-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

/* ── READABILITY + TABLES — added 23 Sep 2026 ──
   NOTE: h2/h3 margins here use !important because Section 5 (Body
   Typography) above already sets those same properties with !important.
   Between two rules of equal specificity, !important always wins over a
   later rule that lacks it — so these margins needed !important too, or
   they would be dead code and Section 5's 52px/32px values would keep
   applying regardless of source order. */
.pb-blog-wrap .pb-content p { margin: 0 0 1.4em; line-height: 1.75; }
.pb-blog-wrap .pb-content h2 { margin: 2.2em 0 0.7em !important; }
.pb-blog-wrap .pb-content h3 { margin: 1.6em 0 0.5em !important; }
.pb-blog-wrap .pb-content ul,
.pb-blog-wrap .pb-content ol { margin: 0 0 1.4em 1.3em; }
.pb-blog-wrap .pb-content li { margin-bottom: 0.5em; line-height: 1.7; }
.pb-blog-wrap .pb-table-wrap { overflow-x: auto; margin: 1.6em 0; }
.pb-blog-wrap .pb-table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pb-blog-wrap .pb-table-wrap th,
.pb-blog-wrap .pb-table-wrap td { padding: 10px 12px; border: 1px solid var(--pb-border); text-align: left; vertical-align: top; }
.pb-blog-wrap .pb-table-wrap th { background: var(--pb-bg-light); color: var(--pb-text-primary); font-weight: 700; }
 

/* ── NEW COMPONENT: body lists — added 26 Oct 2026 ── */
.pb-blog-wrap .pb-content ul,
.pb-blog-wrap .pb-content ol {
  margin: 0 0 1.4em;
  padding-left: 1.5em;
}
.pb-blog-wrap .pb-content ul { list-style: disc outside; }
.pb-blog-wrap .pb-content ol { list-style: decimal outside; }
.pb-blog-wrap .pb-content li {
  display: list-item;
  margin: 0 0 .6em;
  padding-left: .25em;
  line-height: 1.7;
  color: var(--pb-text-body);
}
.pb-blog-wrap .pb-content li::marker { color: var(--pb-cyan); }

/* ── Adjustments for the PHP site: site fonts, no double padding, relative widths ── */
.pb-blog-wrap{max-width:none;padding:0;font-family:var(--body)}
.pb-blog-wrap h1,.pb-blog-wrap h2,.pb-blog-wrap h3,.pb-blog-wrap h4,.pb-blog-wrap .pb-hero .pb-hero-title,.pb-blog-wrap .pb-callout .pb-callout-title,.pb-blog-wrap .pb-pullquote,.pb-blog-wrap .stat-num{font-family:var(--disp)!important}
.pb-blog-wrap .pb-hero{border-radius:var(--r-lg)}
.pb-blog-wrap .pb-content ul,.pb-blog-wrap .pb-content ol{padding-left:1.4em}
.pb-blog-wrap .pb-content ul{list-style:disc}.pb-blog-wrap .pb-content ol{list-style:decimal}
.pb-blog-wrap .pb-content li{display:list-item}
.pb-blog-wrap .pb-post-cat{font-size:13px;color:var(--pb-text-muted)}.pb-blog-wrap .pb-post-cat a{color:var(--pb-blue)}
.pb-blog-wrap .pb-btn-primary{background:linear-gradient(135deg,#ffc24d,#ffb020 55%,#ff9a1f);color:#0b1530!important}
.pb-blog-wrap .excerpt-read-more{display:none}
.pb-blog-wrap hr,.pb-blog-wrap .wp-block-separator{border:0;height:1px;background:var(--pb-border);margin:2.5em 0}
.pb-blog-wrap blockquote{margin:2em 0;padding:.4em 0 .4em 1.4em;border-left:4px solid var(--pb-cyan);font-style:italic;color:var(--pb-text-primary)}
.post__body>h1:first-child{display:none}


/* ══════════════════════════════════════════════════════
   LIGHT THEME — posts published on or after the cutoff
   (config 'blog_light_from', default 2026-11-17).
   Applied through the .post--light class on the article, so
   older posts keep the original navy blocks.
   Palette: white base, brand cyan #12B5CF, brand amber #FFB020,
   navy ink for text. Darker cyan (#0e7490) is used for small text
   so it stays readable on white.
   ══════════════════════════════════════════════════════ */

.post--light .pb-blog-wrap {
  --pb-cyan: #12b5cf;
  --pb-cyan-deep: #0e7490;
  --pb-amber: #ffb020;
  --pb-tint-cyan: #ecfbfd;
  --pb-tint-amber: #fff8e6;
  --pb-line-cyan: #c9eef4;
}

/* Hero: pale cyan wash with a warm amber corner, dark text */
.post--light .pb-hero {
  background: linear-gradient(135deg, #f4fdff 0%, #e7f8fb 55%, #fff6df 100%);
  border: 1px solid var(--pb-line-cyan);
  box-shadow: 0 10px 30px -18px rgba(14, 116, 144, 0.35);
  padding: 52px 44px 44px;
}
.post--light .pb-hero::before {
  background: radial-gradient(circle, rgba(18,181,207,0.20) 0%, transparent 70%);
}
.post--light .pb-hero::after {
  width: 240px; height: 240px; bottom: -70px; left: auto; right: 8%;
  background: radial-gradient(circle, rgba(255,176,32,0.22) 0%, transparent 70%);
}
.post--light .pb-hero-eyebrow {
  color: var(--pb-cyan-deep);
  background: #fff;
  border: 1px solid var(--pb-line-cyan);
}
.post--light .pb-hero-eyebrow::before { background: var(--pb-amber); }
.post--light .pb-blog-wrap .pb-hero .pb-hero-title,
.post--light .pb-blog-wrap .pb-hero h1,
.post--light .pb-blog-wrap .pb-hero h2 { color: #0f172a !important; }
.post--light .pb-hero-sub { color: #475569; }
.post--light .pb-hero-meta { border-top: 1px solid var(--pb-line-cyan); }
.post--light .pb-hero-meta span { color: #64748b; }
.post--light .pb-hero-meta strong { color: #0f172a; }

/* Callout: pale cyan card with a cyan edge */
.post--light .pb-callout {
  background: var(--pb-tint-cyan);
  border: 1px solid var(--pb-line-cyan);
  border-left: 5px solid var(--pb-cyan);
  padding: 28px 32px;
}
.post--light .pb-callout::before {
  background: radial-gradient(circle, rgba(255,176,32,0.16) 0%, transparent 70%);
}
.post--light .pb-callout h3 { color: var(--pb-cyan-deep) !important; }
.post--light .pb-callout p { color: #334155 !important; }

/* Closing call to action: white card, soft cyan and amber glow, amber button */
.post--light .pb-cta {
  background: linear-gradient(135deg, #ffffff 0%, #f0fbfd 60%, #fff8e6 100%);
  border: 1px solid var(--pb-line-cyan);
  box-shadow: 0 14px 34px -22px rgba(14, 116, 144, 0.4);
}
.post--light .pb-cta::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(18,181,207,0.14), transparent 65%);
}
.post--light .pb-cta h2 { color: #0f172a !important; }
.post--light .pb-cta p { color: #475569 !important; }
.post--light .pb-btn-primary {
  background: linear-gradient(135deg, #ffc24d, #ffb020);
  box-shadow: 0 8px 18px -8px rgba(255, 176, 32, 0.7);
}
.post--light .pb-btn-secondary {
  border-color: var(--pb-cyan);
  color: var(--pb-cyan-deep) !important;
}
.post--light .pb-btn-secondary:hover { background: var(--pb-tint-cyan); }

/* Other components that were dark */
.post--light .pb-usecase-icon { background: var(--pb-tint-cyan); border: 1px solid var(--pb-line-cyan); }
.post--light .pb-blog-wrap .pb-table-wrap th { background: var(--pb-tint-cyan); border-color: var(--pb-line-cyan); }
.post--light .pb-blog-wrap .pb-table-wrap td { border-color: #e6eef2; }
.post--light .pb-blog-wrap .pb-table-wrap tbody tr:nth-child(even) td { background: #fbfeff; }
.post--light .pb-blog-wrap h2 { position: relative; }
.post--light .pb-content h2::after {
  content: ''; display: block; width: 44px; height: 3px; margin-top: 10px;
  border-radius: 3px; background: linear-gradient(90deg, var(--pb-cyan), var(--pb-amber));
}
.post--light .pb-tag { background: var(--pb-tint-cyan); border-color: var(--pb-line-cyan); color: var(--pb-cyan-deep); }

@media (max-width: 640px) {
  .post--light .pb-hero { padding: 30px 22px 28px !important; }
  .post--light .pb-callout { padding: 22px 20px; }
}


/* ==========================================================================
   Plus Bytes blog fixes, 18 Nov 2026
   Paste at the very bottom of /assets/css/blog.css (after all existing rules).
   Each block is scoped so it only touches the posts named in its comment.
   ========================================================================== */

/* 1. Posts: dental-clinic-ai-no-shows, agentic-ai-scientific-hardware
      Only these two use .pb-blog-post. Their own inline CSS styles the hero,
      calculator, illustration and CTA with white text for a dark block, but the
      light theme removed the dark background. This puts the navy back on those
      blocks only; the rest of each post stays light. */
.post--light .pb-blog-post .pb-hero,
.post--light .pb-blog-post .pb-calc,
.post--light .pb-blog-post .pb-cta-block,
.post--light .pb-blog-post .pb-illustration {
  background: linear-gradient(135deg, #0a1628 0%, #1a2744 60%, #0f2a3a 100%);
  border: 0;
  box-shadow: none;
  border-radius: 12px;
}
.post--light .pb-blog-post .pb-calc { padding: 24px 28px; }
.post--light .pb-blog-post .pb-illustration { padding: 16px; }

.post--light .pb-blog-post .pb-hero h1,
.post--light .pb-blog-post .pb-hero h2,
.post--light .pb-blog-post .pb-hero-body,
.post--light .pb-blog-post .pb-qtext,
.post--light .pb-blog-post .pb-qtext strong,
.post--light .pb-blog-post .pb-calc-val,
.post--light .pb-blog-post .pb-calc-total-val,
.post--light .pb-blog-post .pb-cta-block h3,
.post--light .pb-blog-post .pb-cta-block strong { color: #fff; }

.post--light .pb-blog-post .pb-calc-label,
.post--light .pb-blog-post .pb-calc-total-label,
.post--light .pb-blog-post .pb-illustration figcaption,
.post--light .pb-blog-post .pb-cta-block p { color: #cbd5e1; }

/* Bold text inside normal paragraphs was white on white. !important is needed
   because the posts' inline CSS sets the colour with !important. */
.post--light .pb-blog-post .pb-body > p strong { color: #0f172a !important; }

/* 2. Posts: introducing-plus-mailer, swiftbox-vs-outlook-free-email-alternative
      Find/Enrich/Send/Track and Connect/Sync labels were near-white on white. */
.post--light .pb-flow-label { color: #0f172a; }

/* 3. CTA buttons (all posts that use .pb-btn-primary / .pb-btn-secondary)
      The import left <br> tags inside the button links and a <p> around them,
      which made the buttons about 79px tall with the text off-centre. */
.pb-btn-primary br,
.pb-btn-secondary br { display: none; }
.pb-cta-btns p { margin: 0; }
