/* ── Blog Post Page ── */

.bp-hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  padding: calc(var(--nav-h) + var(--space-12)) 0 var(--space-10);
}
.bp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}
.bp-breadcrumb a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.bp-breadcrumb a:hover { color: var(--blue-400); }
.bp-breadcrumb i { font-size: 9px; }
.bp-breadcrumb span { color: rgba(255,255,255,.65); }

.bp-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.bp-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: rgba(41,121,255,.15);
  border: 1px solid rgba(41,121,255,.25);
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--blue-400);
  text-transform: uppercase;
}
.bp-date, .bp-read-time {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bp-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: var(--space-5);
}
.bp-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 680px;
}

/* Layout */
.bp-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-10);
  padding: var(--space-12) 0 var(--space-16);
  align-items: start;
}

/* Article body */
.bp-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: var(--space-10) 0 var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.bp-body h2:first-child { margin-top: 0; border-top: none; }
.bp-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: var(--space-8) 0 var(--space-3);
}
.bp-body p {
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}
.bp-body ul, .bp-body ol {
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}
.bp-body li { margin-bottom: var(--space-2); }
.bp-body strong { color: #fff; font-weight: 600; }
.bp-body a { color: var(--blue-400); text-decoration: underline; text-decoration-color: rgba(41,121,255,.4); }
.bp-body a:hover { text-decoration-color: var(--blue-400); }

/* Callout box */
.bp-callout {
  background: rgba(41,121,255,.07);
  border: 1px solid rgba(41,121,255,.18);
  border-left: 3px solid var(--blue-400);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
}
.bp-callout-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue-400);
}
.bp-callout p {
  color: rgba(255,255,255,.7);
  margin: 0;
  font-size: .88rem;
}

.bp-callout--warning {
  background: rgba(217,119,6,.07);
  border-color: rgba(217,119,6,.18);
  border-left-color: #d97706;
}
.bp-callout--warning .bp-callout-header { color: #fbbf24; }

.bp-callout--danger {
  background: rgba(225,29,72,.07);
  border-color: rgba(225,29,72,.18);
  border-left-color: #e11d48;
}
.bp-callout--danger .bp-callout-header { color: #f87171; }

.bp-callout--success {
  background: rgba(22,163,74,.07);
  border-color: rgba(22,163,74,.18);
  border-left-color: #16a34a;
}
.bp-callout--success .bp-callout-header { color: #4ade80; }

/* Checklist */
.bp-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-5);
}
.bp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  color: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.bp-checklist li:last-child { border-bottom: none; }
.bp-checklist li i {
  color: #4ade80;
  font-size: .85rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.bp-checklist li.bp-check--bad i { color: #f87171; }
.bp-checklist li.bp-check--warn i { color: #fbbf24; }

/* Steps */
.bp-steps {
  list-style: none;
  padding: 0;
  counter-reset: bp-step;
  margin-bottom: var(--space-5);
}
.bp-steps li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-5);
  counter-increment: bp-step;
}
.bp-steps li::before {
  content: counter(bp-step);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(41,121,255,.15);
  border: 1px solid rgba(41,121,255,.3);
  color: var(--blue-400);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.bp-steps li p { margin: 0; color: rgba(255,255,255,.7); }
.bp-steps li strong { color: #fff; display: block; margin-bottom: 3px; font-size: .95rem; }

/* Comparison table */
.bp-compare {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-8);
  font-size: .88rem;
}
.bp-compare th {
  background: rgba(41,121,255,.1);
  color: var(--blue-400);
  font-weight: 700;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid rgba(41,121,255,.2);
}
.bp-compare td {
  padding: var(--space-3) var(--space-4);
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: top;
}
.bp-compare tr:last-child td { border-bottom: none; }
.bp-compare .good { color: #4ade80; font-weight: 600; }
.bp-compare .bad { color: #f87171; font-weight: 600; }
.bp-compare .mid { color: #fbbf24; font-weight: 600; }

/* Author box */
.bp-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  margin-top: var(--space-10);
}
.bp-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(41,121,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.bp-author-name {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 2px;
}
.bp-author-role {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

/* Sidebar */
.bp-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.bp-sidebar-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.bp-sidebar-card h3 {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  margin-bottom: var(--space-4);
}
.bp-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bp-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.bp-toc a:hover {
  background: rgba(41,121,255,.08);
  color: var(--blue-400);
}
.bp-cta-card {
  background: linear-gradient(135deg, rgba(41,121,255,.15) 0%, rgba(41,121,255,.05) 100%);
  border: 1px solid rgba(41,121,255,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
}
.bp-cta-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: var(--space-3);
}
.bp-cta-card p {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}
.bp-cta-card .btn { width: 100%; justify-content: center; margin-bottom: var(--space-2); }

/* Related posts */
.bp-related {
  padding: var(--space-12) 0;
  background: var(--navy-900);
}
.bp-related-header {
  margin-bottom: var(--space-8);
}
.bp-related-header h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
}
.bp-related-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.bp-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(41,121,255,.2);
}
.bp-related-img {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--blue-400);
  background: rgba(41,121,255,.08);
}
.bp-related-body { padding: var(--space-4); }
.bp-related-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: var(--space-2);
}
.bp-related-title {
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .bp-layout { grid-template-columns: 1fr; }
  .bp-sidebar { position: static; }
}
