.teachers-page .reading-head .page-header {
  margin-block-end: var(--ds-title-group-gap);
}

.teachers-page .teachers-banner .teachers-banner-copy {
  position: relative;
  align-self: center;
  margin: 0;
  padding: clamp(12rem, 37vw, 16rem) var(--ds-panel-inline) var(--ds-panel-block);
}
.teachers-page .teachers-banner-copy h2 {
  margin: var(--ds-title-group-gap) 0 var(--ds-title-lead-gap);
  font-size: var(--ds-subheading);
  line-height: 1.35;
  color: #fff;
}
.teachers-page .teachers-banner-copy > p { color: #fff; font-size: var(--ds-body); line-height: 1.8; margin: .75rem 0 0; max-width: none; }
.teachers-banner-copy .teachers-copy-sentence + .teachers-copy-sentence { margin-block-start: .625rem; }
.teachers-banner .about-intro-photo img { object-position: 70% 30%; }
.teachers-page #teachers-related .reading-card-subtitle { text-wrap: balance; }
@media (max-width: 899px) {
  .teachers-banner .about-intro-photo img { object-position: 45% 30%; }
}
@media (min-width: 900px) {
  .teachers-page .teachers-banner .teachers-banner-copy { max-inline-size: 56%; padding: var(--about-card-inset); }
}

.teachers-page #teachers {
  margin: 0;
}

.teachers-opening {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

.teachers-opening-copy {
  max-inline-size: 43rem;
  min-inline-size: 0;
}

.teachers-page .teachers-opening-copy h2 {
  margin-block: 0 1.25rem;
  font-size: var(--ds-subheading);
  line-height: 1.35;
}

.teachers-page .teachers-opening-copy > p {
  max-inline-size: none;
  margin: 0;
  color: var(--ds-muted);
  text-wrap: pretty;
}

.teachers-copy-sentence {
  display: block;
}

.teachers-opening-copy .teachers-copy-sentence + .teachers-copy-sentence {
  margin-block-start: .625rem;
}

.teachers-opening-copy .teachers-copy-sentence:first-child {
  color: var(--ds-ink);
  font-weight: var(--weight-body);
}

.teachers-page .teachers-photo {
  inline-size: 100%;
  max-inline-size: 40rem;
  margin: 0;
  justify-self: end;
}

.teachers-page .teachers-photo img {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: .75rem;
}

.teachers-resources {
  margin-block-start: 0;
}

.teachers-page #teacher-resources-title {
  margin: 0;
  max-inline-size: none;
}

.teachers-page .teachers-resource-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-card-gap);
  margin: clamp(1.75rem, 3vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}

.teachers-page .teachers-resource-cards > li {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-inline-size: 0;
  margin: 0;
  padding: var(--ds-panel-block) var(--ds-panel-inline);
  border-radius: .75rem;
  background: var(--ds-paper);
}

.teacher-resource-art {
  align-self: center;
  inline-size: min(100%, 17.5rem);
  block-size: auto;
  aspect-ratio: 5 / 3;
  margin-block-end: 1.75rem;
  overflow: visible;
}

.teachers-page .teachers-resource-cards h3 {
  margin: 0 0 1rem;
  font-size: var(--ds-subheading);
  line-height: 1.35;
}

.teachers-page .teachers-resource-cards p {
  max-inline-size: none;
  margin: 0;
  color: var(--ds-muted);
  text-wrap: pretty;
}

.teachers-page #teachers > .teachers-takeaway {
  max-inline-size: none;
  margin: clamp(2rem, 4vw, 4rem) 0 0;
  padding: var(--ds-panel-block) var(--ds-panel-inline);
  border-radius: .75rem;
  background: var(--ds-paper);
  line-height: 1.7;
  text-wrap: pretty;
}

.teachers-takeaway .teachers-copy-sentence + .teachers-copy-sentence {
  margin-block-start: .75rem;
}

.teacher-art-progress {
  stroke-dasharray: .72 1;
}

.teacher-art-sheet {
  transform-box: fill-box;
  transform-origin: left bottom;
}

@media (min-width: 1000px) {
  .teachers-opening { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .teachers-page .teachers-resource-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 640px) and (max-width: 999px) {
  .teachers-page .teachers-resource-cards > li {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 1rem 2rem;
    align-content: center;
  }
  .teacher-resource-art { grid-row: span 2; align-self: center; margin: 0; }
  .teachers-page .teachers-resource-cards h3 { margin: 0; align-self: end; }
}

@media (prefers-reduced-motion: no-preference) {
  .teachers-resource-cards.is-in-view .teacher-art-book {
    transform-box: fill-box;
    transform-origin: center;
    animation: teacher-book-float 5.8s ease-in-out infinite;
  }
  .teachers-resource-cards.is-in-view .teacher-art-sheet {
    animation: teacher-page-turn 5.8s ease-in-out infinite;
  }
  .teachers-resource-cards.is-in-view .teacher-art-progress {
    animation: teacher-learning-progress 9s ease-in-out infinite;
  }
  .teachers-resource-cards.is-in-view :is(.teacher-book-check, .teacher-guide-checks path) {
    stroke-dasharray: 1;
    animation: teacher-check-draw 5.8s ease-in-out infinite;
  }
  .teachers-resource-cards.is-in-view .teacher-guide-checks path:nth-child(2) { animation-delay: .55s; }
  .teachers-resource-cards.is-in-view .teacher-guide-checks path:nth-child(3) { animation-delay: 1.1s; }
  .teachers-resource-cards.is-in-view .teacher-guide-highlight {
    animation: teacher-guide-scan 5.8s ease-in-out infinite;
  }
}

@keyframes teacher-book-float { 50% { transform: translateY(-5px); } }
@keyframes teacher-page-turn {
  0%, 15%, 100% { transform: translate(0, 0) rotate(0); }
  40%, 65% { transform: translate(-4px, -8px) rotate(-7deg); }
}
@keyframes teacher-learning-progress {
  0%, 15% { stroke-dasharray: .12 1; }
  65%, 90% { stroke-dasharray: .85 1; }
}
@keyframes teacher-check-draw {
  0%, 12% { stroke-dashoffset: 1; opacity: 0; }
  30%, 85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes teacher-guide-scan {
  0%, 24% { transform: translateY(0); opacity: 1; }
  34%, 54% { transform: translateY(24px); opacity: 1; }
  64%, 86% { transform: translateY(48px); opacity: 1; }
  94%, 100% { transform: translateY(48px); opacity: 0; }
}
