/*
Theme Name:   Astra Child
Theme URI:    https://aiinsighttalks.com/
Description:  Clean Astra child theme for AI Insight Talks with dynamic front-page.php template.
Author:       AI Insight Talks
Template:     astra
Version:      1.0.0
Text Domain:  astra-child
*/

/* Tighten top spacing on ALL single blog posts */
body.single-post .site-content,
body.single-post .site-content > .ast-container,
body.single-post .ast-container,
body.single-post .site-content .content-area,
body.single-post .site-primary,
body.single-post .ast-article-single {
  padding-top: clamp(6px, 1.8vw, 20px) !important;
  margin-top: 0 !important;
}

/* Remove extra margin/padding around the post header block */
body.single-post .ast-single-post .entry-header,
body.single-post .entry-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-post h1.entry-title {
  margin-top: 0 !important;
}

/* If the first block inside the post adds space (common in Gutenberg) */
body.single-post .entry-content > *:first-child {
  margin-top: 0 !important;
}
