/* TLA Partner Hub 1.0.349 - centred public layouts.
 * Root cause: the earlier profile styles used 100vw inside Elementor containers,
 * causing horizontal scroll and a visually offset banner/profile. This stylesheet
 * deliberately limits itself to Hub UI, NOT the TLA header or partner admin. */

/* Profiles: container-relative sizing, never viewport-relative breakout. */
html body .tla-ph-public-profile.tla-pp-host,
html body.tla-ph-public-dark-page .tla-ph-public-profile.tla-pp-host {
  display:block!important;
  position:relative!important;
  inline-size:100%!important;width:100%!important;
  max-inline-size:100%!important;max-width:100%!important;
  margin-inline:auto!important;margin-left:auto!important;margin-right:auto!important;
  padding-inline:0!important;box-sizing:border-box!important;
  left:auto!important;right:auto!important;transform:none!important;
}
html body .tla-ph-public-profile.tla-pp-host > .tla-pp,
html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero,
html body .tla-ph-public-profile.tla-pp-host .tla-pp-sectionbar,
html body .tla-ph-public-profile.tla-pp-host .tla-pp-closer {
  inline-size:100%!important;width:100%!important;max-inline-size:100%!important;max-width:100%!important;
  margin-inline:auto!important;box-sizing:border-box!important;left:auto!important;right:auto!important;
}
/* Hero wallpaper fills exactly the profile width, centred and never clipped sideways. */
html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero-media-full {
  position:relative!important;inset:auto!important;left:auto!important;right:auto!important;
  display:block!important;width:100%!important;max-width:100%!important;
  margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
  overflow:hidden!important;
}
html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero-media-full img {
  display:block!important;width:100%!important;max-width:100%!important;height:auto!important;
  object-fit:contain!important;object-position:center!important;margin-inline:auto!important;
}
/* Neutral, balanced content alignment, including the sticky anchor rail. */
html body .tla-ph-public-profile.tla-pp-host .tla-pp-wrap {
  display:block;inline-size:calc(100% - 36px)!important;width:calc(100% - 36px)!important;
  max-inline-size:1480px!important;max-width:1480px!important;
  margin-inline:auto!important;margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;min-width:0!important;
}
/* The partner banner's information band spans the page; the interior grid aligns centrally. */
html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero-profile-band {
  inline-size:100%!important;width:100%!important;max-width:100%!important;
  margin-inline:auto!important;box-sizing:border-box!important;
}
html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero-grid,
html body .tla-ph-public-profile.tla-pp-host .tla-pp-layout,
html body .tla-ph-public-profile.tla-pp-host .tla-pp-main,
html body .tla-ph-public-profile.tla-pp-host .tla-pp-rail {
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
html body .tla-ph-public-profile.tla-pp-host .tla-pp-crumbs {
  flex-wrap:wrap!important;max-width:100%!important;min-width:0!important;
  overflow-wrap:anywhere!important;
}
html body .tla-ph-public-profile.tla-pp-host .tla-pp-sectionbar-track {
  max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;
}
/* Other public profile variant and basic listing must not re-introduce 100vw. */
html body .tla-ph-public-profile .tla-ph-basic-public-listing,
html body .tla-ph-public-profile .tla-ph-profile-v3 {
  position:relative!important;width:100%!important;max-width:100%!important;
  margin-inline:auto!important;margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;left:auto!important;transform:none!important;
}
html body .tla-ph-public-profile .tla-ph-profile-v3 :is(
  .tla-ph-profile-hero-v2,.tla-ph-profile-anchor-nav,.tla-ph-profile-section,
  .tla-ph-profile-sidebar,.tla-ph-related-searches,.tla-ph-profile-page-grid
) {
  width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;
}
html body .tla-ph-public-profile .tla-ph-profile-v3 .tla-ph-profile-page-grid,
html body .tla-ph-public-profile .tla-ph-basic-public-listing :is(
  .tla-ph-profile-service-nav,.tla-ph-basic-listing-hero,.tla-ph-profile-anchor-nav,
  .tla-ph-basic-listing-grid,.tla-ph-related-searches,.tla-ph-related-partners,.tla-ph-basic-listing-footer
) {max-width:1480px!important;margin-inline:auto!important;min-width:0!important;}
/* Discovery routes: fixed width constraints on their actual root and internal grids. */
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-network-home,.tla-ph-regional-hub) {
  width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;min-width:0!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-network-home,.tla-ph-regional-hub) > .tla-ph-shell-inner {
  width:calc(100% - 36px)!important;max-width:1480px!important;
  margin-inline:auto!important;min-width:0!important;box-sizing:border-box!important;
}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-network-home,.tla-ph-regional-hub) :is(
  .tla-ph-directory-grid,.tla-ph-related-partner-grid,.tla-ph-lead-pair,
  .tla-ph-regional-results,.tla-ph-region-grid,.tla-ph-sector-directory-nav,
  .tla-ph-directory-filter,.tla-ph-directory-card,.tla-ph-region-results
) {max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-network-home,.tla-ph-regional-hub) :is(
 .tla-ph-directory-card,.tla-ph-compare-card
) {overflow-wrap:anywhere;}
@media(max-width:1020px){
  html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero-grid {grid-template-columns:minmax(0,1fr)!important;}
  html body .tla-ph-public-profile.tla-pp-host .tla-pp-layout {grid-template-columns:minmax(0,1fr)!important;}
}
@media(max-width:800px){
  html body .tla-ph-public-profile.tla-pp-host .tla-pp-wrap,
  html body :is(.tla-ph-directory,.tla-ph-region-page,.tla-ph-sector-public,.tla-ph-network-home,.tla-ph-regional-hub) > .tla-ph-shell-inner{
    width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;
  }
  html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero-profile-band {width:100%!important;max-width:100%!important;}
  html body .tla-ph-public-profile.tla-pp-host .tla-pp-brandline {flex-wrap:wrap!important;}
  html body .tla-ph-public-profile.tla-pp-host .tla-pp .tla-pp-trustmark {max-width:100%!important;}
  html body .tla-ph-public-profile.tla-pp-host .tla-pp-hero-profile-band .tla-pp-hero-grid {width:100%!important;}
}
