/* ── Blog post styles ────────────────────────────────────────────────────────
   Master template — link this in every blog post:
   <link rel="stylesheet" href="../css/blog.css">
   ────────────────────────────────────────────────────────────────────────── */

/* Hero containment — the background <img> is position:absolute so the
   section needs position:relative + explicit height + overflow:hidden to
   act as a proper containing block.  Without these the img escapes and
   fills the entire viewport. */
.blog-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}

/* Text overlay — z-index:1 lifts the content above the absolutely-
   positioned background image (which would otherwise paint on top). */
.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 48px;
}

/* Dark scrim so white text stays readable over any photo */
.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.blog-category-chip { display: inline-block; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 4px 14px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.blog-post-title { font-family: "Instrument Serif", serif; font-size: clamp(28px, 5vw, 48px); line-height: 1.15; color: #fff; margin: 0 0 20px; font-weight: 400; }
.blog-post-excerpt { font-family: "Inter Tight", sans-serif; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.55); margin: 0 0 28px; }
.blog-post-meta { display: flex; align-items: center; gap: 16px; font-family: "Inter Tight", sans-serif; font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 40px; }
.blog-post-meta span { display: flex; align-items: center; gap: 5px; }
.blog-hero-image { width: 100%; max-width: 760px; margin: 0 auto 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a0a2e 0%, #0a0a0a 100%); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.blog-hero-image img { width: auto; height: auto; max-width: 46%; max-height: 52%; object-fit: contain; display: block; filter: invert(1) brightness(2); }

.blog-body-section { padding: 56px 0 80px; }
.blog-body-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.blog-post-body { font-family: "Inter Tight", sans-serif; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.82); }
.blog-post-body h2 { font-family: "Instrument Serif", serif; font-size: clamp(22px, 3.5vw, 30px); font-weight: 400; color: #fff; margin: 52px 0 16px; line-height: 1.25; }
.blog-post-body h3 { font-family: "Inter Tight", sans-serif; font-size: 19px; font-weight: 700; color: rgba(255,255,255,0.9); margin: 36px 0 12px; line-height: 1.3; }
.blog-post-body p { margin: 0 0 20px; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 20px; padding-left: 24px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.35); transition: text-decoration-color 0.15s; }
.blog-post-body a:hover { text-decoration-color: rgba(255,255,255,0.8); }
.blog-post-body strong { color: #fff; font-weight: 700; }
.blog-post-body blockquote { border-left: 3px solid rgba(255,255,255,0.2); padding-left: 20px; margin: 28px 0; color: rgba(255,255,255,0.55); font-style: italic; }
.blog-post-body hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 48px 0; }

.blog-cta-section { padding: 64px 24px; text-align: center; background: rgba(255,255,255,0.03); border-top: 1px solid rgba(255,255,255,0.08); }
.blog-cta-inner { max-width: 600px; margin: 0 auto; }
.blog-cta-inner h2 { font-family: "Instrument Serif", serif; font-size: clamp(24px, 4vw, 36px); color: #fff; font-weight: 400; margin: 0 0 14px; }
.blog-cta-inner p { font-family: "Inter Tight", sans-serif; font-size: 16px; color: rgba(255,255,255,0.5); margin: 0 0 28px; }
.blog-back-link { display: inline-flex; align-items: center; gap: 6px; font-family: "Inter Tight", sans-serif; font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; margin-bottom: 40px; transition: color 0.15s; }
.blog-back-link:hover { color: rgba(255,255,255,0.8); }
