/* ReactVLA Project Page Styles */

:root {
  --primary-color: #4a6cf7;
  --text-color: #363636;
  --bg-light: #f5f5f5;
}

body {
  font-family: 'Noto Sans', sans-serif;
}

.hero .hero-body {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.2rem !important;
  font-weight: 700;
  line-height: 1.3;
}

.publication-authors {
  margin-top: 0.75rem;
}

.publication-authors .author-block {
  display: inline-block;
  margin-right: 0.25rem;
}

.publication-authors a {
  color: var(--primary-color);
}

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

.publication-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.publication-links .button {
  font-size: 0.95rem;
}

.publication-links .button .icon {
  margin-right: 0.25rem;
}

/* Teaser */
.hero.teaser {
  padding-top: 0;
}

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

.hero.teaser .subtitle {
  font-size: 1rem;
  margin-top: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Section spacing */
.section {
  padding: 3rem 1.5rem;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.table th,
.table td {
  vertical-align: middle !important;
  text-align: center;
}

.table th:first-child,
.table td:first-child {
  text-align: left;
}

.table tr.is-selected {
  background-color: #e8f4fd !important;
  color: var(--text-color) !important;
}

.table tr.is-selected td {
  color: var(--text-color) !important;
  border-color: #dbdbdb !important;
}

/* Images */
figure.image {
  margin: 0;
}

figure.image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* Qualitative results - tighter spacing */
.qualitative-item {
  margin-bottom: 1.5rem;
}

.qualitative-item figure.image {
  margin-bottom: 0.5rem;
}

.qualitative-item .content p {
  margin-top: 0.25rem;
  margin-bottom: 0;
}

/* BibTeX */
#BibTeX pre {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 0.85rem;
  overflow-x: auto;
}

/* Video */
.publication-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.publication-video iframe,
.publication-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

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

.footer p {
  font-size: 0.85rem;
  color: #888;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 1.5rem !important;
  }

  .section {
    padding: 2rem 1rem;
  }

  .table {
    font-size: 0.8rem;
  }
}
