/* ---------- Latest Posts block - list layout ---------- */
/* target the block's UL list items */
.wp-block-latest-posts .wp-block-latest-posts__list li,
.wp-block-latest-posts__list li,
.wp-block-latest-posts li {
  margin-bottom: 32px; /* space between posts — adjust as needed */
}

/* make the post title link bold (covers a few possible markup variants) */
.wp-block-latest-posts .wp-block-latest-posts__list li a,
.wp-block-latest-posts .wp-block-latest-posts__post-title,
.wp-block-latest-posts li .entry-title {
  font-weight: 700;
}

/* ---------- Latest Posts block - grid layout ---------- */
/* if you used the grid option, use the gap/grid settings */
.wp-block-latest-posts.is-grid .wp-block-latest-posts__list {
  display: grid;
  grid-gap: 32px; /* space between items in grid */
}

/* ---------- Astra-specific fallbacks & stronger specificity ---------- */
/* if Astra wraps the block or its styles are being overridden, these help */
.ast-block-latest-posts .wp-block-latest-posts__list li,
.ast-latest-posts .wp-block-latest-posts__list li,
.wp-block-latest-posts li {
  margin-bottom: 32px !important;
}

.wp-block-latest-posts li a,
.wp-block-latest-posts li .wp-block-latest-posts__post-title,
.wp-block-latest-posts li .entry-title {
  font-weight: 700 !important;
}

/* Hide ONLY the featured image section that Astra inserts at the top of the homepage */
.home .ast-featured-image,
.home .ast-post-featured-section,
.home .entry-featured-image {
  display: none !important;
}

/* Hide Astra's automatic featured image only on the homepage (page ID 6809) */
.page-id-6809 .ast-post-featured-section,
.page-id-6809 .ast-featured-image,
.page-id-6809 .entry-featured-image,
.page-id-6809 .post-thumbnail,
.page-id-6809 .entry-header > .wp-post-image,
.page-id-6809 .entry-header > .wp-block-image {
  display: none !important;
}

/* Make sure featured images inside the Latest Posts block still show */
.page-id-6809 .wp-block-latest-posts__featured-image {
  display: block !important;
}

/* Hide the unwanted top featured image container on your homepage (page ID 6809) */
.page-id-6809 .ast-single-post-featured-section.post-thumb.ast-article-image-container--wide {
  display: none !important;
}

