/* ============================================================
   Gen4Regen Research Website – Custom Styles
   ============================================================ */

/* ---- Base -------------------------------------------------- */
body {
  font-family: 'Google Sans', 'Noto Sans', Arial, sans-serif;
  color: #333;
  background-color: #fff;
}

/* ---- Navbar ------------------------------------------------ */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.navbar-brand .navbar-item {
  font-weight: 700;
  font-size: 1.1rem;
  color: #2d6a2d;
}

/* ---- Hero / Title ----------------------------------------- */
.hero {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 60%, #fff 100%);
}

.publication-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1b3a1b;
}

.publication-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d6a2d;
  margin-top: 0.25rem;
}

.author-block {
  display: inline-block;
  margin: 0 6px;
  font-size: 1rem;
}

.author-block a {
  color: #2d6a2d;
  text-decoration: none;
  border-bottom: 1px dashed #2d6a2d;
}

.author-block a:hover {
  border-bottom: 1px solid #2d6a2d;
}

.affiliation-block {
  display: inline-block;
  margin: 4px 10px;
  font-size: 0.9rem;
  color: #555;
}

/* ---- Publication links (buttons row) ---------------------- */
.publication-links {
  margin-top: 1.5rem;
}

.publication-links .button {
  margin: 0.3rem;
  border-radius: 6px;
}

.publication-links .button.is-dark {
  background-color: #2d6a2d;
  border-color: transparent;
}

.publication-links .button.is-dark:hover {
  background-color: #1b3a1b;
}

/* ---- Teaser image ----------------------------------------- */
#teaser {
  background: #f4f7f4;
  padding: 2rem 0;
}

#teaser figure {
  margin: 0 auto;
  max-width: 960px;
}

#teaser img,
#teaser object {
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  width: 100%;
  height: auto;
  display: block;
}

#teaser figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

/* ---- Sections --------------------------------------------- */
.section {
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1b3a1b;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #a5d6a7;
  padding-bottom: 0.4rem;
  display: inline-block;
}

/* ---- Abstract --------------------------------------------- */
#abstract .abstract-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
  max-width: 820px;
  margin: 0 auto;
  text-align: justify;
}

/* ---- BibTeX ----------------------------------------------- */
#bibtex pre {
  background: #f4f7f4;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  padding: 1.5rem;
  font-size: 0.85rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: #333;
}

/* ---- Footer ----------------------------------------------- */
footer.footer {
  background: #1b3a1b;
  color: #c8e6c9;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

footer.footer a {
  color: #a5d6a7;
  text-decoration: underline;
}

footer.footer a:hover {
  color: #fff;
}

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

  .publication-subtitle {
    font-size: 1.1rem;
  }
}
