/* ========================================
   WiFlow Project Page — Custom Styles
   Built on Bulma + Academic Project Page Template
   ======================================== */

body {
  font-family: "Google Sans", "Noto Sans", sans-serif;
  color: #363636;
}

/* ---- Publication title ---- */
.publication-title {
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
}

/* ---- Author names ---- */
.publication-authors {
  font-family: "Google Sans", sans-serif;
}

.author-block a {
  color: #363636;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.author-block a:hover {
  color: #3273dc;
}

/* ---- Hero / teaser section ---- */
.hero.teaser {
  background: #fafafa;
}

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

/* ---- External link buttons ---- */
.publication-links .button {
  margin: 0.25rem;
}

/* ---- Section spacing ---- */
.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ---- Tables ---- */
.table-container {
  overflow-x: auto;
}

table th sub,
table td sub {
  font-size: 0.75em;
}

/* ---- BibTeX pre block ---- */
pre code {
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre;
}

/* ---- Figure captions ---- */
figure.image {
  margin-bottom: 0;
}

/* ---- Figures (PDF iframes & SVG/raster images) ---- */
figure.pdf-figure {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

figure.pdf-figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

figure.pdf-figure iframe {
  width: 100%;
  height: 60vh;       /* sensible default; override per-figure with inline style */
  min-height: 300px;
  border: none;
  display: block;
}

/* ---- Institution logos ---- */
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.logo-row img {
  max-height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
}

/* ---- Notification boxes ---- */
.notification.is-info.is-light {
  border-left: 4px solid #3273dc;
}

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

footer.footer a {
  color: #3273dc;
}

/* ---- Metric highlight boxes ---- */
.box .title {
  margin-bottom: 0.5rem;
}

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