/* Education alone uses the full library width; other pages keep their sticky panels. */
.education-layout.content-with-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  width: min(1200px, calc(100% - var(--dew-gutter, 24px) * 2));
  margin-inline: auto;
}
.education-layout > .main-column {
  width: 100%;
  min-width: 0;
}
.education-layout > .request-panel {
  position: static;
  top: auto;
  width: 100%;
  max-width: 760px;
  max-height: none;
  min-width: 0;
  overflow: visible;
  margin: 0 auto 48px;
}
.education-layout .education-library {
  padding-top: 0;
}
.education-player {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: auto;
  margin-top: 30px;
  border: 1px solid #dbe3eb;
  background: #fff;
}
.education-media {
  margin: 0;
}
.education-stage {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16/9;
  position: relative;
  border: 0;
  background: #000;
  overflow: hidden;
}
.education-stage video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: #000;
  transform: none;
  rotate: none;
}
.education-player [hidden] {
  display: none !important;
}
.education-detail {
  padding: 28px;
}
.education-detail > h2 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.education-player p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #526982;
}
.education-detail .education-meta {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 18px;
}
.education-description {
  max-width: 76ch;
  min-width: 0;
}
.education-detail .education-description > p {
  margin: 0 0 14px;
}
.education-player .education-accessibility-note {
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0 0;
}
.education-caption {
  margin: 0;
  padding: 16px 28px;
  border-top: 1px solid #dbe3eb;
  font-size: 13px;
  line-height: 1.7;
  color: #526982;
}
.education-transcript {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 18px;
}
.education-transcript summary,
.education-library summary {
  cursor: pointer;
  color: #142b49;
  padding-block: 8px;
}
.education-browser > .education-track-instructions {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 28px 18px;
}
.education-browser > .education-track {
  display: flex;
  gap: 20px;
  min-width: 0;
  max-width: calc(100% - 52px);
  margin-inline: 26px;
  padding: 4px 2px 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
  scrollbar-color: #526982 #edf2f6;
  scrollbar-width: thin;
}
.education-item {
  flex: 0 0 min(320px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  text-align: left;
  white-space: normal;
  padding: 0;
  border: 1px solid #dbe3eb;
  background: #fff;
  color: #142b49;
  font: inherit;
  font-weight: 400;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.education-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  object-position: center;
  background: #000;
  transform: none;
  rotate: none;
}
.education-item-title {
  display: block;
  padding: 17px 18px 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.education-item-meta {
  display: block;
  padding: 0 18px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #526982;
}
.education-item[aria-pressed="true"],
.education-item.is-selected {
  border-color: #326c78;
  box-shadow: inset 0 -3px #326c78;
}
.education-item:hover {
  border-color: #526982;
}
.education-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px 0;
  padding-inline: 28px;
}
.education-controls button {
  min-width: 44px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid #b9c9d7;
  background: #fff;
  color: #142b49;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.education-controls button:hover:not(:disabled) {
  background: #edf2f6;
  border-color: #326c78;
}
.education-controls button:disabled {
  cursor: default;
  opacity: 0.45;
}
.education-controls .education-position {
  font-size: 13px;
  color: #526982;
}
.education-item:focus-visible,
.education-controls button:focus-visible,
.education-player summary:focus-visible {
  outline: 3px solid #326c78;
  outline-offset: 3px;
}
.education-player > .education-library {
  margin: 0;
  padding: 20px 28px;
  border-top: 1px solid #dbe3eb;
  font-size: 16px;
  line-height: 1.8;
}
.education-library a {
  overflow-wrap: anywhere;
}
.education-player > .education-library ul {
  padding-left: 20px;
  margin-top: 18px;
}
.education-player > .education-library li {
  margin-bottom: 20px;
}
.education-player > .education-library li p {
  margin: 8px 0 0;
}
.education-file-type {
  font-size: 13px;
}
.education-context {
  margin-top: 48px;
  padding: 32px;
  background: #faf9f5;
  border-left: 2px solid #326c78;
}
.education-context h2 {
  font-weight: 400;
  margin-bottom: 20px;
}
.education-context > p:not(.eyebrow) {
  max-width: 76ch;
  font-size: 16px;
  line-height: 1.8;
}
.education-downloads {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 20px;
}
.education-downloads li {
  margin-bottom: 10px;
}
@media (max-width: 1120px) {
  .education-layout.content-with-panel {
    gap: 36px;
  }
  .education-item {
    flex-basis: min(300px, 100%);
  }
  .education-detail > h2 {
    font-size: 26px;
  }
}
@media (max-width: 620px) {
  .education-layout.content-with-panel {
    gap: 28px;
  }
  .education-player {
    margin-top: 24px;
  }
  .education-detail {
    padding: 22px 16px;
  }
  .education-detail > h2 {
    font-size: 24px;
  }
  .education-caption {
    padding: 14px 16px;
  }
  .education-browser > .education-track-instructions {
    margin-inline: 16px;
  }
  .education-browser > .education-track {
    margin-inline: 14px;
    max-width: calc(100% - 28px);
    gap: 16px;
  }
  .education-item-meta {
    font-size: 12px;
  }
  .education-controls {
    padding-inline: 16px;
    gap: 12px;
  }
  .education-controls button {
    padding-inline: 12px;
    font-size: 12px;
  }
  .education-controls .education-position {
    font-size: 12px;
  }
  .education-player > .education-library {
    padding: 18px 16px;
  }
  .education-context {
    margin-top: 32px;
    padding: 24px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .education-track {
    scroll-behavior: auto !important;
  }
  .education-item,
  .education-controls button {
    transition: none;
  }
}
