/* BurgerParity — blog index + article (uses the design tokens from app.css) */

/* ---- Index: post cards -------------------------------------------------- */
.post-list {
  display: grid;
  gap: 16px;
  margin-top: clamp(26px, 4vw, 40px);
  max-width: 760px;
}
.post-card {
  display: block;
  padding: 22px 24px;
  text-decoration: none;
  color: var(--char);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.post-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow);
}
.post-meta {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--char-soft);
}
.post-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 25px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 8px 0 8px;
}
.post-card-desc {
  margin: 0 0 12px;
  font-size: 15px;
  color: #3d3025;
}
.post-more {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ketchup);
}

/* ---- Article ------------------------------------------------------------ */
.post {
  max-width: 660px;
}
.post-back {
  display: inline-block;
  margin-bottom: 22px;
  font-weight: 700;
  font-size: 14px;
  color: var(--char-soft);
  text-decoration: none;
}
.post-back:hover {
  color: var(--ketchup);
}
.post-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 10px 0 24px;
}

.post-body {
  font-size: 18px;
  line-height: 1.72;
  color: #2c231b;
}
.post-body > p:first-of-type {
  font-size: 20px;
  font-weight: 500;
}
.post-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}
.post-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 30px 0 10px;
}
.post-body p {
  margin: 0 0 18px;
}
.post-body a {
  color: var(--ketchup);
  font-weight: 600;
  text-underline-offset: 2px;
}
.post-body strong {
  font-weight: 800;
}
.post-body ul,
.post-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.post-body li {
  margin: 6px 0;
}
.post-body blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.4;
  background: var(--bun);
  border: 2.5px solid var(--char);
  border-left-width: 8px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.post-body code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  background: var(--cream-deep);
  border: 1.5px solid #d9c9a6;
  border-radius: 6px;
}
.post-body hr {
  border: none;
  border-top: 2.5px dashed var(--char);
  margin: 32px 0;
}

/* ---- Embedded X / tweet card (designed replica, links to the original) --- */
.tweet-card {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tweet-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.tweet-avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  background: var(--cream-deep);
  border: 2.5px solid var(--char);
  border-radius: 50%;
}
.tweet-id {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.tweet-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.tweet-handle {
  font-size: 13px;
  font-weight: 600;
  color: var(--char-soft);
}
.tweet-x {
  width: 19px;
  height: 19px;
  margin-left: auto;
}
.tweet-text {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
}
.tweet-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ketchup);
  text-decoration: none;
}
.tweet-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-cta {
  margin-top: 44px;
  padding: 26px;
  background: var(--cheese);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.post-cta h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  margin: 0 0 6px;
}
.post-cta p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #3d3025;
}

/* ---- Why-parity cornerstone grid ---------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(30px, 5vw, 48px);
}
.why-card {
  position: relative;
  padding: 26px 24px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.why-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ketchup);
}
.why-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
}
.why-card p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #3d3025;
}
.why-card a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ketchup);
  text-decoration: none;
}
.why-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
