/* Lista de lugares que trabalhei — mesma fonte e formatação do resto do site */

.work-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(var(--gap) * 3);
  align-items: stretch;
  margin: var(--gap) 0;
}

.work-list > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.work {
  display: flex;
  flex-direction: row;
  gap: calc(var(--gap) * 2);
  align-items: flex-start;
}

@media (max-width: 640px) {
  .work {
    flex-direction: column;
    align-items: center;
  }
}

.work-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.work-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--gray-line, #eee);
}

.work-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.work-details h2 {
  margin: 0;
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.1;
}

.work-desc {
  font-size: inherit;
  line-height: 1.5;
  color: var(--text);
}

.work-desc p {
  margin: 0 0 0.5em;
}

.work-desc p:last-child {
  margin-bottom: 0;
}

.work-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin: var(--gap) 0;
}

.skill-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: var(--font-small);
  font-weight: 500;
  background-color: var(--gray-bg);
  color: var(--text);
  border: 1px solid var(--gray-line);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.skill-tag:hover {
  background-color: var(--gray-line);
  cursor: default;
}

.work-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.work-links li {
  margin: 0;
}

.work-link,
.work-link-label {
  font-size: inherit;
}

.work-link {
  color: inherit;
  text-decoration: none;
  border-bottom: var(--border) solid var(--gray-line);
}

.work-link:hover {
  border-color: var(--text);
}

.work-link-label {
  color: var(--text);
}

.projects { width: 100%; display: flex; flex-direction: column; gap: calc(var(--gap) * 3); align-items: center; margin: var(--gap) 0; }
.projects > * { width: 96vw; max-width: var(--width); }
.project { display: flex; flex-direction: row; gap: calc(var(--gap) * 2); }
@media (max-width: 1000px) {
  .project { flex-direction: column; }
}

.projects > blockquote { max-width: 600px; margin: 0; padding: 0; border: none; position: relative; }
blockquote > p:nth-child(1)::before { content: " "; position: absolute; width: 100px; height: 100px; background: url(quote_open.svg); left: -100px; top: -35px; }
blockquote > p:nth-child(1)::after { content: " "; position: absolute; width: 100px; height: 100px; background: url(quote_close.svg); right: -100px; top: -35px; }
.source { text-align: right; }

.project-img { width: 560px; }
@media (max-width: 560px) {
  .project-img { width: 96vw; }
}
.project-img img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 20px var(--gray-line); }

.project-details { width: calc(var(--width) - 40px - 560px); display: flex; flex-direction: column; gap: 15px; }
h2 { margin-top: 0; display: flex; gap: var(--gap); align-items: baseline; }

.stars { color: var(--gray-text); }
.stars::before { display: inline-block; content: ""; width: 32px; height: 33px; position: relative; top: 6px; background-size: 100%; background-image: url('star.svg'); }

.installs { color: var(--gray-text); }
.installs::before { display: inline-block; content: ""; width: 32px; height: 33px; position: relative; top: 6px; background-size: 100%; background-image: url('installs.svg'); }

.visitors { color: var(--gray-text); }
.visitors::before { display: inline-block; content: ""; width: 40px; height: 33px; position: relative; top: 6px; background-size: 100%; background-image: url('visitors.svg'); }

@media (max-width: 1000px) {
  .project-details { width: 560px; min-height: unset; }
}
@media (max-width: 560px) {
  .project-details { width: 96vw; }
}
