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

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

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

#project_gallery img {
  height: 100%;
  object-fit: cover;
}

.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);
  }
}
/* Project discovery filters */
.project-discovery {
  --pd-accent: var(--brand-secondary_1);
  --pd-text: var(--black);
  --pd-faint: var(--grey-tint);
  --pd-dot: .75rem;
  --pd-tooltip-bg: var(--black);
}

.project-discovery__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 1.25rem;
}

.project-discovery__view-options {
  display: flex;
  gap: 0.5rem;
}

.project-discovery__view-option {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pd-text);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 150ms ease;
}
.project-discovery__view-option:hover {
  opacity: 0.6;
}
.project-discovery__view-option.is-active {
  opacity: 1;
}

.project-discovery__options,
.project-discovery__suboptions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
}

.project-discovery__suboptions {
  margin-top: 0.3rem;
}

.project-discovery__option {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(0.9rem, 0.88rem + 0.08vw, 1rem);
  color: var(--pd-text);
  cursor: pointer;
  transition: color 150ms ease;
}
.project-discovery__option:hover, .project-discovery__option.is-active {
  color: var(--pd-text);
}
.project-discovery__option.is-disabled, .project-discovery__option:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .project-discovery__panel {
    overflow: hidden;
  }
  .project-discovery__options,
  .project-discovery__suboptions {
    flex-wrap: nowrap;
    gap: 0.55rem 1rem;
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
  .project-discovery__options::-webkit-scrollbar,
  .project-discovery__suboptions::-webkit-scrollbar {
    display: none;
  }
  .project-discovery__suboptions {
    margin-top: 0.2rem;
    padding-top: 0;
    padding-bottom: 0.1rem;
  }
  .project-discovery__option {
    flex: 0 0 auto;
    min-height: 2rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}
.size-slider {
  background-color: hsla(0, 0%, 100%, 0.75);
  backdrop-filter: blur(12px) saturate(180%) contrast(85%);
}

.size-slider__tab {
  opacity: 0.3;
}
.size-slider__tab:hover {
  opacity: 0.6;
}
.size-slider__tab.is-active {
  opacity: 1;
}

[data-theme=dark] .size-slider {
  background-color: hsla(10, 10%, 10%, 0.67);
}

.project-discovery__dot {
  flex: 0 0 auto;
  width: var(--pd-dot);
  height: var(--pd-dot);
  border: 1px solid var(--brand-primary_1);
  opacity: 0.3;
  border-radius: 999px;
  background: transparent;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.project-discovery__dot--active {
  border-color: transparent;
  background: var(--pd-accent);
  opacity: 1;
}

.project-discovery__search {
  position: relative;
}
.project-discovery__search input {
  width: 100%;
  border: 0;
  background: transparent;
  padding-bottom: 0.5rem;
  font-size: clamp(0.9rem, 0.88rem + 0.08vw, 1rem);
  color: var(--pd-text);
  outline: none;
}
.project-discovery__search input::placeholder {
  color: var(--pd-text);
}
.project-discovery__search span {
  position: absolute;
  right: 0;
  bottom: 0.5rem;
  color: var(--pd-text);
  pointer-events: none;
  display: flex;
}

.project-discovery__size {
  padding-top: 1.45rem;
  padding-bottom: 1.55rem;
}

.project-discovery__size-track {
  cursor: pointer;
  touch-action: none;
}

.project-discovery__size-rail {
  background: var(--pd-faint);
}

.project-discovery__size-range {
  background: var(--pd-text);
}

.project-discovery__size-handle {
  cursor: grab;
}
.project-discovery__size-handle:active {
  cursor: grabbing;
}

.project-discovery__size-tooltip {
  position: absolute;
  top: 50%;
  min-width: 3.5rem;
  max-width: min(7rem, 42vw);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--pd-tooltip-bg);
  color: var(--white);
  font-size: 0.75rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 0.7rem)) scale(0.95);
  transition: opacity 150ms ease, transform 150ms ease;
}
.project-discovery__size-tooltip--visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 0.9rem)) scale(1);
}
.project-discovery__size-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.28rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--pd-tooltip-bg);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0.06rem;
}

@media (max-width: 767px) {
  .project-discovery__size {
    padding-top: 1.25rem;
    padding-inline: 0.5rem;
  }
}
[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);
  }
}
@media (max-width: 639.98px) {
  .project-core-info {
    overflow: hidden;
  }
  .project-core-info__track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8.75rem, 42vw);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }
  .project-core-info__track::-webkit-scrollbar {
    display: none;
  }
  .project-core-info__item {
    min-width: 0;
    scroll-snap-align: start;
  }
  .project-collaborators {
    overflow: hidden;
  }
  .project-collaborators__track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(11rem, 62vw);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .project-collaborators__track::-webkit-scrollbar {
    display: none;
  }
  .project-collaborators__item {
    min-width: 0;
    scroll-snap-align: start;
  }
}
