.project-detail__header {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1rem;
}

.project-detail__title {
  color: black;
}

.project-detail__description {
  width: 100%;
}

.project-detail__description--desktop {
  display: none;
}

.project-detail__description--mobile {
  margin-top: 1.875rem;
}

.project-detail__intro {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1rem;
  margin-top: 1.5rem;
}

.project-detail__nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-detail__back-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: fit-content;
  height: 1.65rem;
}

.project-detail__back-link .section-btn {
  font-size: 1.125rem;
}

.project-detail__sublinks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-detail__gallery-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: fit-content;
  height: 2.125rem;
}

.project-detail__hero-image {
  margin-top: 3.25rem;
}

.project-detail__image {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {

  .project-detail__header,
  .project-detail__intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-detail__intro {
    margin-top: 3.625rem;
  }

  .project-detail__hero-image {
    margin-top: 0;
  }

  .project-detail__description--desktop {
    display: block;
  }

  .project-detail__description--mobile {
    display: none;
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .project-detail__intro {
    margin-top: 3.625rem;
  }
}

@media (min-width: 1280px) {
  .project-detail__description {
    height: 11.625rem;
  }
}