.work-main {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 1.3rem !important;
}

.work-title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--fg);
}

.work-intro {
  margin: 0 0 2.2rem;
  color: #666;
  font-size: 17px;
  line-height: 1.6;
}

.work-section {
  margin: 0 0 2.4rem;
}

.work-section-title {
  margin: 0 0 0.4rem;
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.25;
}

.work-section-description {
  margin: 0 0 0.8rem;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.work-list {
  display: grid;
  gap: 1rem;
}

.work-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.9rem 0;
}

.work-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.35rem;
  color: #888;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
}

.work-item-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0;
}

.work-item-body h3 {
  margin: 0;
  color: #454545;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.work-item-body p {
  margin: 0.25rem 0 0;
  color: #666;
  font-size: 17px;
  line-height: 1.55;
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.artifact-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.3rem 0.65rem;
  color: var(--fg) !important;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.artifact-button:hover,
.artifact-button:focus-visible {
  border-color: rgba(0, 0, 0, 0.2);
  background: #fff;
  transform: none;
}

.artifact-button__icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
}

.artifact-button__icon svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .work-title {
    font-size: 38px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

}

@media (max-width: 480px) {
  .work-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .artifact-button {
    width: 100%;
  }
}
