body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222326;
  background: #fbfbfa;
}

main {
  max-width: 920px;
  margin: 42px auto 64px;
  padding: 0 24px;
}

.profile {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-bottom: 42px;
}

.profile img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(25, 30, 40, 0.08);
}

.profile > div {
  transform: translateY(6px);
}

h1 {
  margin: -4px 0 5px;
  font-size: 39px;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin: 40px 0 18px;
  border-bottom: 1px solid #dedede;
  padding-bottom: 6px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.subtitle {
  font-size: 18px;
  color: #5d6269;
  margin: 0 0 20px;
}

a {
  color: #1764a5;
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

section p {
  margin: 0 0 14px;
}

.links {
  margin-top: 16px;
}

.email-obfuscated {
  color: #3e4248;
}

.paper {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #ececec;
}

.paper:first-of-type {
  padding-top: 4px;
}

.paper:last-child {
  border-bottom: 0;
}

.paper-thumb {
  display: block;
  width: 190px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #e1e1df;
  border-radius: 7px;
  background: #f4f4f2;
}

.paper-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.paper-thumb.placeholder {
  position: relative;
  background:
    linear-gradient(135deg, rgba(23, 100, 165, 0.08), rgba(38, 45, 56, 0.04)),
    #f3f3f1;
}

.paper-thumb.placeholder::after {
  content: "Website";
  position: absolute;
  inset: auto 16px 14px;
  color: #8b929b;
  font-size: 13px;
  letter-spacing: 0;
}

.paper-info h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 650;
}

.paper-info p {
  margin: 0 0 7px;
  color: #3e4248;
}

.paper-info .authors {
  color: #40464d;
}

.paper-info .venue {
  color: #1f2933;
  font-weight: 650;
  font-style: italic;
  margin-bottom: 10px;
}

.paper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.paper-links a {
  color: #1764a5;
}

.paper-links .disabled-link {
  color: #9aa0a6;
  pointer-events: none;
}

@media (max-width: 700px) {
  main {
    margin-top: 28px;
    padding: 0 18px;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .profile > div {
    transform: none;
  }

  .profile img {
    width: 140px;
    height: 140px;
  }

  h1 {
    font-size: 34px;
  }

  .paper {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .paper-thumb {
    width: 100%;
  }
}
