/* =========================
   Base
   ========================= */

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
  margin: 0;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

.profile-pic {
  width: 140px;
  border-radius: 50%;
  margin-bottom: 15px;
}

h1 {
  margin: 0 0 6px 0;
}

.subtitle {
  font-size: 1.1em;
  color: #555;
  margin: 0 0 10px 0;
}

p {
  margin: 8px 0;
}

h2 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.item {
  margin-bottom: 20px;
}

.meta {
  font-size: 0.9em;
  color: #666;
  margin-top: 6px;
}

/* =========================
   Links
   ========================= */

.links {
  margin-top: 8px;
  font-size: 0.95em;
}

.links a {
  color: #0066cc;
  text-decoration: none;
}

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

/* =========================
   Project layout with images
   (use: <div class="item project"> ... )
   ========================= */

.project {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.project-img {
  width: 300px;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 1px;
  background: #f2f2f2;
  border: 1px solid #eee;
  flex-shrink: 0;
}


.project-body {
  flex: 1;
  min-width: 0;
}


.project-body h3 {
  margin: 0 0 6px 0;
}

/* If you keep <p class="links"> inside projects, this keeps it tidy */
.project .links {
  font-size: 0.9em;
  margin-top: 6px;
}

/* =========================
   Publications (optional)
   ========================= */

.publist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.publist li {
  margin-bottom: 12px;
}

/* =========================
   Footer (optional)
   ========================= */

footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 0.85em;
  color: #777;
  text-align: center;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 700px) {
  .project {
    flex-direction: column;
  }

  .project-img {
    width: 100%;
    max-width: 100%;
    height: 180px;
  }
}

