/* ============================================
   BLOG-POST.CSS — Individual post page styles
   Covers: post hero, content typography,
   points, pullquote, dividers, post nav
   Does NOT override nav, footer, or global theme
   Matches visual language of home.css
   ============================================ */


/* ============================================
   POST HERO
   ============================================ */

.post-hero {
  position: relative;
  padding: 100px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(
      80% 60% at 10% 10%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    ),
    linear-gradient(180deg, #071a24 0%, #050f16 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/noise.png");
  opacity: 0.035;
  pointer-events: none;
}

.post-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumb */
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.post-breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.post-breadcrumb span {
  color: rgba(255, 255, 255, 0.2);
}

.post-breadcrumb span:last-child {
  color: rgba(120, 220, 255, 0.7);
}

/* Tag + Read time */
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.post-hero__tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(120, 220, 255, 0.75);
  background: rgba(120, 220, 255, 0.06);
  border: 1px solid rgba(120, 220, 255, 0.15);
  padding: 4px 10px;
}

.post-hero__read {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
}

/* Title */
.post-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 22ch;
}

/* Date */
.post-hero__date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
}


/* ============================================
   POST MAIN WRAPPER
   ============================================ */

.post-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 100px;

  /* Subtle top glow */
  background: radial-gradient(
    700px 400px at 50% 0%,
    rgba(255, 255, 255, 0.02),
    transparent 60%
  );
}


/* ============================================
   POST CONTENT — TYPOGRAPHY
   ============================================ */

.post-content {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Paragraphs */
.post-content p {
  margin-bottom: 1.6rem;
  max-width: 68ch;
}

/* H2 — major sections */
.post-content h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  max-width: 34ch;
  line-height: 1.25;
}

/* H3 — subsections (if needed) */
.post-content h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: rgba(120, 220, 255, 0.7);
}

/* Bold inline */
.post-content strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* Italic inline */
.post-content em {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}


/* ============================================
   SECTION DIVIDER
   ============================================ */

.post-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 3rem 0;
  max-width: 100%;
}


/* ============================================
   BOLD LEAD-IN POINTS
   ============================================ */

.post-points {
  margin: 1.75rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-point {
  padding: 20px 0 20px 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease;
}

.post-point:hover {
  border-left-color: rgba(120, 220, 255, 0.25);
}

.post-point p {
  margin-bottom: 0;
}

.post-point + .post-point {
  margin-top: 4px;
}


/* ============================================
   PULLQUOTE
   ============================================ */

.post-pullquote {
  margin: 2.5rem 0;
  padding: 28px 32px;
  background: rgba(120, 220, 255, 0.04);
  border-left: 3px solid rgba(120, 220, 255, 0.35);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}


/* ============================================
   POST NAV — Back + CTA
   ============================================ */

.post-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 16px;
}

.post-nav__back {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.post-nav__back:hover {
  color: rgba(255, 255, 255, 0.8);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .post-hero {
    padding: 80px 0 56px;
  }

  .post-hero__title {
    font-size: 1.7rem;
    max-width: 100%;
  }

  .post-main {
    padding: 56px 20px 80px;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
  }

  .post-pullquote {
    padding: 20px 22px;
    font-size: 1rem;
  }

  .post-point {
    padding: 16px 0 16px 16px;
  }

  .post-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .post-breadcrumb {
    font-size: 11px;
  }

  .post-hero__title {
    font-size: 1.5rem;
  }
}