.table-label {
  min-width: 160px;
}

#CollaboratorDetails,
#RelatedPages {
  z-index: -1;
  position: relative;
}

#project-intro figure img {
  object-fit: cover;
  height: 100%;
}

.uk-lightbox-items img {
  padding: 5.5vw !important;
}

@media (min-width: 960px) {
  .uk-lightbox-items img {
    padding: 1rem !important;
  }
}
.project_details li {
  line-height: 2em;
}

.project_details li strong {
  display: inline-block;
  width: 140px;
}

@media (min-width: 640px) {
  .project_details li strong {
    width: 185px;
  }
}
@media only screen and (max-width: 1200px) {
  [class*="md:mt--"],
  [class*="md:mb--"],
  [class*="md:ml--"],
  [class*="md:mr--"] {
    margin: 0 !important;
  }
}
#project-pagination {
  color: rgb(255, 255, 255);
  mix-blend-mode: difference;
}

.project_details * {
  background: transparent !important;
  border: none;
}

.project_details th {
  width: 40%;
  white-space: nowrap;
}

.project_details td {
  padding: 0.25rem 0;
}

.next_project,
.last_project {
  transition: all 0.2s linear;
}

.next_project.disabled,
.last_project.disabled {
  opacity: 0.5;
  cursor: none;
}

@media (min-width: 1200px) {
  .next_project,
  .last_project {
    position: fixed;
    z-index: 0;
    top: 44%;
    writing-mode: vertical-rl;
  }
}
.next_project {
  right: 5.5vw;
}

.last_project {
  left: 5.5vw;
  transform: rotate(180deg);
}

@media (min-width: 960px) {
  .project-intro:before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
  }
  [data-theme=dark] .project-intro:before {
    background: rgba(0, 0, 0, 0.8);
  }
}
#hero-image.project-hero {
  position: relative;
  height: clamp(23rem, 64svh, 44rem);
  min-height: 23rem;
  overflow: hidden;
}

#hero-image.project-hero picture,
#hero-image.project-hero picture img {
  width: 100%;
  height: 100%;
}

#hero-image.project-hero picture img {
  object-fit: cover;
}

.project-hero-meta {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(125%) blur(12px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

[data-theme=dark] .project-hero-meta {
  background: rgba(10, 10, 10, 0.58);
}

@media (max-width: 767px) {
  section.project-hero-meta {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  section.project-hero-meta::-webkit-scrollbar {
    display: none;
  }
  section.project-hero-meta > .project-meta-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
    scroll-snap-type: x proximity;
  }
  section.project-hero-meta > .project-meta-track .project-meta-item {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}
.project-text-cols-1 {
  column-count: 1;
  column-gap: normal;
}

[data-fe-single-column-on-edit].fe-inline-edit-active {
  display: block !important;
  columns: auto !important;
  column-count: 1 !important;
  column-gap: 0 !important;
}

[data-fe-single-column-on-edit].fe-inline-edit-active > * {
  break-inside: avoid;
}

[data-fe-single-column-on-edit].fe-inline-edit-active [data-cms-field] {
  display: block;
  width: 100%;
  max-width: none;
}

[data-fe-single-column-on-edit].fe-inline-edit-active .fe-editor-wrapper,
[data-fe-single-column-on-edit].fe-inline-edit-active .fe-toolbar,
[data-fe-single-column-on-edit].fe-inline-edit-active .fe-editor,
[data-fe-single-column-on-edit].fe-inline-edit-active .fe-htmlarea,
[data-fe-single-column-on-edit].fe-inline-edit-active .fe-buttons {
  width: 100%;
  max-width: none;
}

[data-fe-single-column-on-edit].fe-inline-edit-active .fe-toolbar,
[data-fe-single-column-on-edit].fe-inline-edit-active .fe-buttons {
  break-inside: avoid;
}

@media (min-width: 960px) {
  .project-text-cols-2 {
    column-count: 2;
    column-gap: var(--spacing-big);
  }
  .project-text-cols-3 {
    column-count: 3;
    column-gap: var(--spacing-big);
  }
  .project-text-cols-4 {
    column-count: 4;
    column-gap: var(--spacing-big);
  }
}
