/* /summer-teacher-institute — educator-focused editorial route. */
body.sc-public-page .sc-sti-hero,
body.sc-public-page .sc-sti-lookback,
body.sc-public-page .sc-sti-themes,
body.sc-public-page .sc-sti-interest {
  grid-column: 1 / -1 !important;
}

body.sc-public-page .sc-sti-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(1.4rem, 3vw, 3rem);
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  border-top: 1px solid rgba(82, 218, 242, 0.48);
  border-bottom: 1px solid rgba(82, 218, 242, 0.22);
  background: rgba(2, 10, 25, 0.42);
}

body.sc-public-page .sc-sti-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.36;
  background-image: linear-gradient(rgba(82, 218, 242, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(82, 218, 242, 0.15) 1px, transparent 1px);
  background-size: 2.2rem 2.2rem;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.45) 60%, transparent);
}

body.sc-public-page .sc-sti-hero__copy,
body.sc-public-page .sc-sti-hero__figure,
body.sc-public-page .sc-sti-hero__signal { position: relative; z-index: 1; min-width: 0; }

body.sc-public-page .sc-sti-hero__copy { align-self: center; }

body.sc-public-page .sc-sti-hero .sc-page-lede {
  max-width: 31rem;
  margin: 0 0 1.35rem;
  color: #edf6fc;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
  line-height: 1.42;
  text-align: left;
}

body.sc-public-page .sc-sti-hero__planning {
  max-width: 29rem;
  margin: 0 0 1.35rem;
  color: var(--sc-text-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

body.sc-public-page .sc-sti-hero__figure,
body.sc-public-page .sc-sti-lookback__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(82, 218, 242, 0.62);
  background: #07111d;
  clip-path: polygon(0 0, calc(100% - 1.3rem) 0, 100% 1.3rem, 100% 100%, 1.3rem 100%, 0 calc(100% - 1.3rem));
}

body.sc-public-page .sc-sti-hero__figure img,
body.sc-public-page .sc-sti-lookback__figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

body.sc-public-page .sc-sti-hero__figure img { aspect-ratio: 4 / 3; }

body.sc-public-page .sc-sti-hero__signal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--sc-brand-yellow, #fbbb0f);
  font-family: var(--sc-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.sc-public-page .sc-sti-hero__signal i { flex: 1; max-width: 5rem; height: 1px; background: linear-gradient(90deg, var(--sc-brand-yellow, #fbbb0f), transparent); }
body.sc-public-page .sc-sti-hero__signal span:last-child { color: var(--sc-text-muted); }

body.sc-public-page .sc-sti-overview { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
body.sc-public-page .sc-sti-overview > p { max-width: 58ch; font-size: 1.1rem; }

body.sc-public-page .sc-sti-lookback {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  padding-block: clamp(1.5rem, 4vw, 3.25rem);
  border-top: 1px solid rgba(82, 218, 242, 0.23);
  border-bottom: 1px solid rgba(82, 218, 242, 0.23);
}

body.sc-public-page .sc-sti-lookback__copy h2 { margin-top: 0; }
body.sc-public-page .sc-sti-lookback__copy a { color: var(--sc-peak-green-bright, #2fd6a5); }
body.sc-public-page .sc-sti-lookback__figure { align-self: stretch; min-height: 17rem; border-color: rgba(186, 111, 255, 0.6); }
body.sc-public-page .sc-sti-lookback__figure figcaption { padding: 0.7rem 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); color: var(--sc-text-muted); font-family: var(--sc-font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }

body.sc-public-page .sc-sti-themes { margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); }
body.sc-public-page .sc-sti-themes__intro { max-width: 42rem; margin: 0 0 1.25rem; color: var(--sc-text-muted); }
body.sc-public-page .sc-sti-themes .sc-page-callouts { margin: 0; border-color: rgba(82, 218, 242, 0.32); }
body.sc-public-page .sc-sti-themes .sc-page-callout:first-child { border-top: 3px solid var(--sc-peak-green-bright, #2fd6a5); }
body.sc-public-page .sc-sti-themes .sc-page-callout:last-child { border-top: 3px solid #ba6fff; }
body.sc-public-page .sc-sti-themes .sc-page-callout__title { color: #ffffff; }

body.sc-public-page .sc-sti-who { max-width: 68rem !important; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
body.sc-public-page .sc-sti-who > p { max-width: 66ch; }

body.sc-public-page .sc-sti-interest {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin: 0 0 var(--sc-band-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(186, 111, 255, 0.55);
  background: linear-gradient(110deg, rgba(89, 57, 151, 0.17), rgba(1, 60, 145, 0.12));
  clip-path: polygon(0 0, calc(100% - 1.5rem) 0, 100% 1.5rem, 100% 100%, 1.5rem 100%, 0 calc(100% - 1.5rem));
}

body.sc-public-page .sc-sti-interest > div { max-width: 44rem; }
body.sc-public-page .sc-sti-interest h2 { margin-top: 0; }
body.sc-public-page .sc-sti-interest p { margin-bottom: 0; color: var(--sc-text-muted); }
body.sc-public-page .sc-sti-interest > a { flex: 0 0 auto; }

@media (min-width: 1000px) {
  body.sc-public-page .sc-sti-hero { grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr) 4.5rem; align-items: stretch; }
  body.sc-public-page .sc-sti-hero__signal { flex-direction: column; align-items: center; justify-content: center; }
  body.sc-public-page .sc-sti-hero__signal i { width: 1px; max-width: none; height: 5rem; background: linear-gradient(var(--sc-brand-yellow, #fbbb0f), transparent); }
  body.sc-public-page .sc-sti-hero__signal span:last-child { writing-mode: vertical-rl; }
  body.sc-public-page .sc-sti-lookback { grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr); }
  body.sc-public-page .sc-sti-themes { display: grid; grid-template-columns: minmax(13rem, 0.55fr) minmax(0, 1.45fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  body.sc-public-page .sc-sti-themes__intro { margin: 0; }
}

@media (max-width: 999px) {
  body.sc-public-page .sc-sti-hero { grid-template-columns: 1fr; }
  body.sc-public-page .sc-sti-hero__copy,
  body.sc-public-page .sc-sti-hero__copy .sc-page-lede,
  body.sc-public-page .sc-sti-hero__planning { max-width: 100%; min-width: 0; box-sizing: border-box; }
  body.sc-public-page .sc-sti-hero__copy .sc-page-lede { width: 100%; overflow-wrap: anywhere; }
  body.sc-public-page .sc-sti-hero__figure { max-width: 42rem; }
}

@media (max-width: 640px) {
  body.sc-public-page .sc-sti-hero,
  body.sc-public-page .sc-sti-interest { padding: 1.15rem; }
  body.sc-public-page .sc-sti-hero__signal { order: -1; }
  body.sc-public-page .sc-sti-hero .sc-page-lede { font-size: clamp(1.2rem, 7vw, 1.55rem); }
  body.sc-public-page .sc-sti-lookback__figure { min-height: 14rem; }
  body.sc-public-page .sc-sti-interest { align-items: stretch; }
  body.sc-public-page .sc-sti-interest > a { align-self: flex-start; }
}
