.community-education {
  --violet: #412386;
  --lime: #c5fb89;
  font-family: "Avenir Book", Avenir, system-ui, sans-serif;
}

.community-education :is(h1, h2, h3) {
  font-family: inherit;
  letter-spacing: normal;
  font-weight: 400;
}

.community-education .hero {
  --community-art: url("/artwork/home/community-psd-hero.webp");
  padding: 5.5rem 6% 3rem;
  background: linear-gradient(90deg, #210d3855, transparent 60%),
    #210d38 var(--community-art) center / cover no-repeat;
}

.community-education .hero::before {
  content: none;
}

.community-education .hero-copy {
  width: min(40%, 520px);
  margin: 0;
  padding: 0;
}

.community-education .story {
  background: white;
}

.community-education .story-layout {
  grid-template-columns: minmax(0, 55.6fr) minmax(0, 44.4fr);
  padding: clamp(2rem, 5vw, 5rem) 3%;
}

.community-education .maya {
  padding: 0;
  max-width: none;
  margin: 0;
}

.community-education .maya figcaption {
  padding: clamp(1rem, 5vw, 4rem) 9% 1rem;
}

.community-education blockquote {
  margin-block: .6rem 1rem;
}

.community-education .story-steps {
  padding: 0;
}

.community-education .story-steps li {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  transform: none;
}

.community-education .story-steps li:last-child .story-copy {
  align-self: center;
}

.community-education .story-steps li > img {
  width: 100%;
  border-radius: 50%;
  transform: none;
}

.community-education .phase-art img {
  aspect-ratio: 1;
  object-fit: contain;
}

.community-education .story-copy p,
.community-education .phase h3 + p {
  font-size: 1rem;
  line-height: 1.5;
}

.community-education .phase h3 {
  margin-top: .65rem;
}

.community-education .next {
  padding-inline: 6%;
}

@media (max-width: 760px) {
  .community-education .story-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .community-education .hero {
    --community-art-height: clamp(230px, 63vw, 410px);
    min-height: 0;
    padding-top: calc(var(--community-art-height) - 1rem);
    background: linear-gradient(0deg, #210d38, transparent 60%)
        center top / 100% var(--community-art-height) no-repeat,
      #210d38 var(--community-art) right top / auto var(--community-art-height) no-repeat;
  }

  .community-education .hero-copy {
    width: min(100%, 480px);
  }

  .community-education .maya figcaption {
    padding: 0 3%;
  }

  .community-education .story-steps li {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }

  .community-education .story-steps {
    margin: 1.5rem 0 0 1rem;
  }
}
