/*
 * Academic treatment for the complete projects archive.
 * Remove this stylesheet link from projects.html to restore the base grid.
 */

.academic-projects .page-subtitle {
  max-width: none;
}

.academic-projects .work-card {
  display: flex;
  flex-direction: column;
}

.academic-projects .work-card[hidden] {
  display: none;
}

.academic-projects .work-info {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.academic-projects .work-title {
  display: block;
  min-height: 2.8em;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.academic-projects a.work-title:hover {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.academic-projects .work-title-compact {
  min-height: 40.6px;
  font-size: 12.2px;
  letter-spacing: -0.01em;
}

.academic-projects .work-meta {
  display: inline;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #252a2d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.academic-projects .work-desc {
  order: 1;
  color: var(--foreground);
  line-height: 1.5;
}

.academic-projects .work-info .project-links {
  order: 2;
  gap: 0;
  margin-top: auto;
  padding-top: 8px;
}

.academic-projects .project-links .work-meta {
  margin-top: 0;
}

.academic-projects .project-link {
  color: #3e6b60;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.academic-projects .project-link:hover {
  color: #244f45;
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.academic-projects .project-link::before {
  content: "/";
  margin: 0 6px;
  color: #a4aaa7;
  font-weight: 400;
}

.academic-projects .project-link::after {
  content: none;
}
