/* projects page only */

/* hero */
.projects-hero {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
  padding: 28px 0 72px 0;
  border-bottom: 1px solid #d9d9d9;
}

.projects-hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #8d98a7;
  font-family: "FontL", sans-serif;
  font-size: 14px;
  line-height: 1;
}

.projects-hero h1 {
  font-family: "FontR", sans-serif;
  font-size: 60px;
  line-height: 0.95;
  font-weight: 400;
}

.projects-hero__right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.projects-hero__right p {
  width: 100%;
  max-width: 560px;
  color: #6f7782;
  font-family: "FontL", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

/* list */
.projects-list {
  display: flex;
  flex-direction: column;
}

.project-card:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}

.project-card__link {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
  padding: 28px 0 56px 0;
  text-decoration: none;
  color: #111;
}

.project-card__media {
  width: 100%;
}

.project-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 360px;
  background: #000000;
}

.project-card__content {
  min-width: 0;
}

.project-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.project-card__index {
  color: #8d98a7;
  font-family: "FontL", sans-serif;
  font-size: 14px;
  line-height: 1;
}

.project-card__meta {
  color: #8d98a7;
  font-family: "FontL", sans-serif;
  font-size: 14px;
  line-height: 1;
  text-align: right;
}

.project-card h2 {
  font-family: "FontR", sans-serif;
  font-size: 54px;
  line-height: 0.95;
  font-weight: 400;
  margin-bottom: 18px;
}

.project-card__text {
  max-width: 720px;
  color: #111;
  font-family: "FontL", sans-serif;
  font-size: 22px;
  line-height: 1.18;
}

.project-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 28px;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-card__tags span {
  border: 1px solid #d9d9d9;
  padding: 7px 12px;
  color: #6f7782;
  font-family: "FontL", sans-serif;
  font-size: 14px;
  line-height: 1;
}

.project-card__arrow {
  font-family: "FontR", sans-serif;
  font-size: 72px;
  line-height: 1;
  transform: translateY(-4px);
}

/* responsive */
@media (max-width: 1200px) {
  .projects-hero,
  .project-card__link {
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 36px;
  }

  .projects-hero h1 {
    font-size: 50px;
  }

  .project-card h2 {
    font-size: 44px;
  }

  .project-card__text {
    font-size: 20px;
  }

  .project-placeholder {
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  .projects-hero,
  .project-card__link {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .projects-hero {
    padding-bottom: 48px;
  }

  .projects-hero h1 {
    font-size: 40px;
  }

  .projects-hero__right {
    justify-content: flex-start;
  }

  .projects-hero__right p {
    max-width: none;
    font-size: 18px;
  }

  .project-placeholder {
    min-height: 240px;
  }

  .project-card h2 {
    font-size: 38px;
  }

  .project-card__text {
    font-size: 18px;
  }

  .project-card__footer {
    align-items: center;
  }

  .project-card__arrow {
    font-size: 56px;
  }
}