/* ==========================================================================
   AGENTIC ATLANTIC — blog styles (blog/index.html and blog/*.html)
   Loaded AFTER /css/styles.css. Colors come from the variables defined there.
   ========================================================================== */

/* --- Article page ------------------------------------------------------- */
.post { max-width: 760px; margin: 0 auto; }

.post-meta { color: var(--foam); font-size: 0.95rem; margin-top: 14px; }
.post-meta a { color: var(--white); }

.post h2 { font-size: 1.6rem; margin: 44px 0 12px; }
.post h3 { font-size: 1.15rem; color: var(--navy); margin: 26px 0 8px; }
.post p { font-size: 1.06rem; margin-bottom: 16px; }
.post ul, .post ol { margin: 0 0 18px 22px; font-size: 1.06rem; }
.post li { margin-bottom: 8px; }
.post a { color: var(--wave); font-weight: 600; }
.post a.btn { color: var(--navy); }

/* The short answer at the top — the passage we most want quoted. */
.answer-box {
  background: var(--white);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 30px;
}
.answer-box .kicker { margin-bottom: 6px; }
.answer-box p { font-size: 1.12rem; margin: 0; color: var(--navy); }

/* Comparison tables scroll sideways on phones instead of squashing. */
.table-wrap { overflow-x: auto; margin: 0 0 22px; }
.post table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.98rem;
}
.post th, .post td { text-align: left; padding: 12px 14px; vertical-align: top; }
.post th { background: var(--navy); color: var(--white); font-weight: 700; }
.post tr + tr td { border-top: 1px solid var(--mist); }

.post-note { font-size: 0.95rem; color: var(--text-soft); }

.post-sources { font-size: 0.98rem; }
.post-sources li { margin-bottom: 6px; }

.post-author {
  background: var(--white);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 40px;
  font-size: 0.98rem;
  color: var(--text-soft);
}
.post-author strong { color: var(--navy); }

/* --- Blog index --------------------------------------------------------- */
.post-list { max-width: 760px; margin: 0 auto; display: grid; gap: 20px; }
.post-card {
  display: block;
  background: var(--white);
  border-radius: 12px;
  padding: 26px 28px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s;
}
.post-card:hover { transform: translateY(-2px); }
.post-card h2 { font-size: 1.4rem; margin-bottom: 8px; }
.post-card p { color: var(--text-soft); margin-bottom: 10px; }
.post-card .post-date { font-size: 0.88rem; color: var(--wave); font-weight: 700; }

@media (max-width: 640px) {
  .post h2 { font-size: 1.4rem; }
  .answer-box { padding: 18px; }
  .post-card { padding: 22px 20px; }
}

/* Post titles are full questions — size them down on phones so the header
   doesn't fill the whole first screen. */
@media (max-width: 640px) {
  .page-hero h1 { font-size: 1.7rem; }
}
