/*WORK EXPERIENCE*/

.experience h2,
.clients h2 {
  margin-bottom: 2.5rem;
}

.experience .job {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 2rem;
  align-items: start;
}

.experience .job + .job {
  margin-top: 2.5rem;
}

.experience .job-logo {
  box-sizing: border-box;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--hairline-color);
  border-radius: 8px;
  background-color: var(--panel-color);
}

.experience .job-logo img {
  max-width: 80%;
  max-height: 62%;
  object-fit: contain;
  display: block;
}

.experience .title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.experience .subtitle {
  font-size: 1rem;
  font-weight: 300;
  margin: 0.3rem 0 0;
}

.experience .period {
  font-size: 0.9rem;
  color: var(--second-color);
  margin: 0.4rem 0 0.7rem;
}

.experience .body-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/*CLIENTS*/

/* stated as a count, not a min width: auto-fit fitted five once the body hit
 * its 1000px cap. eight cards, four per row. */
.clients .clients-grid {
  grid-template-columns: repeat(4, 1fr);
}
