/* Post styles — Arkansas Home Buyers Now */

/* ── Hero header ── */
.post-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 36px 0 24px;
}

/* ── Hero image — full bleed ── */
.post-hero-img {
  margin: 0;
  width: 100%;
  display: block;
}
.post-hero-img > div,
.post-hero-img .photo {
  width: 100%;
  aspect-ratio: 21/8;
  max-height: 520px;
  display: block;
}
.post-hero-img figcaption {
  background: var(--paper-deep);
  padding: 7px var(--gutter);
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-faint);
  font-style: italic;
  border-bottom: 1px solid var(--line);
}

/* ── Article body ── */
.post-body-wrap { padding: 44px 0 80px; }

.post-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 52px;
  align-items: start;
}

/* Body LEFT, sidebar RIGHT */
.post-body  { order: 1; }
.post-sidebar { order: 2; }

.post-body {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 680px;
}
.post-body p { margin: 0 0 1.3em; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body a { color: var(--terracotta); border-bottom: 1px solid rgba(184,92,56,0.3); }

.post-h2 {
  font-family: var(--serif-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin: 2.4em 0 0.8em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lede {
  font-size: 20px;
  line-height: 1.72;
  color: var(--ink);
}

/* ── Sidebar ── */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Sticky: header = topbar(34) + masthead(88) + nav(40) + ticker(38) = ~200px + 16 buffer */
  position: sticky;
  top: calc(var(--header-h, 204px) + 16px);
}

/* ── Honey rec in sidebar — compact ── */
.post-sidebar .honey-rec,
.sticky-rec {
  background: var(--paper-deep) !important;
  border: 1px solid var(--line-strong) !important;
  border-left: 3px solid var(--terracotta) !important;
  border-radius: 0 4px 4px 0 !important;
  padding: 16px !important;
  position: static !important; /* handled by .post-sidebar sticky */
  font-size: 0.9em;
}
.post-sidebar .honey-rec-name { font-size: 15px !important; }
.post-sidebar .honey-rec-quote { font-size: 12.5px !important; }
.post-sidebar .honey-rec-cta { font-size: 11px !important; padding: 9px 14px !important; color: #fff !important; }

/* TOC */
.post-toc {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 18px;
}
.post-toc ol {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-toc ol li { font-family: var(--sans); font-size: 13px; }
.post-toc ol li a { color: var(--terracotta); }

/* Share rail */
.share-rail {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 18px;
}
.share-btns { display: flex; gap: 6px; margin-top: 8px; }
.share-btns button {
  flex: 1;
  padding: 7px 4px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.share-btns button:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
  background: var(--terracotta-p);
}

/* Bottom HIH block inside body */
.post-body .honey-rec {
  margin: 48px 0 0;
  padding: 18px 20px;
  font-size: 0.92em;
  position: static !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
    order: 2; /* sidebar after body on mobile */
  }
  .post-body { order: 1; }
  .post-hero-img > div,
  .post-hero-img .photo {
    aspect-ratio: 16/9;
    max-height: 360px;
  }
}
