@import url("../version.css");

html,
body {
  margin: 0;
  min-height: 100%;
}


body {
  background-color: #f3edf1;
  background-image: url("../assets/images/news-background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #292227;
  font-family: Georgia, "Times New Roman", serif;
}


main {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 146px 0 96px;
}


.page-header {
  padding: 8px 0;
  margin-bottom: 42px;
  display: flex;
  align-items: center;
  background: linear-gradient(to right,
    rgba(255,255,255,0),
    rgba(255,255,255,.62) 12%,
    rgba(255,255,255,.62) 88%,
    rgba(255,255,255,0));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.page-header-copy {
  margin: 0 0 0 56px;
  color: #7d6d76;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: .055em;
}

.page-header-copy span {
  display: block;
  white-space: nowrap;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .08em;
}


li {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: .035em;
}

.project-list {
  width: min(700px, calc(100% - 176px));
  margin-left: 176px;
  margin-top: 86px;
  display: grid;
  gap: 14px;
}

.project-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 28px 14px 76px;
  border: 1px solid rgba(89, 65, 78, .18);
  background: rgba(255, 255, 255, .56);
  backdrop-filter: blur(8px);
}

.project-link {
  color: inherit;
  text-decoration: none;
}

.project-name {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: .055em;
}

.project-description {
  margin: 0;
  color: #7d6d76;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: .035em;
}



@media (max-width: 720px) {

  main {
    width: min(100% - 28px, 1080px);
    padding-top: 118px;
  }

  .page-header {
    padding: 12px 0;
    margin-bottom: 36px;
    display: block;
  }

  .page-header-copy {
    margin: 14px 0 0;
    font-size: 11px;
  }

  .page-header-copy span {
    white-space: normal;
  }

  .project-list {
    width: 100%;
    margin-left: 0;
    margin-top: 86px;
    gap: 10px;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
    padding: 14px 14px 16px;
  }

}
