/* Simple, modern CSS for personal 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-color: #fff;
  padding: 20px;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.main-part {
  flex: 1;
  min-width: 300px;
  max-width: 800px;
}

.right-hand-side-container {
  width: 300px;
  text-align: center;
}

h1 {
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 5px;
  color: #222;
}

.last-updated {
  font-size: 0.85em;
  color: #666;
  margin-bottom: 20px;
  margin-top: 0;
}

h2 {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 20px;
  padding-top: 20px;
  color: #222;
  border-top: 2px solid #e5e7eb;
}

h6 {
  font-size: 1.1em;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 12px;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 5px;
}

.paper-list {
  list-style: disc;
  margin-left: 20px;
}

.paper-list li {
  margin-bottom: 20px;
  padding-left: 5px;
}

.abstract {
  margin: 15px 0;
  padding: 15px;
  padding-left: 20px;
  border-left: 3px solid #0066cc;
  background-color: #f8f9fa;
}

.abstract p {
  margin-bottom: 10px;
}

.abstract p:last-child {
  margin-bottom: 0;
}

.abstract ul {
  margin-top: 10px;
  margin-left: 20px;
}

.toggle-abstract {
  cursor: pointer;
  color: #0066cc;
  font-size: 0.9em;
  display: inline-block;
  margin-top: 5px;
  user-select: none;
}

.toggle-abstract:hover {
  text-decoration: underline;
}

figure {
  margin: 30px 0;
  text-align: center;
}

figure img, .right-hand-side-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

figcaption {
  margin-top: 10px;
  font-size: 0.9em;
  color: #666;
  font-style: italic;
}

mt {
  display: block;
  font-size: 0.95em;
  line-height: 1.8;
}

mt i {
  width: 20px;
  text-align: center;
  color: #6b7280;
  margin-right: 5px;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: #6b7280;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #0066cc;
}

.venue {
  color: #dc2626;
  font-style: italic;
  font-size: 0.95em;
}

.award {
  color: #dc2626;
  font-style: italic;
  font-size: 0.95em;
}

.type {
  color: #9ca3af;
  font-size: 0.9em;
}

/* Responsive design */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }
  
  .right-hand-side-container {
    width: 100%;
    order: 2;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .main-part {
    order: 1;
  }
  
  h1 {
    font-size: 2em;
  }
  
  h2 {
    font-size: 1.5em;
  }
}