/* ===== BLOG PAGE ===== */
.blog-page {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.theme-bold .blog-page { max-width: 100%; }

.blog-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.theme-bold .blog-header { text-align: left; border-bottom: 5px solid #000; padding-bottom: 1.5rem; }

.blog-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.theme-bold .blog-title { font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; letter-spacing: -0.05em; line-height: 0.9; }
.theme-cutesy .blog-title { font-weight: 900; }
.theme-elegant .blog-title { font-weight: 400; font-size: 3rem; }

.blog-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== FILTERS ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.theme-bold .filter-bar {
  justify-content: flex-start;
  gap: 0;
  border-bottom: 5px solid #000;
  margin-bottom: 0;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  background: var(--bg-card);
  border: var(--border-style);
  color: var(--text-dim);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover { border-color: var(--border-hover); color: var(--text); }
.filter-pill.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.theme-cutesy .filter-pill { font-family: 'Outfit', sans-serif; font-weight: 700; border: 3px solid #1A1A1A; box-shadow: 3px 3px 0 #1A1A1A; background: #FFF; }
.theme-cutesy .filter-pill.active { background: #FF6B9D; color: #FFF; }
.theme-cutesy .filter-pill:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 #1A1A1A; }

.theme-bold .filter-pill {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 0;
  padding: 0.85rem 1.5rem;
  border-right: 3px solid #000;
  border-bottom: none;
  border-top: none;
  border-left: none;
  background: #FFF;
  color: #999;
}
.theme-bold .filter-pill.active { background: #000; color: #FFF; }

.theme-glass .filter-pill { backdrop-filter: blur(10px); }
.theme-glass .filter-pill.active {
  background: linear-gradient(135deg, #A78BFA, #60A5FA, #F472B6);
  border-color: transparent;
  color: #0B0B14;
  font-weight: 600;
}

/* ===== BLOG ENTRIES ===== */
.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-entry {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

.theme-cutesy .blog-entry {
  background: #FFF;
  border: 4px solid #1A1A1A;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.theme-cutesy .blog-entry:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 #1A1A1A; }

.theme-bold .blog-entry { border-bottom: 3px solid #000; padding: 1.5rem 0; }
.theme-bold .blog-entry:hover { background: #F2F2F2; padding-left: 1rem; }

.theme-glass .blog-entry {
  background: var(--bg-card);
  border: var(--border-style);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(10px);
}
.theme-glass .blog-entry:hover { border-color: var(--border-hover); transform: translateX(4px); }

.entry-tag { min-width: 80px; padding-top: 0.2rem; }
.entry-body { flex: 1; }

.entry-body h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.theme-elegant .entry-body h2 { font-size: 1.3rem; font-weight: 500; }

.entry-body h2 a { color: var(--text); }
.entry-body h2 a:hover { color: var(--accent); }
.theme-bold .entry-body h2 a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; color: var(--text); }

.entry-body p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.entry-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding-top: 0.3rem;
}

.theme-bold .entry-date { font-family: 'Space Mono', monospace; }
.theme-techy .entry-date { font-family: 'JetBrains Mono', monospace; }

/* Nav active */
.nav-active { color: var(--accent) !important; }
.theme-bold .nav-active { background: #000; color: #FFF !important; }
.theme-cutesy .nav-active { background: #FFE566; border: 3px solid #1A1A1A; box-shadow: 3px 3px 0 #1A1A1A; color: #1A1A1A !important; }

@media (max-width: 768px) {
  .blog-page { padding: 2.5rem 1.25rem 3rem; }
  .blog-title { font-size: 2rem; }
  .theme-bold .blog-title { font-size: 3.5rem; }
  .blog-entry { flex-direction: column; gap: 0.5rem; }
  .entry-date { order: -1; }
}
