/* Blog styles – extends css/styles.css */

.blog-main { padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }

.blog-hero { padding: 40px 0 48px; max-width: 820px; }
.blog-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }

.post-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px;
}
.post-card {
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(8,102,255,.22), inset 0 1px 0 rgba(255,255,255,.2); }
.post-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.3; }
.post-card h3 a:hover { color: var(--cyan); }
.post-card p { margin: 0; font-size: .95rem; }
.post-card .card-cta { margin-top: auto; }

.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: .82rem; color: #8FA0C4; margin: 0;
}
.post-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #CFF6FF; padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.3);
}

.empty { color: var(--muted); }

/* Homepage "Insights" section */
.insights-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.insights-head .section-head { margin-bottom: 0; }
.insights-cta { margin-top: 44px; display: flex; justify-content: center; }

/* Single article */
.article { max-width: 780px; }
.back-link { display: inline-block; color: var(--cyan); font-weight: 600; margin-bottom: 28px; }
.back-link:hover { color: #fff; }
.article .post-meta { margin-bottom: 18px; }
.article-title { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 1.2rem; }
.article-lead { font-size: 1.15rem; color: #C9D5EE; margin-bottom: 2.4rem; }
.article h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 2.4rem 0 .9rem; }
.article p { font-size: 1.05rem; line-height: 1.75; }
.article ul.check-list { display: grid; gap: 12px; margin: 0 0 1.2rem; }
.check-list li {
  position: relative; padding: 12px 16px 12px 46px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
}
.check-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 12px rgba(0,212,255,.45);
}
.article-cta {
  margin-top: 3rem; padding: 30px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.article-cta h3 { margin-bottom: 6px; font-size: 1.25rem; }
.article-cta p { margin: 0; font-size: 1rem; }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; text-align: center; }
  .article-cta .btn { width: 100%; }
  .blog-main { padding-top: calc(var(--header-h) + 24px); }
}
