/* Blog Post Styles */
.post-header {
  position: relative;
  padding: calc(var(--header-height) + var(--space-20)) var(--container-padding) var(--space-12);
  background-color: var(--color-navy-deep);
  overflow: hidden;
}

/* Decorative gradient orb */
.post-header::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse,
    rgba(110, 193, 228, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.post-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-border-hover) 50%,
    transparent 100%
  );
}

.post-header-inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
}

.post-header .article-card-category {
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.5s ease 0.1s both;
}

.post-header h1 {
  margin-bottom: var(--space-5);
  animation: fadeInUp 0.6s ease 0.2s both;
  background: linear-gradient(135deg,
    var(--color-white) 0%,
    var(--color-white) 50%,
    var(--color-sky-bright) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-header .post-meta {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  margin-bottom: 0;
  animation: fadeInUp 0.6s ease 0.35s both;
}

/* Section number badges */
.article-content .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--color-sky) 0%, var(--color-sky-dim) 100%);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 50%;
  margin-right: var(--space-3);
  vertical-align: middle;
  box-shadow: 0 0 12px rgba(110, 193, 228, 0.2);
}

/* Responsive YouTube embed */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  margin: var(--space-10) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   Responsive - Post Page
   ============================================================ */
@media (max-width: 768px) {
  .post-header {
    padding: calc(var(--header-height) + var(--space-12)) var(--container-padding) var(--space-8);
  }

  .post-header h1 {
    font-size: var(--text-2xl);
  }

  .section-number {
    width: 26px;
    height: 26px;
    font-size: var(--text-xs);
    margin-right: var(--space-2);
  }
}
