/* ===== Aspimate Blog — article & index styles =====
   Built entirely from variables.css tokens. No new colors introduced. */

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--text-faint); margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span[aria-current] { color: var(--text-muted); }

/* --- Tag pills --- */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; }
.tag-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .32rem .75rem; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text-muted);
}
.tag-pill.tag-delhi { border-color: rgba(245,181,71,.35); color: var(--primary-strong); background: var(--primary-soft); }
.tag-pill.tag-prayagraj { border-color: rgba(69,200,182,.35); color: var(--accent); background: var(--accent-soft); }
.tag-pill.tag-guide { border-color: var(--border-strong); color: var(--text-muted); }

/* --- Article hero --- */
.article-hero { padding-bottom: 0; }
.article-meta-row {
  display: flex; flex-wrap: wrap; gap: .9rem; align-items: center;
  font-family: var(--font-mono); font-size: .78rem; color: var(--text-faint);
  margin-top: 1.1rem;
}
.article-meta-row .dot::before { content: "•"; margin-right: .9rem; color: var(--border-strong); }

/* --- Article body (prose) --- */
.article-body {
  max-width: 720px; margin: 2.6rem auto 0;
  font-size: 1.06rem; line-height: 1.75; color: var(--text);
}
.article-body p { margin: 0 0 1.3rem; color: var(--text); }
.article-body p.lede {
  font-size: 1.18rem; color: var(--text-muted); line-height: 1.6;
}
.article-body h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.25;
  color: var(--text); margin: 2.6rem 0 1rem; letter-spacing: -.01em;
}
.article-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; color: var(--text); margin: 1.8rem 0 .8rem;
}
.article-body ul, .article-body ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.article-body ul { list-style: none; }
.article-body ul li {
  position: relative; padding-left: 1.4rem; margin-bottom: .6rem; color: var(--text);
}
.article-body ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.article-body ol { list-style: decimal; }
.article-body ol li { margin-bottom: .6rem; padding-left: .3rem; }
.article-body ol li::marker { font-family: var(--font-mono); color: var(--primary); font-weight: 700; }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary-strong); }
.article-body blockquote {
  margin: 1.8rem 0; padding: 1rem 1.3rem;
  border-left: 3px solid var(--primary); background: var(--surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text-muted); font-style: italic;
}
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 2.4rem 0; }

/* Quick-facts / stat box used inside articles */
.fact-box {
  display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 1.8rem 0; padding: 1.2rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
.fact-box div { display: flex; flex-direction: column; gap: .2rem; }
.fact-box .fact-label { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); }
.fact-box .fact-value { font-family: var(--font-display); font-weight: 700; color: var(--primary-strong); font-size: 1.05rem; }

/* --- Related posts --- */
.related-posts { max-width: 720px; margin: 3.2rem auto 0; }
.related-posts h2 {
  font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1rem; color: var(--text);
}
.related-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.related-card {
  display: block; padding: 1.1rem; border: 1px solid var(--border);
  background: var(--surface); border-radius: var(--r-md);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.related-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.related-card .related-eyebrow { font-family: var(--font-mono); font-size: .68rem; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.related-card h3 { font-size: .95rem; margin-top: .4rem; color: var(--text); line-height: 1.4; }

/* --- Post index grid (blog.html) --- */
.post-grid {
  display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}
.post-card {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.4rem; border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--r-lg); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card h2 { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.35; color: var(--text); font-weight: 700; }
.post-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.55; flex: 1; }
.post-card .post-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--text-faint); }
.post-card .read-more { font-family: var(--font-mono); font-size: .78rem; color: var(--primary); }

/* --- Section labels on the index page --- */
.index-section-label {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-faint);
  margin: 3rem 0 0; padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}

@media (max-width: 640px) {
  .article-body { font-size: 1rem; }
  .fact-box { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
}