/* Teaching site additions on top of rlfbckr.css (a copy of the portfolio stylesheet - keep that file unchanged) */

/* one more nav entry than the portfolio: Teaching */
body #headerbox { grid-template-columns: 1fr repeat(6, auto); }
@media (max-width: 700px) {
  body #headerbox { grid-template-columns: 1fr repeat(4, auto); }
  #headerbox > #n_news, #headerbox > #n_contact { display: none; }
}

/* course list (index.html): links below the list */
.teaching-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.75rem;
  margin-top: 1.5rem;
  font: 400 .72rem var(--font-mono);
  text-transform: uppercase;
}
.teaching-links a { color: var(--soft-fg); text-decoration: none; }
.teaching-links a:hover { color: var(--blue); }

/* semester ("WS 2025/26") is wider than the portfolio's year column */
.irow { grid-template-columns: 5.5rem 4rem minmax(0, 1fr) minmax(0, 22rem); }
.i-year { white-space: nowrap; }
@media screen and (max-width: 700px) {
  .irow { grid-template-columns: 4.6rem 1fr; }
}
