@import url("../style.css?v=3.6.0");

/* Long-form / research post styling */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 28px 24px 56px; }
.article { background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 36px 40px; font-family: Georgia, "Times New Roman", serif;
  font-size: 17px; line-height: 1.65; }
.article .edition { font: 12px var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; }
.article h1 { font-family: var(--sans); font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.2;
  letter-spacing: -.02em; margin: 0 0 20px; }
.article h2 { font-family: var(--sans); font-size: 1.3rem; line-height: 1.3; margin: 32px 0 12px;
  color: var(--primary-hover); }
.article p { margin: 0 0 16px; }
.article ul { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article a { color: var(--primary); text-underline-offset: 3px; }
.article code { font-size: .82em; overflow-wrap: anywhere; background: var(--primary-soft);
  padding: 1px 4px; border-radius: 3px; }
.table-scroll { overflow-x: auto; margin: 22px 0; }
.article table { border-collapse: collapse; width: 100%; font: 14px/1.45 var(--sans); min-width: 620px; }
.article th, .article td { padding: 11px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.article th:first-child { text-align: left; }
.article thead { background: var(--primary-soft); }
.article tbody th { font-weight: 500; }
.article tbody tr:nth-child(even) { background: rgba(127, 127, 127, .05); }
.article figure { margin: 26px 0; }
.article img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.article figure { text-align: center; }
.article figure img { max-width: 620px; width: 100%; margin: 0 auto; }
.article figcaption { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 12px; }
.post-data { margin-top: 20px; font-size: 14px; }

/* Post list (info index and the homepage "Latest" section) */
.post-list { display: grid; gap: 16px; margin-top: 22px; }
.post-card { position: relative; display: grid; gap: 8px; text-decoration: none; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px;
  box-shadow: var(--shadow); transition: border-color .12s, transform .12s; }
.post-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.post-tag { justify-self: start; font: 600 11.5px var(--sans); letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary-hover); background: var(--primary-soft);
  padding: 3px 9px; border-radius: 20px; }
.post-title { font-family: var(--sans); font-size: 22px; line-height: 1.25; font-weight: 700;
  letter-spacing: -.01em; margin: 0; }
.post-excerpt { color: var(--muted); font-size: 15px; margin: 0; }
.post-meta { display: flex; align-items: center; gap: 14px; margin-top: 4px; flex-wrap: wrap; }
.post-stat { font: 600 13px var(--mono); color: #8a6a1a; background: var(--gold-soft); padding: 2px 8px; border-radius: 6px; }
.post-cta { margin-left: auto; color: var(--primary); font-weight: 600; font-size: 14px; }

@media (max-width: 640px) {
  .article { padding: 22px 18px; }
  .article-wrap { padding: 18px 16px 40px; }
}
