/* Jon Barron inspired clean academic website */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header/Intro Section */
.intro {
  margin-bottom: 60px;
}

.intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.intro-text {
  flex: 1;
}

.intro-text h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
}

.intro-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
}

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

.intro-photo img {
  width: 200px;
  height: 240px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.links {
  text-align: center;
  font-size: 1.1rem;
}

.links a {
  color: #1a73e8;
  text-decoration: none;
}

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

/* Sections */
section {
  margin-bottom: 50px;
}

h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #222;
}

section p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Paper links in research section */
.paper-link {
  color: #1a73e8 !important;
  text-decoration: none;
}

.paper-link:hover {
  text-decoration: underline;
}

.paper-link strong {
  font-weight: 700;
  color: inherit;
}

/* Publications */
.publication {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
}

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

.pub-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.pub-content {
  flex: 1;
}

.pub-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.pub-content h3 a {
  color: #1a73e8;
  text-decoration: none;
}

.pub-content h3 a:hover {
  text-decoration: underline;
}

.authors {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: #555;
}

.authors strong {
  color: #222;
}

.authors a {
  color: #1a73e8;
  text-decoration: none;
}

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

.venue {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #d73027;
  background: #fef5f5;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.description {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #444;
}

.pub-links {
  font-size: 0.9rem;
}

.pub-links a {
  color: #1a73e8;
  text-decoration: none;
}

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

/* Education */
.education-item {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

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

.education-item a {
  color: #1a73e8;
  text-decoration: none;
}

.education-item a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #1a73e8;
  text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    text-align: center;
  }
  
  .intro-photo img {
    width: 150px;
    height: 180px;
  }
  
  .publication {
    flex-direction: column;
  }
  
  .pub-image {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .intro-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 15px;
  }
  
  .intro-text h1 {
    font-size: 1.8rem;
  }
  
  .intro-text p,
  .links {
    font-size: 1rem;
  }
}