/* Blog Page - Terminal Echo */

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  font-family: var(--font-code);
  font-size: 12px;
}

.filter-label {
  color: var(--secondary);
}

.filter-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
  outline: none;
  flex: 1;
  padding: 4px 8px;
}

.filter-input::placeholder {
  color: var(--text-dim);
}

/* ── Blog Posts ── */
.posts-list {
  list-style: none;
}

.post-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--border);
}

.post-item:last-child {
  border-bottom: none;
}

.post-meta {
  font-family: var(--font-code);
  font-size: 11px;
  color: var(--secondary);
  margin-bottom: 4px;
}

.post-title {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 8px;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-excerpt {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.tag {
  font-size: 10px;
  font-family: var(--font-code);
  color: var(--primary-dim);
  border: 1px solid var(--border);
  padding: 2px 6px;
}

.read-link {
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-code);
  font-size: 11px;
  transition: all 0.15s ease;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.4);
}

.read-link:hover {
  background: var(--primary);
  color: var(--bg);
  text-shadow: none;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 24px 0;
  font-family: var(--font-code);
  font-size: 12px;
}

.pagination a, .pagination span {
  color: var(--primary);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.pagination a:hover {
  background: var(--primary);
  color: var(--bg);
}

.pagination .current {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--bg);
}
