/* ── Blog post page & blog listing styles ───────────────── */

/* ── Blog listing ── */
.blog-post-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.blog-post-item {
  padding: 36px 0;
  border-top: 1px solid #e5e7eb;
}

.blog-post-item:first-child {
  border-top: none;
  padding-top: 20px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82em;
  color: #888;
  margin-bottom: 10px;
}

.blog-post-readtime {
  opacity: .8;
}

.blog-post-item h3 {
  margin: 0 0 10px;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.35;
}

.blog-post-item h3 a {
  color: #1e1e47;
  text-decoration: none;
}

.blog-post-item h3 a:hover {
  color: #4182e4;
  text-decoration: underline;
}

.blog-post-item p {
  font-size: .95em;
  color: #555;
  margin: 0 0 14px;
}

.blog-post-read-more {
  font-size: .88em;
  font-weight: 600;
  color: #4182e4;
  text-decoration: none;
}

.blog-post-read-more:hover {
  text-decoration: underline;
}

/* ── Individual blog post page ── */
.blog-post-page {
  padding: 48px 0 80px;
}

.post-meta-top {
  margin-bottom: 24px;
}

.post-back {
  font-size: .88em;
  color: #4182e4;
  text-decoration: none;
}

.post-back:hover {
  text-decoration: underline;
}

.post-header {
  margin-bottom: 32px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  color: inherit;
}

.post-header h1 {
  font-size: 2em;
  font-weight: 800;
  line-height: 1.25;
  color: #111;
  margin: 0 0 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85em;
  color: #888;
}

/* ── Post content ── */
.blog-post-page .text-container h2 {
  font-size: 1.5em;
  font-weight: 700;
  color: #1e1e47;
  margin: 40px 0 14px;
  text-align: left;
}

.blog-post-page .text-container h3 {
  font-size: 1.1em;
  font-weight: 700;
  color: #333;
  margin: 28px 0 10px;
}

.blog-post-page .text-container p {
  font-size: 1.05em;
  line-height: 1.75;
  color: #333;
}

.blog-post-page .text-container ul,
.blog-post-page .text-container ol {
  padding-left: 24px;
  margin: 12px 0 20px;
}

.blog-post-page .text-container li {
  font-size: 1.05em;
  line-height: 1.7;
  color: #333;
  margin-bottom: 6px;
}

/* CTA button inline */
.btn-inline-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 28px;
  background: #4182e4;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease;
}

.btn-inline-cta:hover {
  background: #2563eb;
  text-decoration: none;
  color: #fff;
}
