/* ─── Blog-specific styles ──────────────────────────────────────── */
.post-grid-section {
  padding: 60px 22px 120px;
  max-width: 1200px;
  margin: 0 auto;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.post-card {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid transparent;
}
.post-card:hover {
  transform: translateY(-4px);
  background: #25252a;
  border-color: rgba(50,215,224,0.25);
  text-decoration: none;
}
.post-card-cat {
  font-size: 11px; font-weight: 700;
  color: #32D7E0;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 12px;
}
.post-card h3 {
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.25;
}
.post-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 16px;
}
.post-card-meta {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
}

/* Article pages */
article.post {
  max-width: 720px;
  margin: 60px auto;
  padding: 60px 22px 0;
  color: var(--text);
}
article.post .post-eyebrow {
  font-size: 13px; font-weight: 700;
  color: #32D7E0;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 16px;
  padding-top: 60px;
}
article.post h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.07;
  margin-bottom: 20px;
}
article.post .post-meta {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
article.post .post-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
}
article.post .post-body h2 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text);
  margin: 48px 0 16px;
}
article.post .post-body h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--text);
  margin: 32px 0 10px;
}
article.post .post-body p { margin-bottom: 16px; }
article.post .post-body ul,
article.post .post-body ol { padding-left: 22px; margin-bottom: 16px; }
article.post .post-body li { margin-bottom: 6px; }
article.post .post-body strong { color: var(--text); font-weight: 600; }
article.post .post-body a { color: var(--link); }
article.post .post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}
article.post .post-body table th,
article.post .post-body table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
article.post .post-body table th {
  color: var(--text);
  font-weight: 600;
  background: rgba(255,255,255,0.04);
}

article.post .post-body details.post-faq {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
article.post .post-body details.post-faq:first-of-type { margin-top: 16px; }
article.post .post-body details.post-faq summary {
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--text); font-size: 17px;
  display: flex; justify-content: space-between; align-items: center;
}
article.post .post-body details.post-faq summary::-webkit-details-marker { display: none; }
article.post .post-body details.post-faq summary::after {
  content: '+'; font-size: 24px; color: var(--text-2);
}
article.post .post-body details.post-faq[open] summary::after { content: '−'; }
article.post .post-body details.post-faq p {
  margin-top: 14px; padding-right: 24px;
}

/* CTA + related */
.post-cta {
  margin-top: 64px;
  padding: 36px;
  background: linear-gradient(180deg, rgba(50,215,224,0.1), rgba(191,90,242,0.05));
  border: 1px solid rgba(50,215,224,0.3);
  border-radius: 18px;
  text-align: center;
}
.post-cta h3 {
  font-size: 24px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 12px;
}
.post-cta p { color: var(--text-2); font-size: 16px; }
.post-cta .btn-link {
  color: #32D7E0;
  font-weight: 600;
  text-decoration: none;
}
.post-cta .btn-link:hover { text-decoration: underline; }

.post-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  margin-bottom: 80px;
}
.post-related h4 {
  font-size: 13px; font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 16px;
}
.post-related ul { list-style: none; padding: 0; }
.post-related li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.post-related a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}
.post-related a:hover {
  color: #32D7E0;
  text-decoration: underline;
}
