@layer shared {
/*
 * One visual grammar for every public first screen.
 * Page-specific styles own the content inside the right panel; this layer owns
 * the shared composition, scale, spacing and responsive behaviour.
 */
.home-editorial-body,
.public-editorial-body,
.legal-page,
.search-page {
  --public-hero-system-height: 46.1875rem;
  --public-hero-system-edge: clamp(1rem, 4.04vw, 3.9rem);
  --public-hero-system-grid: minmax(0, 1.05fr) minmax(0, 0.95fr);
  --public-hero-system-panel-width: 31.375rem;
  --public-hero-system-panel-height: 36.875rem;
  --public-hero-system-background:
    radial-gradient(circle at 76% 43%, rgba(42, 84, 224, 0.42) 0%, rgba(22, 49, 141, 0.16) 30%, rgba(7, 17, 59, 0) 58%),
    linear-gradient(112deg, #061039 0%, #091747 45%, #103890 100%);
  --public-hero-system-cyan: #75e7f3;
  --public-hero-system-navy: #07113b;
  --public-hero-system-copy: rgba(255, 255, 255, 0.72);
  --public-hero-system-line: rgba(255, 255, 255, 0.18);
  --public-hero-system-shadow: 0 1.875rem 6.25rem rgba(0, 0, 0, 0.34);
  --public-hero-content-height: var(--public-hero-system-height);
  --public-hero-navigation-height: 5.125rem;
}

.home-editorial-hero-shell {
  width: 100%;
  padding: 0;
}

.public-home-editorial .pm-home-hero-island {
  min-height: 0;
}

.public-home-editorial .pm-opportunity-hero {
  position: relative;
  display: grid;
  height: calc(var(--public-hero-system-height) + var(--public-hero-navigation-height));
  min-height: calc(var(--public-hero-system-height) + var(--public-hero-navigation-height));
  grid-template-rows: minmax(var(--public-hero-system-height), 1fr) var(--public-hero-navigation-height);
  overflow: hidden;
  border: 0;
  background: var(--public-hero-system-background);
  color: #fff;
}

:is(
  .pm-opportunity-hero__main,
  .platform-editorial-hero,
  .contour-editorial-hero,
  .endowment-editorial-hero,
  .public-editorial-hero,
  .legal-hero
) {
  position: relative;
  display: grid;
  height: var(--public-hero-system-height);
  min-height: var(--public-hero-system-height);
  grid-template-columns: var(--public-hero-system-grid);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--public-hero-system-line);
  background: var(--public-hero-system-background);
  color: #fff;
}

:is(
  .pm-opportunity-hero__copy,
  .platform-editorial-hero__copy,
  .contour-editorial-hero__copy,
  .endowment-editorial-hero__copy,
  .public-editorial-hero__copy,
  .legal-hero__copy
) {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 3.75rem 1.5rem 3.75rem var(--public-hero-system-edge);
}

:is(
  .pm-opportunity-hero__eyebrow,
  .platform-editorial-hero__copy > p:first-child,
  .contour-editorial-hero__kicker,
  .endowment-editorial-kicker,
  .public-editorial-hero .public-editorial-eyebrow,
  .legal-hero .legal-eyebrow,
  .legal-hero__aside-label
) {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--public-hero-system-cyan);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

:is(
  .pm-opportunity-hero__eyebrow,
  .platform-editorial-hero__copy > p,
  .contour-editorial-hero__kicker,
  .endowment-editorial-kicker
) > span {
  width: 1.75rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.legal-hero .legal-eyebrow::before,
.search-page__hero > p::before {
  width: 1.75rem;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.legal-hero__aside-label {
  color: var(--public-hero-system-cyan);
}

:is(
  .pm-opportunity-hero__title,
  .platform-editorial-hero__copy h1,
  .contour-editorial-hero h1,
  .endowment-editorial-hero h1,
  .public-editorial-hero h1,
  .legal-hero h1
) {
  max-width: 14ch;
  margin: 1.6875rem 0 0;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(3.1rem, 4vw, 4.35rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.pm-opportunity-hero__title {
  display: grid;
  width: 100%;
  gap: 0;
}

:is(
  .pm-opportunity-hero__title span,
  .pm-opportunity-hero__title strong,
  .endowment-editorial-hero h1 > span
) {
  display: block;
}

:is(
  .pm-opportunity-hero__title strong,
  .platform-editorial-hero__copy h1 strong,
  .endowment-editorial-hero h1 strong
) {
  color: var(--public-hero-system-cyan);
}

:is(
  .pm-opportunity-hero__summary,
  .platform-editorial-hero__summary,
  .contour-editorial-hero__summary,
  .endowment-editorial-hero__summary,
  .public-editorial-hero__summary,
  .legal-hero__notice
) {
  width: min(41.25rem, 100%);
  max-width: 41.25rem;
  margin: 1.875rem 0 0;
  color: var(--public-hero-system-copy);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.7;
}

.platform-editorial-hero__summary {
  display: flex;
  align-items: end;
  gap: 1rem;
}

.platform-editorial-hero__summary p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

:is(
  .pm-opportunity-hero__actions,
  .contour-editorial-hero__actions,
  .endowment-editorial-hero__actions,
  .public-editorial-hero__actions
) {
  gap: 0.75rem;
  margin-top: 2.375rem;
  display: flex;
  flex-wrap: wrap;
}

:is(
  .pm-opportunity-hero__actions a,
  .platform-editorial-hero__summary a,
  .contour-editorial-hero__actions .contour-editorial-action,
  .endowment-editorial-hero__actions .endowment-editorial-action,
  .public-editorial-hero__actions .public-editorial-button
) {
  display: inline-flex;
  min-height: 3.4375rem;
  width: fit-content;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.35rem;
  padding-inline: 1.25rem;
  background: transparent;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

:is(
  .pm-opportunity-hero__primary,
  .contour-editorial-action--light,
  .endowment-editorial-action--light,
  .public-editorial-button--primary
) {
  border-color: #fff;
  background: #fff;
  color: var(--public-hero-system-navy);
}

:is(
  .pm-opportunity-hero__actions a,
  .platform-editorial-hero__summary a,
  .contour-editorial-hero__actions .contour-editorial-action,
  .endowment-editorial-hero__actions .endowment-editorial-action,
  .public-editorial-hero__actions .public-editorial-button
):hover,
:is(
  .pm-opportunity-hero__actions a,
  .platform-editorial-hero__summary a,
  .contour-editorial-hero__actions .contour-editorial-action,
  .endowment-editorial-hero__actions .endowment-editorial-action,
  .public-editorial-hero__actions .public-editorial-button
):focus-visible {
  transform: translateY(-1px);
}

:is(
  .pm-opportunity-kinetic,
  .platform-editorial-hero__index,
  .contour-editorial-panel,
  .endowment-editorial-stat-card,
  .endowment-editorial-hero-media-card,
  .platform-about-media,
  .public-editorial-hero__media,
  .public-editorial-hero__signal,
  .legal-hero__aside
) {
  position: relative;
  width: min(var(--public-hero-system-panel-width), calc(100% - 2rem));
  height: var(--public-hero-system-panel-height);
  min-height: var(--public-hero-system-panel-height);
  align-self: center;
  justify-self: center;
}

:is(
  .platform-editorial-hero__index,
  .contour-editorial-panel,
  .endowment-editorial-stat-card,
  .endowment-editorial-hero-media-card,
  .platform-about-media,
  .public-editorial-hero__media,
  .public-editorial-hero__signal,
  .legal-hero__aside
) {
  overflow: hidden;
  border: 1px solid var(--public-hero-system-line);
  box-shadow: var(--public-hero-system-shadow);
}

.pm-opportunity-kinetic {
  position: relative;
  display: flex;
}

.platform-editorial-hero__index {
  display: grid;
  grid-template-rows: minmax(0, 1fr) repeat(3, minmax(4.8rem, auto));
  border-left: 1px solid var(--public-hero-system-line);
  background: rgba(5, 17, 57, 0.34);
}

.platform-editorial-hero__index--two {
  grid-template-rows: minmax(0, 1fr) repeat(2, minmax(5.8rem, auto));
}

.platform-editorial-hero__index-head {
  padding: 2.5rem;
}

.platform-about-media {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.contour-editorial-hero__visual,
.endowment-editorial-hero__visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 2.75rem var(--public-hero-system-edge) 2.75rem 1rem;
}

.public-editorial-hero__media {
  position: relative;
  margin: 0;
}

.public-editorial-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contour-editorial-hero {
  --contour-hero-accent: var(--public-hero-system-cyan);
}

.contour-editorial-hero--alumni { --contour-hero-accent: #8fe5d1; }
.contour-editorial-hero--merch { --contour-hero-accent: #9ce6d7; }
.contour-editorial-hero--trustees { --contour-hero-accent: #d4e0ff; }

.contour-editorial-panel {
  margin: 0;
  overflow: hidden;
}

.legal-hero {
  align-items: stretch;
  padding: 0;
}

.legal-hero__aside {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 1px solid var(--public-hero-system-line);
  padding: 2.5rem;
  background: rgba(5, 17, 57, 0.34);
}

.legal-hero__aside strong {
  max-width: 20rem;
  margin-top: auto;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.25;
}

.legal-hero__links {
  margin-top: auto;
}

.search-page__hero {
  display: flex;
  min-height: 32rem;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--public-hero-system-line);
  padding: 3.75rem var(--public-hero-system-edge);
  background: var(--public-hero-system-background);
  color: #fff;
}

.search-page__hero > p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--public-hero-system-cyan);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.search-page__hero h1 {
  max-width: 14ch;
  margin: 1.6875rem 0 0;
  color: #fff;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(3.1rem, 4vw, 4.35rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.search-page__hero h1 strong {
  color: var(--public-hero-system-cyan);
}

.search-page__form {
  border-bottom-color: rgba(255, 255, 255, 0.72);
}

.search-page__form svg { stroke: #fff; }
.search-page__form input { color: #fff; }
.search-page__form input::placeholder { color: rgba(255, 255, 255, 0.52); }
.search-page__form button { border-radius: 0.35rem; background: #fff; color: var(--public-hero-system-navy); }
.search-page__summary { color: rgba(255, 255, 255, 0.64); }
.search-page__summary strong { color: #fff; }
.search-page__popular a { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: #fff; }

@media (max-width: 1180px) {
  .home-editorial-body,
  .public-editorial-body,
  .legal-page,
  .search-page {
    --public-hero-system-height: 44rem;
    --public-hero-system-panel-width: 28rem;
    --public-hero-system-panel-height: 34rem;
  }

  :is(
    .pm-opportunity-hero__title,
    .platform-editorial-hero__copy h1,
    .contour-editorial-hero h1,
    .endowment-editorial-hero h1,
    .public-editorial-hero h1,
    .legal-hero h1
  ) {
    max-width: 100%;
    font-size: 2.5rem;
  }
}

@media (max-width: 900px) {
  .public-home-editorial .pm-opportunity-hero {
    height: auto;
    min-height: 0;
    grid-template-rows: auto var(--public-hero-navigation-height);
  }

  :is(
    .pm-opportunity-hero__main,
    .platform-editorial-hero,
    .contour-editorial-hero,
    .endowment-editorial-hero,
    .public-editorial-hero,
    .legal-hero
  ) {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  :is(
    .pm-opportunity-hero__copy,
    .platform-editorial-hero__copy,
    .contour-editorial-hero__copy,
    .endowment-editorial-hero__copy,
    .public-editorial-hero__copy,
    .legal-hero__copy
  ) {
    min-height: 29rem;
    justify-content: center;
    padding: 3.5rem var(--public-hero-system-edge) 2.5rem;
  }

  .platform-editorial-hero__summary {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-editorial-hero__summary a { width: 100%; }

  .platform-editorial-hero__index {
    grid-template-rows: auto;
    border-top: 1px solid var(--public-hero-system-line);
    border-left: 0;
  }

  :is(
    .pm-opportunity-kinetic,
    .platform-editorial-hero__index,
    .contour-editorial-panel,
    .endowment-editorial-stat-card,
    .endowment-editorial-hero-media-card,
    .platform-about-media,
    .public-editorial-hero__media,
    .public-editorial-hero__signal,
    .legal-hero__aside
  ) {
    width: min(31rem, calc(100% - 2rem));
    height: 32rem;
    min-height: 32rem;
    margin: 0 auto 3rem;
  }

  .contour-editorial-hero__visual,
  .endowment-editorial-hero__visual {
    min-height: 0;
    padding: 1rem var(--public-hero-system-edge) 0;
  }

  .public-editorial-hero__media {
    min-height: 32rem;
  }

  .endowment-editorial-hero .endowment-editorial-hero__copy {
    min-height: 29rem;
    padding: 3.5rem var(--public-hero-system-edge) 2.5rem;
  }

  .endowment-editorial-hero .endowment-editorial-hero__visual {
    padding: 1rem var(--public-hero-system-edge) 0;
  }

  .legal-hero__aside {
    border-top: 1px solid var(--public-hero-system-line);
    border-left: 1px solid var(--public-hero-system-line);
    padding: 2rem;
  }
}

@media (max-width: 700px) {
  :is(
    .pm-opportunity-hero__copy,
    .platform-editorial-hero__copy,
    .contour-editorial-hero__copy,
    .endowment-editorial-hero__copy,
    .public-editorial-hero__copy,
    .legal-hero__copy
  ) {
    min-height: 26rem;
    padding: 3rem 1rem 2rem;
  }

  .endowment-editorial-hero .endowment-editorial-hero__copy {
    min-height: 26rem;
    padding: 3rem 1rem 2rem;
  }

  :is(
    .pm-opportunity-hero__title,
    .platform-editorial-hero__copy h1,
    .contour-editorial-hero h1,
    .endowment-editorial-hero h1,
    .public-editorial-hero h1,
    .legal-hero h1,
    .search-page__hero h1
  ) {
    max-width: 100%;
    font-size: 2rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  :is(
    .pm-opportunity-hero__summary,
    .platform-editorial-hero__summary,
    .contour-editorial-hero__summary,
    .endowment-editorial-hero__summary,
    .public-editorial-hero__summary,
    .legal-hero__notice
  ) {
    margin-top: 1.35rem;
    font-size: 0.82rem;
  }

  :is(
    .pm-opportunity-hero__actions,
    .contour-editorial-hero__actions,
    .endowment-editorial-hero__actions,
    .public-editorial-hero__actions
  ) {
    align-items: stretch;
    flex-direction: column;
    margin-top: 1.65rem;
  }

  :is(
    .pm-opportunity-hero__actions a,
    .contour-editorial-hero__actions .contour-editorial-action,
    .endowment-editorial-hero__actions .endowment-editorial-action,
    .public-editorial-hero__actions .public-editorial-button
  ) {
    width: 100%;
  }

  :is(
    .pm-opportunity-kinetic,
    .platform-editorial-hero__index,
    .contour-editorial-panel,
    .endowment-editorial-stat-card,
    .endowment-editorial-hero-media-card,
    .platform-about-media,
    .public-editorial-hero__media,
    .public-editorial-hero__signal,
    .legal-hero__aside
  ) {
    width: calc(100% - 2rem);
    height: 28rem;
    min-height: 28rem;
    margin-bottom: 2rem;
  }

  .platform-editorial-hero__index-head { padding: 1.5rem; }
  .legal-hero__aside { padding: 1.5rem; }
  .public-editorial-hero__media { min-height: 28rem; }

  .search-page__hero {
    min-height: 27rem;
    padding: 3rem 1rem;
  }

  .search-page__form {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .search-page__form button {
    grid-column: 1 / -1;
    width: 100%;
  }
}


}

@layer shared {
/* Participation heroes size to their content, including enlarged text. */
.contour-editorial-hero--journey {
  height: auto;
  min-height: var(--public-hero-system-height);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.contour-editorial-hero--journey .contour-editorial-hero__copy {
  padding-block: 3rem;
  padding-right: 2rem;
}
.contour-editorial-hero--journey h1 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}
.contour-editorial-hero--journey .contour-editorial-hero__kicker { font-size: 0.75rem; }
.contour-editorial-hero--journey .contour-editorial-hero__summary { max-width: 48ch; font-size: 1rem; line-height: 1.75; }
.contour-editorial-hero--journey .contour-editorial-hero__visual { min-width: 0; padding: 2.5rem var(--editorial-edge) 2.5rem 0; }
.contour-editorial-hero--journey :is(.contour-community, .contour-project-board, .contour-council-docket) { width: 100%; max-width: 31rem; height: auto; min-height: 27rem; margin: auto; }
.contour-editorial-hero--journey .contour-editorial-action--light { border-color: #fff; background: #fff; color: #10213a; }
.contour-editorial-hero--journey .contour-editorial-action--light:hover { border-color: #75e7f3; background: #75e7f3; }
.contour-editorial-hero--journey + .contour-editorial-nav { height: auto; min-height: 0; }
.contour-editorial-hero--journey + .contour-editorial-nav a { min-height: 4.5rem; }
@media (max-width: 900px) {
  .contour-editorial-hero--journey { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .contour-editorial-hero--journey .contour-editorial-hero__copy { min-height: 0; padding: 3rem var(--editorial-edge) 2rem; }
  .contour-editorial-hero--journey h1 { max-width: 22ch; }
  .contour-editorial-hero--journey .contour-editorial-hero__visual { padding: 0 var(--editorial-edge) 2rem; }
  .contour-editorial-hero--journey :is(.contour-community, .contour-project-board, .contour-council-docket) { max-width: none; height: auto; min-height: 24rem; }
}
@media (max-width: 44rem) {
  .contour-editorial-hero--journey + .contour-editorial-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contour-editorial-hero--journey + .contour-editorial-nav a { gap: 0.5rem; border-bottom: 1px solid #ffffff24; padding: 0.75rem 1rem; }
  .contour-editorial-hero--journey + .contour-editorial-nav strong { font-size: 0.875rem; }
  .contour-editorial-hero--journey h1 { font-size: clamp(1.875rem, 7vw, 2.5rem); }
  .contour-editorial-hero--journey .contour-editorial-hero__actions { margin-top: 1.5rem; }
  .contour-editorial-hero--journey .contour-editorial-hero__actions a { width: 100%; }
  .contour-editorial-hero--journey :is(.contour-community, .contour-project-board, .contour-council-docket) { height: auto; min-height: 0; }
}
}
