/* Visible semantic labels, independently styled from the large creative claims. */
main .cm-semantic-heading{
 display:block;position:relative;z-index:2;flex:none;width:auto;max-width:100%;
 font-family:var(--font-body,'Ubuntu',Arial,sans-serif);font-weight:700;
 font-size:clamp(13px,1.18vw,17px);line-height:1.38;letter-spacing:.005em;
 margin:0 0 9px;padding:0;color:inherit;text-transform:none;
 opacity:1;visibility:visible;overflow-wrap:break-word;
}
main .cm-semantic-h1{font-size:clamp(15px,1.45vw,21px);margin:10px 0 0}
main .hero-content>.cm-semantic-h1{margin:10px 0 0;color:#fff;max-width:65ch}
main .hero-content>.hero-heading{margin-top:12px}
main .sp-hero .cm-semantic-h1{margin:0;max-width:68ch}
main .sp-hero .sp-hero-h1{margin-top:0}
main .a-normal:first-of-type>.a-shell>.cm-semantic-h1{margin-bottom:0}
main .cm-semantic-h2{margin-bottom:8px}
main .scene-copy .cm-semantic-h2,main .sp-scene .cm-semantic-h2{font-size:clamp(12px,1.12vw,16px)}
main .detail-top>.cm-semantic-h2,main .sp-section-head>.cm-semantic-h2{margin-bottom:6px}
main .statement-layout>.cm-semantic-h2{margin-bottom:10px}
main .j-prose .cm-semantic-h2{font-size:clamp(20px,2vw,27px);margin:28px 0 12px}
main .cm-archive>.j-shell>.cm-semantic-h2{margin-top:24px;font-size:clamp(17px,1.7vw,24px)}
main .cm-claim-h1,main .cm-claim-h2{overflow-wrap:normal}
@media(max-width:570px){
 main .cm-semantic-h1{font-size:15px}
 main .cm-semantic-h2{font-size:13px;line-height:1.35;margin-bottom:6px}
 main .hero-content>.hero-heading{margin-top:9px;margin-bottom:12px}
 main .hero-content>.cm-semantic-h1{margin-top:7px}
 main .sp-hero .cm-semantic-h1{margin-bottom:0}
}

/* Journal listing uses a two-column editorial grid. The semantic label and the
   preserved claim belong in the first column, not two separate columns. */
main .j-listing-head{row-gap:8px}
main .j-listing-head>.cm-semantic-h2{grid-column:1;grid-row:1;margin:0;align-self:end;min-width:0}
main .j-listing-head>.cm-claim-h2{grid-column:1;grid-row:2;min-width:0;margin-top:0}
main .j-listing-head>p{grid-column:2;grid-row:2;min-width:0}
@media(max-width:780px){main .j-listing-head>p{grid-column:1;grid-row:3}}


/* Phase 6 regression: keep the semantic label and the visual claim in the
   original heading column. Never let the new label consume a side column. */
@media (min-width:531px){
 main .method-heading:has(>.cm-claim-h2){row-gap:8px;align-items:end}
 main .method-heading>.cm-semantic-h2{grid-column:1;grid-row:1;margin:0;min-width:0}
 main .method-heading>.cm-claim-h2{grid-column:1;grid-row:2;min-width:0;overflow-wrap:break-word}
 main .method-heading:has(>.cm-claim-h2)>p{grid-column:2;grid-row:2;min-width:0}
}
@media (min-width:1081px){
 main .service-detail .detail-top:has(>.cm-claim-h2){row-gap:8px}
 main .detail-top:has(>.cm-claim-h2)>.detail-kicker{grid-column:1;grid-row:2;min-width:0}
 main .detail-top>.cm-semantic-h2{grid-column:2;grid-row:1;margin:0;min-width:0}
 main .detail-top>.cm-claim-h2{grid-column:2;grid-row:2;min-width:0;overflow-wrap:break-word}
 main .detail-top:has(>.cm-claim-h2)>p{grid-column:3;grid-row:2;min-width:0}
}
/* Below the existing grid breakpoints, keep natural DOM order. */
@media (max-width:1080px){
 main .detail-top>.cm-semantic-h2{margin-bottom:0}
 main .detail-top>.cm-claim-h2{min-width:0;overflow-wrap:break-word}
}
@media (max-width:530px){
 main .method-heading>.cm-semantic-h2{margin-bottom:6px}
 main .method-heading>.cm-claim-h2{overflow-wrap:break-word}
}

/* Global CreAid signature: original homepage spring and rebound, shared by large visual headlines. */
.cm-heading-dot, .hero-heading .hero-last .pink-dot{
 display:inline-block!important;
 width:.18em;height:.18em;
 margin-left:.15em;
 vertical-align:baseline;
 background:var(--cm-heading-dot-color,#FA225B);
 border-radius:50%;
 color:transparent!important;
 font-size:inherit!important;
 line-height:0;
 letter-spacing:0;
 overflow:hidden;
 transform-origin:center bottom;
 animation:cm-hero-ball-hop 3s infinite;
 pointer-events:none;
}
/* Dark dot on the existing fuchsia panels: the signature stays visible. */
.a-pink,.statement-panel,.statement-stage,.cm-footer__lead{--cm-heading-dot-color:#1a1a1b}
@keyframes cm-hero-ball-hop{
  0%,62%,100%{transform:translateY(0) scale(1)}
  65%{transform:translateY(0) scale(1.15,.8);animation-timing-function:cubic-bezier(.1,.6,.35,1)}
  73%{transform:translateY(-.65em) scale(.94,1.07);animation-timing-function:cubic-bezier(.55,0,.95,.6)}
  81%{transform:translateY(0) scale(.96,1.07)}
  83%{transform:translateY(0) scale(1.28,.72);animation-timing-function:ease-out}
  88%{transform:translateY(-.20em) scale(1);animation-timing-function:ease-in}
  93%{transform:translateY(0) scale(1.12,.88)}
  97%{transform:translateY(0) scale(1)}
}
@media(prefers-reduced-motion:reduce){
 .cm-heading-dot,.hero-heading .hero-last .pink-dot{animation:none!important;transform:none!important}
}
