/* Shared spatial system for the seven principal pages.
   Minimums are not fixed heights: copy and diagrams remain free to grow.
   Fonts, image focal points and color treatments are intentionally unchanged. */
@layer home-dark-hero {
 @media(min-width:761px){
  body.main-page-rhythm[data-page="index.html"] #main .art-stage{min-height:580px!important;height:auto!important;display:flex;align-items:center}
  body.main-page-rhythm[data-page="index.html"] #main .art-copy{padding-top:48px!important;padding-bottom:48px!important}
 }
 @media(max-width:760px){
  body.main-page-rhythm[data-page="index.html"] #main .art-stage{min-height:0!important;height:auto!important}
  body.main-page-rhythm[data-page="index.html"] #main .art-copy{padding-top:36px!important;padding-bottom:36px!important}
  body.main-page-rhythm[data-page="index.html"] #main .art-photo{height:260px!important;min-height:0!important}
 }
}
@layer dark-hero-system {
 @media(min-width:761px){
  /* Integrated photo heroes: breadcrumb plus body share one expandable frame. */
  body.main-page-rhythm:is([data-page="enterprise-ai-enablement.html"],[data-page="build-embed-ai-talent.html"]) #main>.dark-editorial-hero>.container{min-height:580px!important;height:auto!important;display:flex;flex-direction:column}
  body.main-page-rhythm:is([data-page="enterprise-ai-enablement.html"],[data-page="build-embed-ai-talent.html"]) #main>.dark-editorial-hero .breadcrumb{padding-top:48px!important}
  body.main-page-rhythm[data-page="enterprise-ai-enablement.html"] #main>.dark-editorial-hero .split,
  body.main-page-rhythm[data-page="build-embed-ai-talent.html"] #main>.dark-editorial-hero .teams-hero-grid{flex:1;align-items:center}
  body.main-page-rhythm[data-page="enterprise-ai-enablement.html"] #main>.dark-editorial-hero .split>div,
  body.main-page-rhythm[data-page="build-embed-ai-talent.html"] #main>.dark-editorial-hero .talent-hero-copy{padding-top:24px!important;padding-bottom:48px!important}
  body.main-page-rhythm[data-page="about.html"] #main>.about-hero>.container{min-height:580px!important;height:auto!important}
  body.main-page-rhythm[data-page="about.html"] #main>.about-hero .about-hero-copy{padding-top:48px!important;padding-bottom:48px!important;align-self:center}
  /* Framework and pathway heroes: content dictates height above the shared minimum. */
  body.main-page-rhythm[data-page="ai-readiness.html"] #main>.dark-editorial-hero,
  body.main-page-rhythm[data-page="training.html"] #main>.training-editorial-hero{min-height:580px!important;height:auto!important;padding-top:48px!important;padding-bottom:48px!important;box-sizing:border-box;display:flex;align-items:center}
  body.main-page-rhythm[data-page="partner-enablement.html"] #main>.partnerships-hero>.container{min-height:580px!important;height:auto!important;padding-top:48px!important;padding-bottom:48px!important;box-sizing:border-box;display:flex;flex-direction:column}
  body.main-page-rhythm[data-page="partner-enablement.html"] #main>.partnerships-hero .partnerships-hero-grid{flex:1;align-items:center}
 }
 @media(max-width:760px){
  body.main-page-rhythm #main>.dark-editorial-hero,
  body.main-page-rhythm #main>.dark-editorial-hero>.container{height:auto!important;min-height:0!important;max-height:none!important}
  body.main-page-rhythm[data-page="about.html"] #main>.about-hero .about-hero-copy{padding-top:36px!important;padding-bottom:36px!important}
  body.main-page-rhythm:is([data-page="enterprise-ai-enablement.html"],[data-page="build-embed-ai-talent.html"]) #main>.dark-editorial-hero .breadcrumb{padding-top:32px!important}
  body.main-page-rhythm[data-page="enterprise-ai-enablement.html"] #main>.dark-editorial-hero .split>div,
  body.main-page-rhythm[data-page="build-embed-ai-talent.html"] #main>.dark-editorial-hero .talent-hero-copy{padding-top:24px!important;padding-bottom:36px!important}
  body.main-page-rhythm #main>.dark-editorial-hero :is(.applied-hero-image,.teams-hero-photo,.about-hero-image),
  body.main-page-rhythm #main>.dark-editorial-hero :is(.applied-hero-image,.teams-hero-photo,.about-hero-image) img{height:260px!important;min-height:0!important;max-height:none!important}
  body.main-page-rhythm[data-page="ai-readiness.html"] #main>.dark-editorial-hero,
  body.main-page-rhythm[data-page="training.html"] #main>.training-editorial-hero,
  body.main-page-rhythm[data-page="partner-enablement.html"] #main>.partnerships-hero>.container{padding-top:36px!important;padding-bottom:36px!important}
 }
}
@layer main-page-rhythm {
 body.main-page-rhythm #main>.section.dark,
 body.main-page-rhythm #main>.section.rhythm-teal:not(.white),
 body.main-page-rhythm #main>.cta-band,
 body.main-page-rhythm #main>.about-closing{padding-top:48px!important;padding-bottom:48px!important}
 body.main-page-rhythm[data-page="index.html"] #main>.home-closing{padding-top:48px!important;padding-bottom:48px!important}
 @media(max-width:760px){
  body.main-page-rhythm #main>.section.dark,
  body.main-page-rhythm #main>.section.rhythm-teal:not(.white),
  body.main-page-rhythm #main>.cta-band,
  body.main-page-rhythm #main>.about-closing,
  body.main-page-rhythm[data-page="index.html"] #main>.home-closing{padding-top:36px!important;padding-bottom:36px!important}
 }
}

/* Compact the training chooser without changing its content or tap targets. */
body[data-page="training.html"] #main .training-pathway-panel{padding:20px 24px}
body[data-page="training.html"] #main .training-pathway-panel>a,body[data-page="training.html"] #main .training-pathway-panel>span[data-cb-link] {padding:12px 0;min-height:44px}
body[data-page="training.html"] #main .training-pathway-panel>a:last-child,body[data-page="training.html"] #main .training-pathway-panel>span[data-cb-link]:last-child {padding-bottom:0}
body[data-page="training.html"] #main .training-pathway-panel strong{font-size:24px!important;line-height:1.2!important}
body[data-page="training.html"] #main .training-pathway-panel>a>span{font-size:12px!important;line-height:1.4!important;margin-bottom:5px}
body[data-page="training.html"] #main .training-pathway-panel small{font-size:13px!important;line-height:1.4!important;margin-top:5px;letter-spacing:.02em}
