/* Category archive — fallback + post list cards */

.me-category-archive .me-container,
.me-category-hub .me-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.me-category-fallback {
  padding: 4rem 0 2.5rem;
  background: color-mix(in srgb, var(--me-cream, #fde2e1) 40%, white);
}

.me-category-fallback h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--me-fg, #1a1a2e);
}

.me-category-fallback .me-lead {
  max-width: 40rem;
  color: var(--me-muted, #64748b);
  font-size: 1.125rem;
  line-height: 1.6;
}

.me-category-fallback__hint {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--me-muted, #64748b);
}

.me-category-fallback__hint a {
  color: var(--me-primary, #e8612d);
  font-weight: 600;
}

.me-category-posts {
  padding: 3rem 0 4.5rem;
  background: #fff;
}

.me-category-posts__heading {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--me-fg, #1a1a2e);
}

.me-post-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .me-post-list {
    grid-template-columns: 1fr 1fr;
  }
}

.me-post-list-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid #e8e8ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 26, 46, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.me-post-list-card:hover {
  border-color: color-mix(in srgb, var(--me-primary, #e8612d) 35%, #e8e8ee);
  box-shadow: 0 6px 18px rgba(232, 97, 45, 0.12);
  transform: translateY(-2px);
}

.me-post-list-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #ece8f8;
  color: #3d2d7a;
}

.me-post-list-card__title {
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--me-fg, #1a1a2e);
  padding-right: 0.25rem;
}

.me-post-list-card__arrow {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: #b0b0bc;
}

.me-post-list-card:hover .me-post-list-card__arrow {
  color: var(--me-primary, #e8612d);
}

@media (prefers-reduced-motion: reduce) {
  .me-post-list-card {
    transition: none;
  }
  .me-post-list-card:hover {
    transform: none;
  }
}
