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

body {
  font-family: 'Lucida Console', monospace;
  font-size: 18px;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header {
  border-bottom: 2px solid #333;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #333;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  background-color: #555;
  transform: scale(1.1);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.social-links a[title="UDC"] svg {
  width: 30px;
  height: 30px;
}

p {
  margin-bottom: 20px;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

ul li:before {
  content: "→";
  position: absolute;
  left: 0;
}

a {
  color: #333;
  text-decoration: underline;
}

a:hover {
  color: #666;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 0.9em;
  color: #666;
}

/* Publications page specific styles */
.container.publications {
  max-width: 900px;
}

header.publications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 480px) {
  header.publications-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  h1 {
    font-size: 2em;
  }
}

.scholar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #4285f4;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.scholar-link:hover {
  background-color: #5a95f5;
  transform: scale(1.1);
}

.scholar-link svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #333;
  text-decoration: none;
  font-size: 0.9em;
}

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

.publications-list {
  list-style-type: none;
  padding: 0;
}

.publications-list li {
  padding-left: 0;
}

.publications-list li:before {
  content: none;
}

.publication-item {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.publication-item:last-child {
  border-bottom: none;
}

.publication-year {
  font-size: 0.9em;
  color: #666;
  font-weight: bold;
  margin-bottom: 5px;
}

.publication-title {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #333;
  font-weight: bold;
}

.publication-venue {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 8px;
}

.publication-links {
  margin-top: 8px;
}

.publication-links a {
  color: #4285f4;
  text-decoration: none;
  margin-right: 15px;
  font-size: 0.85em;
}

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