/* style.css */
:root {
  --bg: #f8f3e6;
  --bg-sidebar: #e3cfbf;
  --text: #302e2c;
  --text-sidebar: #302e2c;
  --text-muted: #666666;
  --border: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #494643;
    --bg-sidebar: #302e2c;
    --text: #fefaee;
    --text-sidebar: #fefaee;
    --text-muted: #e3e0d4;
    --border: #333333;
  }
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
}

.content {
  padding: 0.5rem 2rem;
  background: var(--bg);
  color: var(--text);
}

p {
  margin-bottom: 0rem;
}

h3 {
  margin-bottom: 0rem;
  margin-top: 1rem;
}

h2 {
  margin-top: 3rem;
}

.sidebar h2 {
  margin-top: 1rem;
}

.main-name + p {
  margin-top: 0rem; 
}
.main-name {
  margin-bottom: 0rem; 
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.inline-img {
  height: 1em;
  width: auto;
  display: inline;
  margin-right: 0.2em;
  vertical-align: center;
}

/* publication style */
.author-list {
  margin-bottom: 0;          /* kill all default paragraph margins */
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.1;
}

.pub-title {
  margin-top: 0.1rem; /* tiny gap between authors and title */
  margin-bottom: 0.1rem; /* tiny gap between authors and title */
  font-weight: bold;
}

.pub-venue {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0rem;
  font-style: italic;
}

/* projects */

.card {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-img {
  width: 120px;
  /* height: 90px; */
  object-fit: cover;
  margin-top: 0.5rem
}

.card-body h3 {
  margin: 0rem 0 0rem 0;
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}