/* =====================================================================
   LARINA — blog index + article
   Depends on larina.css (tokens) and home.css (.post-card, .posts).
   ===================================================================== */

.post__crumb { margin-bottom: 22px; font-size: 0.88rem; }
.post__crumb a { text-decoration: none; font-weight: 600; }
.post__crumb a:hover { text-decoration: underline; }

.post__meta {
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 14px;
}

.post__tags { margin: 20px 0 0; }
.post__tags .chip { text-transform: capitalize; }

.post__hero {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
  margin: 32px 0 8px;
  box-shadow: var(--lift-2);
}

/* --- article body ---------------------------------------------------
   One measure, generous leading. Everything here is the reading column,
   so it stays narrower than the page. */
.post__body {
  margin-top: 34px;
  font-size: 1.045rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: var(--measure-text);
}

.post__body > *:first-child { margin-top: 0; }

.post__body h2 {
  font-size: clamp(1.42rem, 3vw, 1.82rem);
  color: var(--ink);
  margin: 46px 0 14px;
}
.post__body h3 {
  font-size: clamp(1.14rem, 2.2vw, 1.3rem);
  color: var(--ink);
  margin: 34px 0 10px;
}
.post__body h4 { color: var(--ink); margin: 26px 0 8px; }

.post__body p { margin: 0 0 1.15em; }

.post__body a { font-weight: 500; }

.post__body strong { color: var(--ink); font-weight: 600; }

.post__body ul, .post__body ol { margin: 0 0 1.3em; padding-left: 1.35em; }
.post__body li { margin-bottom: 0.5em; }
/* Markers are rendered text, so they follow the text rule, not the
   hairline rule — rose-gold is 1.96:1 and would be invisible here. */
.post__body li::marker { color: var(--ink-mute); }
.post__body ol li::marker { color: var(--accent); font-weight: 600; }

/* The blockquote rule is the rose-gold hairline again — the mark's
   frame colour doing the one job it does everywhere else on the site. */
.post__body blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.55;
  color: var(--ink);
  font-style: normal;
}

.post__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--gold-wash);
  border: 1px solid #F0E2DC;
  border-radius: 5px;
  padding: 0.12em 0.4em;
  color: var(--accent-deep);
}
.post__body pre {
  background: var(--navy-deep);
  color: #E8EDF5;
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 0 0 1.3em;
  font-size: 0.86rem;
  line-height: 1.6;
}
.post__body pre code {
  background: none; border: 0; padding: 0; color: inherit; font-size: inherit;
}

.post__body img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid #EFE3DD; margin: 26px 0;
}

.post__body hr {
  border: 0; height: 1px; background: #EFE3DD; margin: 40px 0;
}

.post__body table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.4em;
  font-size: 0.92rem;
}
.post__body th, .post__body td {
  border: 1px solid #EFE3DD; padding: 9px 13px; text-align: left;
}
.post__body th { background: var(--ground-sunk); color: var(--ink); font-weight: 600; }

/* --- prev / next ---------------------------------------------------- */
.post__nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 52px; padding-top: 30px; border-top: 1px solid #EFE3DD;
}
@media (max-width: 620px) { .post__nav { grid-template-columns: 1fr; } }

.post__nav-link {
  display: grid; gap: 5px; text-decoration: none;
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid #EFE3DD; background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.post__nav-link:hover { border-color: var(--gold); box-shadow: var(--lift-1); }
.post__nav-link span {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-mute);
}
.post__nav-link b {
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 600; color: var(--ink); line-height: 1.3;
}
.post__nav-link--next { text-align: right; }
