.project-cell-page {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}

.project-cell-page *,
.project-cell-page *::before,
.project-cell-page *::after {
  box-sizing: inherit;
}

.project-cell-hero {
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.project-cell-hero .page-intro,
.project-cell-section-heading > p:not(.section-eyebrow) {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.project-cell-page p,
.project-cell-page h4 {
  text-align: center;
}

.project-cell-page :is(ul, ol, li),
.project-cell-page :is(ul, ol) p {
  text-align: left;
}

.project-cell-page .disclosure-card :is(summary, p, h4) {
  text-align: left;
}

.project-cell-page .service-entry-card--featured {
  max-width: none;
  width: 100%;
}

.project-cell-page .disclosure-card {
  max-width: none;
}

.project-cell-section-heading {
  margin-bottom: 1.5rem;
}

.project-cell-section-heading h2 {
  text-align: center;
}

.project-cell-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.project-cell-actions .more-button {
  align-self: stretch;
}

.project-cell-unlisted,
.project-cell-honesty,
.project-cell-muted {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.project-cell-unlisted,
.project-cell-honesty {
  font-style: normal;
  line-height: 1.6;
}

.project-cell-unlisted {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.project-cell-honesty {
  margin-top: 2rem;
  margin-bottom: 0;
}

.project-cell-story-note,
.project-cell-mail-panel,
.project-cell-caution {
  width: 100%;
}

.project-cell-role {
  scroll-margin-top: 7rem;
}

.project-cell-role-topline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.project-cell-role-number {
  color: var(--subheading-yellow);
  font-size: 1.25rem;
  font-weight: 800;
}

.project-cell-role-capacity {
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.project-cell-role-summary {
  margin-bottom: 1.25rem;
}

.project-cell-role .disclosure-card {
  width: 100%;
  margin: auto 0 1rem;
  font-size: inherit;
}

.project-cell-role-details h4 {
  margin: 1rem 0 0.4rem;
}

.project-cell-role-details p {
  margin-top: 0;
}

.project-cell-role-details ul {
  margin-top: 0.4rem;
  padding-left: 1.25rem;
}

.project-cell-role-cta {
  width: 100% !important;
  margin-top: auto !important;
}

.project-cell-planning-note {
  font-style: italic;
}

.project-cell-boundary-list,
.project-cell-selection {
  padding: 0;
  list-style: none;
}

.project-cell-boundary-list li {
  min-height: 100%;
}

.project-cell-faq-list .generic-container {
  margin: 1rem 0;
  font-size: inherit;
}

.project-cell-faq-list .generic-container:last-child {
  margin-bottom: 0;
}

.project-cell-faq-list details p {
  margin-bottom: 0;
}

.project-cell-interest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  padding-left: 1.5rem;
}

.project-cell-mail-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem 1.25rem;
}

.project-cell-mail-panel p {
  margin: 0;
}

.project-cell-mail-panel .more-button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.project-cell-mail-label {
  color: var(--subheading-yellow);
  font-weight: 700;
}

.project-cell-selection {
  counter-reset: project-cell-step;
}

.project-cell-selection li {
  counter-increment: project-cell-step;
}

.project-cell-selection li::after {
  content: counter(project-cell-step, decimal-leading-zero);
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  color: var(--subheading-yellow);
  font-size: 0.85rem;
  font-weight: 800;
}

.project-cell-selection > li > strong,
.project-cell-selection > li > span {
  display: block;
}

.project-cell-selection > li > span {
  margin-top: 0.45rem;
}

.project-cell-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  justify-content: center;
}

.project-cell-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.5rem;
  margin-top: 1.5rem;
}

.project-cell-footer p {
  margin: 0;
  font-size: 1rem !important;
}

@media (max-width: 940px) {
  .project-cell-interest-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .project-cell-role-topline {
    flex-direction: column;
  }

  .project-cell-role-capacity {
    text-align: center;
  }

  .project-cell-mail-panel {
    grid-template-columns: 1fr;
  }

  .project-cell-mail-panel .more-button {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.75rem;
    width: 100%;
  }

  .project-cell-footer {
    align-items: center;
    flex-direction: column;
  }
}
