/* ==========================================================================
   Blog post (loads after home.css, help.css and blog.css)
   Centred header, wide cover, narrow readable column, like Flighty's articles.
   ========================================================================== */

.article__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(110px, 14vw, 150px);
}

.article__back {
  text-decoration: none;
  transition: opacity 0.2s;
}

.article__back:hover {
  opacity: 0.7;
}

.article__head .post__cat {
  margin-top: clamp(28px, 4vw, 40px);
}

.article__title {
  max-width: 18ch;
  margin-top: 12px;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.article__meta {
  margin-top: 16px;
  color: var(--grey);
  font-size: 0.95rem;
}

.article__cover {
  max-width: 1040px;
  margin-top: clamp(32px, 5vw, 56px);
}

.article__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 28px;
}

/* ---------- Prose ---------- */

.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(48px, 7vw, 80px);
  box-sizing: content-box;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 0.6em;
}

.prose .lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Callout (notes, disclaimers) */
.callout {
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff6e5;
  font-size: 1rem;
  line-height: 1.65;
}

.callout__title {
  font-weight: 700;
  color: var(--ink);
}

.callout p + p {
  margin-top: 0.7em;
}

.callout--action {
  margin-top: 2.4em;
  background: #fff1ec;
}

.callout--action .pill-btn {
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
}

/* Numbered steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps > li {
  position: relative;
  counter-increment: step;
  padding-left: 52px;
}

.steps > li + li {
  margin-top: 2em;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.steps h3 {
  margin-top: 0;
  padding-top: 0.2em;
}

.steps p {
  margin-top: 0.6em;
}

/* Game chips (Games included) */
.game-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.game-chips li {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.source {
  margin-top: 2em !important;
  font-size: 0.9rem;
  color: var(--grey);
}

/* ---------- Keep reading ---------- */

.more-posts {
  padding-top: clamp(40px, 6vw, 64px);
}

.more-posts__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.posts--compact {
  padding-top: 24px;
  padding-inline: 0;
}
