/* Academic website template */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Google Sans', sans-serif;
  line-height: 1.6;
  color: #333;
}

.publication-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.publication-authors {
  margin-bottom: 1rem;
  font-size: 1.2rem; /* 增加作者字体大小 */
}

.author-block {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.1rem; /* 增加作者名字字体大小 */
}

.author-block a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.author-block a:hover {
  text-decoration: underline;
}

/* 机构名称样式 */
.institution-block {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.1rem; /* 增加机构字体大小 */
  font-weight: 500;
}

.publication-links {
  margin-top: 2rem;
}

.link-block {
  display: inline-block;
  margin: 0.5rem;
}

.external-link {
  background-color: #2c3e50;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  font-size: 1rem; /* 增加按钮字体大小 */
}

.external-link:hover {
  background-color: #34495e;
  color: white;
}

.hero {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.hero.teaser {
  background-color: white;
  padding: 2rem 0;
}

.section {
  padding: 3rem 0;
}

.title {
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.content {
  font-size: 1.1rem;
}

.content p {
  margin-bottom: 1rem;
}

.content ul {
  margin-bottom: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
}

.content img {
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.content pre {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1rem 0;
}

.content code {
  background-color: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
}

.table {
  margin: 2rem 0;
}

.table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.footer {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer img {
  margin: 0.5rem;
  transition: opacity 0.3s;
}

.footer img:hover {
  opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
  .publication-title {
    font-size: 2rem;
  }
  
  .publication-authors {
    font-size: 1rem;
  }
  
  .author-block {
    font-size: 0.95rem;
  }
  
  .institution-block {
    font-size: 0.95rem;
  }
  
  .content img {
    max-width: 100% !important;
  }
  
  .link-block {
    display: block;
    margin: 0.5rem 0;
  }
  
  /* Footer logos responsive */
  .footer .publication-links > div {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer .publication-links img {
    max-width: 150px !important;
  }
} 