/* ============================================================
   BTC MEDUSA — blog
   ============================================================ */

/* ---- blog index ---- */
.blog-head { padding: 150px 0 0; }
.blog-head h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.blog-head .lede { margin-top: 22px; max-width: 56ch; }

.post-list { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.post-link {
  display: grid; grid-template-columns: 168px 1fr auto; gap: 32px; align-items: start;
  padding: 34px 4px; border-top: 1px solid var(--border); text-decoration: none; color: inherit;
  transition: padding 0.25s ease;
}
.post-list .post-link:last-child { border-bottom: 1px solid var(--border); }
.post-link:hover { padding-left: 14px; padding-right: 0; }
.post-meta { display: flex; flex-direction: column; gap: 6px; }
.post-meta .date { font-family: var(--mono); font-size: 12.5px; color: var(--text-dim); }
.post-meta .tag {
  align-self: flex-start; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; border: 1px solid var(--border-2); color: var(--purple);
}
.post-body h2 { font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 10px; }
.post-body p { font-size: 15px; color: var(--text-dim); line-height: 1.6; max-width: 60ch; }
.post-arrow { align-self: center; color: var(--text-faint); transition: transform 0.25s ease, color 0.25s ease; }
.post-link:hover .post-arrow { color: var(--purple); transform: translateX(4px); }
.post-arrow svg { width: 22px; height: 22px; }

/* ---- single post ---- */
.article-head { padding: 140px 0 0; }
.article-head .back {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px;
  color: var(--text-dim); text-decoration: none; margin-bottom: 30px; transition: color 0.25s;
}
.article-head .back:hover { color: var(--text); }
.article-head .back svg { width: 15px; height: 15px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.article-meta .tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; border: 1px solid var(--border-2); color: var(--purple);
}
.article-meta .date, .article-meta .read { font-family: var(--mono); font-size: 12.5px; color: var(--text-faint); }
.article-head h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; max-width: 20ch; }
.article-head .standfirst { margin-top: 24px; font-size: clamp(18px, 2vw, 22px); color: var(--text-dim); line-height: 1.55; max-width: 58ch; }

.article-body { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 80px) 0 40px; }
.article-body > * { margin-bottom: 26px; }
.article-body p { font-size: 17.5px; line-height: 1.72; color: var(--text); }
.article-body p.dim { color: var(--text-dim); }
.article-body h2 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  margin-top: 18px; margin-bottom: 6px;
}
.article-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-top: 10px; }
.article-body strong { font-weight: 700; }
.article-body a { color: var(--blue); text-decoration: none; border-bottom: 1px solid var(--border-2); }
.article-body a:hover { color: var(--text); }
.article-body code { font-family: var(--mono); font-size: 14.5px; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: var(--text); }
.article-body ul { padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.article-body li { font-size: 17px; line-height: 1.6; color: var(--text); display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; }
.article-body li svg { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; color: var(--purple); }

.pull {
  border-left: 3px solid; border-image: var(--grad) 1; padding: 6px 0 6px 26px;
  font-size: clamp(21px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; color: var(--text);
  margin: 38px 0;
}
.callout {
  border: 1px solid var(--border-2); border-radius: var(--radius); padding: 28px 30px; background: var(--grad-soft);
  margin: 38px 0;
}
.callout h3 { font-size: 19px; margin-bottom: 10px; }
.callout p { font-size: 16px; color: var(--text-dim); line-height: 1.6; margin: 0; }
.callout p code { background: var(--surface); }

.tldr {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 30px; background: var(--surface); margin-bottom: 8px;
}
.tldr .lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px; }
.tldr p { font-size: 16.5px; line-height: 1.6; color: var(--text); margin: 0; }

.article-cta {
  text-align: center; border: 1px solid var(--border-2); border-radius: var(--radius);
  padding: clamp(36px, 5vw, 56px); background: var(--grad-soft); margin-top: 12px;
}
.article-cta h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; letter-spacing: -0.02em; }
.article-cta p { max-width: 50ch; margin: 0 auto 26px; color: var(--text-dim); font-size: 16.5px; }
.article-cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.article-foot { border-top: 1px solid var(--border); margin-top: 56px; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.article-foot .sig { font-size: 14px; color: var(--text-dim); }
.article-foot .sig b { color: var(--text); }

@media (max-width: 680px) {
  .post-link { grid-template-columns: 1fr; gap: 14px; }
  .post-arrow { display: none; }
}
