/* ============================================================
   KeyDiff3D project page — custom styles
   Drop this in static/css/index.css (or append to the template's existing index.css)
   ============================================================ */

body {
  font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffffff;
  color: #2c2c2c;
  -webkit-font-smoothing: antialiased;
}

.publication-title {
  font-family: 'Google Sans', 'Castoro', serif;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.publication-authors .author-block a {
  color: #2c2c2c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.publication-authors .author-block a:hover {
  border-bottom-color: #6c5ce7;
  color: #6c5ce7;
}

.publication-authors .author-block {
  margin-right: 0.4rem;
}

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

.publication-links .link-block {
  margin: 0.3rem 0.2rem;
  display: inline-block;
}

.publication-links .button.is-dark {
  background-color: #1a1a1a;
  color: #ffffff;
  border: none;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  transition: background-color 0.2s, transform 0.1s;
}

.publication-links .button.is-dark:hover {
  background-color: #6c5ce7;
  transform: translateY(-1px);
}

.hero.teaser {
  padding-top: 0;
  padding-bottom: 1rem;
}

.hero.teaser .hero-body {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.section {
  padding: 3rem 1.5rem;
}

.title.is-3 {
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.content p {
  line-height: 1.7;
  font-size: 1.05rem;
}

/* BibTeX code block */
pre {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 1.5rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
}

/* Tables */
.table {
  font-size: 0.9rem;
}

.table thead th {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
}

.table.is-bordered td, .table.is-bordered th {
  border: 1px solid #e0e0e0;
}

/* Footer */
.footer {
  background-color: #fafafa;
  padding: 2rem 1.5rem;
  color: #777;
}

.footer a {
  color: #6c5ce7;
}

/* Responsive tweaks */
@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 1.7rem !important;
  }
  .section {
    padding: 2rem 1rem;
  }
}
