/* ==========================================================================
   Naraway Blog — shared design system (fable-era template)
   SINGLE SOURCE OF TRUTH for blog structure + design.

   New blogs: put NO inline <style> block. Just link this file in <head>:
     <link rel="stylesheet" href="/Blogs/blog.css">
   Then the HTML is pure content using the component classes below
   (.quick-answer, .stat-strip, .model-split, .cap-grid, .price-row,
    .decision-list, .pull-quote, .cta-card, .faq-section, .related-section …).

   Edit THIS file to restyle every blog that links it at once.
   Orange (#FF8C42) is reserved for CTAs / accents only. No emojis in copy.
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.9;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

/* Responsive safety nets — apply to every blog */
img, video, iframe { max-width: 100%; height: auto; }
pre { overflow-x: auto; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}

.article-content {
  padding: 2.5rem 0 3rem;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Sidebar — NOT sticky so ads render correctly */
.sidebar {
  padding: 2rem 0 2rem 1rem;
  position: static;
}

/* ── Breadcrumb ── */
.hero-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
}
.breadcrumb {
  font-size: 0.79rem; color: #999;
  display: flex; align-items: center; gap: 0.35rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: #999; text-decoration: none; }
.breadcrumb a:hover { color: #FF8C42; }
.bc-sep { color: #ccc; }

/* ── Headings ── */
h1 {
  font-size: 2.25rem; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.22;
  color: #0a0a0a; margin-bottom: 1.25rem;
}
h2 {
  font-size: 1.65rem; font-weight: 600;
  letter-spacing: -0.015em; line-height: 1.3;
  margin-top: 3rem; margin-bottom: 1rem;
  color: #0a0a0a; padding-bottom: 0.5rem;
  border-bottom: 1.5px solid #f0f0f0;
}
h3 {
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: -0.01em; margin-top: 2rem;
  margin-bottom: 0.75rem; color: #111;
}

/* ── Body text ── */
p { margin-bottom: 1.5rem; color: #2d2d2d; font-weight: 400; }

/* Drop cap */
.article-content > p:first-of-type::first-letter {
  font-size: 3.5rem; font-weight: 700;
  float: left; line-height: 0.85;
  margin-right: 0.1em; margin-top: 0.08em; color: #0a0a0a;
}

/* ── Article meta ── */
.article-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.82rem; color: #888;
  margin-bottom: 1.75rem; padding-bottom: 1.25rem;
  border-bottom: 1px solid #eee; flex-wrap: wrap;
}
.article-meta .meta-dot {
  width: 3px; height: 3px; background: #bbb;
  border-radius: 50%; display: inline-block;
}

/* ── Quick answer box (GEO) ── */
.quick-answer {
  background: #f9fafb; border: 1px solid #e5e7eb;
  padding: 1.25rem 1.5rem; border-radius: 6px;
  margin: 0 0 2rem;
}
.quick-answer p {
  margin: 0; font-size: 0.97rem; color: #2d2d2d;
  line-height: 1.75;
}

/* ── Links ── */
a { color: #FF8C42; text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }

/* ── Image placeholder ── */
.image-placeholder {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  width: 100%; border-radius: 8px; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem; flex-direction: column; gap: 0.9rem;
  overflow: hidden; padding: 2rem;
}
.image-placeholder img {
  width: 100%; height: auto; display: block;
}
.article-image {
  margin: 1.75rem 0 2rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid #eee;
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.image-placeholder .img-label {
  color: rgba(255,255,255,0.6); font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.04em;
}
.image-placeholder .img-title {
  color: #fff; font-size: 1.5rem; font-weight: 700;
  text-align: center; padding: 0 1rem; line-height: 1.3;
}
.img-badge {
  background: #FF8C42; color: #fff;
  padding: 0.3rem 0.9rem; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}

/* ── Model split card ── */
.model-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin: 2rem 0;
}
.split-card {
  background: #fafafa; border: 1px solid #eee;
  border-radius: 8px; padding: 1.5rem; border-top: 3px solid #0a0a0a;
}
.split-card.highlight { border-top-color: #FF8C42; }
.split-card h3 { margin-top: 0; font-size: 1.05rem; margin-bottom: 0.75rem; }
.split-card p { font-size: 0.9rem; color: #555; margin: 0; line-height: 1.6; }
.split-card .tag {
  display: inline-block; background: #f0f0f0;
  color: #555; padding: 0.2rem 0.6rem; border-radius: 12px;
  font-size: 0.72rem; font-weight: 600; margin-bottom: 0.6rem;
}
.split-card.highlight .tag { background: #fff2e8; color: #c96a0a; }

/* ── Tables (benchmark / comparison) ──
   Wrap wide tables: <div class="bench-wrap"><table>…</table></div>
   (.table-wrap is an accepted alias.) */
.bench-wrap, .table-wrap { overflow-x: auto; margin: 2rem 0; -webkit-overflow-scrolling: touch; }
table {
  width: 100%; border-collapse: collapse;
  font-size: 0.88rem; border: 1px solid #e8e8e8;
  border-radius: 6px; overflow: hidden; min-width: 580px;
}
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #efefef; }
th {
  background: #fafafa; font-weight: 600; color: #111;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fdfaf7; }
td.winner { font-weight: 700; color: #0a0a0a; }
td.winner::after { content: ' ★'; color: #FF8C42; font-size: 0.7rem; }
.bench-note {
  font-size: 0.78rem; color: #999; margin-top: 0.5rem;
  line-height: 1.6;
}

/* ── Stat strip ── */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin: 2rem 0;
}
.stat-item {
  background: #fafafa; border: 1px solid #eee;
  border-radius: 8px; padding: 1.25rem; text-align: center;
}
.stat-item .stat-num {
  font-size: 1.8rem; font-weight: 700; color: #0a0a0a;
  line-height: 1; margin-bottom: 0.3rem;
}
.stat-item .stat-label {
  font-size: 0.78rem; color: #777; font-weight: 500;
}

/* ── Capability cards ── */
.cap-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 1.5rem 0;
}
.cap-card {
  background: #fff; border: 1px solid #ebebeb;
  border-radius: 8px; padding: 1.25rem;
}
.cap-card .cap-icon {
  font-size: 1.4rem; margin-bottom: 0.5rem; display: block;
  font-style: normal;
}
.cap-card h3 {
  font-size: 0.95rem; margin-top: 0;
  margin-bottom: 0.4rem; color: #0a0a0a;
}
.cap-card p { font-size: 0.88rem; color: #555; margin: 0; line-height: 1.6; }

/* ── Classifier cards ── */
.classifier-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin: 1.5rem 0;
}
.cls-card {
  background: #fafafa; border: 1px solid #ebebeb;
  border-radius: 8px; padding: 1.25rem;
  border-top: 3px solid #e0e0e0;
}
.cls-card.cyber { border-top-color: #d44; }
.cls-card.bio { border-top-color: #4a90d9; }
.cls-card.distill { border-top-color: #e07a00; }
.cls-card h3 { font-size: 0.92rem; margin-top: 0; margin-bottom: 0.5rem; }
.cls-card p { font-size: 0.84rem; color: #555; margin: 0; line-height: 1.6; }

/* ── Pricing box (.pricing-row and .price-row are equivalent) ── */
.pricing-row, .price-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin: 1.5rem 0;
}
.price-card {
  background: #fafafa; border: 1px solid #eee;
  border-radius: 8px; padding: 1.5rem; text-align: center;
}
.price-card .model-name {
  font-size: 0.85rem; font-weight: 600; color: #777;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.price-card .price-in {
  font-size: 1.5rem; font-weight: 700; color: #0a0a0a;
}
.price-card .price-sub {
  font-size: 0.78rem; color: #999; margin-top: 0.2rem;
}
.price-card .price-out {
  font-size: 0.88rem; color: #555; margin-top: 0.4rem;
}

/* ── Decision lists ── */
.decision-list { list-style: none; padding: 0; margin: 0.5rem 0 1.5rem; }
.decision-list li {
  padding: 0.45rem 0 0.45rem 1.25rem; position: relative;
  color: #2d2d2d; font-size: 1rem; line-height: 1.65;
  border-bottom: 1px solid #f5f5f5;
}
.decision-list li:last-child { border-bottom: none; }
.decision-list li::before {
  content: ''; position: absolute; left: 0; top: 0.95rem;
  width: 6px; height: 6px; background: #FF8C42; border-radius: 50%;
}

/* ── Inline CTA ── */
.inline-cta {
  background: #FFF9E6; padding: 2px 7px;
  text-decoration: none; color: #c96a0a;
  font-weight: 600; border-radius: 3px;
}
.inline-cta:hover { background: #FFE5B4; text-decoration: none; }

/* ── Pull quote ── */
.pull-quote {
  border-left: 3px solid #FF8C42; padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0; font-size: 1.2rem; font-weight: 500;
  color: #1a1a1a; line-height: 1.55; font-style: italic;
}

/* ── CTA card (mid-article) ── */
.cta-card {
  background: #fafafa; border: 1px solid #ebebeb;
  border-top: 3px solid #FF8C42;
  padding: 1.5rem 1.75rem; margin: 2.75rem 0; border-radius: 8px;
}
.cta-card h3 {
  margin-top: 0; margin-bottom: 0.6rem;
  color: #111; font-size: 1.12rem; line-height: 1.35;
}
.cta-card p {
  margin-bottom: 1.15rem; color: #444;
  font-size: 0.95rem; line-height: 1.7;
}
.cta-button {
  background: #FF8C42; color: #fff;
  padding: 0.62rem 1.25rem; border-radius: 5px;
  text-decoration: none; display: inline-block;
  font-weight: 600; font-size: 0.9rem; line-height: 1.3;
  transition: background 0.2s;
}
.cta-button:hover { background: #e67e35; text-decoration: none; }

/* ── Article tags ── */
.article-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid #eee;
}
.article-tag {
  display: inline-block; background: #f5f5f5; color: #555;
  padding: 0.4rem 0.9rem; border-radius: 20px;
  font-size: 0.82rem; font-weight: 500; border: 1px solid #e8e8e8;
}

/* ── Sidebar cards ── */
.sidebar-card {
  background: #1a1a1a; color: #fff;
  padding: 1.75rem; border-radius: 8px;
  margin-bottom: 1.5rem; text-align: center;
}
.sidebar-card h3 { color: #FF8C42; font-size: 1.05rem; margin-top: 0; margin-bottom: 0.75rem; }
.sidebar-card p { font-size: 0.88rem; color: #ccc; margin-bottom: 1.25rem; line-height: 1.65; }
.sidebar-cta {
  background: #FF8C42; color: #fff;
  padding: 0.65rem 1.4rem; border-radius: 5px;
  font-weight: 600; font-size: 0.88rem;
  text-decoration: none; display: block; text-align: center;
  transition: background 0.2s;
}
.sidebar-cta:hover { background: #e67e35; text-decoration: none; }
.sidebar-ad {
  background: #f9f9f9; border: 1px solid #e8e8e8;
  border-radius: 6px; min-height: 250px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; color: #bbb; font-size: 0.8rem;
}

/* ── ToC ── */
.toc {
  background: #f9f9f9; padding: 1.25rem 1.5rem;
  border-radius: 8px; border: 1px solid #ebebeb; margin-bottom: 1.5rem;
}
.toc h4 {
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #888; margin-bottom: 0.75rem;
}
.toc ul { list-style: none; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: #333; font-size: 0.88rem; font-weight: 400; border-bottom: none; }
.toc a:hover { color: #FF8C42; text-decoration: none; }

/* ── FAQ ── */
.faq-section {
  margin: 3rem 0; padding: 2rem; border: 1px solid #e5e7eb;
  background: #fff; border-radius: 8px;
}
.faq-section h2 { margin-top: 0; }
.faq-item { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #f0f0f0; }
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-item h3 { font-size: 1rem; margin-top: 0; margin-bottom: 0.5rem; color: #111; }
.faq-item p { font-size: 0.95rem; margin: 0; color: #444; }

/* ── Related guides ── */
.related-section { border-top: 1px solid #e5e7eb; margin-top: 3rem; padding-top: 1.5rem; }
.related-section h2 { margin-top: 0; border-bottom: none; padding-bottom: 0; }
.related-section ul { list-style: none; padding: 0; margin-top: 0.75rem; }
.related-section li { margin-bottom: 0.5rem; }
.related-section a { font-size: 0.92rem; color: #333; font-weight: 400; }
.related-section a:hover { color: #FF8C42; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .container { grid-template-columns: 1fr; }
  .sidebar { padding: 0; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .article-content > p:first-of-type::first-letter { font-size: 2.8rem; }
  .model-split { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .classifier-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .pricing-row, .price-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .image-placeholder .img-title { font-size: 1.1rem; }
  .hero-wrap { padding: 1.25rem 1rem 0; }
  .container { padding: 0 1rem; }
  h1 { font-size: 1.6rem; }
}
