/* Blog pages only. Loaded after site.css and uses its tokens, so the blog
   stays on-brand without touching the shared stylesheet. */

/* ---- index ---- */
.post-list { display: grid; gap: 26px; margin-top: 30px; max-width: 900px; }
.post-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start;
  padding-bottom: 26px; border-bottom: 1px solid var(--rule);
}
.post-card:last-child { border-bottom: 0; }
.post-card:not(:has(.post-card-link)) { grid-template-columns: 1fr; }
.post-card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post-card h2 { margin: 2px 0 8px; font-size: 23px; line-height: 1.3; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { margin: 0; }
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; gap: 14px; }
}

.post-meta { margin: 0; font-size: 14.5px; color: var(--muted); }
.post-head .post-meta { color: var(--light-blue); margin-top: 10px; }

/* ---- post ---- */
.crumbs { margin: 0 0 8px; font-size: 14.5px; text-transform: uppercase; letter-spacing: .06em; }
.crumbs a { color: var(--light-blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.post { max-width: 760px; }
.post h2 { margin: 36px 0 12px; }
.post h3 { margin: 26px 0 8px; }
.post ul, .post ol { margin: 0 0 17px; padding-left: 1.3em; }
.post li { margin-bottom: 6px; }
.post figure { margin: 0 0 26px; }
.post figure img { width: 100%; height: auto; border-radius: var(--radius); }
.post figcaption { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.post .table-scroll { margin: 6px 0 22px; }
.post code { font-size: .92em; background: var(--bg-alt); padding: 1px 5px; border-radius: var(--radius); }

.callout {
  margin: 0 0 22px; padding: 16px 20px;
  background: var(--bg-alt); border-left: 4px solid var(--accent);
}
.callout p { margin: 0; }

.post-cta {
  margin: 40px 0 0; padding: 26px 28px;
  background: var(--navy); color: var(--white); border-radius: var(--radius);
}
.post-cta h2 { margin: 0 0 10px; color: var(--white); font-size: 24px; }
.post-cta p { margin: 0 0 14px; }
.post-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.post-cta-tel { color: var(--light-blue); font-weight: 600; }

.post-related { max-width: 760px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); }
.post-related h2 { margin: 0 0 12px; font-size: 20px; }
.post-related ul { list-style: none; margin: 0; padding: 0; }
.post-related li { margin-bottom: 10px; }
.post-related span { display: block; font-size: 14px; color: var(--muted); }

/* site.css sizes every .specs <th> at 45% for its two-column spec tables.
   Blog tables are comparisons with 3-4 columns, so let them share width. */
.post table.specs th { width: auto; }
.post table.specs tbody th { width: 30%; }
.post table.specs thead th { border-bottom: 2px solid var(--accent); font-size: .95rem; }
