body {
  color: #222;
}

.page-columns .content {
  grid-column: body-content-start / body-content-end;
}

main.content {
  max-width: 1080px;
}

.navbar-title {
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
}

.hero h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #555;
  font-weight: 500;
}

.hero-photo {
  width: 420px;
  max-width: 100%;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid #ddd;
}

.contact-icons {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.6rem;
}

.contact-icons a {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 6px;
  line-height: 1;
  transition: background-color 120ms ease, transform 120ms ease;
}

.contact-icons a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.contact-icons .email-icon {
  background: #6b7280;
}

.contact-icons .email-icon:hover {
  background: #4b5563;
}

.contact-icons .linkedin-icon {
  background: #0a66c2;
}

.contact-icons .linkedin-icon:hover {
  background: #084f96;
}

.contact-icons svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  display: block;
}

.cv-embed {
  width: 100%;
  min-height: 85vh;
  border: 1px solid #ddd;
}

h2 {
  margin-top: 2rem;
}

a {
  text-underline-offset: 3px;
}

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

a.plain-link:hover {
  color: inherit;
  text-decoration: underline;
}

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

  .hero-photo {
    width: 220px;
  }
}
