:root {
  --background: #f7f4ed;i
  --text: #1f2933;
  --muted: #5f6c7b;
  --accent: #1f5f7a;
  --accent-soft: #d8e7ec;
  --line: #d8d2c4;
  --card: #fffdf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
}

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

header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  padding-bottom: 16px;
}

h1 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  font-weight: normal;
  color: var(--accent);
}

h2 {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

main section {
  margin-bottom: 32px;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 32px;
  align-items: start;
}

.photo-box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px;
}

.photo-placeholder {
  height: 220px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
}

ul {
  padding-left: 1.3rem;
}

li {
  margin: 0.35rem 0;
}

a {
  color: var(--accent);
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
}

@media (max-width: 700px) {
  body {
    font-size: 17px;
  }

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

  .photo-box {
    max-width: 220px;
  }
}

.profile-photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.email {
  font-family: system-ui, sans-serif;
}

.pub-list {
  padding-left: 2.4rem;
  margin-top: 1rem;
}

.pub-list li {
  margin-bottom: 1.05rem;
  padding-left: 0.35rem;
  line-height: 1.38;
}

.pub-list li::marker {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.08rem;
}

.pub-authors,
.pub-title,
.pub-details {
  margin: 0.05rem 0;
}

.pub-authors {
  font-size: 0.98rem;
}

.pub-title {
  font-weight: bold;
}

.pub-details {
  color: var(--muted);
  font-size: 0.95rem;
}

.pub-details a {
  font-weight: 500;
}

.pub-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-family: system-ui, sans-serif;
}

.pub-list sup {
  font-size: 0.7em;
  line-height: 0;
  color: var(--accent);
  font-weight: bold;
}

.cover-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 1rem;
}

.cover-gallery figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px;
}

.cover-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cover-gallery figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-family: system-ui, sans-serif;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .cover-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .cover-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
