.teacher-name,
.teacher-invite-copy {
  border-bottom: 1px solid #9da3ed;
  padding: 21px 0;
  font: 700 30px SoyuzGrotesk, Arial, sans-serif;
  letter-spacing: -.025em;
}

.teacher-invite {
  display: block;
  align-self: start;
  color: inherit;
  text-decoration: none;
}

.teacher-invite-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.teacher-invite-copy svg {
  flex: none;
  width: 18px;
  height: 18px;
}

.teacher-invite:hover .teacher-invite-title,
.teacher-invite:focus-visible .teacher-invite-title {
  text-decoration: underline;
}

.course-hero .wide-photo {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.content-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.content-card-icon {
  width: 70%;
  height: 100%;
  object-fit: contain;
}

[hidden] {
  display: none !important;
}

.events {
  align-items: start;
}

.event-details > summary {
  display: block;
  cursor: pointer;
  position: relative;
}

.event-details > summary::-webkit-details-marker {
  display: none;
}

.event-details > summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.event-details:not([data-announcement]) .event-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 12px;
}

.event-details .event-copy .eyebrow {
  grid-column: 1 / -1;
}

.event-details:not([data-announcement]) .event-copy::after {
  content: '+';
  font-size: 30px;
  line-height: 1;
}

.event-details[open]:not([data-announcement]) .event-copy::after {
  content: '−';
}

.event-details[data-announcement] > summary {
  cursor: default;
}

.event-details[data-announcement] .event-expanded {
  display: none;
}

.event-expanded {
  border-top: 1px solid currentColor;
  padding: 20px 20px 24px;
}

.event-description {
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

.event-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.event-gallery figure {
  margin: 0;
  min-width: 0;
}

.event-photo-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8ebf5;
  color: #222cc7;
  font-size: 12px;
  text-align: center;
}

.event-photo-slot img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.event-gallery figcaption {
  font-size: 12px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.event-photo-slot:has(> a) {
  display: block;
  aspect-ratio: auto;
  background: transparent;
}

.event-photo-slot a {
  display: block;
}

@media (max-width: 600px) {
  body[data-content-page="events"] .course-hero h1 {
    font-size: clamp(34px, 13vw, 65px);
    overflow-wrap: anywhere;
  }
}

.poster.poster--photo {
  color: #fff;
  isolation: isolate;
}

.poster-photo,
.poster--photo::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.poster-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster--photo::before {
  content: '';
  background: linear-gradient(180deg, #0009 0%, #0008 42%, #0002 61%, #000b 100%);
  z-index: 1;
}

.poster--photo[data-custom-appearance]::before,
.hero[data-custom-appearance]:has(.hero-photo:not([hidden]))::after {
  background-color: color-mix(in srgb, var(--dom8-background-tint, transparent) 65%, transparent);
}

.poster--photo > :not(.poster-photo) {
  position: relative;
  z-index: 2;
}

.poster--photo .symbol {
  visibility: hidden;
}

.event-card--interactive {
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.event-card--interactive .event-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 14px;
}

.event-card--interactive .event-copy .eyebrow {
  grid-column: 1 / -1;
}

.event-card--interactive:hover,
.event-card--open {
  box-shadow: inset 0 -3px #222cc7;
}

.event-toggle,
.event-panel-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: #222cc7;
  font-size: 27px;
  line-height: 1;
}

.event-toggle:hover,
.event-toggle[aria-expanded='true'],
.event-panel-close:hover {
  background: #222cc7;
  color: #fff;
}

.event-panel {
  grid-column: 1 / -1;
  position: relative;
  scroll-margin-top: 12px;
  background: #e8ebf5;
  color: #222cc7;
  outline: 1px solid #222cc7;
  outline-offset: -1px;
}

.event-panel--animating {
  overflow: hidden;
}

.event-panel-inner {
  display: grid;
  gap: clamp(22px, 4vw, 60px);
  padding: clamp(24px, 5vw, 60px);
  min-width: 0;
}

.event-panel-has-gallery {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}

.event-panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

.event-panel-copy {
  min-width: 0;
}

.event-panel-copy h2 {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1;
  margin: 14px 0 20px;
  padding-right: 45px;
  overflow-wrap: anywhere;
}

.event-panel .event-description {
  max-width: 680px;
  margin: 0;
  line-height: 1.65;
  font-size: clamp(16px, 1.55vw, 20px);
  color: #202020;
}

.event-description p {
  margin: 0 0 14px;
}

.event-description p:last-child {
  margin-bottom: 0;
}

.event-panel .event-gallery {
  align-self: start;
  gap: 12px;
  padding-top: 22px;
}

.event-panel .event-photo-slot:not(:has(> a)) {
  background: #f7f7f2;
}

@media (max-width: 700px) {
  .event-panel-has-gallery { grid-template-columns: 1fr; }
  .event-panel .event-gallery { padding-top: 0; }
  .event-panel-close { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .event-card--interactive { transition: none; }
}

.events .portrait:has(> img[src*="assets/spectacle/"]) {
  background: #fff;
}

.events .portrait > img[src*="assets/spectacle/"] {
  object-fit: contain;
}

.portrait:has(> .static-event-cover) > :is(svg, .photo-label) {
  display: none;
}

/* One spacing rule for words, symbols, and the looping seam. */
.ticker-inner{gap:0}
.ticker .ticker-group{display:flex;flex:none;align-items:center;gap:.65em;padding:0 .65em 0 0}
.ticker .ticker-item{flex:none;padding:0;white-space:pre}
.ticker .ticker-star{font-family:Arial,Helvetica,sans-serif}
.hero-photo[hidden]{display:none}

@media(max-width:700px){
  .people .portrait:has(> .content-portrait){aspect-ratio:auto}
  .people .portrait > .content-portrait{position:static;display:block;width:100%;height:auto;object-fit:contain}
}
