/*
  Collapsible admonitions (???) render as <details>/<summary>, not
  .admonition / .admonition-title. Material stretches the summary bar with
  margin: 0 -.6rem; keep extra right padding so the title clears the
  chevron and the box edge. Body content gets matching side insets —
  paragraphs use scaleX(1.03) and otherwise grow into the right border.
*/
.md-typeset details {
    padding-right: var(--size-4) !important;
}
.md-typeset details > summary {
    /* Re-sync bar stretch with the larger details padding above. */
    margin-left: calc(-1 * var(--size-4)) !important;
    margin-right: calc(-1 * var(--size-4)) !important;
    /* Icon inset (left) + chevron + breathing room (right). */
    padding-left: calc(2rem + var(--size-4) - 0.6rem) !important;
    padding-right: calc(2rem + var(--size-4) - 0.6rem) !important;
}
.md-typeset details > summary::before {
    left: var(--size-4) !important;
}
.md-typeset details > summary::after {
    right: var(--size-3) !important;
}
/* Add left+right padding on md-content */
.md-content {
    padding-left: var(--size-4);
    padding-right: var(--size-4);
}
