/* Home excerpt 3-line clamp
 * Added Nov 11, 2026. Limits WPBakery grid card excerpts to 3 lines
 * so Latest Articles (and the same card type elsewhere) stay even.
 * Deactivate by commenting out pp_excerpt_three_line_clamp_css() in functions.php.
 */
.vc_basic_grid .vc_gitem-post-data-source-post_excerpt p {
  margin: 0 !important;
}
.vc_basic_grid .vc_gitem-post-data-source-post_excerpt p:empty {
  display: none !important;
}
.vc_basic_grid .vc_gitem-post-data-source-post_excerpt p:not(:empty) {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  overflow: hidden !important;
  min-height: 3lh;
}

/* Keep Read more at the bottom of equal-height cards when titles wrap unevenly */
.vc_basic_grid .vc_grid-item-mini {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.vc_basic_grid .vc_gitem-zone-c,
.vc_basic_grid .vc_gitem-zone-c .vc_gitem-zone-mini,
.vc_basic_grid .vc_gitem-zone-c .vc_gitem_row,
.vc_basic_grid .vc_gitem-zone-c .vc_gitem-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}
.vc_basic_grid .vc_gitem-zone-c .vc_btn3-container {
  margin-top: auto !important;
}
