/* ══════════════════════════════════════════
   Blog Post Page Styles
   ══════════════════════════════════════════ */

/* ── Hero ── */
.blog-post-hero {
  position: relative;
  padding: 100px 0 32px;
  overflow: hidden;
}
.blog-post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #b4ccfc 0%, rgba(255,255,255,0) 100%);
  z-index: 0;
}
.blog-post-hero .wrap {
  position: relative;
  z-index: 1;
}
.blog-post-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.blog-post-hero__category {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(18, 83, 163, 0.08);
  padding: 4px 12px;
  border-radius: 100px;
}
.blog-post-hero__readtime {
  font-size: 16px;
  color: var(--muted);
  letter-spacing: -0.32px;
}
.blog-post-hero__title {
  font-size: 48px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -1.44px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.blog-post-hero__subtitle {
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.4px;
  line-height: 1.32;
  margin-bottom: 32px;
}
.blog-post-hero__byline {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-post-hero__author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.blog-post-hero__author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-post-hero__date {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: -0.3px;
}

/* ── Banner image ── */
.blog-post-banner {
  margin-top: 0;
  margin-bottom: 16px;
  border-radius: 24px;
  overflow: hidden;
  max-height: 496px;
}
.blog-post-banner img {
  width: 100%;
  height: 496px;
  object-fit: cover;
  display: block;
}

/* ── Article ── */
.blog-post-article {
  padding: 48px 0 64px;
}

/* ── Content ── */
.blog-post-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-post-content__intro {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.15;
  letter-spacing: -0.18px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(3,33,38,0.1);
}
.blog-post-section h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.96px;
  margin: 0 0 16px;
}
.blog-post-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.44px;
  margin: 0 0 12px;
}
.blog-post-section p {
  font-size: 16px;
  color: rgba(51,50,63,0.7);
  line-height: 1.45;
  letter-spacing: -0.32px;
  margin: 0 0 12px;
}
.blog-post-section p:last-child {
  margin-bottom: 0;
}
.blog-post-section ol,
.blog-post-section ul {
  padding-left: 24px;
  color: rgba(51,50,63,0.7);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-post-section blockquote {
  margin: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--blue);
  background: rgba(18,83,163,0.04);
  border-radius: 0 12px 12px 0;
}
.blog-post-section blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
  opacity: 0.75;
  margin: 0;
}
.blog-post-content__image {
  border-radius: 12px;
  overflow: hidden;
  background: #bfdbfe;
}
.blog-post-content__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ── Tags ── */
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(3,33,38,0.1);
}
.blog-post-tags__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  align-self: center;
  margin-right: 4px;
}
.blog-post-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(18,83,163,0.08);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Responsive ── */
@media (max-width: 780px) {
  .blog-post-hero {
    padding: 72px 0 24px;
  }
  .blog-post-hero__title {
    font-size: 34px;
    letter-spacing: -0.8px;
  }
  .blog-post-hero__subtitle {
    font-size: 17px;
  }
  .blog-post-banner img {
    height: 240px;
  }
  .blog-post-banner {
    max-height: 240px;
    border-radius: 16px;
  }
  .blog-post-section h2 {
    font-size: 24px;
  }
  .blog-post-content__image img {
    height: 220px;
  }
}
