/* ============================================================
   SINGLE POST — Documentary Minimal (Astra)
   File: /assets/css/single-post.css
   ============================================================ */

/* Remove Astra vertical padding above content */
body.single-post .site-content,
body.single-post .ast-container,
body.single-post #primary{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Title block — quiet and restrained */
body.single-post .entry-header{
  margin: 0 !important;
  padding: 0.6rem 0 0.4rem !important;
  border: none !important;
  background: transparent !important;
}

/* Headline — restrained, editorial */
body.single-post .entry-title{
  font-size: clamp(1.2rem, 1.9vw, 1.65rem) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  color: #111 !important;

  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 0 22px !important;
}

/* Tighten gap to featured image */
body.single-post .post-thumb,
body.single-post .post-thumbnail{
  margin-top: 0.25rem !important;
}

/* Remove extra gap before content */
body.single-post .entry-content{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ============================================================
   Astra Page Builder Template: remove “band”
   ============================================================ */

body.single-post.ast-page-builder-template .site-content,
body.single-post.ast-page-builder-template .ast-container,
body.single-post.ast-page-builder-template #primary,
body.single-post.ast-page-builder-template article{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Often the actual culprit */
body.single-post.ast-page-builder-template .entry-header{
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.single-post.ast-page-builder-template .entry-title{
  margin: 0 !important;
  padding: 10px 20px 8px !important;
  line-height: 1.06 !important;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.012em !important;
}

body.single-post.ast-page-builder-template .post-thumbnail,
body.single-post.ast-page-builder-template .post-thumb,
body.single-post.ast-page-builder-template .wp-post-image{
  margin-top: 0 !important;
}

@media (max-width: 768px){
  body.single-post .entry-header{
    padding: 0.45rem 0 0.3rem !important;
  }

  body.single-post .entry-title{
    font-size: clamp(1.1rem, 5vw, 1.45rem) !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 640px){
  body.single-post.ast-page-builder-template .entry-title{
    padding: 8px 14px 6px !important;
    font-size: clamp(1.1rem, 5.2vw, 1.45rem) !important;
  }
}