/* Enqueue after evolved.css and evolved-home.css. No editorial/body-wide resets.
 * Elementor's e-con-inner and widget text-align:start beat hero inheritance.
 * Centre the actual text, not merely the 1000px heading box. Works with both
 * optimized widgets and legacy .elementor-widget-container wrappers.
 */
body.th-evolved.th-commercial main .elementor .th-hero:not(.th-ev-hero) :is(.elementor-widget-heading, h1.elementor-heading-title, .th-lead, .th-lead p) {
  text-align:center;
}
/* These opt-in About hooks are emitted by the companion generator correction.
 * No page IDs, nth-child layout, content hiding, or visual reordering: source
 * widgets must first be grouped with their own portraits by the generator.
 */
body.th-evolved.th-commercial main .elementor .e-con.th-ev-about-grid,
body.th-evolved.th-commercial main .elementor .th-ev-about-grid > .e-con-inner {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:24px;
  align-items:start;
}
body.th-evolved.th-commercial main .elementor .th-ev-about-grid.e-con-boxed {
  display:flex;
}
body.th-evolved.th-commercial main .elementor .th-ev-about-grid > .e-con,
body.th-evolved.th-commercial main .elementor .th-ev-about-grid > .e-con-inner > .e-con {
  min-width:0;
}
body.th-evolved.th-commercial main .elementor .e-con.th-ev-about-wide { grid-column:1 / -1; }
body.th-evolved.th-commercial main .elementor .e-con.th-ev-about-person { grid-column:span 2; }
body.th-evolved.th-commercial main .elementor .e-con.th-ev-about-skill { grid-column:span 2; }
body.th-evolved.th-commercial main .elementor .th-ev-about-person + .e-con.th-ev-about-skill { grid-column:1 / span 2; }
body.th-evolved.th-commercial main .elementor .th-ev-about-person .elementor-widget-image {
  width:100%;
}
/* Use intrinsic portrait proportions; the import's generic image treatment
 * otherwise crops square source portraits into unrelated landscape thumbnails. */
body.th-evolved.th-commercial main .elementor .th-ev-about-person img {
  width:100%;height:auto;aspect-ratio:auto;object-fit:contain;
}
@media (min-width:768px) and (max-width:1024px) {
  body.th-evolved.th-commercial main .elementor :is(.e-con.th-ev-about-person,.e-con.th-ev-about-skill) { grid-column:span 3; }
  body.th-evolved.th-commercial main .elementor .th-ev-about-person + .e-con.th-ev-about-skill { grid-column:1 / span 3; }
}
@media (max-width:767px) {
  body.th-evolved.th-commercial main .elementor :is(.e-con.th-ev-about-person,.e-con.th-ev-about-skill),
  body.th-evolved.th-commercial main .elementor .th-ev-about-person + .e-con.th-ev-about-skill { grid-column:1 / -1; }
}
/* At 320px the existing 43px Photography glyph run is 251px in a 245px
 * content box. A 40px narrow-only size keeps the intact word inside the rail. */
@media (max-width:359px) {
  body.th-evolved.th-commercial main .elementor .th-hero:not(.th-ev-hero) h1.elementor-heading-title { font-size:40px; }
}
