/* =============================================================================
   BEST CHINA SOURCING AGENCY - BLOG & EDITORIAL DESIGN SYSTEM
   Modern, SEO-Optimized, High-Readability Editorial Layouts
   ============================================================================= */

/* --- Reading Progress Indicator --- */
#readingProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #5eead4, var(--gold));
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* --- Blog Hub Hero Section --- */
.blog-hero {
  padding: 150px 0 65px;
  background: radial-gradient(circle at 75% 25%, #1a565d 0, #142c43 40%, #0f172a 75%);
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.blog-hero .breadcrumbs {
  justify-content: center;
}
.blog-hero:before {
  display: none;
}
.blog-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.blog-hero h1 {
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}
.blog-hero h1 span {
  color: #5eead4;
}
.blog-hero p.hero-desc {
  font-size: 1.08rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 auto 24px;
  max-width: 720px;
}

/* Founder Authority Introduction Card in Hero */
.founder-intro-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 14px;
  padding: 12px 18px;
  max-width: 700px;
  margin: 0 auto 14px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.founder-intro-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0f766e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid #5eead4;
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.3);
}
.founder-intro-text b {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 2px;
}
.founder-intro-text span.founder-title {
  display: inline-block;
  color: #5eead4;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.founder-intro-text p {
  display: none;
}

/* Blog Search & Live Filter Bar */
.blog-search-bar {
  display: flex;
  align-items: center;
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.blog-search-bar input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
}
.blog-search-bar button {
  background: var(--primary);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.blog-search-bar button:hover {
  background: var(--primary-dark);
}

/* Category Filter Tabs */
.blog-filter-section {
  padding: 35px 0 15px;
  background: var(--surface);
  border-bottom: 1px solid #e2e8f0;
}
.category-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cat-pill {
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
  transform: translateY(-2px);
}
.cat-pill .cat-count {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}
.cat-pill.active .cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Card Anchor & Smooth Scroll Target Offset */
.blog-card,
#articlesGrid {
  scroll-margin-top: 100px;
}

/* High-Impact Visual Pulse When Jump Tab is Clicked */
@keyframes cardPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.7);
    transform: translateY(0);
  }
  25% {
    box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.35), 0 20px 35px rgba(13, 148, 136, 0.25);
    transform: translateY(-8px);
    border-color: var(--primary);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(13, 148, 136, 0.18), 0 15px 30px rgba(13, 148, 136, 0.2);
    transform: translateY(-5px);
    border-color: var(--primary);
  }
  100% {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    border-color: #e2e8f0;
  }
}

.blog-card.highlight-card {
  animation: cardPulseGlow 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  border-color: var(--primary) !important;
}

/* --- Featured Pillar Article Module --- */
.featured-pillar {
  padding: 55px 0 20px;
}
.featured-pillar-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.featured-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
  border-color: #99f6e4;
}
.featured-pillar-copy {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  width: fit-content;
}
.featured-pillar-copy h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--navy);
}
.featured-pillar-copy p {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}
.featured-pillar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 24px;
}
.featured-pillar-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.featured-pillar-visual {
  background: #0f172a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 320px;
}
.featured-pillar-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-pillar-card:hover .featured-pillar-visual img {
  transform: scale(1.05);
}
.featured-pillar-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0) 40%, rgba(15,23,42,0.6) 100%);
  pointer-events: none;
}
.featured-visual-art {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.3);
  z-index: 2;
}

/* --- Blog Post Grid --- */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 40px 0 60px;
}
.blog-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: #99f6e4;
}
.blog-card-thumb {
  height: 210px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  display: block;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.08);
}
.blog-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0) 50%, rgba(15,23,42,0.6) 100%);
  pointer-events: none;
}
.blog-card-thumb .cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #5eead4;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(94, 234, 212, 0.35);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 10px;
  transition: color 0.2s;
}
.blog-card:hover h3 {
  color: var(--primary);
}
.blog-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  margin-top: auto;
}
.author-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}
.author-mini-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
}
.read-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.22s ease;
}
.read-more-link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
  text-decoration: none;
}
.blog-card:hover .read-more-link {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* --- Article Detail Layout (2-Column Desktop with Sticky TOC & Author Sidebar) --- */
.article-hero {
  padding: 145px 0 50px;
  background: radial-gradient(circle at 75% 25%, #1a565d 0, #142c43 40%, #0f172a 75%);
  color: #fff;
  position: relative;
  width: 100%;
  overflow-x: clip;
}
.article-hero .breadcrumbs {
  margin-bottom: 18px;
}
.article-header-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}
.article-header-meta .meta-tag {
  background: rgba(94, 234, 212, 0.15);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.35);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.74rem;
}
.article-hero h1 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.035em;
  max-width: 960px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.article-subtitle {
  font-size: 1.15rem;
  color: #d1d5db;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 0 25px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0f766e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  border: 2px solid #5eead4;
}
.byline-details b {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.byline-details small {
  color: #94a3b8;
  font-size: 0.78rem;
}

/* Article 2-Column Content Grid */
.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  padding: 50px 0 80px;
  align-items: start;
  min-width: 0;
  width: 100%;
}

/* Sticky Sidebar (TOC + Author Card + Sourcing CTA) */
.article-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}
.sidebar-widget h4 {
  font-size: 0.88rem;
  color: var(--navy);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}
.toc-list li {
  margin-bottom: 9px;
}
.toc-list a {
  color: #64748b;
  display: block;
  padding: 4px 0 4px 8px;
  border-left: 2px solid #e2e8f0;
  transition: all 0.2s;
  text-decoration: none;
}
.toc-list a:hover,
.toc-list a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 700;
  transform: translateX(3px);
}
.sidebar-author-card {
  text-align: center;
}
.sidebar-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0f766e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 10px;
  border: 2px solid var(--primary);
  overflow: hidden;
}
.sidebar-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.sidebar-author-card b {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}
.sidebar-author-card small {
  display: block;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-author-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 14px;
}
.sidebar-author-card a.founder-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.sidebar-cta-card {
  background: linear-gradient(135deg, #0f766e, #0f172a);
  color: #fff;
  border: 0;
  text-align: center;
}
.sidebar-cta-card h4 {
  color: #5eead4;
}
.sidebar-cta-card p {
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0 0 16px;
}
.sidebar-cta-card .btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.82rem;
}

/* --- Long-Form Editorial Content Styling --- */
.article-main {
  background: #fff;
  border-radius: 18px;
  padding: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 820px;
  min-width: 0;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.article-main h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.3;
  color: var(--navy);
  margin: 45px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
  letter-spacing: -0.02em;
}
.article-main h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--navy);
  margin: 32px 0 12px;
}
.article-main p {
  margin: 0 0 20px;
}
.article-main ul,
.article-main ol {
  padding-left: 24px;
  margin: 0 0 24px;
}
.article-main li {
  margin-bottom: 10px;
}
.article-main strong {
  color: var(--navy);
}

/* Editorial Callouts & Warning Boxes (PAS Framework & Featured Snippets) */
.callout-box {
  border-radius: 14px;
  padding: 22px 26px;
  margin: 30px 0;
  position: relative;
  font-size: 0.94rem;
  line-height: 1.65;
}
.callout-box b.callout-title {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout-takeaway {
  background: #f0fdfa;
  border-left: 5px solid var(--primary);
  border: 1px solid #ccfbf1;
  border-left-width: 5px;
  border-left-color: var(--primary);
}
.callout-takeaway b.callout-title {
  color: var(--primary-dark);
}
.callout-warning {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-left: 5px solid #ef4444;
}
.callout-warning b.callout-title {
  color: #b91c1c;
}
.callout-pas-problem {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 5px solid #f59e0b;
}
.callout-pas-problem b.callout-title {
  color: #b45309;
}
.callout-case-study {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #6366f1;
}
.callout-case-study b.callout-title {
  color: #4338ca;
}

/* Rich Comparison Tables */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  display: block;
}
.editorial-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
.editorial-table th {
  background: #0f172a;
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.editorial-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: top;
}
.editorial-table tr:last-child td {
  border-bottom: 0;
}
.editorial-table tr:nth-child(even) {
  background: #f8fafc;
}
.editorial-table tr:hover {
  background: #f0fdfa;
}
.editorial-table .badge-good {
  color: #059669;
  font-weight: 700;
}
.editorial-table .badge-warn {
  color: #d97706;
  font-weight: 700;
}
.editorial-table .badge-bad {
  color: #dc2626;
  font-weight: 700;
}

/* Numbered Process Step Cards */
.step-guide-grid {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}
.step-guide-card {
  display: flex;
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.2s;
}
.step-guide-card:hover {
  border-color: var(--primary);
}
.step-guide-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ecfdfb;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 2px solid #99f6e4;
}
.step-guide-content h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 6px;
}
.step-guide-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ Accordion Module */
.article-faq-section {
  margin: 45px 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 30px;
}
.article-faq-section h3 {
  margin-top: 0;
  margin-bottom: 20px;
}
.faq-accordion-item {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.faq-accordion-header .chevron {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
  color: var(--primary);
}
.faq-accordion-header.active .chevron {
  transform: rotate(180deg);
}
.faq-accordion-body {
  padding: 0 20px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  display: none;
}
.faq-accordion-body.open {
  display: block;
}

/* Strategic Contextual Internal Linking Silo Box */
.content-silo-box {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 24px;
  margin: 40px 0;
}
.content-silo-box h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-silo-box p {
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 14px;
}
.silo-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.silo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #ccfbf1;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s;
}
.silo-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(3px);
}

/* Author Bio Card (End of Article) */
.article-author-bio {
  display: flex;
  gap: 24px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  margin: 45px 0;
}
.bio-avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0f766e);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 3px solid #5eead4;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.2);
}
.bio-details h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 2px;
}
.bio-details span.bio-title {
  display: inline-block;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.bio-details p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.bio-social-links {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
}
.bio-social-links a {
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bio-social-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Social Share Bar */
.social-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 35px 0;
}
.share-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  margin-right: 6px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.share-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
}
.share-btn.share-wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.share-btn.share-li:hover {
  background: #0077b5;
  color: #fff;
  border-color: #0077b5;
}

/* Next / Prev Navigation */
.post-pagination-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.post-nav-card {
  padding: 18px 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.post-nav-card:hover {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}
.post-nav-card small {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.post-nav-card b {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.4;
}

/* Related Posts Module */
.related-posts-section {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid #e2e8f0;
}

/* --- Responsive Media Queries --- */
/* --- Responsive Media Queries --- */
@media (max-width: 960px) {
  .featured-pillar-card {
    grid-template-columns: 1fr;
  }
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
    min-width: 0;
  }
  .article-main {
    order: 1;
    width: 100%;
    min-width: 0;
  }
  .article-sidebar {
    order: 2;
    position: static;
    width: 100%;
    min-width: 0;
  }
  .silo-links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .blog-hero {
    min-height: auto;
    padding: 125px 0 42px;
  }
  .founder-intro-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .featured-pillar-copy {
    padding: 20px;
  }
  .article-hero {
    padding: 115px 0 35px;
    width: 100%;
    overflow-x: clip;
  }
  .article-hero h1 {
    font-size: clamp(1.5rem, 6.2vw, 2.05rem);
    line-height: 1.22;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .article-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .article-header-meta {
    gap: 8px 12px;
    font-size: 0.76rem;
    margin-bottom: 14px;
  }
  .article-byline {
    gap: 12px;
    padding-top: 12px;
  }
  .byline-avatar {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .byline-details b {
    font-size: 0.88rem;
  }
  .byline-details small {
    font-size: 0.72rem;
    line-height: 1.35;
    display: block;
  }
  .article-main {
    font-size: 0.96rem;
    line-height: 1.68;
    width: 100%;
    min-width: 0;
  }
  .article-main h2 {
    font-size: 1.35rem;
    margin: 32px 0 12px;
    line-height: 1.28;
  }
  .article-main h3 {
    font-size: 1.12rem;
    margin: 24px 0 10px;
  }
  .callout-box {
    padding: 16px 18px;
    margin: 20px 0;
  }
  .step-guide-card {
    padding: 16px;
    gap: 14px;
  }
  .step-guide-num {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
  .article-author-bio {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .bio-avatar-large {
    width: 76px;
    height: 76px;
    margin: 0 auto;
  }
  .post-pagination-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .social-share-bar {
    gap: 8px;
    padding: 12px 0;
  }
  .share-btn {
    padding: 6px 10px;
    font-size: 0.74rem;
  }
  .article-faq-section {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .faq-accordion-header {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
  .content-silo-box {
    padding: 18px 16px;
  }
}
