/* CAVEWOMAN project page. Page-specific overrides on Bulma.
   The section scaffolding and the publication-* / author-block /
   link-block class conventions follow the Nerfies project page
   template (CC BY-SA 4.0). Most styling is inherited from Bulma. */

/* ---------- typography ---------- */

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

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

.publication-subtitle {
  color: #4a4a4a;
  margin-top: 0.6rem;
  margin-bottom: 1.4rem;
}

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

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

.author-block {
  display: inline-block;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Grayed-out "coming soon" buttons (arXiv, Data) until the URLs are live. */
.is-coming-soon,
.is-coming-soon:hover,
.is-coming-soon:focus {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: #5a5a5a !important;
  color: #fbfbfb !important;
  box-shadow: none !important;
}
.is-coming-soon::after {
  content: " · soon";
  font-size: 0.78em;
  opacity: 0.85;
  margin-left: 0.15em;
}

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

.hero.teaser figure {
  margin: 0 auto;
}

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

.hero.teaser figcaption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.55;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

/* ---------- teaser figure placeholder ---------- */

.teaser-placeholder {
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 10px;
  color: #555;
}

.teaser-placeholder .ph-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.4rem;
}

.teaser-placeholder code {
  background: #eee;
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.85em;
}

/* ---------- level demo ---------- */

.demo-question {
  background: #f5f5f5;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin: 1rem 0 1.2rem;
}

.demo-question-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: block;
}

.demo-question p {
  margin-bottom: 0;
}

.level-tabs {
  margin-bottom: 1rem;
}

.demo-panel {
  display: none;
}

.demo-panel.is-active {
  display: block;
}

.demo-panel h4 {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.6rem;
}

.demo-panel .content p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.demo-panel .content .demo-hint {
  color: #888;
  font-size: 0.82rem;
}

.demo-panel pre {
  background: #f5f5f5;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  border-radius: 5px;
  white-space: pre-wrap;
  overflow-x: auto;
  margin: 0;
  color: #1a1a1a;
}

.demo-note {
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  margin-top: 1rem;
  font-style: italic;
}

/* ---------- bibtex ---------- */

#BibTeX pre {
  background: #f5f5f5;
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  line-height: 1.6;
  border-radius: 5px;
  overflow-x: auto;
}
