/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:hover {
  color: #f09228;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header / Bio Section */
.bio-section {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.bio-photo {
  flex-shrink: 0;
}

.bio-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.bio-text h1 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
  color: #222;
}

.bio-text .subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 12px;
}

.bio-text p {
  margin-bottom: 10px;
}

.bio-links {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bio-links a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bio-links a i {
  font-size: 16px;
}

/* Section Headings */
.section-heading {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 2px solid #eee;
}

/* Publications */
.publication {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.pub-thumbnail {
  flex-shrink: 0;
  width: 160px;
}

.pub-thumbnail img {
  width: 160px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #eee;
}

.pub-info {
  flex: 1;
}

.pub-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: #222;
}

.pub-authors {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

.pub-authors .me {
  font-weight: 700;
  color: #333;
}

.pub-venue {
  font-size: 14px;
  color: #888;
  font-style: italic;
  margin-bottom: 6px;
}

.pub-links a {
  font-size: 13px;
  margin-right: 10px;
}

/* Experience & Education */
.edu-item {
  margin-bottom: 12px;
}

.edu-item strong {
  color: #222;
}

.edu-item .edu-degree {
  font-weight: 700;
  color: #333;
}

.edu-item .edu-school {
  color: #555;
}

.edu-item .edu-year {
  font-size: 13px;
  color: #999;
}

/* Experience with logos */
.exp-entry {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}

.exp-logo {
  flex-shrink: 0;
  width: 120px;
}

.exp-logo img {
  width: 120px;
  height: auto;
}

.exp-details {
  flex: 1;
}

.exp-details p {
  margin: 0 0 2px 0;
  font-size: 15px;
  color: #555;
}

.exp-details p:first-child {
  font-weight: 600;
  color: #333;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #eee;
  max-width: 800px;
  margin: 40px auto 0;
}

footer a {
  color: #999;
}

/* Responsive */
@media (max-width: 600px) {
  .bio-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio-links {
    justify-content: center;
  }

  .publication {
    flex-direction: column;
  }

  .pub-thumbnail {
    width: 100%;
  }

  .pub-thumbnail img {
    width: 100%;
    max-width: 300px;
  }
}
