/* =========================================================
   TRUE CARE TECHNOLOGY — Blog Detail Page
   Sticky Sidebar + Scrolling Article Content
   ========================================================= */

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --blue:        #0d5cf5;
  --blue-dark:   #0b1e3f;
  --blue-mid:    #1a3a6e;
  --blue-light:  #e8f0fe;
  --accent:      #1ea7ff;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Archivo', sans-serif;
  --font-body:    'Inter', sans-serif;

  --sidebar-w:   280px;
  --sticky-top:  90px;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.10);
  --shadow-md:   0 8px 32px rgba(0,0,0,.12);

  --transition:  0.25s ease;
  --t:           cubic-bezier(.65,.05,.36,1);
}

/* ── Reset & Base ───────────────────────────────────────── */

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

em { font-style: normal; color: var(--blue); }
strong { font-weight: 700; }

/* ── Section Eyebrow ────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow .line { width: 32px; height: 2px; background: var(--blue); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--white:hover { background: var(--blue-light); transform: translateY(-1px); }

/* ── Topbar ─────────────────────────────────────────────── */
/* .topbar { background: #0b1e3f; font-size: 0.8rem; color: rgba(255,255,255,0.75); }

.topbar i { color: #1ea7ff; margin-right: 6px; } */

.topbar__social a:hover { background: #0d5cf5; color: #fff; }

/* ── Header ─────────────────────────────────────────────── */
/* .site-header / .brand__name / .brand__sub / .nav a: shared.css owns these now (were
   byte-identical duplicates that risked drifting from the header on every other page
   if only edited here). */
.header__cta { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px; font-size: 0.82rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.05em; border: none; background: var(--blue); color: #fff; cursor: pointer; font-weight: 700; }

.menu-toggle span { width: 24px; height: 2px; background: #0b1e3f; transition: all .3s var(--t); }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--transition); }

.breadcrumb i { font-size: 0.55rem; color: rgba(255,255,255,.3); }

/* ── Article Hero ───────────────────────────────────────── */
.article-hero {
  position: relative;
  background: var(--blue-dark);
  padding: 80px 0 90px;
  overflow: hidden;
}
.article-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 50%, rgba(13,92,245,.22) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(30,167,255,.14) 0%, transparent 60%);
  pointer-events: none;
}
.article-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.article-hero__inner { position: relative; z-index: 2; width: 100%; }

.article-hero__content {
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
}
.article-hero__left { flex: 1; min-width: 0; }

.article-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 8px;
}
.article-hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
}
.article-hero__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,.68);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.75;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.meta-author { display: flex; align-items: center; gap: 10px; transition: opacity .25s ease; }
.meta-author:hover { opacity: .75; }
.meta-author__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.15);
}
.meta-author__avatar--1 { background: linear-gradient(135deg, #0d5cf5, #1ea7ff); }
.meta-author__info { display: flex; flex-direction: column; gap: 2px; }
.meta-author__name { font-family: var(--font-heading); font-size: 0.88rem; font-weight: 700; color: #fff; }
.meta-author__role { font-size: 0.75rem; color: rgba(255,255,255,.45); }
.meta-divider { width: 1px; height: 28px; background: rgba(255,255,255,.15); }
.meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: rgba(255,255,255,.55); }
.meta-item i { color: var(--accent); font-size: 0.75rem; }

.article-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Compare Visual */
.article-hero__visual { flex-shrink: 0; width: 340px; }
.compare-visual {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.compare-visual__side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 44px 24px;
}
.compare-visual__side--left { background: linear-gradient(160deg, #0b1e3f 0%, #1a3a6e 100%); }
.compare-visual__side--right { background: linear-gradient(160deg, #122c54 0%, #1ea7ff 100%); }
.compare-visual__icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
}
.compare-visual__label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  text-align: center;
  line-height: 1.4;
}
.compare-visual__vs {
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,.3);
  background: rgba(0,0,0,.2);
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* ── Page Body ──────────────────────────────────────────── */

/* ── Sidebar ────────────────────────────────────────────── */

/* Meta Card */
.sidebar-card--meta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  border-color: transparent;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}
.sidebar-meta__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(13,92,245,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  border: 1px solid rgba(30,167,255,.3);
}
.sidebar-meta__info { min-width: 0; }
.sidebar-meta__category {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.sidebar-meta__stats {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,.55);
}
.sidebar-meta__stats i { color: var(--accent); margin-right: 4px; }

/* TOC card */
.sidebar-card__heading {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: all var(--transition);
  border-left: 2px solid transparent;
}

/* Share Card */
.share-btns { display: flex; flex-direction: column; gap: 8px; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-700);
  transition: all var(--transition);
  width: 100%;
}
.share-btn:hover { background: var(--white); border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.share-btn--linkedin:hover { border-color: #0077b5; color: #0077b5; background: rgba(0,119,181,.06); }
.share-btn--x:hover { border-color: #000; color: #000; background: rgba(0,0,0,.04); }
.share-btn--copy:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.share-btn i { width: 16px; text-align: center; }

/* Related List */
.related-list { display: flex; flex-direction: column; gap: 14px; }
.related-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: opacity var(--transition);
}
.related-item:hover { opacity: 0.8; }
.related-item__thumb {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
}
.related-item__thumb--vision  { background: linear-gradient(135deg, #0b2d52, #0d5cf5); }
.related-item__thumb--compliance { background: linear-gradient(135deg, #122c54, #1ea7ff); }
.related-item__thumb--howto  { background: linear-gradient(135deg, #0d5cf5, #0942b8); }
.related-item__info { flex: 1; min-width: 0; }
.related-item__title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-item:hover .related-item__title { color: var(--blue); }
.related-item__meta { font-size: 0.72rem; color: var(--gray-400); }

/* CTA Card */

/* ── Content Main ───────────────────────────────────────── */
.content-main { min-width: 0; display: flex; flex-direction: column; gap: 0; }

.content-body-image {
  margin-bottom: 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content-body-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── Content Section ────────────────────────────────────── */
.content-section {
  display: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
}
.content-section.active {
  display: block;
  animation: section-in .35s ease forwards;
}
@keyframes section-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--accent) 60%, transparent 100%);
  border-radius: 2px;
  margin-bottom: 28px;
}
.section-body {
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 18px;
}

.section-body strong { color: var(--gray-800); }

.subsection-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin: 28px 0 14px;
}

/* ── Callouts ───────────────────────────────────────────── */
.callout {
  display: flex;
  gap: 16px;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 24px 0;
  align-items: flex-start;
}
.callout--info {
  background: rgba(13,92,245,.06);
  border: 1px solid rgba(13,92,245,.18);
}
.callout--info .callout__icon { color: var(--blue); }
.callout--highlight {
  background: linear-gradient(135deg, #0b1e3f 0%, #1a3a6e 100%);
  border: 1px solid rgba(30,167,255,.2);
}
.callout--highlight .callout__icon { color: var(--accent); }
.callout--highlight .callout__body { color: rgba(255,255,255,.85); }
.callout--highlight .callout__body strong { color: var(--accent); }
.callout--cta {
  background: var(--blue-light);
  border: 1px solid rgba(13,92,245,.2);
}
.callout--cta .callout__icon { color: var(--blue); }
.callout__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px;
  text-align: center;
}
.callout__body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-700);
}
.callout__body strong { color: var(--gray-800); }

/* ── Mini Stats ─────────────────────────────────────────── */

.mini-stat__label { font-size: 0.75rem; font-family: var(--font-heading); font-weight: 600; color: var(--gray-500); letter-spacing: 0.3px; line-height: 1.4; }

/* ── Feature / Limitation Lists ─────────────────────────── */
.features-list, .limitations-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-top: 16px;
}
.features-list li, .limitations-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.55;
}
.features-list li i {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem;
  margin-top: 2px;
}
.limitations-list li i {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.58rem;
  margin-top: 2px;
}

/* ── Pull Quote ─────────────────────────────────────────── */
.pullquote {
  margin: 32px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--blue);
  background: var(--gray-50);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.pullquote blockquote {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.65;
  margin-bottom: 12px;
  font-style: italic;
}
.pullquote cite { font-size: 0.82rem; color: var(--gray-400); font-style: normal; }

/* ── Spec Table ─────────────────────────────────────────── */

.spec-table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; width: 38%; }

.spec-table thead th i { margin-right: 6px; color: var(--accent); }

.spec-table tbody td:first-child { font-weight: 600; color: var(--gray-800); }
.spec-group-header td {
  background: var(--gray-800) !important;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px !important;
}

.cell--good { color: #16a34a; font-weight: 600; }
.cell--good i { color: #16a34a; margin-right: 6px; }
.cell--bad { color: #dc2626; font-weight: 600; }
.cell--bad i { color: #dc2626; margin-right: 6px; }
.cell--mid { color: #d97706; font-weight: 600; }
.cell--mid i { color: #d97706; margin-right: 6px; }

/* ── Decision Grid ──────────────────────────────────────── */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.decision-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.decision-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--t);
}
.decision-card:hover { border-color: var(--blue); background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.decision-card:hover::after { transform: scaleX(1); }
.decision-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 10px;
}
.decision-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 14px;
}
.decision-card__icon--blue   { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); }
.decision-card__icon--teal   { background: linear-gradient(135deg, #0891b2, #0e7490); }
.decision-card__icon--orange { background: linear-gradient(135deg, #d97706, #b45309); }
.decision-card__icon--green  { background: linear-gradient(135deg, #059669, #047857); }
.decision-card__icon--purple { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.decision-card__title { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 800; color: var(--gray-800); line-height: 1.35; margin-bottom: 10px; }
.decision-card__body { font-size: 0.85rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 14px; }
.decision-card__verdict {
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.5;
}
.decision-card__verdict--blue   { background: rgba(13,92,245,.08);  color: var(--blue); }
.decision-card__verdict--teal   { background: rgba(8,145,178,.08);  color: #0891b2; }
.decision-card__verdict--orange { background: rgba(217,119,6,.08);  color: #d97706; }
.decision-card__verdict--green  { background: rgba(5,150,105,.08);  color: #059669; }
.decision-card__verdict--purple { background: rgba(124,58,237,.08); color: #7c3aed; }

/* ── Takeaways ──────────────────────────────────────────── */
.takeaways-list { display: flex; flex-direction: column; gap: 0; margin: 24px 0; }
.takeaway {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.takeaway:last-child { border-bottom: none; }
.takeaway__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
  min-width: 32px;
  opacity: 0.6;
}
.takeaway__body {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  padding-top: 4px;
}
.takeaway__body strong { color: var(--gray-800); }

/* ── Author Bio ─────────────────────────────────────────── */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-top: 36px;
}
.author-bio__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--gray-200);
}
.author-bio__avatar--1 { background: linear-gradient(135deg, #0d5cf5, #1ea7ff); }
.author-bio__info { flex: 1; min-width: 0; }
.author-bio__name { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; color: var(--gray-800); margin-bottom: 2px; }
.author-bio__role { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.author-bio__desc { font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 14px; }
.author-bio__social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  transition: opacity var(--transition);
}
.author-bio__social a:hover { opacity: 0.7; }

/* ── Post Tags ──────────────────────────────────────────── */
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.post-tags__label { font-size: 0.8rem; font-weight: 600; color: var(--gray-400); }
.post-tag-link {
  padding: 4px 12px;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
}
.post-tag-link:hover { background: var(--blue); color: var(--white); }

/* Post Tag (inline) */
.post-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(13,92,245,.08);
  color: var(--blue);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.post-tag--compliance { background: rgba(8,145,178,.1); color: #0891b2; }
.post-tag--case { background: rgba(11,30,63,.08); color: var(--blue-dark); }

/* ── Related Strip ──────────────────────────────────────── */
.related-strip {
  background: var(--off-white);
  padding: 80px 0 90px;
  border-top: 1px solid var(--gray-200);
}
.related-strip__head { margin-bottom: 48px; }
.related-strip__title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}
.related-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Post Card (reused from blog listing) */
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  overflow: hidden;
  transition: all .4s var(--t);
  position: relative;
  display: flex;
  flex-direction: column;
}
.post-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--blue);
  transition: width .4s var(--t);
  z-index: 2;
}
.post-card:hover { transform: translateY(-8px); border-color: var(--blue); box-shadow: 0 24px 50px rgba(13,92,245,.14); }
.post-card:hover::before { width: 100%; }
.post-card__thumb {
  aspect-ratio: 16/9;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.post-card__thumb--metal    { background: linear-gradient(135deg, #0b1e3f, #1a3a6e); }
.post-card__thumb--vision   { background: linear-gradient(135deg, #0b2d52, #0d5cf5); }
.post-card__thumb--capsule  { background: linear-gradient(135deg, #0b3a6e, #0d5cf5); }
.post-card__thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.post-card__thumb-icon { font-size: 2.8rem; color: rgba(255,255,255,.85); position: relative; z-index: 1; filter: drop-shadow(0 4px 16px rgba(0,0,0,.3)); }
.post-card__read-time {
  position: absolute; bottom: 14px; right: 14px;
  padding: 5px 12px;
  background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 50px;
  font-family: var(--font-heading); font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,.9);
  z-index: 2;
  display: flex; align-items: center; gap: 5px;
}
.post-card__read-time i { color: var(--accent); font-size: 0.65rem; }
.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; line-height: 1.35; transition: color var(--transition); font-family: var(--font-heading); color: var(--gray-800); }
.post-card:hover .post-card__title { color: var(--blue); }
.post-card__excerpt { color: var(--gray-500); font-size: 0.87rem; line-height: 1.68; margin-bottom: 18px; flex: 1; }
.post-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
  transition: gap var(--transition); margin-top: auto;
}
.post-card__link:hover { gap: 14px; }
.post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.post-meta__author { display: flex; align-items: center; gap: 6px; }
.post-meta__avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.post-meta__avatar--1 { background: linear-gradient(135deg, #0d5cf5, #1ea7ff); }
.post-meta__avatar--2 { background: linear-gradient(135deg, #0b1e3f, #0d5cf5); }
.post-meta__name { font-size: 0.78rem; font-weight: 600; color: var(--gray-800); }
.post-meta__sep { color: var(--gray-300); font-size: 0.75rem; }
.post-meta__date { font-size: 0.78rem; color: var(--gray-500); }

/* ── CTA Section ────────────────────────────────────────── */

.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 90% 50%, rgba(13,92,245,.3) 0%, transparent 70%),
    radial-gradient(ellipse 30% 80% at 10% 50%, rgba(30,167,255,.15) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 50px 50px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 50px 50px;
  pointer-events: none;
}

/* ── Footer ─────────────────────────────────────────────── */
/* Matches home.css's footer (the site's reference design) — overrides shared.css's "Family B"
   footer block. Literal colors instead of var(--accent): this page redefines --accent to a
   lighter highlight (#1ea7ff) for its own unrelated content, not the true brand blue home.css's
   footer uses for its underline/hover accents. */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 90px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__grid { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 50px; padding-bottom: 70px; }
.footer__brand { flex: 0 1 240px; min-width: 200px; }
.footer__col { flex: 1 1 160px; min-width: 140px; }
.footer__brand p { color: rgba(255,255,255,0.65); margin: 22px 0; font-size: 0.95rem; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--white); transition: all .3s var(--transition);
}
.footer__social a:hover { background: var(--blue); color: var(--white); transform: translateY(-4px); }
.footer__col h5 {
  font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: none;
  font-size: 1rem; letter-spacing: 0.05em; margin-bottom: 20px;
  color: var(--white); position: relative; padding-bottom: 12px;
}
.footer__col h5::after { background: var(--blue); }
.footer__col ul li a {
  color: rgba(255,255,255,0.65); font-size: 0.92rem;
  transition: all .25s var(--transition); display: inline-flex; align-items: center; gap: 6px;
}
.footer__contact p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.7; }
.footer__contact a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 10px;
  transition: none;
}
.footer__contact a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: normal;
  flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ── Back To Top ────────────────────────────────────────── */

.back-to-top:hover { background: #0b4fd9; transform: translateY(-2px); }

/* ── Scroll Reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-body__inner { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-height: none; overflow-y: visible; }
  .sidebar-card--meta { grid-column: 1 / -1; }
  .sidebar-card--cta  { grid-column: 1 / -1; }
  .article-hero__visual { display: none; }
  .article-hero__content { gap: 0; }
  .related-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .decision-grid { grid-template-columns: 1fr; }
  .footer__grid { flex-wrap: wrap; gap: 40px; }
  .footer__brand { flex: 1 1 100%; }
  .footer__col { flex: 1 1 calc(50% - 20px); min-width: 200px; }
  .nav, .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #ffffff;
    border-top: 1px solid #e3eaf3;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(11, 30, 63, 0.08);
  }
  .nav.open ul { flex-direction: column; gap: 0; }
  .nav.open a { display: flex; width: 100%; justify-content: space-between; padding: 14px; border-bottom: 1px solid #e3eaf3; border-radius: 0; }
  .mega { display: none; }
}
@media (max-width: 768px) {
  .content-section { padding: 32px 28px; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .article-hero { padding: 56px 0 64px; }
}
@media (max-width: 640px) {
  .content-section { padding: 22px 18px; }
  .features-list, .limitations-list { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr; }
  .footer { padding-top: 44px; }
  .footer__grid { flex-direction: column; }
  .footer__brand, .footer__col { flex: 1 1 auto; width: 100%; min-width: 0; }
  .article-hero { padding: 48px 0 56px; }
  .related-strip__grid { grid-template-columns: 1fr; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .cta-section__stats { gap: 20px; }
  .article-hero__title { font-size: 2.2rem; }
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  .section-num, .takeaway__num { font-size: 1.5rem; min-width: 0; }
  .decision-card__num { font-size: 1.8rem; }
  .mini-stat__value { font-size: 1.5rem; }
  .spec-table { font-size: 0.8rem; }
  .spec-table thead th, .spec-table tbody td { padding: 9px 14px; }
}
@media (max-width: 480px) {
  .article-hero__title { font-size: 1.9rem; }
  .author-bio__avatar { width: 52px; height: 52px; }
  .spec-table thead th, .spec-table tbody td { padding: 7px 10px; font-size: 0.75rem; }
  .pullquote { padding: 20px 18px; }
}
