.references p {
  margin-left: 2em;
  text-indent: -2em;
  margin-bottom: 0.75em;
}

/* Badges */

.slides {
  display: inline-block;
  padding: 0.35rem 0.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-decoration: none;
  line-height: .8;
  white-space: nowrap;
  background-color: rgba(0, 0, 255, 0.034);
  color: var(--bs-link-color);
  border: 1px solid 
}

.slides::after {
  content: "↗";
}

.slides:hover {
  color: var(--bs-link-hover-color);
  text-decoration: none;
  border-color: var(--bs-link-hover-color);
  background-color: #ffffff;

}

.controversy {
  display: inline-block;
  padding: 0.35rem 0.35rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  color: var(--bs-link-color);
  border: 1px solid #50584246;
  background-color: #ffe79746;
}

.controversy::before {
  content: "🔎 ";
}

.controversy:hover {
  color: var(--bs-link-hover-color);
  text-decoration: none;
  border: 1px solid #50584246;
  background-color: #ffffff;

}

.reading {
  display: inline-block;
  padding: 0.1rem 0.62rem;
  border-radius: 5px;
  font-size: 0.92rem;
  background-color: #f1f1f1b8;
}

.reading::before {
  content: "📖 ";
}

.article {
  display: inline-block;
  padding: 0.1rem 0.62rem;
  border-radius: 5px;
  font-size: 0.92rem;
  background-color: #ffd3d369;
}

.article::before {
  content: "🧠 ";
}

.exam {
  display: inline-block;
  padding: 0.1rem 0.62rem;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: bold;
  background-color: #fffbc1;
}

.exam::before {
  content: "✏️ ";
}

.due {
  display: inline-block;
  padding: 0.1rem 0.62rem;
  border-radius: 5px;
  font-size: 0.82rem;
 background-color: #d7f4fc93;
}

.due::before {
  content: "📝 ";
}

.legend-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1rem;
  row-gap: 0.3rem;
  align-items: start;
  font-size: .92em;
  color: #6c757d
}


/* Controversy */

.case-hero {
  display: flex;
  gap: 1.5rem;
  background: #ffe7971f;
  border: 2px solid #e6c97848;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: .1rem;
}

.case-hero-img {
  width: 330px;
  margin-bottom: .1rem;
}

.case-hero-text h2 {
  margin-top: 0;
}

.credit {
  font-size: 0.8rem;
  color: #666;
  margin-top: 1rem;
  margin-bottom: 0rem;
}

/* Mobile */
@media (max-width: 700px) {
  .case-hero {
    flex-direction: column;
    text-align: left;
  }

  .case-hero-img {
    max-width: 160px;
    width: 45%;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }
}

.project-timeline {
  margin-top: 1.25rem;
/*  border-left: 2px solid #000000; */
  padding-left: 1.25rem;
  position: relative;
}
.project-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.725rem;
  bottom: 1.975rem;
  width: 2px;
  background: #000000;
}

.timeline-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #000000;
  border-radius: 50%;
  z-index: 1;
}

.timeline-date {
  font-weight: 600;
}






/*
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.case-card {
  position: relative;
  background: #fffdf7;
  border: 1.5px solid #d9c89e;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.case-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6a21;
  margin-top: 0;
}

.case-card h2 {
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.case-icon {
  float: right;
  height: 120px;
  margin-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.case-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #6b4e16;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.case-button:hover {
  background: #4d370f;
  color: white;
}

.case-drawer details {
  border: 1.5px solid #d8c48f;
  border-radius: 12px;
  background: #fffdf7;
  margin-bottom: 0.8rem;
  padding: 0.8rem 1rem;
}

.case-drawer summary {
  cursor: pointer;
  font-weight: 700;
  color: #5f4614;
}

.case-drawer details[open] {
  background: #fff8df;
}


*/