/* Task-Error Residual Learning — project page styles
   (Bulma-based academic template; Bulma/FontAwesome/Academicons via CDN.) */

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1d1d1f;
}

.hero.is-light { background-color: #fff; }

.publication-title {
  font-weight: 700;
  line-height: 1.2;
}

.publication-authors a {
  color: #3273dc;
}
.publication-authors a:hover { text-decoration: underline; }

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

.publication-links .button {
  border-radius: 9999px;
  background-color: #363636;
  border-color: transparent;
  color: #fff;
}
.publication-links .button:hover { background-color: #000; color: #fff; }
.publication-links .icon { margin-right: 0.4rem; }

/* Section spacing */
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section .title.is-3 { margin-bottom: 1.25rem; }

.content-narrow { max-width: 820px; margin: 0 auto; }

/* Teaser — portrait photo, so cap by height to keep it within the viewport. */
.teaser img {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  max-height: 68vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.teaser .caption,
.video-caption {
  color: #4a4a4a;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

/* Videos */
.video-block { margin-bottom: 2.25rem; }
.video-block video {
  width: 100%;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  display: block;
}
.video-block h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #363636;
}

/* Abstract justified */
.abstract-text { text-align: justify; line-height: 1.6; }

/* BibTeX */
pre.bibtex {
  background: #f5f5f7;
  border-radius: 6px;
  padding: 1.25rem;
  font-size: 0.85rem;
  overflow-x: auto;
  text-align: left;
}

.footer { background-color: #fafafa; padding: 2.5rem 1.5rem; }
.footer .content { font-size: 0.85rem; color: #7a7a7a; }
.footer a { color: #3273dc; }
