/* TackleIQ — blog.css */

/* ── Blog listing ────────────────────────────────────── */
.blog-listing-body { padding-top: 48px; }

.blog-listing {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-card {
  border: 1px solid rgba(15,58,82,0.18);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.post-card:hover {
  box-shadow: 0 8px 32px rgba(15,58,82,0.12);
  transform: translateY(-2px);
}

.post-card-link {
  display: block;
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.post-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: #1a6b8a;
  padding: 3px 10px;
  border-radius: 20px;
}

.post-date {
  font-size: 0.82rem;
  color: #6b8090;
}

.post-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f3a52;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  border: none;
  padding: 0;
  margin-top: 0;
}

.post-card-excerpt {
  font-size: 0.95rem;
  color: #3b5060;
  line-height: 1.65;
  margin-bottom: 16px;
}

.post-read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a6b8a;
}

/* ── Post page ───────────────────────────────────────── */
.post-hero { padding-bottom: 56px; }

.post-byline {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
}

.post-cta-box {
  background: linear-gradient(135deg, #0f3a52 0%, #1a6b8a 100%);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 48px 0 32px;
  text-align: center;
  color: #ffffff;
}

.post-cta-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  border: none;
  padding: 0;
  letter-spacing: -0.02em;
}

.post-cta-box p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.post-cta-btn {
  display: inline-block;
  text-decoration: none;
}

.post-back-link {
  font-size: 0.88rem;
  margin-top: 8px;
  margin-bottom: 0;
}
.post-back-link a {
  color: #1a6b8a;
  text-decoration: none;
}
.post-back-link a:hover { text-decoration: underline; }

/* ── Callout blocks ──────────────────────────────────── */
.callout-block {
  border-left: 4px solid;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3b5060;
}
.callout-block--clear {
  background: rgba(26,107,138,0.07);
  border-color: #1a6b8a;
}
.callout-block--stained {
  background: rgba(255,107,53,0.07);
  border-color: #ff6b35;
}

/* ── Cheat sheet table ───────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  margin: 8px 0 24px;
}
.cheat-sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.cheat-sheet th,
.cheat-sheet td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(15,58,82,0.1);
  color: #3b5060;
}
.cheat-sheet th {
  font-weight: 700;
  color: #0f3a52;
  background: rgba(15,58,82,0.05);
  white-space: nowrap;
}
.cheat-sheet tbody tr:last-child td { border-bottom: none; }
.cheat-sheet tbody tr:hover td { background: rgba(26,107,138,0.04); }

/* ── Post footer note ────────────────────────────────── */
.post-footer-note {
  font-size: 0.8rem;
  color: #8a9caa;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,58,82,0.1);
  line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 520px) {
  .post-card-link { padding: 20px; }
  .post-cta-box { padding: 24px 20px; }
}
