@page {
  size: A4;
  margin: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: #080808;
  font-family: "Gotham", "Metropolis", sans-serif;
  font-size: 9pt;
  font-weight: 300;
  line-height: 1.35;
}

.sheet {
  position: relative;
  width: 210mm;
  height: 297mm;
  overflow: hidden;
  page-break-after: always;
}

.sheet:last-child {
  page-break-after: auto;
}

.hero {
  position: relative;
  height: 69.3mm;
  background: #203550;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 69.3mm;
  object-fit: cover;
}

.profile-photo {
  position: absolute;
  z-index: 1;
  top: 12.2mm;
  left: 11.6mm;
  width: 42mm;
  height: 42mm;
  object-fit: cover;
  object-position: center;
}

.intro {
  position: absolute;
  z-index: 3;
  top: 12mm;
  left: 65.5mm;
  width: 134mm;
}

.intro h1 {
  margin: 0 0 3mm;
  font-family: "Sentinel", Georgia, serif;
  font-size: 24pt;
  font-weight: 600;
  line-height: 1;
}

.intro h2 {
  margin: 0 0 4.4mm;
  font-size: 12pt;
  font-weight: 500;
  line-height: 1;
}

.intro p {
  margin: 0 0 3.6mm;
  font-size: 9pt;
  line-height: 1.37;
}

.page-content {
  padding: 7mm 14.2mm 20mm;
}

.continuation-page .page-content {
  padding-top: 38mm;
}

.profile-section {
  display: grid;
  grid-template-columns: 47mm 1fr;
  column-gap: 5mm;
  padding: 7.1mm 0 6.4mm;
  border-top: 0.25mm solid #aaa;
}

.first-section {
  padding-top: 0;
  border-top: 0;
}

.compact-section {
  padding-top: 6.5mm;
  padding-bottom: 6mm;
}

.skills-section {
  padding-top: 3mm;
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-section > h2 {
  margin: 0;
  font-size: 12pt;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.entry {
  position: relative;
  margin: 0 0 4mm;
  break-inside: avoid;
}

.entry:last-child {
  margin-bottom: 0;
}

.entry-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5mm;
}

.entry-heading strong {
  font-weight: 500;
}

.entry-heading span {
  flex: 0 0 auto;
  font-weight: 300;
  white-space: nowrap;
}

.entry p,
.organization {
  margin: 1.3mm 0 0;
}

.timeline {
  position: relative;
}

.timeline .entry {
  padding-bottom: 0.5mm;
}

.timeline .entry::before {
  position: absolute;
  top: 0.8mm;
  left: -8.5mm;
  width: 3mm;
  height: 3mm;
  border: 0.2mm solid #c6c6c6;
  border-radius: 50%;
  background: #d8d8d8;
  content: "";
}

.timeline .entry:not(:last-child)::after {
  position: absolute;
  top: 5.6mm;
  bottom: -2.6mm;
  left: -7.05mm;
  width: 0.2mm;
  background: #c8c8c8;
  content: "";
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 21mm;
}

.skill-group {
  margin: 0 0 1.5mm;
  break-inside: avoid;
}

.skill-group strong {
  display: block;
  margin-bottom: 0.3mm;
  font-weight: 500;
}

.skill-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-group li {
  position: relative;
  margin: 0;
  padding-left: 3mm;
}

.skill-group li::before {
  position: absolute;
  left: 0;
  content: "•";
}

.continued-section {
  padding: 0 0 6.3mm;
  border-top: 0;
}

.certifications-section {
  padding-top: 6.8mm;
  padding-bottom: 6.4mm;
}

.courses-section {
  padding-top: 6.8mm;
  padding-bottom: 6.4mm;
}

.certifications-section .entry {
  margin-bottom: 2.6mm;
}

.assignments-section {
  padding-top: 6.8mm;
}

.assignments-section .entry p {
  text-align: justify;
}

.client {
  margin-top: 1.3mm;
}

.footer-logo {
  position: absolute;
  right: 10mm;
  bottom: 5.65mm;
  width: 34.3mm;
  height: auto;
}
