/* Selected additions to the original design. Backgrounds and layout stay in site/home.css. */
.portal-section-heading { padding: 30px 24px 24px; }
.section-eyebrow { margin: 0 0 7px; color: #61766a; font: 700 10px/1.5 'Source Sans Pro', Arial, sans-serif; letter-spacing: 1.9px; }
.portal-section-heading h2, .partner-intro h2 { margin: 0; color: #172a30; font: 600 clamp(24px, 2.4vw, 34px)/1.15 'Source Sans Pro', Arial, sans-serif; letter-spacing: -.9px; }
.partner-intro { flex: 1 0 100%; margin-bottom: 6px; }
.overview-heading, .overview-block h2, .editorial-heading, .responsive-page h2.editorial-description { color: #172a30; }
/* Match the dashboard switch; only its header position differs. */
.project-theme-toggle { position: absolute; top: 20px; right: 68px; z-index: 2; width: 70px; height: 34px; border-radius: 999px; border: 1px solid rgba(189,205,222,.82); background: #e5e7eb; color: #111827; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; user-select: none; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.project-theme-toggle .theme-handle { position: absolute; top: 2px; right: 2px; width: 28px; height: 28px; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); z-index: 2; transition: transform .25s ease, background-color .25s ease; }
.project-theme-toggle .icon { width: 16px; height: 16px; display: block; transition: opacity .2s ease; }
.project-theme-toggle .icon-moon { position: absolute; opacity: 0; }
.project-theme-toggle[aria-checked=true] { background: #0b0b0b; color: #fff; border-color: rgba(148,163,184,.35); }
.project-theme-toggle[aria-checked=true] .theme-handle { transform: translateX(-38px); }
.project-theme-toggle[aria-checked=true] .icon-sun { opacity: 0; }
.project-theme-toggle[aria-checked=true] .icon-moon { opacity: 1; }
.project-theme-toggle:focus-visible { outline: 2px solid #3498db; outline-offset: 2px; }
.project-theme-toggle[aria-checked=true]:focus-visible { outline-color: #2563eb; }
.project-theme-toggle { transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
@media (max-width: 620px) {
  .portal-section-heading { padding: 24px 14px 20px; }
  .portal-section-heading h2, .partner-intro h2 { font-size: 26px; }
  .section-eyebrow { font-size: 9px; letter-spacing: 1.6px; }
}
@media (prefers-reduced-motion: reduce) { .project-theme-toggle, .project-theme-toggle :is(.theme-handle, .icon) { transition: none; } }
