html {
  color-scheme: light;
}

body {
  margin: 0;
  background: #fff;
  color: #202124;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #f09228;
  text-decoration: underline;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 36px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 34px;
  align-items: center;
  margin-bottom: 32px;
}

h1 {
  margin: 0 0 18px;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  text-align: center;
}

h2 {
  margin: 34px 0 14px;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
}

h3 {
  margin: 0 0 5px;
  color: #111;
  font-size: 17px;
  font-weight: 700;
}

p {
  margin: 0 0 12px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.profile-links span {
  color: #777;
}

.portrait {
  margin: 0;
}

.portrait img {
  display: block;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
}

.entry {
  margin: 0 0 22px;
}

.with-thumb {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.thumb {
  width: 230px;
  border-radius: 4px;
  overflow: hidden;
}

.paper-thumb {
  display: block;
  border: 1px solid #d8dde3;
  background: #fff;
}

.paper-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.placeholder {
  display: grid;
  place-items: center;
  border: 1px solid #d8dde3;
  background:
    linear-gradient(135deg, rgba(23, 114, 208, 0.12), rgba(240, 146, 40, 0.12)),
    #f7f8fa;
  color: #5f6368;
  font-size: 14px;
  font-weight: 700;
}

.meta,
.authors,
.venue {
  color: #444;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

footer {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid #e4e7eb;
  color: #666;
  font-size: 14px;
}

@media (max-width: 700px) {
  .page {
    padding: 30px 18px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portrait {
    order: -1;
    justify-self: center;
  }

  .portrait img {
    width: 170px;
    height: 170px;
  }

  .with-thumb {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .thumb {
    width: 100%;
    max-width: 260px;
  }
}
