<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* Blog Grid - Layout Fixes */

/* Fix row height not expanding to contain blog content */
.articles-row {
  max-height: none !important;
  min-height: auto !important;
  height: auto !important;
}

/* Hide Divi built-in pagination (duplicate with wrong page count) */
#myonsite-blog-pagination {
  display: none !important;
}

/* Blog Grid - 3 Column Layout Override */
.et_pb_blog_grid_wrapper {
  column-count: 3 !important;
  column-gap: 30px !important;
}

.et_pb_blog_grid_wrapper .et_pb_post {
  break-inside: avoid !important;
  margin-bottom: 30px !important;
}

@media (max-width: 767px) {
  .et_pb_blog_grid_wrapper {
    column-count: 1 !important;
  }
}</style>
<!-- end Simple Custom CSS and JS -->
