/* CollectionLoRA project page – minimalist academic style inspired by MOSAIC. */

:root {
  --text: #222;
  --muted: #666;
  --link: #1f4f87;
  --rule: #e5e7eb;
  --light-bg: #fafafa;
}

html, body {
  font-family: 'Google Sans', 'Noto Sans', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

a { color: var(--link); }
a:hover { text-decoration: underline; }

.publication-title {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.publication-authors {
  margin-top: 1rem;
  line-height: 1.7;
}
.publication-authors .author-block {
  margin-right: 0.25rem;
}

.publication-links {
  margin-top: 1.25rem;
}
.publication-links .link-block {
  margin: 0.25rem 0.25rem;
  display: inline-block;
}

.publication-links .button.is-rounded {
  background: #1f1f1f;
  color: #fff;
  border: none;
}
.publication-links .button.is-rounded:hover {
  background: #000;
  color: #fff;
}

.section.hero.is-light,
.hero.is-light .hero-body {
  background: var(--light-bg) !important;
}

.publication-image {
  margin: 0 auto;
}
.publication-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}
/* Use a wider canvas (full container width) for figures whose source images
   have a high pixel count and benefit from the extra viewport space. */
.publication-image--wide {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
}
.publication-image--wide img {
  width: 100%;
  height: auto;
}

.figure-caption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: justify;
}

.title.is-3 {
  margin-bottom: 1.5rem !important;
  letter-spacing: -0.005em;
}

/* Bulma's default rule pulls a `.subtitle` upward into the title. Override so
   the title and supporting line breathe properly. */
.title + .subtitle {
  margin-top: 0 !important;
}

.subtitle.is-6 {
  color: var(--muted);
  margin-bottom: 2.25rem;
}

.section, .hero .hero-body {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.hero.is-small .hero-body {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.results-table thead th {
  border-bottom: 2px solid #333;
  padding: 0.55rem 0.5rem;
  text-align: center;
  background: #fafafa;
}
.results-table tbody td {
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem 0.5rem;
  text-align: center;
}
.results-table tbody tr:last-child td {
  border-bottom: 2px solid #333;
}
.results-table .row-label {
  text-align: left;
  font-weight: 500;
}
.results-table tbody tr.highlight td {
  background: #f7faff;
}

.table-wrap {
  overflow-x: auto;
}

/* Carousel for supplementary gallery — supplementary plates are very tall
   high-resolution panels, so we give them a much taller scrolling track. */
.carousel-teaser-container {
  overflow: hidden;
  width: 100%;
  margin: 1.5rem 0;
}
.carousel-teaser {
  display: flex;
  width: max-content;
  align-items: center;
}
.carousel-teaser img {
  height: 560px;
  margin-right: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
@media (max-width: 900px) {
  .carousel-teaser img {
    height: 380px;
  }
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.carousel-teaser.scroll-left {
  animation: scrollLeft 100s linear infinite;
}
.carousel-teaser:hover {
  animation-play-state: paused;
}

.bibtex-block pre {
  background: #f7f7f7;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1rem;
  font-size: 0.88rem;
  overflow-x: auto;
}

.footer {
  background: #fafafa;
  border-top: 1px solid var(--rule);
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer a { color: var(--link); }
