/* General styling */
body {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  line-height: 1.6;
}

/* Publication title */
.publication-title {
  font-family: 'Castoro', serif;
  font-weight: 600;
}

/* Author blocks */
.publication-authors {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.author-block {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.publication-affiliations {
  margin-bottom: 1.5rem;
}

/* Button and link styling */
.publication-links {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

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

/* Video or teaser image */
.teaser {
  background-color: #f5f5f5;
  border-radius: 0;
  border: 1px solid #eee;
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container video {
  width: 100%;
  display: block;
}

figcaption {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
  padding: 0.5rem 0;
}

/* Experiment tabs */
.experiment-tabs {
  margin: 2rem 0 1rem;
}

.experiment-tabs ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.experiment-tabs li {
  margin: 0.3rem;
  flex-grow: 1;
  max-width: 200px;
}

.experiment-tabs li a {
  border-radius: 6px !important;
  padding: 0.75rem 1rem;
  height: auto;
  transition: all 0.2s ease;
}

.experiment-tabs li.is-active a {
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
  padding: 1rem 0;
}

.tab-content.is-active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Tables */
.table {
  margin-top: 1.5rem;
}

.table caption {
  font-style: italic;
  color: #555;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

/* Citation modal */
pre#bibtex-citation {
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
  white-space: pre-wrap;
  font-size: 0.85rem;
}

/* Make header hero look nice */
.hero {
  background: linear-gradient(to right, #f9f9f9, #f1f1f1);
}

/* General section styling */
.section {
  padding: 3rem 1.5rem;
}

.section:nth-child(even) {
  background-color: #f9f9f9;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .publication-title.is-1 {
    font-size: 2rem !important;
  }
  
  .publication-title.is-3 {
    font-size: 1.5rem !important;
  }
  
  .tabs ul {
    flex-direction: column;
  }
  
  .tabs ul li {
    width: 100%;
  }
  
  .tabs ul li a {
    width: 100%;
    border-radius: 0 !important;
    margin-bottom: 2px;
  }
}

/* Images */
.image {
  margin-bottom: 1.5rem;
}

.image img {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
