/* ==========================================================
   SINGLE POST — single.php — "The Field"
   ========================================================== */

.post {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}

/* --- Header --- */
.post-header { margin-bottom: 2rem; }
.post-header__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.3rem;
}
.post-header__meta .cat a { color: var(--red); font-weight: 700; }
.post-header__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.post-header__lead {
  margin-top: 1.3rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
  color: var(--ink-soft);
}

/* --- Byline --- */
.post-byline {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line-lt);
  border-bottom: 1px solid var(--line-lt);
  margin-bottom: 2.5rem;
}
.post-byline__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--char);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.post-byline__name { font-weight: 700; color: var(--ink); }
.post-byline__role {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.post-byline__rev {
  margin-left: auto;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

/* --- Body --- */
.post-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.post-body strong { color: var(--ink); }
.post-body a { color: var(--red); border-bottom: 1px solid rgba(193, 39, 45, 0.3); }
.post-body a:hover { border-color: var(--red); }

.post-body h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2.6rem 0 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.post-body h2[data-num]::before {
  content: attr(data-num);
  color: var(--red);
  font-size: 0.75em;
}
.post-body h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2rem 0 0.9rem;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.4rem;
  padding-left: 0;
}
.post-body ul li,
.post-body ol li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}
.post-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 2px;
  background: var(--red);
}
.post-body ol { counter-reset: ara-ol; }
.post-body ol li { counter-increment: ara-ol; }
.post-body ol li::before {
  content: counter(ara-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 0.8em;
  color: var(--red);
}

.post-body img {
  margin: 2rem 0;
  border: 1px solid var(--line-lt);
}
.post-body figcaption {
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: -1.4rem;
  margin-bottom: 2rem;
}

/* Pullquote */
.post-body .pullquote,
.post-body blockquote {
  border-left: 3px solid var(--red);
  background: var(--white);
  border-top: 1px solid var(--line-lt);
  border-right: 1px solid var(--line-lt);
  border-bottom: 1px solid var(--line-lt);
  padding: 1.6rem 1.8rem;
  margin: 2.2rem 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
}
.post-body .pullquote p,
.post-body blockquote p {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* Spec card inside posts */
.post-body .post-spec {
  border: 1px solid var(--line-lt);
  background: var(--white);
  padding: 1.5rem 1.7rem;
  margin: 2.2rem 0;
}
.post-body .post-spec h4 {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.post-body .post-spec ul { margin: 0; }
.post-body .post-spec li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  margin: 0;
  border-bottom: 1px solid var(--line-lt);
  font-size: 0.92rem;
}
.post-body .post-spec li::before { display: none; }
.post-body .post-spec li:last-child { border-bottom: none; }

/* --- Footer --- */
.post-footer {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-lt);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.post-footer .tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.post-footer .tag {
  border: 1px solid var(--line-lt-2);
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.post-footer .tag:hover { border-color: var(--red); color: var(--red); }
.post-footer__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
