body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #f8f8f5;
  color: #222;
  line-height: 1.5;
}

.container {
  width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}

.sidebar {
  align-self: start;
}

.content {
  align-self: start;
}

h1 {
  font-size: 1.8rem;
  margin: 0 0 18px 0;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px 0;
}

p {
  font-size: 1.0rem;
  margin: 0 0 6px 0;
}

.journal-name {
  font-style: italic;
  color: #a32020;
}

.paper-title {
  font-size: 1.0rem;
  font-weight: 650;
  line-height: 1.35;
}

.paper-note {
  font-style: italic;
}

section {
  margin-bottom: 28px;
}

a,
a:visited {
  color: #a32020;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.paper {
  margin-bottom: 5px;
}

.spacer {
  margin: 0 0 14px 0;
}

@media (max-width: 900px) {
  .container {
    width: auto;
    grid-template-columns: 1fr;
  }
}


.paper-links {
  margin-top: 4px;
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.paper-links a,
.paper-links a:visited {
  color: #a32020;
  text-decoration: none;
  font-weight: 600;
}

.paper-links a:hover {
  text-decoration: underline;
}

.paper-links .sep {
  color: #a32020;
  margin: 0 4px;
}

.abstract-toggle {
  display: inline;
}

.abstract-toggle summary {
  display: inline;
  cursor: pointer;
  color: #a32020;
  font-weight: 600;
  list-style: none;
}

.abstract-toggle summary::-webkit-details-marker {
  display: none;
}

.abstract-toggle[open] summary {
  text-decoration: underline;
}

.abstract-box {
  display: block;
  margin-top: 8px;
  margin-left: 0;
  padding: 0;
  color: #222;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.profile-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border-radius: 15px;
}

.icon-link i {
  width: 24px;
  margin-right: 8px;
  text-align: center;
}

.sidebar .cv-link {
  margin-top: 20px;
}
