.curriculum {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.education-course-head {
  display: block;
}

.education-course-head .section-head {
  margin-bottom: 0;
}

.curriculum-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.curriculum-filter button {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s4);
  border: 0;
  border-right: 1px solid var(--hairline);
  color: var(--ink-soft);
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.curriculum-filter button:nth-child(4n) {
  border-right: 0;
}

.curriculum-filter button:nth-child(-n + 4) {
  border-bottom: 1px solid var(--hairline);
}

.curriculum-filter button:hover,
.curriculum-filter button:focus-visible,
.curriculum-filter button:target,
.curriculum-filter button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(26, 26, 26, 0.045);
}

.curriculum-filter small {
  color: var(--grey);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.curriculum-filter button,
.curriculum-lessons {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.curriculum-lessons {
  border-top: 1px solid var(--ink);
}

.curriculum-lessons > [hidden] {
  display: none;
}

.education-next-step {
  margin-bottom: 0;
}

.education-hub .shell {
  gap: var(--s7);
}

.education-hub .block {
  margin-top: 0;
}

.education-hub .hub-hero-copy .lead {
  max-width: 52rem;
}

.education-hub .curriculum .section-head {
  margin-bottom: var(--s5);
}

.education-hub .curriculum-filter.mt-6 {
  margin-top: 0;
}

.education-hub .curriculum-lessons.mt-7 {
  margin-top: var(--s7);
}

.education-hub .hub-hero--visual .pose-scene {
  padding-bottom: 0;
}

.education-hub .hub-hero--visual .pose-scene::before,
.education-hub .hub-hero--visual .pose-scene::after {
  display: none;
}

.education-hub .curriculum-lessons .feed-item > a {
  min-height: 72px;
  padding: var(--s4) 0;
}

@media (max-width: 700px) {
  .education-hub .hub-hero--visual {
    grid-template-columns: 1fr;
  }

  .education-hub .hub-hero--visual .pose-scene {
    --pose-h: 230px;
    display: flex;
    min-width: 0;
    justify-self: end;
  }

  .curriculum-filter {
    grid-template-columns: 1fr 1fr;
  }

  .curriculum-filter button,
  .curriculum-filter button:nth-child(4n) {
    min-height: 58px;
    border-right: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: var(--s3);
  }

  .curriculum-filter button:nth-child(2n) {
    border-right: 0;
  }

  .curriculum-filter button:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (min-width: 701px) and (max-width: 920px) {
  .education-hub .hub-hero--visual {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .education-hub .hub-hero--visual .pose-scene {
    --pose-h: 260px;
    display: flex;
    min-width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .curriculum-filter button {
    transition: none;
  }
}
