/* Header fit at 1025-1399px lives in the child theme style.css (nikita#69); only Renovations page fixes here. */
.bhr2 .bhr2-promise-list h3 {
  text-wrap: balance;
}

/* Fit all five service steps while the desktop layout is active. */
@media (1024px <= width < 1112px) {
  .bhr2 .bhr2-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* nikita#82: blog posts on a phone never run wider than the screen. Some post layouts give an image column
   a 50px margin on every side, which pushed it 50px past the right edge at 390px. On phones the side margins
   of columns inside the post body are dropped and images stay inside their column. Header and footer untouched. */
@media (max-width: 767px) {
  .single-post [data-elementor-type="wp-post"] .elementor-column > .elementor-widget-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .single-post [data-elementor-type="wp-post"] img,
  .single-post .entry-content img {
    max-width: 100%;
    height: auto;
  }
}
