/* ── Blog listing + post styles (matches HelpMeBlake theme) ── */

.blog-card {
  background: rgba(17, 17, 17, 0.5);
  border: 1px solid rgba(42, 42, 42, 0.5);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.08);
}
.blog-card h3 a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-card h3 a:hover {
  color: #00f0ff;
}

.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(58, 58, 58, 0.5);
  border-radius: 9999px;
  color: #666;
  margin-right: 0.375rem;
  margin-bottom: 0.375rem;
}
.tag.active, .tag-filter.active {
  border-color: rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
}
.tag-filter {
  cursor: pointer;
  transition: all 0.2s;
}
.tag-filter:hover {
  border-color: rgba(0, 240, 255, 0.3);
  color: #a0a0a0;
}

.blog-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: #666;
  letter-spacing: 0.05em;
}

.blog-excerpt {
  color: #a0a0a0;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.pagination button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(42, 42, 42, 0.5);
  border-radius: 0.375rem;
  background: transparent;
  color: #a0a0a0;
  cursor: pointer;
  transition: all 0.2s;
}
.pagination button:hover {
  border-color: rgba(0, 240, 255, 0.3);
  color: #00f0ff;
}
.pagination button.active {
  border-color: rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
}

/* Search input */
.blog-search {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(42, 42, 42, 0.5);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #f0f0f0;
  font-size: 0.875rem;
  width: 100%;
  max-width: 400px;
  transition: border-color 0.2s;
  outline: none;
}
.blog-search:focus {
  border-color: rgba(0, 240, 255, 0.4);
}
.blog-search::placeholder {
  color: #666;
}

/* Blog post content (rendered markdown) */
.blog-content h1, .blog-content h2, .blog-content h3 {
  font-family: 'Orbitron', sans-serif;
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-content h1 { font-size: 1.75rem; }
.blog-content h2 { font-size: 1.375rem; }
.blog-content h3 { font-size: 1.125rem; }
.blog-content p {
  color: #a0a0a0;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.blog-content a {
  color: #00f0ff;
  text-decoration: none;
}
.blog-content a:hover {
  text-decoration: underline;
}
.blog-content ul, .blog-content ol {
  color: #a0a0a0;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.blog-content blockquote {
  border-left: 3px solid rgba(0, 240, 255, 0.3);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #a0a0a0;
  font-style: italic;
}
.blog-content pre {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(42, 42, 42, 0.4);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.blog-content code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: rgba(0, 240, 255, 0.8);
}
.blog-content p code {
  background: rgba(0, 240, 255, 0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}
.blog-content img {
  max-width: 100%;
  border-radius: 0.5rem;
  margin: 1rem 0;
}
.blog-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.15), transparent);
  margin: 2rem 0;
}

/* Empty state */
.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #666;
}
