/* Shared styles for the blog index and article pages. Loaded after style.css. */

/* ---------- Blog index list ---------- */
.post-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}
.post-item {
  border-top: 1px solid var(--rule);
  padding: 28px 0 30px 0;
}
.post-item:first-child { border-top: none; padding-top: 0; }
.post-item:last-child { border-bottom: 1px solid var(--rule); }
.post-date {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
}
.post-title {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 10px 0 0 0;
  line-height: 1.25;
}
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--accent); text-decoration: none; }
.post-excerpt {
  margin: 10px 0 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
}
.post-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------- Read next ---------- */
.read-next {
  max-width: 720px;
  margin-top: 52px;
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}
/* Inside a sand band the block already has a colour edge above it, so it drops
   the rule and the spacing that the cream version needs. */
.section-alt .read-next { margin-top: 0; border-top: none; padding-top: 0; }
.read-next-h {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 16px;
}
.read-next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.read-next-list a {
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.read-next-list a:hover { color: var(--accent); text-decoration: none; }
.read-next-list p { margin: 4px 0 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Checklist block inside .prose ---------- */
.prose .checklist {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  padding: 22px 26px 24px 26px;
  margin: 0 0 18px 0;
}
.prose .checklist ul { margin: 0; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; margin: 0 0 18px 0; max-width: 720px; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
.table-scroll th, .table-scroll td {
  border: 1px solid var(--rule);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.table-scroll th {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  font-weight: 500;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .post-title { font-size: 20px; }
  .post-item { padding: 22px 0 24px 0; }
  .prose .checklist { padding: 18px 18px 20px 18px; }
}
