/* ── CATEGORY HERO ───────────────────────────── */
.category-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  margin-top: 64px;
  overflow: hidden;
}

.category-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}

.category-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 56px;
  text-align: center;
}

.category-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.category-hero-overlay h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.category-hero-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 480px;
}

/* ── CATEGORY BODY ───────────────────────────── */
.category-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ── POST GRID ───────────────────────────────── */
.post-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── BLOG CARDS ──────────────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.blog-card-avatar.mikey {
  background: #8B4513;
}

.blog-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}

/* ── NAV ACTIVE STATE ────────────────────────── */
.nav-links a.active {
  color: var(--dark);
  font-weight: 600;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .post-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .category-hero {
    height: 50vh;
  }
  .post-grid-full {
    grid-template-columns: 1fr;
  }
}
