@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
  margin: 0;
  background: #ffffff;
}

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

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

body, td, th, tr, p, a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-weight: 700;
}

h2 {
  margin: 0 0 8px;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}

.name {
  padding-top: 20px;
  margin: 0 0 12px;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.zh-name {
  font-size: 18px;
  font-weight: 400;
  color: #888;
  margin-left: 6px;
  letter-spacing: 1px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

span.highlight {
  background-color: #ffffd0;
}

/* Plain text placeholder thumbnail when no figure available */
.paper-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f3f3f3 0%, #e4e4e4 100%);
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.paper-thumb span {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #777;
  line-height: 1.3;
}

@media (max-width: 600px) {
  body, td, th, tr, p, a { font-size: 13px; }
  .name { font-size: 26px; }
  h2 { font-size: 19px; }
}
