/* Nerfies / DINO-WM style sheet (trimmed) */

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

.title,
.publication-title,
.publication-subtitle,
.publication-authors,
.button {
  font-family: 'Google Sans', sans-serif;
}

.hero.teaser {
  font-family: 'Google Sans', sans-serif;
}

/* Tighten the gap between the title block and the teaser figure */
.hero:not(.teaser) .hero-body {
  padding-bottom: 1.5rem;
}
.hero.teaser .hero-body {
  padding-top: 0.5rem;
}

.publication-title {
  margin-bottom: 1rem !important;
}

/* Bulma pulls a subtitle up under a title with a negative margin; undo it. */
.publication-subtitle {
  color: #4a4a4a;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

.publication-authors {
  margin-bottom: 0.25rem;
}

.publication-authors a {
  color: hsl(204, 86%, 45%) !important;
}

.equal-contrib {
  margin-top: 0.4rem;
  color: #4a4a4a;
}

.publication-correspondence {
  margin-top: 0.25rem;
  color: #6a6a6a;
}

.equal-brace {
  color: #7a7a7a;
}

.publication-date {
  margin-top: 0.75rem;
  color: #4a4a4a;
}

.publication-status {
  margin-top: 1.5rem;
  font-family: 'Google Sans', sans-serif;
  font-style: italic;
  color: #7a7a7a;
}

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

.author-block {
  display: inline-block;
  margin: 0 0.25rem;
}

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

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

.button.is-dark {
  background-color: #363636;
  border-radius: 9999px;
}

/* Placeholder media boxes — replace with <img>/<video> */
.placeholder-media {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  border: 2px dashed #d0d0d0;
  border-radius: 10px;
  background: #fafafa;
  color: #888;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.placeholder-media.small {
  min-height: 180px;
}

.placeholder-media code {
  color: #666;
}

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

pre {
  background: #f5f5f5;
  border-radius: 8px;
}

.footer {
  padding: 2.5rem 1.5rem;
  background: #fafafa;
}

/* ---- Markdown body: make plain markdown match the academic layout ---- */
.markdown-body {
  font-size: 1.05rem;
}

/* Top-level "## Heading" -> centered section title, like Abstract/Method */
.markdown-body h2 {
  font-family: 'Google Sans', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.markdown-body h3 {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 1.75rem;
}

.markdown-body p {
  text-align: justify;
}

/* Center and round figures; keep in-text figures from spanning the full column */
.markdown-body img {
  display: block;
  margin: 1.5rem auto 0.5rem;
  width: 70%;
  max-width: 100%;
  border-radius: 10px;
}

/* Teaser figure under the title — kept compact and centered */
.teaser-media {
  display: block;
  width: 55%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
}

.teaser-caption {
  margin: 1rem auto 0;
  max-width: 80%;
  text-align: center;
  font-size: 0.9rem;
  color: #6a6a6a;
}

/* Wide figures (e.g. multi-panel probes) span the full text column */
.markdown-body img.wide {
  width: 100%;
}

/* Callout box */
.markdown-body blockquote.callout {
  border: 1px solid #d6e4ff;
  border-left: 4px solid hsl(204, 86%, 53%);
  background: #f4f8ff;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  color: #333;
}

.markdown-body blockquote.callout p {
  margin: 0;
  text-align: left;
}

/* Italic line right after an image acts as a centered caption */
.markdown-body img + em {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: #6a6a6a;
  margin: 0 auto 1.75rem;
  max-width: 80%;
}

.markdown-body table {
  margin: 1.5rem auto;
}

