/* One compact editorial rhythm for the seven principal buyer journeys.
   Hero composition, proof bands and archived reading layouts keep their own roles. */
@layer main-page-rhythm {
 body.main-page-rhythm #main>.section,
 body.main-page-rhythm #main>.home-proof,
 body.main-page-rhythm #main>.individual-learner-section{padding-block:48px!important}
 body.main-page-rhythm #main>.cta-band,
 body.main-page-rhythm #main>.about-closing{padding-block:44px!important}
 body.main-page-rhythm #main .section-heading{margin-bottom:24px!important}
 body.main-page-rhythm #main .section-heading h2{margin:0!important}
 body.main-page-rhythm #main .section-heading>p{margin:0!important;font-size:17px!important;line-height:1.55!important}
 body.main-page-rhythm #main>.section>.container>h2{margin:0 0 24px!important}
 body.main-page-rhythm #main :is(.partner-value-grid,.partner-audience-grid,.partner-capability-grid,.applied-grouped-capabilities,.talent-profile-grid) h3{margin:0 0 12px!important;min-height:0!important}
 body.main-page-rhythm #main :is(.partner-value-grid,.partner-audience-grid,.partner-capability-grid,.applied-grouped-capabilities,.talent-profile-grid) :is(p,dd){font-size:17px!important;line-height:1.55!important}
 body.main-page-rhythm #main :is(.partner-value-grid,.partner-audience-grid,.partner-capability-grid,.applied-grouped-capabilities){gap:24px!important}
 body.main-page-rhythm #main .partner-value-grid>.column{padding:24px!important}
 body.main-page-rhythm #main .partner-value-grid h3{max-width:none!important}
 @media(max-width:760px){
  body.main-page-rhythm #main>.section,
 body.main-page-rhythm #main>.home-proof,
  body.main-page-rhythm #main>.individual-learner-section{padding-block:36px!important}
  body.main-page-rhythm #main>.cta-band,
  body.main-page-rhythm #main>.about-closing{padding-block:36px!important}
  body.main-page-rhythm #main .section-heading{margin-bottom:20px!important}
  body.main-page-rhythm #main .section-heading>p,
  body.main-page-rhythm #main :is(.partner-value-grid,.partner-audience-grid,.partner-capability-grid,.applied-grouped-capabilities,.talent-profile-grid) :is(p,dd){font-size:16px!important}
 }
}
/* Five benefits occupy the full row: three above, two equally wide below. */
@layer main-page-rhythm {
 @media(min-width:901px){
  body.main-page-rhythm #main .partner-value-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  body.main-page-rhythm #main .partner-value-grid>.column{grid-column:span 2}
  body.main-page-rhythm #main .partner-value-grid>.column:nth-child(n/**/+4){grid-column:span 3}
 }
 @media(min-width:601px) and (max-width:900px){
  body.main-page-rhythm #main .partner-value-grid>.column:last-child{grid-column:1/-1}
 }
}

@layer main-page-rhythm {body.main-page-rhythm #main .talent-flow h3{min-height:0!important;margin-bottom:12px!important}}

@layer main-page-rhythm {
 body.main-page-rhythm #main [id]{scroll-margin-top:var(--inpage-header-offset,120px)!important}
 body.main-page-rhythm :is(.quick-nav,.about-page-nav){display:flex!important;flex-wrap:wrap!important;max-width:100%;gap:8px 24px!important}
 body.main-page-rhythm :is(.quick-nav,.about-page-nav) a,body.main-page-rhythm :is(.quick-nav,.about-page-nav) span[data-cb-link] {min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px;display:inline-flex;align-items:center}
 body.main-page-rhythm .about-page-nav a[aria-current="location"],body.main-page-rhythm .about-page-nav span[data-cb-link][aria-current="location"] {color:#27717C;font-weight:600;text-decoration:underline;text-underline-offset:6px}
 @media(max-width:760px){body.main-page-rhythm :is(.quick-nav,.about-page-nav){gap:0 20px!important}}
}

/* Align hero copy to the same centered grid as the logo and body sections.
   Full-bleed photography is unchanged; small-screen composition is preserved. */
@layer main-page-rhythm {
 @media(min-width:761px){
  body.main-page-rhythm{--main-grid-gutter:max(56px,calc((100vw - 1280px)/2))}
  body.main-page-rhythm .site-header>.container.header-row{width:calc(100% - 2 * var(--main-grid-gutter))!important;max-width:1280px;margin-inline:auto}
  body[data-page="index.html"] .art-copy{padding-left:var(--main-grid-gutter)!important}
  body[data-page="enterprise-ai-enablement.html"] .page-hero :is(.breadcrumb,.split>div){padding-left:var(--main-grid-gutter)!important}
  body[data-page="build-embed-ai-talent.html"] .teams-hero :is(.breadcrumb,.talent-hero-copy){padding-left:var(--main-grid-gutter)!important}
  body[data-page="partner-enablement.html"] .partnerships-hero>.container{padding-left:var(--main-grid-gutter)!important;padding-right:var(--main-grid-gutter)!important}
  body[data-page="about.html"] .about-hero-copy{padding-left:var(--main-grid-gutter)!important}
 }
 @media(min-width:761px) and (max-width:1150px){body.main-page-rhythm{--main-grid-gutter:36px}}
}
