/* Blog post styles. Reuses style.css's design tokens (--bg, --text, --accent,
   etc.) and typography, adds only what a long-form article needs on top. */

.post {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

.post-header {
  margin-bottom: 32px;
}

.post-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

.post-header h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.post-subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-4);
  font-weight: 400;
  margin: 0 0 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-4);
}

.post-meta-dot { color: var(--text-6); }

.post-body p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-2);
  margin: 0 0 24px;
}

.post-body h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 48px 0 20px;
}

.post-body strong { color: var(--text); }
.post-body em { color: var(--text); font-style: italic; }

.post-share {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.post-share-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-5);
}

.post-share-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.post-share-links a,
.post-share-links button {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-3);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.post-share-links a:hover,
.post-share-links button:hover {
  color: var(--accent);
  text-decoration: underline;
}

.post-cta {
  margin-top: 40px;
}

@media (max-width: 720px) {
  .post { padding: 40px 20px 32px; }
  .post-body p { font-size: 16px; }
  .post-body h2 { font-size: 22px; margin: 36px 0 16px; }
}

/* Blog index / listing page */

.post-list-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}

.post-list-header {
  margin-bottom: 40px;
}

.post-list-header h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-list-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}

.post-list-item:hover { border-color: var(--border-strong); }

.post-list-thumb {
  flex: 0 0 200px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #1B1B1F, #1B1B1F 10px, #201F24 10px, #201F24 20px);
}

.post-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-list-body { min-width: 0; }

.post-list-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.post-list-body h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 8px 0 8px;
}

.post-list-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-4);
  margin: 0;
}

@media (max-width: 640px) {
  .post-list-page { padding: 40px 20px 32px; }
  .post-list-item { flex-direction: column; }
  .post-list-thumb { flex: none; width: 100%; }
}
