/* Partner Juggling 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;
}

/* Plots (vector SVG figures lifted from the paper) */
.plot-figure { margin: 0 auto 0.25rem; }
.plot-figure img {
  width: 100%;
  max-width: 100%;
  display: block;
  background: #fff;
  border: 1px solid #ededf0;
  border-radius: 6px;
  padding: 0.75rem;
}
/* When a plot sits alongside its companion video, tighten the gap. */
.video-block .plot-figure { margin-top: 1rem; }

/* Results table */
.results-table {
  width: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.25rem auto;
}
.results-table th,
.results-table td {
  border: 1px solid #d0d0d5;
  padding: 0.55rem 0.9rem;
  text-align: center;
}
.results-table thead th {
  background: #f0f0f3;
  font-weight: 600;
}
.results-table tbody tr:nth-child(even) {
  background: #fafafa;
}
.results-table .range {
  color: #6a6a6a;
  font-size: 0.85em;
}

/* Responsive YouTube / iframe embed */
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* 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; }
