/*
 * NCLab Education components. Every rule is scoped under .nce, which functions.php puts on <body>
 * on the front end and assets/js/editor.js puts on the editor canvas, so the editor matches the site.
 * Colours come from the theme.json palette.
 */
html.nce,
html:has(> body.nce) {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html.nce,
  html:has(> body.nce) {
    scroll-behavior: auto;
  }
}
.nce {
  --nce-navy: var(--wp--preset--color--navy);
  --nce-slate: var(--wp--preset--color--slate);
  --nce-ink: var(--wp--preset--color--ink);
  --nce-muted: var(--wp--preset--color--muted);
  --nce-bg: var(--wp--preset--color--bg);
  --nce-strip: var(--wp--preset--color--strip);
  --nce-border: var(--wp--preset--color--border);
  --nce-hairline: var(--wp--preset--color--hairline);
  --nce-accent: var(--wp--preset--color--accent);
  --nce-accent-dark: var(--wp--preset--color--accent-dark);
  --nce-gold: var(--wp--preset--color--gold);
  --nce-focus-light: var(--wp--preset--color--focus);
  --nce-head: var(--wp--preset--font-family--heading);
  --nce-body: var(--wp--preset--font-family--body);
  --nce-header-h: var(--wp--custom--header-height);
  font-family: var(--nce-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--nce-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
.nce *,
.nce *::before,
.nce *::after {
  box-sizing: border-box;
}

/* Element resets use :where() so they carry only the .nce specificity and every component class below can override them. */
.nce :where(h1, h2, h3, h4) {
  font-family: var(--nce-head);
  color: var(--nce-navy);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.nce :where(p) {
  margin: 0 0 1em;
}
.nce :where(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nce a {
  color: var(--nce-slate);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nce a:hover {
  color: var(--nce-navy);
}
.nce :focus {
  outline: none;
}
.nce :focus-visible {
  outline: 3px solid var(--nce-navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.nce .nce-on-dark :focus-visible,
.nce .nce-on-dark:focus-visible {
  outline-color: var(--nce-focus-light);
}
.nce img {
  max-width: 100%;
  display: block;
}
.nce svg {
  display: block;
}
.nce .wp-block-image {
  margin: 0;
}
.nce .nce-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}
.nce-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.nce .nce-skip-wrap {
  margin: 0;
}
.nce-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1100;
  background: var(--nce-navy);
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
}
.nce-skip:focus {
  top: 16px;
}

/*
 * Buttons. .nce-btn is the header's plain HTML; .wp-block-button__link is the Button block and
 * .wp-element-button covers core forms (the post password form). The default is the accent style.
 */
.nce .nce-btn,
.nce .wp-block-button__link,
.nce .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--nce-accent);
  color: #ffffff;
  font-family: var(--nce-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.nce .nce-btn:hover,
.nce .wp-block-button__link:hover,
.nce .wp-element-button:hover {
  background: var(--nce-accent-dark);
  color: #ffffff;
}

/* Gold is reserved for Donate buttons; navy text on #D97706 is 4.92:1, white would be only 3.19:1. */
.nce .nce-btn--gold,
.nce .is-style-gold > .wp-block-button__link {
  background: var(--nce-gold);
  color: var(--nce-navy);
}
.nce .nce-btn--gold:hover,
.nce .is-style-gold > .wp-block-button__link:hover {
  background: #f59e0b;
  color: var(--nce-navy);
}
.nce .is-style-ghost > .wp-block-button__link {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.nce .is-style-ghost > .wp-block-button__link:hover {
  background: #ffffff;
  color: var(--nce-navy);
}
.nce .is-style-arrow > .wp-block-button__link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--nce-slate);
  font-family: var(--nce-body);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nce .is-style-arrow > .wp-block-button__link:hover {
  background: none;
  color: var(--nce-navy);
}
.nce .is-style-arrow > .wp-block-button__link::after,
.nce p.is-style-arrow a::after,
.nce .nce-final-alt a::after {
  content: "\00a0\2192" / "";
}
.nce p.is-style-arrow a {
  font-weight: 700;
}
.nce .nce-btn--lg > .wp-block-button__link {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 1.0625rem;
}
.nce .nce-btn--xl > .wp-block-button__link {
  min-height: 64px;
  padding: 18px 40px;
  font-size: 1.25rem;
}

/* Quick Exit on the domestic violence page: navy, not gold, so it never reads as a Donate button. */
.nce .nce-exit {
  background: var(--nce-navy);
  color: #ffffff;
  white-space: nowrap;
}
.nce .nce-exit:hover {
  background: var(--nce-slate);
  color: #ffffff;
}

/* Forms: the post password form and any other core form fields. */
.nce :where(input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="tel"], textarea, select) {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--nce-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--nce-ink);
  font: inherit;
}
.nce :where(input, textarea, select):focus-visible {
  outline: 3px solid var(--nce-navy);
  outline-offset: 1px;
  border-color: var(--nce-navy);
}
.nce .post-password-form {
  max-width: 40em;
}
.nce .post-password-form p:last-child {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.nce .post-password-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--nce-navy);
}
.nce .post-password-form-invalid-password {
  color: #b91c1c;
  font-weight: 700;
}

/* Header */
.nce-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--nce-hairline);
}
.nce .nce-header .nce-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--nce-header-h);
}
.nce .nce-logo {
  display: block;
  flex-shrink: 0;
}
.nce .nce-logo img {
  display: block;
  width: 196px;
  height: auto;
  max-width: none;
}
.nce-menu {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 24px;
}
.nce-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nce-nav ul {
  display: flex;
  gap: 4px;
}
.nce .nce-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--nce-ink);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.nce .nce-nav a:hover {
  background: var(--nce-strip);
  color: var(--nce-navy);
}
.nce-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nce .nce-ctas .nce-btn {
  min-height: 44px;
  padding: 10px 18px;
}
.nce-brand {
  flex-shrink: 0;
}
.nce-header-actions {
  display: none;
  margin-left: auto;
  gap: 8px;
}
.nce .nce-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--nce-navy);
  border-radius: 8px;
  background: #ffffff;
  color: var(--nce-navy);
  font-family: var(--nce-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.nce .nce-header-actions .nce-btn {
  min-height: 44px;
  padding: 10px 16px;
}
.nce .nce-nav a,
.nce .nce-ctas .nce-btn {
  white-space: nowrap;
}
@media (max-width: 1240px) {
  .nce-header-actions {
    display: flex;
  }
  .nce .nce-header .nce-wrap {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nce-menu {
    display: block;
    flex-basis: 100%;
    padding: 8px 0 20px;
  }
  .nce-js .nce-menu {
    display: none;
  }
  .nce-js .nce-menu.is-open {
    display: block;
  }
  .nce-nav {
    display: block;
  }
  .nce-nav ul {
    display: block;
  }
  .nce .nce-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--nce-hairline);
    border-radius: 0;
  }
  .nce-ctas {
    display: none;
  }
}
/* On phones the header cannot fit Quick Exit, Donate and Menu, and safety wins; the hero still has a Donate button. */
@media (max-width: 480px) {
  .nce .nce-header-actions .nce-exit + .nce-btn--gold {
    display: none;
  }
}

/* Sections */
.nce section,
.nce #pathways {
  scroll-margin-top: calc(var(--nce-header-h) + 16px);
}
.nce .nce-section {
  padding: 96px 0;
}
.nce .is-style-tint {
  background: var(--nce-bg);
}
.nce .nce-eyebrow {
  display: inline-block;
  font-family: var(--nce-head);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nce-accent);
  margin-bottom: 16px;
}
.nce .nce-on-dark .nce-eyebrow {
  color: #cbd5e1;
}
.nce .nce-h2 {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  margin-bottom: 24px;
}
.nce .nce-h2--sm {
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
}
.nce .nce-lead {
  font-size: 1.25rem;
  color: var(--nce-ink);
}
.nce .nce-intro {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.nce .nce-intro .nce-lead {
  margin: 0;
}

/* Photos: the image covers the frame; the gradient shows while it loads or while the image is still empty. */
.nce .nce-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5583 55%, #3b6a9e 100%);
  color: #ffffff;
}
.nce .nce-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.12) 1.5px,
    transparent 1.5px
  );
  background-size: 22px 22px;
  pointer-events: none;
}
.nce .nce-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The editor caps a flow-layout root at the content width; the cause and front page templates don't. */
.nce .is-root-container.is-layout-flow > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
/* The editor sets an inline height on the image. */
.nce .nce-photo.wp-block img {
  height: 100% !important;
}
/* An image caption inside a photo frame is shown as a badge over the photo. */
.nce .nce-photo figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  margin: 0;
  background: #ffffff;
  color: var(--nce-navy);
  font-family: var(--nce-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 37, 55, 0.3);
}

/* Icons are Image blocks with decorative SVGs from assets/icons. */
.nce .nce-icon {
  margin: 0 0 20px;
}
.nce .nce-icon img {
  width: 44px;
  height: 44px;
}
.nce .nce-pillar .nce-icon {
  margin-bottom: 18px;
}
.nce .nce-pillar .nce-icon img {
  width: 48px;
  height: 48px;
}

/* Home hero */
.nce .nce-hero {
  background: var(--nce-bg);
  padding: 72px 0 88px;
}
.nce .nce-hero > .nce-wrap,
.nce .nce-vhero > .nce-wrap {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}
.nce .nce-hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.nce .nce-hero .nce-lead,
.nce .nce-vhero .nce-lead {
  max-width: 40em;
  margin-bottom: 36px;
}
.nce .nce-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.nce .nce-hero .nce-photo {
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  max-height: 620px;
  width: 100%;
}

/* Home: mission and vision band directly under the hero. */
.nce .nce-mv {
  background: var(--nce-navy);
  color: #ffffff;
  padding: 56px 0;
}
.nce .nce-mv > .nce-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.nce .nce-mv-item {
  border-left: 4px solid var(--nce-gold);
  padding-left: 24px;
}
.nce .nce-mv-text {
  margin: 8px 0 0;
  font-family: var(--nce-head);
  font-size: 1.1875rem;
  line-height: 1.55;
  color: #ffffff;
}

/* Home: who we are, the four pillars and the impact strip */
.nce .nce-who-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 64px;
  align-items: start;
}
.nce .nce-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.nce .nce-pillar {
  background: #ffffff;
  border: 1px solid var(--nce-border);
  border-radius: 12px;
  padding: 28px;
}
.nce .nce-pillar h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.nce .nce-pillar p {
  color: var(--nce-muted);
  font-size: 1.0625rem;
  margin: 0;
}
.nce .nce-impact {
  margin-top: 72px;
  background: var(--nce-strip);
  border-radius: 16px;
  padding: 40px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.nce .nce-impact-item {
  border-left: 4px solid var(--nce-accent);
  padding-left: 20px;
}
.nce .nce-impact-item p {
  margin: 0;
}
.nce .nce-impact-num {
  font-family: var(--nce-head);
  font-weight: 700;
  font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem);
  line-height: 1.1;
  color: var(--nce-navy);
}
.nce .nce-impact-item .nce-impact-label {
  font-weight: 700;
  color: var(--nce-navy);
  margin-top: 6px;
}
.nce .nce-impact-note {
  color: var(--nce-muted);
  font-size: 1rem;
}

/* Home: causes, an editorial list with one row per cause */
.nce .nce-causes {
  background: var(--nce-bg);
}
.nce .nce-causes-intro {
  max-width: 760px;
  margin-bottom: 40px;
}
.nce .nce-causes-intro .nce-lead {
  margin: 0;
}
.nce .nce-cause-list {
  border-top: 1px solid var(--nce-hairline);
}
.nce .nce-cause-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--nce-hairline);
}
.nce .nce-cause-item h3 {
  font-size: 1.5rem;
}
.nce .nce-cause-item p {
  margin: 0 0 12px;
  max-width: 68ch;
}
.nce .nce-cause-item p:last-child {
  margin-bottom: 0;
}

/* Sponsorship value box, the checklist and the trust badges */
.nce .nce-value {
  max-width: 960px;
  margin: 0 auto;
  background: var(--nce-bg);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 48px;
}
.nce .nce-value .nce-lead {
  margin-bottom: 28px;
}
.nce .nce-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--nce-navy);
  color: #ffffff;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 28px;
}
.nce .nce-stat p {
  margin: 0;
  font-family: var(--nce-head);
  color: #ffffff;
}
.nce .nce-stat .nce-stat-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}
.nce .nce-stat .nce-stat-label {
  font-size: 1.25rem;
  line-height: 1.3;
}
.nce .is-style-checklist > li {
  position: relative;
  padding: 20px 0 20px 48px;
  border-top: 1px solid var(--nce-hairline);
}
.nce .is-style-checklist > li:last-child {
  border-bottom: 1px solid var(--nce-hairline);
}
.nce .is-style-checklist > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 32px;
  height: 32px;
  background: url("../icons/check.svg") no-repeat center / contain;
}
.nce .is-style-checklist strong {
  color: var(--nce-navy);
}
.nce .is-style-badges {
  max-width: 960px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nce .is-style-badges > li {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--nce-navy);
  border-radius: 12px;
  padding: 24px;
  color: var(--nce-muted);
  font-size: 1rem;
}
.nce .is-style-badges strong {
  display: block;
  font-family: var(--nce-head);
  font-size: 1.125rem;
  color: var(--nce-navy);
  margin-bottom: 6px;
}

/* Home: one sponsorship summary that links to each cause page's donate section. */
.nce .nce-sponsor-pick {
  margin: 32px 0 12px;
  font-weight: 700;
  color: var(--nce-navy);
}
.nce .nce-sponsor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.nce .nce-sponsor-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid var(--nce-navy);
  border-radius: 999px;
  background: #ffffff;
  color: var(--nce-navy);
  font-weight: 700;
  text-decoration: none;
}
.nce .nce-sponsor-links a:hover {
  background: var(--nce-navy);
  color: #ffffff;
}

/* Home: hardware kit showcase */
.nce .nce-kits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.nce .nce-kit {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}
.nce .nce-kit-photo {
  aspect-ratio: 4 / 3;
}
.nce .nce-kit h3 {
  margin: 20px 24px 8px;
}
.nce .nce-kit p {
  margin: 0 24px 24px;
}

/* Cards */
.nce .nce-cards {
  display: grid;
  gap: 24px;
}
.nce .nce-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.nce .nce-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.nce .is-style-card,
.nce .is-style-card-accent {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--wp--custom--shadow--card);
}
.nce .is-style-card-accent {
  border-left: 4px solid var(--nce-navy);
}
.nce .is-style-card h3,
.nce .is-style-card-accent h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.nce .is-style-card p,
.nce .is-style-card-accent p {
  margin: 0;
  color: var(--nce-muted);
}

/* Cause hero */
.nce .nce-vhero {
  background: var(--nce-navy);
  color: #e2e8f0;
  padding: 80px 0 96px;
}
.nce .nce-vhero h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.25rem);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.nce .nce-vhero .nce-lead {
  color: #e2e8f0;
}
.nce .nce-vhero-photo {
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Career pathways. Without JS (and on phones) every pathway is a stacked card; nce.js builds the tabs. */
.nce .nce-path-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}
.nce .nce-path-head .nce-lead {
  margin: 0;
}
.nce .nce-path-photo {
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.nce-tabs {
  display: none;
}
.nce .nce-panels {
  display: grid;
  gap: 16px;
}
.nce .nce-tab {
  appearance: none;
  text-align: left;
  padding: 16px 18px;
  border: 2px solid var(--nce-hairline);
  border-radius: 10px;
  background: #ffffff;
  color: var(--nce-navy);
  font-family: var(--nce-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  cursor: pointer;
}
.nce .nce-tab span {
  display: block;
  margin-top: 4px;
  font-family: var(--nce-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--nce-muted);
}
.nce .nce-tab:hover {
  border-color: var(--nce-slate);
}
.nce .nce-tab.is-active {
  background: var(--nce-navy);
  border-color: var(--nce-navy);
  color: #ffffff;
}
.nce .nce-tab.is-active span {
  color: #cbd5e1;
}
.nce .nce-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(15, 37, 55, 0.06);
}
.nce .nce-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.nce .nce-panel h3 {
  font-size: 1.625rem;
}
.nce .nce-panel .nce-hours {
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--nce-strip);
  color: var(--nce-slate);
  font-size: 0.875rem;
  font-weight: 700;
}
.nce .nce-panel .nce-tag {
  display: inline-block;
  margin: 12px 0 8px;
  padding: 4px 12px;
  border-radius: 6px;
  background: #e2e8f0;
  color: var(--nce-slate);
  font-weight: 700;
  font-size: 0.9375rem;
}
.nce .nce-panel .nce-tag--kit {
  background: #dce6f1;
}
.nce .nce-panel h4 {
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nce-slate);
  margin: 20px 0 8px;
}
.nce .nce-panel p {
  margin: 0;
  max-width: 72ch;
}

/* Career launch with the leadership spotlight */
.nce .nce-launch-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: start;
}
.nce .nce-launch-photo {
  margin-top: 32px;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.nce .nce-spotlight {
  background: var(--nce-navy);
  color: #e2e8f0;
  border-radius: 16px;
  padding: 36px;
}
.nce .nce-spotlight h3 {
  color: #ffffff;
  font-size: 1.375rem;
  margin-bottom: 16px;
}
.nce .nce-spotlight p:last-child {
  margin: 0;
}

/* Final donate call to action */
.nce .nce-final {
  background: var(--nce-navy);
  color: #e2e8f0;
  padding: 80px 0;
  text-align: center;
}
.nce .nce-final > .nce-wrap {
  max-width: 860px;
}
.nce .nce-final h1,
.nce .nce-final h2 {
  color: #ffffff;
}
.nce .nce-final .nce-lead {
  color: #e2e8f0;
  margin: 0 auto 32px;
}
.nce .nce-final .wp-block-buttons {
  justify-content: center;
}
.nce .nce-final-alt {
  color: #cbd5e1;
  margin: 24px 0 0;
}
.nce .nce-final-alt a {
  color: #ffffff;
  font-weight: 700;
}
.nce .nce-final-legal {
  color: #94a3b8;
  font-size: 0.9375rem;
  margin: 32px 0 0;
}

/* Footer */
.nce-footer {
  background: var(--nce-navy);
  color: #e2e8f0;
  padding: 72px 0 32px;
  font-size: 1.0625rem;
}
.nce-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.nce .nce-footer h2 {
  color: #ffffff;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.nce-footer li {
  margin-bottom: 10px;
  line-height: 1.4;
}
.nce .nce-footer a {
  color: #ffffff;
  text-decoration: none;
}
.nce .nce-footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}
.nce-footer address {
  font-style: normal;
  margin-top: 16px;
}
.nce .nce-footer-name {
  font-family: var(--nce-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 12px;
}
.nce-footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.3);
  font-size: 0.9375rem;
}

/* Responsive */
@media (min-width: 761px) {
  .nce-js .nce-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }
  .nce-js .nce-panel {
    display: none;
  }
  .nce-js .nce-panel.is-active {
    display: block;
  }
}
@media (max-width: 1100px) {
  .nce .nce-hero > .nce-wrap,
  .nce .nce-vhero > .nce-wrap,
  .nce .nce-who-grid,
  .nce .nce-path-head,
  .nce .nce-launch-grid {
    grid-template-columns: 1fr;
  }
  .nce .nce-hero .nce-photo,
  .nce .nce-vhero-photo {
    aspect-ratio: 16 / 10;
  }
  .nce .nce-impact {
    grid-template-columns: repeat(2, 1fr);
  }
  .nce-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .nce .nce-cards--3,
  .nce .is-style-badges,
  .nce .nce-mv > .nce-wrap,
  .nce .nce-kits {
    grid-template-columns: 1fr;
  }
  .nce .nce-mv > .nce-wrap,
  .nce .nce-kits {
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .nce .nce-cards--2 {
    grid-template-columns: 1fr;
  }
  .nce .nce-panel {
    padding: 24px;
  }
}
@media (max-width: 640px) {
  .nce {
    font-size: 1.0625rem;
    --nce-header-h: 64px;
  }
  .nce .nce-wrap {
    padding: 0 20px;
  }
  .nce .nce-header .nce-wrap {
    gap: 8px;
    min-height: 64px;
  }
  .nce .nce-header-actions .nce-btn,
  .nce .nce-menu-toggle {
    padding: 8px 12px;
    font-size: 0.9375rem;
  }
  .nce .nce-logo img {
    width: 132px;
  }
  .nce .nce-section {
    padding: 64px 0;
  }
  .nce .nce-hero {
    padding: 40px 0 56px;
  }
  .nce .nce-vhero {
    padding: 48px 0 56px;
  }
  .nce .nce-pillars,
  .nce .nce-impact,
  .nce-footer-grid {
    grid-template-columns: 1fr;
  }
  .nce .nce-impact {
    padding: 28px 20px;
    margin-top: 48px;
  }
  .nce .nce-cause-item {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }
  .nce .nce-value {
    padding: 28px 20px;
  }
  .nce .nce-final {
    padding: 64px 0;
  }
  .nce .nce-vhero .wp-block-button,
  .nce .nce-vhero .wp-block-button__link,
  .nce .nce-btn--xl,
  .nce .nce-btn--xl > .wp-block-button__link {
    width: 100%;
  }
  .nce .nce-btn--xl > .wp-block-button__link {
    font-size: 1.0625rem;
    padding: 16px 20px;
  }
}
@media (max-width: 374px) {
  .nce .nce-logo img {
    width: 108px;
  }
}
