/* Article-specific visual system for the motor-learning post. */

.quarto-title-block .quarto-title-banner {
  background: transparent;
}

.mlp-hero {
  margin: 1.35rem 0 2.8rem;
}

.mlp-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.35rem;
}

.mlp-hero figcaption {
  max-width: 44rem;
  margin-top: 0.65rem;
  color: #66747b;
  font-size: 0.86rem;
  line-height: 1.45;
}

#quarto-content main.content > section > h1,
#quarto-content main.content > h1 {
  margin-top: 3.7rem;
  padding-top: 0.8rem;
  border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  letter-spacing: -0.025em;
}

main.content p,
main.content li {
  line-height: 1.72;
}

main.content figure:not(.mlp-hero) {
  margin-top: 2rem;
  margin-bottom: 2.4rem;
}

main.content figure img {
  border: 1px solid rgba(24, 54, 74, 0.12);
  border-radius: 0.28rem;
}

main.content figcaption,
main.content .figure-caption {
  color: #66747b;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: left;
}

#refs a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (min-width: 900px) {
  main.content .quarto-figure.mlp-scene {
    float: left;
    width: 47%;
    margin: 0.35rem 1.65rem 1.1rem 0;
  }

  main.content .quarto-figure.mlp-scene figure {
    margin: 0;
  }

  main.content .quarto-figure.mlp-scene .figure-caption {
    font-size: 0.8rem;
  }

  main.content h1 {
    clear: both;
  }

  /* Keep h2 underlines beside floated figures instead of across their captions */
  main.content h2 {
    display: flow-root;
  }
}

main.content table {
  font-size: 0.92rem;
}

main.content thead th {
  color: #18364a;
  border-bottom: 2px solid #2d6f73;
}

.callout {
  border-radius: 0.2rem;
}

@media (max-width: 767px) {
  .mlp-hero {
    margin-bottom: 2rem;
  }

  #quarto-content main.content > section > h1,
  #quarto-content main.content > h1 {
    margin-top: 2.7rem;
  }

  main.content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  main.content {
    min-width: 0;
    overflow-wrap: break-word;
  }
}
