#project-page {
  min-height: 100vh;
  overflow-y: auto;
}

.project-wrap {
  width: min(100%, 1200px);
  min-height: 100vh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 40px) var(--page-padding) 72px;
}

.project-hero {
  max-width: 900px;
  margin: 0 auto 36px;
}

.project-hero h1 {
  margin-bottom: 18px;
  font-family: "FuturaCyrillicDemi", Arial, sans-serif;
  font-size: 44px;
  line-height: 1.1;
  text-align: center;
}

.project-hero p,
.project-copy {
  font-size: 18px;
  line-height: 1.62;
  text-align: left;
  hyphens: none;
  overflow-wrap: break-word;
}

.project-content {
  display: grid;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

.project-content figure {
  margin: 0;
}

.project-content img {
  width: 100%;
  height: auto;
}

.project-content figcaption {
  margin-top: 9px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.5;
}

.back-link {
  margin-top: 40px;
  text-align: center;
}

.back-link a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  text-decoration: none;
}

.back-link a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  margin: auto;
  background: #fff;
  opacity: 0;
  transition: width 180ms ease, opacity 180ms ease;
}

.back-link a:hover::after,
.back-link a:focus-visible::after {
  width: 100%;
  opacity: 1;
}

@media (max-width: 680px) {
  .project-wrap {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }

  .project-hero {
    margin-bottom: 28px;
  }

  .project-hero h1 {
    font-size: 36px;
  }

  .project-hero p,
  .project-copy {
    font-size: 16px;
    line-height: 1.6;
  }

  .project-content {
    gap: 22px;
  }

  .project-content figcaption {
    font-size: 13px;
  }
}
