.publications .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  gap: 1.5rem;
}

.publications .preview {
  flex: 0 0 260px !important;
  width: 260px !important;
  max-width: 260px !important;
}

.publications .preview img {
  display: block;
  width: 260px !important;
  max-width: 260px !important;
  height: auto !important;
  object-fit: contain;
}

.publications .col-sm-10,
.publications .col-md-10,
.publications .col {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: calc(100% - 260px - 1.5rem) !important;
  min-width: 0 !important;
}

.projects .card {
  overflow: hidden;
}

.projects .card-body,
.projects .card-text,
.projects .card-title {
  overflow-wrap: break-word;
  word-break: normal;
}

.projects .card-text {
  line-height: 1.35;
}

.projects .card-title {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: break-word;
}

.projects {
  width: min(1100px, 95vw);
  margin-left: 50%;
  transform: translateX(-50%);
}

.projects .container,
.projects .container-fluid {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.projects .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.projects .col,
.projects [class^="col-"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

/* Home/about page selected publications thumbnails */
body .bibliography .row > .abbr,
body .bibliography .row > .col-sm-2.abbr,
body .bibliography .row > .col.col-sm-2.abbr {
  flex: 0 0 30% !important;
  width: 30% !important;
  max-width: 30% !important;
}

body .bibliography .row > .abbr + .col-sm-8 {
  flex: 0 0 70% !important;
  width: 70% !important;
  max-width: 70% !important;
}

body .bibliography .row > .abbr img.preview {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

body {
  outline: 5px solid red !important;
}

/* List technologies under each project */
.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 0.4rem;
  margin-bottom: 1.2rem;
  align-items: center;
}

.project-tech-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.2;
}
