.blog-page { max-width: 760px; }

.blog-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; gap: 12px;
}
.blog-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.blog-brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 10px var(--orange-glow); }
.blog-brand span { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; }
.blog-back { color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 600; }
.blog-back:hover { color: var(--orange); }

.blog-hero { padding: 10px 20px 6px; }
.blog-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); background: var(--orange-faint); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 16px; margin-bottom: 16px;
}
.blog-hero h1 {
  font-size: 26px; font-weight: 800; line-height: 1.35; color: var(--text); margin-bottom: 10px;
}
.blog-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }

.blog-article { padding: 18px 20px 10px; font-size: 14.5px; line-height: 1.8; color: var(--text); }
.blog-figure { margin: 0 0 22px; }
.blog-figure img {
  width: 100%; height: auto; border-radius: 10px; display: block;
  border: 1px solid var(--border); box-shadow: 0 0 24px var(--orange-glow);
}
.blog-figure figcaption { font-size: 12px; color: var(--text-dim); margin-top: 8px; text-align: center; line-height: 1.5; }
.blog-article h2 { font-size: 18px; font-weight: 800; margin: 30px 0 12px; color: var(--text); }
.blog-article h3 { font-size: 15px; font-weight: 700; margin: 22px 0 8px; color: var(--orange); }
.blog-article p { margin-bottom: 14px; color: var(--text); }
.blog-article p.dim { color: var(--text-dim); font-size: 13px; }
.blog-article ul { margin: 0 0 16px 20px; }
.blog-article li { margin-bottom: 8px; line-height: 1.7; }
.blog-article strong { color: var(--orange); }
.blog-article a { color: var(--orange); text-decoration: underline; }
.blog-article a.btn { text-decoration: none; }
.blog-article a.btn-primary { color: #fff; }
.blog-article a.btn-outline { color: var(--orange); }
.blog-article a.btn-danger { color: #fff; }

.blog-cta-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px; margin: 26px 0; text-align: center; position: relative;
}
.blog-cta-box::before { content: ''; position: absolute; top: -1px; left: -1px; width: 16px; height: 16px; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); }
.blog-cta-box::after { content: ''; position: absolute; bottom: -1px; right: -1px; width: 16px; height: 16px; border-bottom: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.blog-cta-box p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 14px; }
.blog-cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.blog-cta-row .btn { width: auto; padding: 12px 22px; }

.blog-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 13px; }
.blog-table th, .blog-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.blog-table th { color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-table td { color: var(--text); }

.blog-related {
  margin: 30px 20px 0; padding-top: 18px; border-top: 1px solid var(--border);
}
.blog-related h3 { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.blog-related a {
  display: block; text-decoration: none; color: var(--text); font-size: 13.5px; font-weight: 600;
  padding: 10px 0; border-bottom: 1px solid rgba(34, 211, 238, 0.08);
}
.blog-related a:hover { color: var(--orange); }

.blog-footer {
  margin: 40px 20px 30px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.blog-footer a { color: var(--text-dim); text-decoration: none; }
.blog-footer a:hover { color: var(--orange); }

/* ── List page ── */
.blog-list { display: flex; flex-direction: column; gap: 14px; padding: 0 20px; }
.blog-card {
  display: block; text-decoration: none; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 20px; position: relative; transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--orange); }
.blog-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 14px; height: 14px; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); }
.blog-card img { width: 100%; height: auto; border-radius: 8px; display: block; margin-bottom: 14px; }
.blog-card .tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; display: block; }
.blog-card h2 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.blog-card p { font-size: 12.5px; color: var(--text-dim); line-height: 1.6; }

@media (max-width: 480px) {
  .blog-hero h1 { font-size: 21px; }
  .blog-header, .blog-hero, .blog-article { padding-left: 16px; padding-right: 16px; }
  .blog-list { padding: 0 16px; }
}

/* Blog pages */
body { background: linear-gradient(180deg, #0b0e1c 0%, #07080d 40%); }
body::before {
  background-image: radial-gradient(rgba(34,211,238,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}
body::after {
  background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(34,211,238,0.12) 0%, transparent 65%);
}
