/* ═══════════════════════════════════════════
   BLOG SHOW PAGE
   ═══════════════════════════════════════════ */

/* ─── BACK BUTTON ───────────────────────── */
.ps-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s, gap 0.3s;
}
.ps-back svg { width: 16px; height: 16px; flex-shrink: 0; }
.ps-back:hover { color: var(--white); gap: 0.75rem; }

/* ─── BADGE & CHIPS ─────────────────────── */
.ps-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8eb7ff;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.24);
  border-radius: 999px;
  padding: 4px 10px;
}
.ps-badge--sm { font-size: 0.6rem; padding: 4px 10px; }
.ps-chips { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.ps-chip {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ─── HERO ──────────────────────────────── */
.bs-hero {
  position: relative;
  min-height: 75svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.bs-hero-bg { position: absolute; inset: 0; z-index: 0; }
.bs-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45) saturate(0.85); }
.bs-hero-bg-fallback {
  width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(59,130,246,0.18) 0%, transparent 50%),
              radial-gradient(circle at 75% 60%, rgba(107,181,224,0.14) 0%, transparent 45%), #0a0a0a;
}
.bs-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,0.55) 45%, rgba(8,8,8,0.1) 100%),
              linear-gradient(to right, rgba(8,8,8,0.5) 0%, transparent 60%);
}
.bs-hero-inner {
  position: relative; z-index: 2;
  padding: 2rem 6% 5rem;
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
  max-width: 1300px; width: 100%; margin: 0 auto;
}
.bs-hero-body { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; max-width: 820px; text-align: center; }
.bs-title {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

/* ─── BODY ──────────────────────────────── */
.bs-body { padding: 5rem 6%; border-top: 1px solid var(--border); }
.bs-container { max-width: 780px; margin: 0 auto; }
.bs-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.bs-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
}
.bs-content h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--white); margin: 3rem 0 1rem; }
.bs-content h3 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--white); margin: 2.5rem 0 0.75rem; }
.bs-content p { margin-bottom: 1.4rem; }
.bs-content img { width: 100%; border-radius: 14px; margin: 2rem 0; border: 1px solid var(--border); }
.bs-content ul, .bs-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.bs-content li { margin-bottom: 0.5rem; }
.bs-content strong { color: var(--white); }
.bs-content a { color: var(--accent); text-decoration: underline; }
.bs-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(59,130,246,0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(255,255,255,0.7);
}
.bs-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* ─── RELATED ────────────────────────────── */
.bs-related { padding: 5rem 6%; border-top: 1px solid var(--border); }
.bs-related-header { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.bs-related-header h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); }
.ps-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ps-rel-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s;
}
.ps-rel-card:hover { border-color: rgba(59,130,246,0.25); transform: translateY(-4px); }
.ps-rel-thumb { aspect-ratio: 16/10; overflow: hidden; }
.ps-rel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ps-rel-card:hover .ps-rel-thumb img { transform: scale(1.04); }
.ps-rel-info { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ps-rel-info h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.4; color: var(--white); }
.ps-rel-info p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.ps-rel-link { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: 0.4rem; }

/* ─── CTA ────────────────────────────────── */
.ps-cta {
  position: relative;
  padding: 8rem 6%;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.ps-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.ps-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.ps-cta-inner h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(2rem, 5vw, 3.5rem); color: var(--white); line-height: 1.2; }
.ps-cta-inner h2 em { font-style: normal; color: #6BB5E0; }
.ps-cta-inner p { font-size: 1.05rem; color: var(--gray); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 640px) {
  .bs-hero { min-height: 65svh; }
  .bs-hero-inner { padding: 1.5rem 5% 3rem; }
  .bs-body { padding: 3rem 5%; }
  .bs-related { padding: 3rem 5%; }
  .ps-cta { padding: 5rem 5%; }
  .bs-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
}
