:root {
  --text: #1f2328;
  --muted: #667085;
  --link: #2f5fc7;
  --line: #e3e6ea;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav {
  display: flex;
  max-width: var(--max-width);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 15px;
}

.nav a {
  color: var(--text);
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 72px;
  align-items: start;
  padding-bottom: 56px;
}

h1 {
  margin: 10px 0 30px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.2;
}

h1 span {
  font-size: 0.72em;
  font-weight: 400;
}

.intro {
  max-width: 690px;
}

.intro p {
  margin: 0 0 24px;
  font-size: 18px;
}

.profile img {
  display: block;
  width: 100%;
  height: 400px;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: center;
}

.contact-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 7px 0;
  margin-top: 16px;
  font-size: 14px;
}

.contact-links a {
  padding: 0 7px;
  border-right: 1px solid #c7ccd1;
  white-space: nowrap;
}

.contact-links a:last-child {
  border-right: 0;
}

.section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
}

.news-list {
  margin: 0;
  padding-left: 22px;
}

.news-list li {
  margin: 8px 0;
}

.news-list time {
  display: inline-block;
  min-width: 86px;
  font-variant-numeric: tabular-nums;
}

.entry {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  padding: 0 0 34px;
  margin: 0 0 34px;
  border-bottom: 1px solid var(--line);
}

.entry:last-child {
  margin-bottom: 0;
}

.entry figure {
  display: flex;
  width: 250px;
  height: 230px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.entry figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entry h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.entry p {
  margin: 10px 0;
}

.authors,
.venue {
  font-size: 15px;
}

.venue,
.muted,
.unavailable {
  color: var(--muted);
}

.resources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  align-items: baseline;
  margin-top: 16px;
  font-size: 15px;
}

.resources > * {
  padding: 0 10px;
  border-right: 1px solid #c7ccd1;
}

.resources > *:first-child {
  padding-left: 0;
}

.resources > *:last-child {
  border-right: 0;
}

details {
  position: relative;
  color: var(--link);
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] {
  flex-basis: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #f8f9fa;
}

details[open] summary {
  margin-bottom: 8px;
  color: var(--link);
}

details pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.text-cover,
.podcast-cover {
  display: flex;
  width: 250px;
  height: 200px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--line);
  text-align: center;
}

.text-cover strong {
  font-size: 30px;
}

.text-cover span {
  max-width: 190px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.podcast-cover {
  color: #fff;
  background: #111;
  font-size: 28px;
}

.reviewer {
  padding-bottom: 22px;
}

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 760px) {
  .nav {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .page {
    padding-top: 38px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .profile {
    width: min(100%, 300px);
  }

  .profile img {
    height: auto;
  }

  .contact-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .contact-links a:first-child {
    padding-left: 0;
  }

  h1 {
    font-size: 30px;
  }

  h1 span {
    font-size: 0.62em;
    white-space: nowrap;
  }

  .entry {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .entry figure,
  .text-cover,
  .podcast-cover {
    width: min(100%, 320px);
  }

  .entry figure {
    height: 240px;
  }
}
