/*
 * ============================================================
 * css/devblog.css — Dev Blog Page & Admin Page Shared Styles
 * ============================================================
 * Responsible for (all styles exclusive to devblog.html
 * and admin.html — not used on index.html):
 *
 *   devblog.html:
 *     - .page-header top padding area
 *     - .page-eyebrow, .page-eyebrow-line, .page-title,
 *       .page-title span, .page-subtitle
 *     - .posts-container max-width wrapper + bottom padding
 *     - .post-divider horizontal rule
 *     - .post article — initial hidden state + .visible reveal
 *     - .post-meta, .post-date, .post-tag
 *     - .post-title display heading
 *     - .post-body typography, strong, img, .caption
 *     - .empty-state placeholder
 *
 *   Shared (devblog + admin):
 *     - footer override for devblog max-width token
 *       (devblog uses 760px --max-width, but footer
 *        references the token so it inherits automatically)
 *
 *   Note: The --max-width token for devblog.html is set to
 *   760px via the :root override below. On admin.html the
 *   layout uses its own inline styles so this is harmless.
 * ============================================================
 */

/* ══════════════════════════════════════════════════════
   NOTE: devblog uses a narrower 760px column width.
   We set this directly on the content containers rather
   than overriding --max-width at :root, so that admin.html
   (which also loads this file) is not affected.
══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════════════════════ */
.page-header {
  padding: 14rem 2rem 5rem;
  max-width: 760px;
  margin: 0 auto;
}

.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.page-eyebrow-line { width: 40px; height: 1px; background: var(--accent); }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.page-title span { color: var(--accent); }

.page-subtitle {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 520px;
}

/* ═══════════════════════════════════════════════════════
   BLOG LIST
═══════════════════════════════════════════════════════ */
.posts-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 10rem;
}

.post-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 4rem;
}

.post {
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}

.post.visible { opacity: 1; transform: translateY(0); }

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.post-date {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  color: var(--text-muted);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.post-body {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-body strong { color: var(--text); font-weight: 500; }

.post-body img {
  border-radius: 6px;
  border: 1px solid var(--border);
  margin: 0.5rem 0;
  width: 100%;
}

.post-body .caption {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: -0.5rem;
}

/* ── Empty state ── */
.empty-state {
  padding: 6rem 0;
  text-align: center;
  color: var(--text-muted);
  font-weight: 300;
}

.empty-state p { font-size: 1rem; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .page-header { padding: 10rem 1.5rem 3rem; }
  .posts-container { padding: 0 1.5rem 6rem; }
}
