/* ===== MileCheck Blog ===== */
/* Inherits tokens from ../style.css (Inter + JetBrains Mono, #00C880 accent,
   #000 text, #525252 body, #999 muted, #E5E5E5 dividers, #FAFAFA surface). */

/* --- Blog index hero --- */
.blog-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid #E5E5E5;
}
.blog-hero .eyebrow { margin-bottom: 20px; }
.blog-hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.04;
  color: #000;
  margin-bottom: 20px;
}
.blog-hero p {
  font-size: 18px;
  line-height: 1.55;
  color: #525252;
  max-width: 620px;
}

/* --- Article list --- */
.article-list { padding: 8px 0 80px; }

.article-card {
  display: block;
  padding: 36px 0;
  border-bottom: 1px solid #E5E5E5;
}
.article-card:hover { opacity: 1; }
.article-card:hover .article-card-title { color: #00B073; }

.article-card-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.article-card-cat { color: #00C880; }

.article-card-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: #000;
  margin-bottom: 12px;
  transition: color 0.15s;
  max-width: 760px;
}
.article-card-excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: #525252;
  max-width: 680px;
  margin-bottom: 14px;
}
.article-card-readmore {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #000;
}
.article-card-readmore::after { content: " →"; color: #00C880; }

/* --- Article page --- */
.article {
  padding: 64px 0 88px;
}
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.article-back {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  margin-bottom: 36px;
  display: inline-block;
}
.article-back:hover { color: #000; opacity: 1; }
.article-back::before { content: "← "; }

.article-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00C880;
  margin-bottom: 20px;
}
.article-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.08;
  color: #000;
  margin-bottom: 22px;
}
.article-meta {
  font-size: 13px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.2px;
  padding-bottom: 36px;
  margin-bottom: 40px;
  border-bottom: 1px solid #E5E5E5;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Article body typography */
.article-body { font-size: 18px; line-height: 1.7; color: #1a1a1a; }
.article-body > p { margin-bottom: 26px; }
.article-body > p:first-of-type { font-size: 20px; color: #000; line-height: 1.6; }
.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: #000;
  margin: 48px 0 18px;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #000;
  margin: 32px 0 12px;
}
.article-body strong { color: #000; font-weight: 600; }
.article-body a {
  color: #00B073;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.article-body a:hover { color: #000; opacity: 1; }
.article-body ul, .article-body ol { margin: 0 0 26px 0; padding-left: 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 10px; padding-left: 4px; }
.article-body blockquote {
  border-left: 3px solid #00C880;
  background: #FAFAFA;
  padding: 18px 24px;
  margin: 0 0 26px;
  font-size: 17px;
  color: #525252;
}
.article-body code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: #F4F4F5;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 1px 6px;
  color: #000;
}
.article-body hr {
  border: none;
  border-top: 1px solid #E5E5E5;
  margin: 44px 0;
}

/* End-of-article CTA */
.article-cta {
  margin-top: 56px;
  padding: 36px;
  border: 1px solid #E5E5E5;
  background: #FAFAFA;
  text-align: center;
}
.article-cta h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: #000;
}
.article-cta p {
  font-size: 15px;
  color: #525252;
  margin-bottom: 24px;
}

@media (max-width: 880px) {
  .blog-hero { padding: 56px 0 40px; }
  .blog-hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .article-card-title { font-size: 23px; }
  .article-title { font-size: 32px; letter-spacing: -1px; }
  .article-body { font-size: 17px; }
  .article-body > p:first-of-type { font-size: 18px; }
  .article-body h2 { font-size: 24px; }
}
