/* ==========================================================================
   ListicleBacklinks — Master-Class Blog Design System & Editorial Typography
   Primary Font: Plus Jakarta Sans (World-Class B2B SaaS Editorial Standard)
   Secondary Font: Inter & JetBrains Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400..800;1,400..800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Editorial Color Palette */
  --primary-blue: #1d4ed8;
  --primary-hover: #1e40af;
  --blue-brand: #2563eb;
  --blue-light: #eff6ff;
  --blue-tint: #f0f7ff;
  --blue-border: #bfdbfe;
  --blue-border-soft: #dbeafe;

  --dark-ink: #090d16;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --pure-white: #ffffff;
}

/* Global Reset & Typography Enforcement for Blog */
body.blog-body,
body {
  font-family: var(--font-body) !important;
  color: var(--slate-700);
  background-color: #ffffff !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.blog-body h1,
body.blog-body h2,
body.blog-body h3,
body.blog-body h4,
body.blog-body h5,
body.blog-body h6 {
  font-family: var(--font-display) !important;
}

/* ─── Reading Progress Bar ─────────────────────────────────────────────── */
#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #6366f1 100%);
  z-index: 9999;
  transition: width 0.08s ease-out;
}

/* ─── Header Backdrop Polish ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
}

.site-header .logo {
  font-family: var(--font-display) !important;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--dark-ink);
}

/* ══════════════════════════════════════════════════════════════════════════
   SINGLE BLOG ARTICLE PAGE (2-COLUMN REFERENCE DESIGN)
   Exact match to the high-authority SaaS editorial layout
   ══════════════════════════════════════════════════════════════════════════ */

.article-page-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 36px 24px 96px;
  background: #ffffff;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
  align-items: start;
}

.article-main-col {
  min-width: 0;
}

/* Back Link: ← Blog */
.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate-500);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 22px;
  transition: all 0.15s ease;
}

.back-to-blog svg {
  transition: transform 0.15s ease;
}

.back-to-blog:hover {
  color: var(--dark-ink);
}

.back-to-blog:hover svg {
  transform: translateX(-3px);
}

/* Category Pill (Exact reference style) */
.article-cat-pill {
  display: inline-block;
  padding: 5px 14px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* Headline in Plus Jakarta Sans 800 */
.article-headline {
  font-family: var(--font-display) !important;
  font-size: clamp(2.3rem, 4.3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  color: var(--dark-ink);
  line-height: 1.16;
  margin-bottom: 22px;
}

/* Author Byline Row (Avatar + Name + Role + Date) */
.article-byline-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  background: #f1f5f9;
}

.byline-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.byline-text .author-name {
  font-size: 15px;
  font-weight: 750;
  color: var(--dark-ink);
  line-height: 1.25;
}

.byline-text .author-sub {
  font-size: 13.5px;
  color: var(--slate-500);
  font-weight: 500;
}

/* Hero Cover Visual (16:9, Rounded 20px, Subtle Shadow) */
.article-hero-visual {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #0f172a;
}

.article-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* TL;DR Callout Box (Exact match to reference screenshot) */
.tldr-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 38px;
  font-size: 15.5px;
  line-height: 1.68;
  color: #1e3a8a;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.04);
}

.tldr-box strong {
  color: #1d4ed8;
  font-weight: 800;
  margin-right: 6px;
  letter-spacing: 0.01em;
}

/* Article Body Typography (High Editorial Quality) */
.article-body {
  font-family: var(--font-body) !important;
  font-size: 16.5px;
  line-height: 1.82;
  color: #334155;
  font-weight: 420;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2 {
  font-family: var(--font-display) !important;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark-ink);
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin: 50px 0 18px;
  scroll-margin-top: 100px;
}

.article-body h3 {
  font-family: var(--font-display) !important;
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--dark-ink);
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin: 34px 0 14px;
  scroll-margin-top: 100px;
}

.article-body ul, 
.article-body ol {
  margin: 16px 0 24px 22px;
  display: grid;
  gap: 10px;
}

.article-body li {
  line-height: 1.75;
}

.article-body li::marker {
  color: #2563eb;
  font-weight: 700;
}

.article-body blockquote {
  border-left: 4px solid #2563eb;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  padding: 20px 26px;
  margin: 32px 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-ink);
}

.article-body strong {
  color: var(--dark-ink);
  font-weight: 700;
}

.article-body a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s;
}

.article-body a:hover {
  color: #1d4ed8;
}

/* In-Article Conversion Card */
.in-article-cta {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 30px 28px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 20px -4px rgba(37, 99, 235, 0.08);
}

.in-article-cta-content .eyebrow-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.in-article-cta-content h3 {
  font-family: var(--font-display) !important;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-ink);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.in-article-cta-content p {
  font-size: 14px;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.5;
}

.btn-blue {
  background: #1d4ed8;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-blue:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.38);
}

/* Author Bio Card at Bottom */
.author-bio-card {
  display: flex;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #f8fafc;
  margin: 48px 0 36px;
}

.bio-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.bio-details {
  flex: 1;
}

.bio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.bio-name {
  font-family: var(--font-display) !important;
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-ink);
}

.bio-role {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}

.bio-socials {
  display: flex;
  gap: 8px;
}

.bio-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: #ffffff;
  display: grid;
  place-items: center;
  color: var(--slate-500);
  text-decoration: none;
  transition: all 0.15s;
}

.bio-socials a:hover {
  color: var(--dark-ink);
  border-color: var(--slate-400);
}

.bio-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-600);
  margin: 0;
}

/* Recommended Reading Section */
.related-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--slate-200);
}

.related-title {
  font-family: var(--font-display) !important;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-ink);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

/* ══════════════════════════════════════════════════════════════════════════
   STICKY SIDEBAR (RIGHT COLUMN)
   Exact match to the reference layout
   ══════════════════════════════════════════════════════════════════════════ */

.article-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 1. "In this page" TOC Dropdown Card */
.sidebar-toc-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.toc-dropdown-btn {
  width: 100%;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: none;
  cursor: pointer;
  font-family: var(--font-display) !important;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--dark-ink);
  text-align: left;
  transition: background 0.15s;
}

.toc-dropdown-btn:hover {
  background: #f8fafc;
}

.toc-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-chevron {
  transition: transform 0.2s ease;
  color: var(--slate-400);
}

.toc-chevron.open {
  transform: rotate(180deg);
}

.sidebar-toc-menu {
  padding: 0 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.sidebar-toc-menu::-webkit-scrollbar {
  width: 4px;
}

.sidebar-toc-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.sidebar-toc-menu.collapsed {
  display: none;
}

.sidebar-toc-link {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--slate-600);
  text-decoration: none;
  transition: all 0.15s;
  padding: 3px 0 3px 6px;
  display: block;
  border-left: 2px solid transparent;
}

.sidebar-toc-link:hover, 
.sidebar-toc-link.active {
  color: #2563eb;
  font-weight: 650;
  border-left-color: #2563eb;
  padding-left: 8px;
}

/* 2. Product CTA Card (Exact match to reference) */
.sidebar-cta-card {
  background: #f0f6ff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-cta-title {
  font-family: var(--font-display) !important;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--dark-ink);
  line-height: 1.35;
  margin-bottom: 8px;
}

.sidebar-cta-desc {
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 18px;
}

.sidebar-cta-btn {
  width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
  transition: all 0.2s;
}

.sidebar-cta-btn:hover {
  background: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.38);
}

/* 3. Utility Card (SUMMARIZE WITH AI + SHARE) */
.sidebar-util-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.sidebar-group-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 12px;
}

/* 2x2 AI Grid */
.ai-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.ai-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  color: var(--slate-700);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}

.ai-pill-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--dark-ink);
  transform: translateY(-1px);
}

.ai-pill-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Circular Share Icons */
.share-circles-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.circle-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  color: var(--slate-500);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.circle-share-btn:hover {
  background: #f8fafc;
  border-color: var(--slate-400);
  color: var(--dark-ink);
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

/* Toast Notification */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--dark-ink);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s ease;
  z-index: 10000;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════════════
   BLOG ARCHIVE / LISTING PAGE (/blog)
   ══════════════════════════════════════════════════════════════════════════ */

.blog-hero {
  padding: 64px 0 44px;
  text-align: center;
  position: relative;
}

.blog-hero .eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid #dbeafe;
}

.blog-hero .eyebrow-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.blog-hero h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--dark-ink);
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 18px;
}

.blog-hero .lede {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--slate-600);
}

/* Category Filter Navigation */
.category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto 48px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-600);
  background: #ffffff;
  border: 1px solid var(--slate-200);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cat-pill:hover {
  color: var(--dark-ink);
  border-color: var(--slate-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.cat-pill.active {
  background: var(--dark-ink);
  color: #ffffff;
  border-color: var(--dark-ink);
  box-shadow: 0 4px 14px rgba(9, 13, 22, 0.2);
}

/* Featured Hero Article Card */
.featured-card-wrapper {
  margin-bottom: 56px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.14);
  border-color: #bfdbfe;
}

.featured-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #0f172a;
}

.featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-visual img {
  transform: scale(1.03);
}

.featured-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cat-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.read-time-pill {
  font-size: 12.5px;
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.featured-body h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 14px;
  color: var(--dark-ink);
  letter-spacing: -0.035em;
  transition: color 0.2s;
}

.featured-card:hover .featured-body h2 {
  color: #2563eb;
}

.featured-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-600);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.author-avatar-img-sm {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-meta .author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-ink);
  line-height: 1.3;
}

.author-meta .author-date {
  font-size: 12.5px;
  color: var(--slate-500);
}

/* Articles Grid (3-column layout) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-bottom: 72px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

.article-card-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-thumb img {
  transform: scale(1.04);
}

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.article-card-title {
  font-family: var(--font-display) !important;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-ink);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
  transition: color 0.15s;
}

.article-card:hover .article-card-title {
  color: #2563eb;
}

.article-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--slate-100);
  font-size: 12.5px;
  color: var(--slate-500);
}

.article-author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--slate-700);
}

.article-author-mini .author-avatar-img-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

/* High-Converting Bottom Banner */
.blog-cta-banner {
  background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.35) 0%, transparent 50%),
              radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.4) 0%, transparent 60%),
              linear-gradient(135deg, #090d16 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-cta-banner h3 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
}

.blog-cta-banner p {
  color: #94a3b8;
  font-size: 15.5px;
  line-height: 1.6;
}

.blog-cta-actions .btn-white {
  background: #ffffff;
  color: var(--dark-ink);
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.blog-cta-actions .btn-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

.cta-proof-pill {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #94a3b8;
}

/* ─── Mobile Responsiveness ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar {
    position: static;
  }
  .article-page-wrap {
    padding: 24px 16px 64px;
  }
}

@media (max-width: 860px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-visual {
    min-height: 240px;
  }
  .featured-body {
    padding: 28px 24px;
  }
  .blog-cta-banner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 24px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .in-article-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
