/* >_Fa blog — shares the landing palette (styles.css variables). */

.blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.blog-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.blog-title .prompt { color: var(--accent); font-family: var(--mono); }

.blog-sub { color: var(--dim); margin: 0 0 48px; }

/* --- index --- */

.post-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px 24px;
  margin-bottom: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.post-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }

.post-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
}

.post-card h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; }

.post-card .meta { color: var(--dim); font-size: 13px; margin-bottom: 10px; }

.post-card p { color: var(--dim); margin: 0; font-size: 15px; }

/* --- post --- */

.post-meta { color: var(--dim); font-size: 14px; margin: 12px 0 32px; }

.post-meta a { color: var(--accent); text-decoration: none; }

.post-cover { width: 100%; border-radius: var(--radius); margin: 0 0 32px; }

.post-video { position: relative; padding-top: 56.25%; margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }

.post-video iframe, .post-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.post-body h1 { font-size: 32px; letter-spacing: -0.01em; line-height: 1.25; }

.post-body h2 {
  font-size: 24px;
  margin: 48px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-body p, .post-body li { font-size: 17px; line-height: 1.75; }

.post-body img { max-width: 100%; border-radius: 8px; }

.post-body a { color: var(--accent); }

.post-body blockquote {
  margin: 24px 0;
  padding: 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--dim);
  background: var(--panel);
  border-radius: 0 8px 8px 0;
}

.post-body code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
}

.post-body pre {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  overflow-x: auto;
}

.post-body pre code { background: none; border: 0; padding: 0; font-size: 14px; }

.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }

.post-body th, .post-body td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.post-body th { background: var(--panel-2); font-weight: 600; }

.post-body td { background: var(--panel); }

.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

.back-link { color: var(--dim); text-decoration: none; font-size: 14px; }

.back-link:hover { color: var(--accent); }
