/* Question / answer blocks of orbital-maneuvers-questions.qmd (web version).
   Colours follow the site's --ct-* variables where they exist. */
.question {
  margin: 1.2em 0 0.6em;
  padding: 0.6em 0.9em 0.6em 1em;
  border-left: 4px solid var(--ct-link, #2f5ea8);
  background: rgba(47, 94, 168, 0.07);
  border-radius: 0 4px 4px 0;
}
.question > p:first-child { margin-top: 0; }
.question > details.answer {
  margin-top: 0.8em;
  padding: 0.2em 0 0.1em 0;
  border-top: 1px solid var(--ct-rule-soft, rgba(60, 50, 45, 0.25));
}
details.answer > summary {
  cursor: pointer;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--ct-heading, #6b1f1f);
}
details.answer[open] > summary { margin-bottom: 0.5em; }
details.answer > *:not(summary) { margin-left: 0.2em; }
details.answer table { margin-left: auto; margin-right: auto; }
.mq-toggle {
  display: block;
  margin: 0.2em 0 1.2em auto;
  padding: 0.3em 0.9em;
  font: inherit;
  font-size: 0.9em;
  color: var(--ct-link, #2f5ea8);
  background: transparent;
  border: 1px solid var(--ct-link, #2f5ea8);
  border-radius: 4px;
  cursor: pointer;
}
.mq-toggle:hover { background: rgba(47, 94, 168, 0.1); }
.mjx-container[display="true"] { overflow-x: auto; overflow-y: hidden; }
@media print {
  .mq-toggle { display: none; }
  .question { break-inside: auto; }
}
