/* ==========================================================================
   #Hireabl3 - Blog Specific Styles (Redesigned for Legibility & Visuals)
   ========================================================================== */

/* Progress Bar */
.blog-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  z-index: 100;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Base Prose - Eliminating the "Wall of Text" */
.blog-prose {
  color: #CBD5E1; /* Tailwind slate-300 */
  font-size: 1.125rem; /* 18px */
  line-height: 1.85; /* AIR: extra leading */
}

.blog-prose p {
  margin-bottom: 2rem; /* Massive spacing between paragraphs */
}

/* Bold Emphasis (Aggressive) */
.blog-prose strong {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(120deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 100%);
  padding: 0 4px;
  border-radius: 4px;
}

/* Headings */
.blog-prose h2 {
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 800;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  border-bottom: 1px solid rgba(30, 41, 59, 0.5); /* Slate 800 */
  padding-bottom: 0.75rem;
}

.blog-prose h3 {
  color: #F8FAFC; /* Slate 50 */
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* Lists */
.blog-prose ul, 
.blog-prose ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  background-color: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(30, 41, 59, 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
}

.blog-prose li {
  margin-bottom: 1rem;
}

.blog-prose li::marker {
  color: #10b981; /* Emerald 500 */
  font-weight: bold;
}

/* Blockquotes */
.blog-prose blockquote {
  border-left: 4px solid #10b981;
  background: linear-gradient(to right, rgba(16, 185, 129, 0.05), transparent);
  padding: 1.5rem 2rem;
  margin: 3rem 0;
  border-radius: 0 1rem 1rem 0;
  font-style: normal;
  font-size: 1.25rem;
  color: #F8FAFC;
  font-weight: 600;
  line-height: 1.6;
}

/* Terminal / Code Alerts */
.blog-alert {
  background-color: #020617; /* Slate 950 */
  border: 1px solid #1e293b;
  border-left: 4px solid #3b82f6; /* Blue 500 for info */
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Stats Row (Redesigned for impact) */
.blog-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 3rem 0;
}

.blog-stat-card {
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid #1e293b;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.blog-stat-card .stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.blog-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Orbitron', sans-serif;
}

.stat-good { color: #10b981; }
.stat-bad { color: #ef4444; }
.stat-neutral { color: #3b82f6; }

/* Chart Container */
.blog-chart-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #020617;
  border: 1px solid #1e293b;
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 3rem 0;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

@media (max-width: 640px) {
  .blog-chart-container {
    aspect-ratio: 4 / 3;
    padding: 1rem;
  }
}

/* Diagram Container for SVG flows */
.blog-diagram {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 1rem;
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Post Cards (Index) */
.blog-post-card {
  text-decoration: none;
}

/* Tags */
.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(30, 41, 59, 0.5);
  color: #94a3b8;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  border-radius: 9999px;
  border: 1px solid rgba(51, 65, 85, 0.5);
  transition: all 0.2s ease;
}

.blog-post-card:hover .blog-tag {
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* Byline Avatar Fix */
.blog-byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: rgba(15, 23, 42, 0.3);
  border: 1px solid #1e293b;
  border-radius: 1rem;
}

.blog-byline-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #10b981;
  object-fit: cover;
}

/* CTA Card */
.blog-cta-card {
  margin-top: 5rem;
  padding: 3rem;
  background: linear-gradient(145deg, #0f172a, #020617);
  border: 1px solid #10b981;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.1);
}

.blog-cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.blog-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #10b981;
  color: #020617;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  margin-top: 1.5rem;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.blog-cta-btn:hover {
  background-color: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

hr {
  border-color: #1e293b;
  margin: 4rem 0;
}
