.apostille-guide-page .guide-language { justify-self: end; color: var(--muted); font-size: .8rem; }
.apostille-guide-page .api-hero { padding-top: 3rem; }
.apostille-guide-page .api-hero h1 { max-width: 25ch; }
.apostille-guide-page .guide-source { padding: .7rem .2rem; font-size: .85rem; text-underline-offset: .25em; }
.apostille-guide-page .api-layout { grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); }
.apostille-guide-page .api-toc { max-height: calc(100vh - 2rem); overflow-y: auto; }
.apostille-guide-page .api-toc ol { list-style: none; padding: .4rem 0; margin: 0; }
.apostille-guide-page .guide-toc-source { margin-top: .75rem; border-top: 1px solid var(--line); color: var(--teal); }
.guide-content { color: var(--steel-soft); }
.guide-content > :first-child { margin-top: 0; }
.guide-content h2 { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3rem; color: #edf4f9; scroll-margin-top: 1rem; }
.guide-content h3 { margin-top: 2rem; color: #edf4f9; scroll-margin-top: 1rem; }
.guide-content :is(h2, h3) a { text-decoration: none; }
.guide-content :is(h2, h3) a:hover { text-decoration: underline; text-underline-offset: .2em; }
.guide-content li { margin: .7rem 0; }
.guide-content :not(pre) > code { color: #edf4f9; overflow-wrap: anywhere; }
.guide-content ul, .guide-content ol { padding-left: 1.4rem; }
.guide-content .guide-code { margin: 1.5rem 0; border: 1px solid var(--line); border-radius: .3rem; overflow: hidden; }
.guide-code-label { display: block; padding: .45rem 1rem; background: var(--panel); color: var(--steel); font: .72rem/1.5 ui-monospace, monospace; }
.guide-content .guide-code pre { margin: 0; border: 0; border-radius: 0; }
.guide-content .api-table-wrap { margin: 1.5rem 0; }
.guide-content table { min-width: 540px; }
.guide-content th { white-space: nowrap; }
.guide-content td { vertical-align: top; min-width: 10rem; }
.guide-content td code { overflow-wrap: anywhere; }
.guide-content :is(pre, .api-table-wrap):focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.apostille-guide-page .api-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
@media (max-width: 760px) {
    .apostille-guide-page .api-layout { grid-template-columns: minmax(0, 1fr); }
    .apostille-guide-page .api-toc { max-height: none; }
    .apostille-guide-page .api-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
    .apostille-guide-page .api-toc a { font-size: .8rem; }
    .apostille-guide-page .api-hero { padding-top: 2rem; }
}
@media (max-width: 420px) { .apostille-guide-page .api-toc ol { grid-template-columns: minmax(0, 1fr); } }
@media print {
    .apostille-guide-page { background: white; color: black; }
    .apostille-guide-page :is(.site-header, .site-trail, .action-row, .api-toc, .api-footer) { display: none; }
    .apostille-guide-page .api-layout { display: block; }
    .apostille-guide-page :is(h1, h2, h3, p, li, code, th, td, a) { color: black; }
    .guide-content pre { white-space: pre-wrap; overflow-wrap: anywhere; }
    .guide-content table { min-width: 0; }
    .guide-content td { min-width: 0; }
    .guide-content :is(pre, .guide-code-label) { background: #eff3f7; }
}
