/* Projects Page */
.page-projects .content {
  grid-template-columns: 1fr;
  padding: 0;
  gap: 0;
  min-height: calc(var(--frame-height) - var(--chrome-top) - var(--chrome-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(174, 180, 189, 0.5) transparent;
  background: transparent;
}

.page-projects .content::-webkit-scrollbar {
  width: 8px;
}

.page-projects .content::-webkit-scrollbar-thumb {
  background: rgba(174, 180, 189, 0.45);
  border-radius: 999px;
}

.projects {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 8px;
  background: transparent;
}

.projects-head,
.projects-row-link {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 132px;
  align-items: center;
  column-gap: 0;
}

.projects-head {
  position: sticky;
  top: 0;
  z-index: 3;
  isolation: isolate;
  height: 52px;
  padding: 0 14px 0 10px;
  border-bottom: 1px solid var(--color-border-soft);
  background: transparent;
  color: #aeb4bd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: none;
}

.projects-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(26, 29, 34, 0.93);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.projects-head .col-title {
  display: flex;
  align-items: center;
  justify-self: start;
  width: 100%;
  padding-left: 10px;
  line-height: 1;
  transform: translateY(0.4px);
}

.projects-head .col-projects {
  justify-self: end;
  width: 112px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2px;
  line-height: 0;
  color: #ffffff;
}

.duration-icon {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
  stroke: none;
  transform: translateY(0.4px);
}

.duration-icon .ghost-eye {
  fill: #151820;
  opacity: 0.98;
}

.duration-icon .ghost-face {
  fill: none;
  stroke: #151820;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-body {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  row-gap: 2px;
}

.projects-row {
  list-style: none;
}

.projects-row-link {
  min-height: 58px;
  padding: 5px 14px 5px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast);
}

.projects-row-link:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(1px);
}

.projects-row-link:focus-visible {
  outline: 1px solid rgba(110, 178, 255, 0.55);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.projects-row .col-number {
  color: #aeb4bd;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.col-title {
  color: #c8cdd4;
}

.col-title-wrap {
  display: grid;
  gap: 3px;
  width: 100%;
  align-content: center;
  justify-items: start;
  padding-left: 10px;
}

.row-title {
  color: #f2f4f7;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.row-subtitle {
  color: #adb2bb;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: -0.006em;
}

.projects-row .col-projects {
  justify-self: end;
  min-width: 112px;
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d4dbe4;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(14, 16, 21, 0.5) 100%);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.012);
}

.projects-row .col-projects.status-done {
  min-width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #c6d3e2;
  background: transparent;
  box-shadow: none;
}

.projects-row .col-projects.status-active {
  min-width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #d5dbe3;
  background: transparent;
  box-shadow: none;
}

.projects-row .col-projects.duration-time {
  color: #cfd6df;
  border-color: rgba(255, 255, 255, 0.16);
  letter-spacing: 0.01em;
  font-size: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(14, 16, 21, 0.52) 100%);
}

