/* Fix Hello Elementor theme not constraining wide/full Gutenberg blocks to viewport width */
html, body { overflow-x: hidden; max-width: 100%; }
.wp-site-blocks { overflow-x: hidden; }
.alignwide, .wp-block-columns.alignwide, .wp-block-group.alignwide, .wp-block-image.alignwide, .wp-block-media-text.alignwide {
	  width: 100% !important;
	  max-width: min(1200px, 100%) !important;
	  margin-left: auto !important;
	  margin-right: auto !important;
	  box-sizing: border-box !important;
}
.alignfull {
	  width: 100% !important;
	  max-width: 100% !important;
	  margin-left: 0 !important;
	  margin-right: 0 !important;
	  overflow-x: hidden;
}
.wp-block-column, .wp-block-columns { box-sizing: border-box; max-width: 100%; }
@media (max-width: 782px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) {
		    flex-wrap: wrap !important;
	}
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		    flex-basis: 100% !important;
		    width: 100% !important;
	}
}
img, iframe, video, svg { max-width: 100%; height: auto; }

/* Header nav-wrap fix: 7-item Primary Menu needs extra room between the
   1025px hamburger breakpoint and where the row naturally fits.
   Hide the phone number and tighten the CTA + nav in that window. */
@media (min-width: 1025px) and (max-width: 1700px) {
  .elementor-element-8908d27 { display: none !important; }
}
@media (min-width: 1025px) and (max-width: 1700px) {
  .elementor-164 .elementor-element.elementor-element-32929418 .elementor-button {
    padding: 16px 16px !important;
  }
  .elementor-widget-nav-menu .elementor-nav-menu a {
    font-size: 13px !important;
  }
}

/* Hide the theme's default page-title H1 only on pages whose own content supplies a real H1 headline (Home, Services). Other pages (About, Contact, For Instructors, Meet Our Instructors) still need this as their only H1, so it stays visible there. Blog posts are untouched — they use body.single, not body.page. */
body.page-id-92 .page-header,
body.page-id-120 .page-header {
  display: none;
}
