html,
body {
  margin: 0;
  background: #fff;
  color: #232323;
}

.cv {
  --cv-text: #232323;
  --cv-muted: #444;
  --cv-rule: #232323;
  --cv-link: #235a96;
  --cv-max: 46rem;
  box-sizing: border-box;
  max-width: var(--cv-max);
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem;
  color: var(--cv-text);
  background: #fff;
  font-family: "Source Serif 4", "Georgia", "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.45;
}

.cv *,
.cv *::before,
.cv *::after {
  box-sizing: border-box;
}

.cv-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.cv-header h1 {
  margin: 0 0 0.45rem;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cv-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.35rem;
  color: var(--cv-muted);
  font-size: 0.92rem;
}

.cv-contacts a {
  color: var(--cv-link);
  text-decoration: none;
}

.cv-contacts a:hover {
  text-decoration: underline;
}

.cv-contacts i {
  margin-right: 0.3rem;
}

.cv-sep {
  color: #888;
  padding: 0 0.15rem;
}

.cv section {
  margin-top: 0.85rem;
}

.cv h2 {
  margin: 0 0 0.45rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--cv-rule);
  color: var(--cv-text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.cv-job,
.cv-project {
  margin: 0 0 0.85rem;
}

.cv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.cv-row .left {
  font-weight: 700;
}

.cv-row .right {
  font-style: italic;
  white-space: nowrap;
}

.cv-row.title-row .left {
  font-weight: 400;
  font-style: italic;
}

.cv-row.title-row .right {
  font-weight: 400;
}

.cv ul {
  margin: 0.25rem 0 0;
  padding: 0 0 0 1.6rem;
}

.cv li {
  margin: 0.15rem 0;
}

.cv-edu {
  margin: 0.15rem 0;
}

.cv-edu .left {
  font-weight: 400;
}

@media print {
  .cv {
    margin: 0;
    max-width: none;
    font-size: 10.5pt;
  }

  .cv a {
    color: inherit;
    text-decoration: none;
  }
}

@media (max-width: 520px) {
  .cv-row .right {
    white-space: normal;
    text-align: right;
  }
}
