.cv-page main {
  overflow: visible;
}

.cv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(1.6rem, 4vw, 2.8rem);
}

.cv-hero h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.7rem);
}

.cv-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 1.4rem;
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.cv-toc a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 740;
  padding: 0.42rem 0.72rem;
  text-decoration: none;
}

.cv-toc a:hover {
  background: var(--soft);
  color: var(--ink);
}

.cv-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: clamp(2.8rem, 7vw, 5rem);
}

.cv-content > hr {
  display: none;
}

.cv-content .cv-section-title {
  margin: clamp(2.8rem, 6vw, 4.6rem) 0 1rem;
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 1.12;
}

.cv-content .cv-section-title:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.cv-content .cv-year {
  margin: 1.4rem 0 0.4rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 820;
}

.cv-publication-tools {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 1.4rem;
}

.cv-content [data-publication-item][hidden],
.cv-content [data-publication-year][hidden] {
  display: none;
}

.cv-content .source-badge {
  margin-left: 0.25rem;
}

.cv-content table {
  width: 100%;
  border-collapse: collapse;
}

.cv-content td {
  border-top: 1px solid rgba(217, 224, 231, 0.78);
  padding: 0.72rem 0.6rem;
  vertical-align: top;
}

.cv-content td.cv-date {
  width: 118px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 820;
  white-space: nowrap;
}

.cv-content tr:first-child td {
  border-top: 0;
}

.cv-content ul,
.cv-content ol {
  margin-top: 0.4rem;
  padding-left: 1.25rem;
}

.cv-content li {
  margin: 0.55rem 0;
}

.cv-content [id] {
  scroll-margin-top: 92px;
}

.cv-content .tight2,
.cv-content ul ul {
  margin-top: 0.15rem;
}

.cv-content a {
  color: var(--accent-dark);
}

.cv-content img {
  max-width: 100%;
  height: auto;
}

.cv-content img[src*="filetypes/pdf.gif"] {
  margin-left: 0.22rem;
  vertical-align: -0.12rem;
}

.cv-content img[src*="rect.gif"] {
  display: none;
}

.cv-content .subhead2 {
  font-weight: 760;
}

.cv-content .p2,
.cv-content .pb1 {
  margin-bottom: 0.5rem;
}

.cv-content .p2,
.cv-content .loose {
  color: #3f4a55;
}

.cv-content .publication,
.cv-content .presentation {
  max-width: 100ch;
}

.cv-content .presentation,
.cv-content .presentation a {
  color: #0a6f36;
}

.cv-content .presentation a:hover {
  color: #064d27;
}

.cv-content nobr {
  white-space: normal;
}

@media (max-width: 760px) {
  .cv-hero {
    grid-template-columns: 1fr;
  }

  .cv-content td {
    display: block;
    width: 100%;
    border-top: 0;
    padding: 0.25rem 0;
  }

  .cv-content tr {
    display: block;
    border-top: 1px solid rgba(217, 224, 231, 0.78);
    padding: 0.65rem 0;
  }
}
