/* Dissertations and Theses: portraits come from the People app. */
.theses-hero .hero-content {
  text-align: center;
  padding-block: 5rem;
}
.theses-hero .hero-summary { margin-inline: auto; }
.theses-section {
  position: relative;
  margin-top: -1.5rem;
  padding: 2.5rem 2rem 4rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 25px rgb(23 45 58 / 10%);
}
.theses-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 2.25rem;
}
.theses-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem 1rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 650;
  color: var(--ink);
}
.theses-filters a[aria-current="page"] {
  background: #8f27a0;
  color: #fff;
  border-color: #8f27a0;
}
.theses-group + .theses-group { margin-top: 3rem; }
.theses-group > h2 { font-size: 1.7rem; margin-bottom: .2rem; }
.theses-group-summary { color: var(--muted); font-size: .92rem; }
.theses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.4rem;
  align-items: stretch;
  margin-top: 1.5rem;
}
.thesis-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(23 45 58 / 10%);
  scroll-margin-top: 1rem;
}
.thesis-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--soft);
}
.thesis-card-body { padding: 1.2rem 1.3rem 1.3rem; }
.thesis-kind {
  color: #8f27a0;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
  margin-bottom: .65rem;
}
.thesis-title { font-size: 1.1rem; line-height: 1.42; letter-spacing: -.01em; margin-bottom: .65rem; overflow-wrap: anywhere; }
.thesis-title a { color: #8f27a0; text-decoration: none; }
.thesis-title a:hover { text-decoration: underline; }
.thesis-author { font-size: .92rem; font-weight: 650; margin-bottom: .6rem; }
.thesis-author a { color: var(--ink); text-decoration: none; }
.thesis-author a:hover { text-decoration: underline; }
.thesis-meta { color: var(--muted); font-size: .83rem; display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin-bottom: .3rem; }
.thesis-format { font-size: .75rem; color: var(--muted); margin-bottom: 0; }
@media (max-width: 800px) {
  .theses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .theses-section { padding: 1.7rem 1rem 3rem; }
  .theses-grid { grid-template-columns: 1fr; }
  .theses-filters a { flex: 1 1 auto; }
}
