/* Blog typography for aelodm.com/blog. Builds on the landing tokens in
   style.css (same --bg, --panel, --gold, --text, --muted palette). Readable
   measure, generous line height, and a mobile-first single column so post
   pages score well on Lighthouse SEO and are pleasant to read on a phone. */

.post,
.blog-index {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 24px;
}

.post-back,
.post-more {
  color: var(--gold-bright);
  font-size: 14px;
  text-decoration: none;
}

.post-back {
  margin-bottom: 18px;
}

.post-back a {
  color: var(--gold-bright);
  text-decoration: none;
}

.post h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin: 8px 0 12px;
}

.post-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.post h2 {
  font-size: clamp(21px, 3.4vw, 27px);
  font-weight: 700;
  margin: 40px 0 12px;
}

.post h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--gold);
}

.post h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.post p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 18px;
}

.post ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.post li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--text);
}

.post strong {
  color: var(--text);
  font-weight: 700;
}

.post em {
  color: var(--muted);
}

.post blockquote {
  margin: 22px 0;
  padding: 4px 18px;
  border-left: 3px solid var(--gold-dim);
  color: var(--muted);
  font-style: italic;
}

.post hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* Tables scroll horizontally on narrow screens rather than break the layout. */
.post-table {
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.post-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}

.post-table th,
.post-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.post-table th {
  background: var(--bg-2);
  color: var(--gold);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.post-table tr:last-child td {
  border-bottom: 0;
}

/* Post-foot conversion card, styled like a landing feature panel. */
.post-cta {
  margin-top: 48px;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-dim);
  border-radius: 14px;
  text-align: center;
}

.post-cta h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.post-cta p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto 18px;
  max-width: 460px;
}

/* Index list. */
.blog-index .eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.blog-index h1 {
  font-size: clamp(30px, 5.5vw, 46px);
  font-weight: 800;
}

.blog-lede {
  color: var(--muted);
  font-size: 18px;
  margin: 18px 0 36px;
  max-width: 620px;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.post-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
}

.post-item h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}

.post-item h2 a {
  color: var(--text);
  text-decoration: none;
}

.post-item h2 a:hover {
  color: var(--gold-bright);
}

.post-item p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.post-more {
  font-weight: 600;
}

@media (max-width: 760px) {
  .post p,
  .post li {
    font-size: 16px;
  }
}

/* Links carry the brand gold, never browser default blue */
a { color: #d8a428; }
a:hover { color: #e8bc50; }
