/* teaching.css */

#teaching .teaching-wrap{
  display: inline-block;
}

/* Banner is H1 */
#teaching #banner{
  display: flex;
  margin: 0 0 0.75rem 0;
}

/* Note */
#teaching .note{
  width: 100%;
  border: 2px dashed black;
  padding: .75rem 1rem;
  background: #fcfcfc;
  box-sizing: border-box;
  font-size: 95%;
  margin-bottom: .75rem;
}

/* Pills */
#teaching .pillrow{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: .25rem;
  margin-bottom: .75rem;
}

#teaching .pill{
  display: inline-block;
  border: 2px dashed black;
  padding: .1rem .45rem;
  font-weight: bold;
  background: white;
  font-size: 85%;
  user-select: none;
}

/* Buttons */
#teaching .linkbtn{
  display: inline-block;
  border: 2px dashed black;
  padding: .1rem .45rem;
  font-weight: bold;
  background: white;
  text-decoration: none;
  color: black;
  margin-left: .25rem;
  white-space: nowrap;
}

#teaching .linkbtn:hover{
  background: black;
  color: white;
}

/* Split layout */
#teaching .split{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

/* Cards */
#teaching .card{
  flex: 1 1 420px;
  max-width: 520px;
  border: 2px dashed black;
  padding: 1rem;
  box-sizing: border-box;
  background: white;
}

#teaching .card h3{
  margin-top: 0;
}

#teaching .card-wide{
  max-width: 900px;
}

/* Course tables */
#teaching .course-table{
  width: 100%;
  border-collapse: collapse;
}

#teaching .course-table td{
  vertical-align: top;
  padding: .25rem 0;
}

#teaching .course-code{
  font-weight: bold;
  white-space: nowrap;
  padding-right: .75rem;
}

#teaching .course-title{
  font-weight: bold;
}

#teaching .course-meta{
  font-size: 92%;
}

/* Fold titles */
#teaching .fold-title{
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}

#teaching .fold-title .bulletAr{
  margin-right: 0;
}

/* Small helpers */
#teaching .card-actions{
  margin-top: .5rem;
}

#teaching .block-title{
  font-weight: bold;
  margin-bottom: .25rem;
}

#teaching .block-title-spaced{
  margin-top: .75rem;
}
