/* ── BLOG LISTING PAGE ── */

.blog-hero {
  padding: 80px 28px 56px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.blog-hero .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.blog-hero h1 {
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.blog-hero p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.posts-grid-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  border-color: rgba(255, 40, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.post-category {
  display: inline-block;
  background: rgba(255, 40, 0, 0.12);
  border: 1px solid rgba(255, 40, 0, 0.25);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  align-self: flex-start;
}

.post-card h2 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  color: var(--text);
  margin: 0;
}

.post-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.post-card-meta .sep {
  color: var(--border);
}

.post-card-arrow {
  color: var(--muted);
  font-size: 18px;
  transition: color 0.2s, transform 0.2s;
}

.post-card:hover .post-card-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ── ARTICLE PAGE ── */

.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}

nav.breadcrumb {
  position: static;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  z-index: auto;
  height: auto;
  padding: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb .sep {
  color: var(--border);
  font-size: 15px;
}

.breadcrumb .current {
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.post-header {
  margin-bottom: 40px;
}

.post-header .post-category {
  margin-bottom: 20px;
}

.post-header h1 {
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--text);
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.post-meta .sep {
  color: var(--border);
}

.post-intro {
  font-size: 18px;
  line-height: 1.75;
  color: #c0c0c0;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

/* ── ARTICLE BODY PROSE ── */

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #d4d4d4;
}

.article-body h2 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 56px 0 20px;
  padding-top: 8px;
}

.article-body h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 40px 0 14px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body ul li::marker {
  color: var(--accent);
}

.article-body ol li::marker {
  color: var(--accent);
  font-weight: 700;
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body a {
  color: var(--warm);
  text-decoration: underline;
  text-decoration-color: rgba(255, 102, 68, 0.35);
  text-underline-offset: 3px;
  transition: color 0.18s, text-decoration-color 0.18s;
}

.article-body a:hover {
  color: var(--accent);
  text-decoration-color: rgba(255, 40, 0, 0.5);
}

/* Cost comparison table */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.article-body th {
  background: var(--bg3);
  color: var(--text);
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-body td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: #c0c0c0;
  vertical-align: top;
}

.article-body tr:last-child td {
  border-bottom: none;
}

.article-body tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.article-body td.highlight {
  color: #5cb85c;
  font-weight: 600;
}

/* ── CALLOUT BOX ── */

.callout {
  background: rgba(255, 40, 0, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 36px 0;
}

.callout p {
  margin: 0;
  font-size: 15px;
  color: #c8c8c8;
  line-height: 1.7;
}

.callout strong {
  color: var(--text);
}

/* ── ARTICLE CTA ── */

.article-cta {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
  margin-top: 64px;
  text-align: center;
}

.article-cta h3 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 12px;
}

.article-cta p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta .cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
  letter-spacing: 0.1px;
}

.article-cta .cta-btn:hover {
  background: var(--accent-h, #e02300);
  transform: translateY(-1px);
}

/* ── RESPONSIVE ── */

@media (max-width: 640px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    padding: 24px;
  }

  .article-wrap {
    padding: 28px 20px 60px;
  }

  .article-body h2 {
    font-size: 21px;
  }

  .article-cta {
    padding: 28px 22px;
  }

  .breadcrumb .current {
    max-width: 180px;
  }
}
