/* Equal upper and lower space centers the primary hero content independently of its footer. */
html:root body main [data-cg-hero-centered]:not([data-cg-hero-centered=compact]){
  --cg-hero-edge:184px;--cg-hero-crumb-top:132px;--cg-hero-bottom-pad:34px;
  display:grid!important;grid-template-columns:minmax(0,1fr);align-items:stretch!important;
  min-height:100vh!important;min-height:100svh!important;padding-block:0!important;
}
html:root body main [data-cg-hero-centered=band]:not([data-cg-hero-centered=compact]){--cg-hero-edge:120px;min-height:520px!important}
html:root body main [data-cg-hero-centered]:not([data-cg-hero-centered=compact]) [data-cg-hero-inner]{
  display:grid!important;grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(var(--cg-hero-edge),1fr) auto minmax(var(--cg-hero-edge),1fr);
  min-height:inherit!important;padding-block:0!important;align-items:start!important;position:relative;
}
html:root body main [data-cg-hero-centered] [data-cg-hero-copy]{
  grid-row:2;grid-column:1;align-self:center!important;min-height:0!important;
  margin-block:0!important;padding-block:0!important;position:relative;z-index:2;min-width:0;
}
html:root body main [data-cg-hero-centered] [data-cg-hero-copy]>:last-child{margin-bottom:0!important}
html:root body main [data-cg-hero-centered] [data-cg-hero-copy] :is(h1,h2){overflow-wrap:anywhere}
html:root body main [data-cg-hero-centered] [data-cg-hero-breadcrumb]{
  grid-row:1;grid-column:1;align-self:start;min-width:0;
  margin-block:var(--cg-hero-crumb-top) 0!important;z-index:2;position:relative;
}
html:root body main [data-cg-hero-centered] [data-cg-hero-bottom]{
  grid-row:3;grid-column:1;align-self:end;min-width:0;width:100%;
  margin-block:0!important;padding-bottom:var(--cg-hero-bottom-pad)!important;position:relative;z-index:2;
}
html:root body main [data-cg-hero-centered=compact]{display:flex!important;align-items:center!important}
html:root body main [data-cg-hero-centered=compact] [data-cg-hero-inner]{padding-block:0!important}
html:root body main [data-cg-hero-centered=home] .cg-hero__slide-copy:not(.is-active){inset-block-start:0}
html:root body main [data-cg-hero-centered] .cg-hero-market-stage{display:grid;grid-template-columns:52% 48%;align-items:center;width:100%;pointer-events:none}
html:root body main [data-cg-hero-centered] .cg-fx-hero-copy{width:100%!important;min-height:0!important;padding-block:0!important;pointer-events:auto}
html:root body main [data-cg-hero-centered] .cg-fx-globe{position:relative;inset:auto;width:100%;height:520px;margin-block:0;pointer-events:auto}
html:root body main [data-cg-hero-centered] .cg-hero-market-footer{pointer-events:auto}
html:root body main [data-cg-hero-centered] .cg-hero-market-footer :is(.cg-fx-clockbar,.cg-fx-pair-strip){width:100%;margin-inline:0}
@media(prefers-reduced-motion:reduce){
  html:root body main [data-cg-hero-centered=home] .cg-hero__slide-copy:not(.is-active){opacity:0!important;visibility:hidden}
}
@media(max-width:760px){
  html:root body main [data-cg-hero-centered]:not([data-cg-hero-centered=compact]){--cg-hero-edge:164px;--cg-hero-crumb-top:108px;--cg-hero-bottom-pad:28px}
  html:root body main [data-cg-hero-centered=band]:not([data-cg-hero-centered=compact]){--cg-hero-edge:112px}
  html:root body main [data-cg-hero-centered] .cg-hero-market-stage{grid-template-columns:minmax(0,1fr);gap:28px}
  html:root body main [data-cg-hero-centered] .cg-fx-globe{height:330px}
  html:root body main [data-cg-hero-centered] .cg-fx-hero-copy{margin-inline:0!important}
}
