/* September 2026 quality pass: responsive alignment and usable controls. */
@media (max-width:1024px) {
 .stem-press.sp-newsroom .sp-hero-grid {grid-template-columns:minmax(0,1fr);gap:36px;text-align:center;}
 .stem-press.sp-newsroom .sp-hero-copy {max-width:720px;width:100%;margin-inline:auto;}
 .stem-press.sp-newsroom .sp-hero-description {margin-inline:auto;max-width:580px;}
 .stem-press.sp-newsroom .sp-newsroom-hero .sp-actions {justify-content:center;align-items:center;}
 .stem-press.sp-newsroom .sp-press-art {width:min(78%,340px);margin:12px auto 0;text-align:left;}
 .stem-press.sp-newsroom .sp-section-heading {grid-template-columns:minmax(0,1fr);gap:20px;text-align:center;}
 .stem-press.sp-newsroom .sp-section-heading>p {max-width:620px;margin-inline:auto;}
 .stem-press.sp-newsroom .sp-newsroom-jump .sp-shell {justify-content:center;gap:12px 28px;}
 .stem-press.sp-newsroom .sp-jump-feed {margin-left:0;}
 .contact-page .contact-location-grid {grid-template-columns:minmax(0,1fr);gap:30px;}
 .contact-page .contact-map-shell,.contact-page .contact-map {min-height:320px;}
 .contact-page .contact-location-copy {padding:0;text-align:center;}
 .contact-page .contact-location-copy h2,.contact-page .contact-location-intro {margin-inline:auto;}
 .contact-page .contact-details {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;max-width:760px;margin-inline:auto;text-align:center;}
 .contact-page .contact-details>div {display:block;padding:20px 12px;min-width:0;}
 .contact-page .contact-details dt {margin-bottom:8px;color:#526970;}
 .contact-page .contact-details dd {margin:0;overflow-wrap:anywhere;}
 .contact-page .contact-details a {display:inline-flex;justify-content:center;align-items:center;min-height:44px;}
 .contact-page .contact-btn-location {width:auto;min-width:220px;margin-inline:auto;}
 .contact-page .contact-identity-grid {grid-template-columns:minmax(0,1fr);gap:28px;text-align:center;}
 .contact-page .contact-identity h2 {max-width:660px;margin-inline:auto;}
 .contact-page .contact-identity-list {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;border:0;}
 .contact-page .contact-identity-list>div {display:block;padding:20px 0;border-top:1px solid #526970;border-bottom:0;text-align:center;}
 .contact-page .contact-identity-list strong {display:block;margin-bottom:10px;color:#1c2b30;}
 .contact-page .contact-identity-list span {color:#1c2b30;}
 .contact-page .contact-identity .contact-eyebrow {color:#1c2b30;}
 .contact-page .contact-form-card {grid-template-columns:minmax(0,1fr);gap:24px;text-align:center;}
 .contact-page .contact-form-card .contact-btn {justify-self:center;}
 .contact-page .contact-footnote {text-align:center;}
 .contact-page .contact-route a,.contact-page .contact-route button {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 4px;}
}
@media (max-width:767px) {
 .stem-press.sp-newsroom .sp-newsroom-hero .sp-actions {display:flex;flex-wrap:wrap;gap:14px;}
 .stem-press.sp-newsroom .sp-newsroom-hero .sp-button,.stem-press.sp-newsroom .sp-newsroom-hero .sp-text-link {min-height:44px;justify-content:center;}
 .stem-press.sp-newsroom .sp-record-line {justify-content:center;}
 .stem-press.sp-newsroom .sp-record-line a {margin-left:0;}
 .contact-page .contact-identity-list {grid-template-columns:minmax(0,1fr);gap:0;}
 .contact-page .contact-identity-list>div {max-width:580px;width:100%;margin-inline:auto;}
 .contact-page .contact-btn-location {width:100%;}
}
@media (max-width:539px) {
 .contact-page .contact-details {grid-template-columns:minmax(0,1fr);}
 .contact-page .contact-map-shell,.contact-page .contact-map {min-height:280px;}
}

.stem-calendar-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin:0 0 24px;color:#293b40}.stem-calendar-links>span{font-weight:700}.stem-calendar-links a{display:inline-flex;align-items:center;min-height:44px;color:#293b40;text-decoration:underline;text-decoration-color:#b58600;text-underline-offset:5px;font-weight:600}.stem-calendar-links a:hover{color:#725200}.stem-calendar-links a:focus-visible{outline:3px solid #b58600;outline-offset:4px}@media(max-width:539px){.stem-calendar-links{justify-content:center;gap:4px 20px;text-align:center}.stem-calendar-links>span{flex-basis:100%}}

/* Darken small text on pale surfaces; keep bright gold for dark backgrounds. */
main.stem-home-modern .hm-stemday__hub-link span {color:#233239 !important;}
.contact-page .contact-kicker {color:#765800;}
.contact-page .contact-route-intro p,.contact-page .contact-form-card p {color:#526870;}
.sbi-library .sbi-kicker,.sbi-library .sbi-section-head>p {color:#50666f !important;}
main .sbi-editorial-strip a {color:#245d78;text-decoration:underline;text-underline-offset:3px;}
main #insights-index-reports .sir-kicker {color:#765800 !important;}
#stem-sentiment-page .measure-strip span,#stem-sentiment-page .sir-directory-group>p,#stem-sentiment-page .sir-source-evidence time {color:#50666f !important;}
main .native-download-panel p,main .native-personalize li,main .native-bundle-link small,main .native-example p,main .native-example small,main .native-boundary,main .native-boundary strong {color:#50666f !important;}
main .mfg-orient .mfg-index,main .mfg-challenge-brief .mfg-index,main .mfg-widget-guide .mfg-index,main .mfg-console-top>span,main .mfg-station>p,main .mfg-career-grid article>span,main .mfg-career-grid article>p,main .mfg-source-note {color:#4f666e !important;}

.contact-page .contact-section-head>p,.contact-page .contact-details dt {color:#50666f;}
.contact-page .contact-identity-list strong,.contact-page .contact-identity-list span,.contact-page .contact-identity .contact-eyebrow {color:#1c2b30;}
main .native-start p {color:#50666f !important;}
#stem-sentiment-page .sir-directory-note,#stem-sentiment-page #stem-index-share .eyebrow,#stem-sentiment-page #stem-index-share .embed-details>label,#stem-sentiment-page #stem-index-share .embed-details>p {color:#50666f !important;}

@media(max-width:430px){main.stem-home-modern #hm-impact-heading{font-size:24px !important;}}

/* Middle trustmark actions match the gold Certified course button. */
#main-content a.stem-trustmark-action{
 display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:48px;max-width:100%;box-sizing:border-box;
 padding:18px 26px;border:2px solid #e4aa00;border-radius:10px;background:linear-gradient(135deg,#ffda54 0%,#ffbe00 75%);
 color:#213239!important;font-family:inherit;font-size:15px;font-weight:800;line-height:1.45;text-align:center;text-decoration:none;white-space:normal;
 box-shadow:0 8px 20px rgba(201,148,0,.22),inset 0 1px 0 rgba(255,255,255,.6);transition:transform .18s ease,box-shadow .18s ease;
}
#main-content a.stem-trustmark-action>span{min-width:0;}
#main-content a.stem-trustmark-action .tm-course-arrow{display:block;flex:0 0 24px;width:24px;height:24px;}
#main-content a.stem-trustmark-action:hover{background:linear-gradient(135deg,#ffe17b 0%,#ffca22 75%);color:#213239!important;text-decoration:none;transform:translateY(-2px);box-shadow:0 11px 24px rgba(201,148,0,.3),inset 0 1px 0 rgba(255,255,255,.7);}
#main-content a.stem-trustmark-action:focus-visible{outline:3px solid #213239;outline-offset:4px;}
#main-content .end-dark a.stem-trustmark-action:focus-visible{outline-color:#ffda54;}
#main-content a.stem-trustmark-action:active{transform:translateY(0);}
@media(max-width:767px){#main-content a.stem-trustmark-action{gap:12px;padding:16px 18px;font-size:14px;}}
@media(prefers-reduced-motion:reduce){#main-content a.stem-trustmark-action{transition:none;}#main-content a.stem-trustmark-action:hover{transform:none;}}

/* Balance middle actions between their content and the following section. */
#main-content.tm-page .tm-benefits,#main-content.accredited-page .acc-benefits{padding-bottom:41px;}
#main-content.tm-page .tm-benefits .tm-center-cta,#main-content.accredited-page .acc-benefits .acc-center-cta{margin-top:41px;text-align:center;}
#main-content.stem-endorsed-page .end-dark .end-grid>article{display:flex;flex-direction:column;}
#main-content.stem-endorsed-page .end-dark .end-grid>article>p{margin-bottom:28px;}
#main-content.stem-endorsed-page .end-dark .end-grid>article>a.stem-trustmark-action{align-self:center;margin-top:auto;}
@media(max-width:767px){
 #main-content.tm-page .tm-benefits,#main-content.accredited-page .acc-benefits{padding-bottom:35px;}
 #main-content.tm-page .tm-benefits .tm-center-cta,#main-content.accredited-page .acc-benefits .acc-center-cta{margin-top:35px;}
 #main-content.stem-endorsed-page .end-dark .end-grid>article>p{margin-bottom:24px;}
}


/* Center certificate enlargement buttons on mobile across the six credential pages. */
@media (max-width:767px) {
 #main-content :is(#certified-certificate-and-report,#accredited-certificate-and-report,#authenticated-certificate-and-report,#reviewed-certificate-and-report,#endorsed-certificate-and-report,#best-in-stem-certificate-and-report) .stem-certificate-showcase__figure figcaption>span {flex-basis:100%;}
 #main-content :is(#certified-certificate-and-report,#accredited-certificate-and-report,#authenticated-certificate-and-report,#reviewed-certificate-and-report,#endorsed-certificate-and-report,#best-in-stem-certificate-and-report) .stem-certificate-showcase__figure figcaption>a.stem-certificate-enlarge {margin-inline:auto;}
}

/* BEGIN trustmark grid and title accents — 2026-10-08 */
#main-content.tm-certified{--tm-panel-accent:#79d8be}
#main-content.tm-authenticated{--tm-panel-accent:#ffc374}
#main-content.tm-reviewed{--tm-panel-accent:#86d5f2}
#main-content.accredited-page{--tm-panel-accent:#ffab96}
#main-content:is(.tm-certified,.tm-authenticated,.tm-reviewed,.accredited-page) :is(.tm-evidence,.acc-evidence),#main-content.stem-endorsed-page #endorsed-issuers{position:relative;isolation:isolate}
#main-content:is(.tm-certified,.tm-authenticated,.tm-reviewed,.accredited-page) :is(.tm-evidence,.acc-evidence)::before,#main-content.stem-endorsed-page #endorsed-issuers::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.75) 55%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.75) 55%,transparent 100%)}
#main-content:is(.tm-certified,.tm-authenticated,.tm-reviewed,.accredited-page) :is(.tm-evidence-grid,.acc-evidence-grid),#main-content.stem-endorsed-page #endorsed-issuers>.end-wrap{position:relative;z-index:1}
#main-content:is(.tm-certified,.tm-authenticated,.tm-reviewed,.accredited-page) :is(.tm-evidence-copy,.acc-evidence-copy)>:is(.tm-eyebrow,.acc-eyebrow){color:var(--tm-panel-accent)}
/* END trustmark grid and title accents */
