/* Overview-only refinements: no changes to semester or course pages. */
.teaching-overview {
  --overview-accent: var(--teal);
  --overview-surface: var(--soft);
}
.overview-navigation {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.overview-navigation .eyebrow { margin: 0 0 10px; }
.overview-navigation ul,
.pathway-links,
.overview-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.overview-navigation ul { list-style: none; padding: 0; margin: 0; }
.overview-navigation a,
.pathway-links a,
.overview-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--teal-dark);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.overview-navigation a:hover,
.pathway-links a:hover,
.overview-footer-links a:hover {
  background: var(--overview-surface);
  text-decoration: underline;
}
.teaching-overview .teaching-card { min-width: 0; }
.teaching-overview .teaching-card:nth-child(2) { border-top: 4px solid var(--overview-accent); }
.teaching-overview .teaching-card:nth-child(3) { border-top: 4px solid var(--gold); }
.teaching-overview .teaching-card-actions a { min-height: 44px; padding: 9px 12px; line-height: 1.4; }
.teaching-overview .strategy-body { background: var(--overview-surface); }
.teaching-overview .strategy-body p,
.teaching-overview .specialization-intro p:not(.eyebrow) { text-align: left; hyphens: none; }
.teaching-overview .ai-readiness {
  background: var(--teal-dark);
  box-shadow: 0 12px 32px rgba(0, 79, 82, .12);
  --gold-text: #f1c16b;
}
.teaching-overview .ai-readiness .overview-next { margin-top: 22px; }
.teaching-overview .ai-readiness .overview-next a { color: #fff; text-underline-offset: 4px; }
.teaching-overview .career-planning-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.teaching-overview .career-planning-section .strategy-body {
  background: #fff;
  border-left-color: var(--gold);
}
.teaching-overview .career-planning-section .eyebrow { color: var(--gold-text); }
.career-step { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.career-step h3 { margin: 0 0 12px; color: var(--ink); font-size: 1.2rem; line-height: 1.35; }
.teaching-overview .strategy-body .career-pathway-link {
  margin-top: 26px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--overview-surface);
}
.teaching-overview .pathway-transition { background: linear-gradient(var(--paper), var(--overview-surface)); }
.teaching-overview .specialization-section { background: var(--overview-surface); }
.pathway-links { margin: 0 0 30px; }
.teaching-overview .pathway-summary article { background: #fff; border-top-color: var(--overview-accent); }
.teaching-overview .pathway-track { background: #fff; }
.teaching-overview .pathway-steps li { background: var(--soft); box-shadow: none; }
.teaching-overview .pathway-steps a { text-underline-offset: 3px; }
.overview-footer-links { padding-top: 26px; padding-bottom: 32px; }
@media (max-width: 620px) {
  .overview-navigation ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-navigation a { width: 100%; height: 100%; padding: 10px; font-size: .9rem; }
  .teaching-overview .strategy-body { padding: 20px; }
  .teaching-overview .strategy-heading h2 { font-size: 1.8rem; }
  .teaching-overview .strategy-body .career-pathway-link { padding: 16px; }
  .pathway-links a { flex: 1 1 150px; }
}

/* Original exercise screenshot: no generated or recolored image content. */
.teaching-overview .page-hero-teaching {
  --hero-image: url('/img/teaching-overview-original-20261116.png');
  background: #333;
}
.teaching-overview .page-hero-media {
  left: auto;
  width: auto;
  height: 100%;
  aspect-ratio: 1;
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  transform: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%);
  mask-image: linear-gradient(90deg, transparent, #000 20%);
}
.teaching-overview .page-hero-overlay { background: none; }
.teaching-overview .page-hero h1,
.teaching-overview .page-hero p:not(.eyebrow) { max-width: 55%; }
@media (max-width: 760px) {
  .teaching-overview .page-hero-media {
    top: 0;
    bottom: auto;
    width: 240px;
    height: 240px;
    background-size: auto 100%;
    background-position: right top;
  }
  .teaching-overview .page-hero-overlay {
    background: linear-gradient(180deg, transparent 190px, #333 240px);
  }
  .teaching-overview .page-hero-content { padding-top: 260px; }
  .teaching-overview .page-hero h1,
  .teaching-overview .page-hero p:not(.eyebrow) { max-width: 100%; }
}
