/* Shared layout for every public page rendered with master.html.jinja. */
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #536176;
    background: #f5f7fb;
    font: 1rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body > main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6, label { color: #34455d; }
a { color: #225d98; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid #58aafa; outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 20; flex-shrink: 0; background: #172b46; }
.home-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .7rem max(1rem, calc((100vw - 1120px) / 2));
}
.home-menu .pure-menu-heading { padding: 0; color: white; font-size: 1.7rem; font-weight: 750; letter-spacing: -.06em; }
.brand-dot { color: #6dc7ff; }
.home-menu .pure-menu-link { color: #c5d6e9; font-size: .9rem; padding: .6rem .8rem; }
.home-menu .pure-menu-selected .pure-menu-link { color: white; }
.home-menu .pure-menu-link:hover, .home-menu .pure-menu-link:focus { background: #23415f; color: white; }
.site-main { width: 100%; max-width: 1120px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.footer { margin-top: auto; flex-shrink: 0; background: #172b46; color: #bdcadb; padding: 1.3rem; font-size: .8rem; }
.footer a { color: #d5e9ff; }
.is-center { text-align: center; }
.text-normal { text-transform: none; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; color: #2768a7; }

/* Package details and installation commands. */
.content { padding: clamp(1rem, 4vw, 2rem); background: white; border: 1px solid #e0e6ef; border-radius: 12px; }
.content-head { margin: 0 0 1.5rem; font-weight: 500; overflow-wrap: anywhere; }
.content-subhead { color: #225d98; }
.content .pure-table { display: block; max-width: 100%; overflow-x: auto; }
.bash { display: block; min-width: 0; padding: .5rem; margin: auto 0; font-size: 90%; white-space: nowrap; border: 1px solid #e1e1e1; border-radius: 4px; overflow: auto; text-transform: none; text-align: center; }
.bash-wrapper { display: flex; margin: auto; }
.bash-wrapper-center { justify-content: center; }
.clipboard { position: relative; flex-shrink: 0; width: 32px; height: 32px; margin: auto 0; padding: .5rem; background: none; cursor: pointer; border: 0; color: inherit; }
.clipboard-tooltip {
    position: absolute;
    bottom: calc(100% + .4rem);
    right: 0;
    z-index: 1;
    padding: .3rem .6rem;
    border-radius: 4px;
    background: #172b46;
    color: white;
    font: 500 .8rem/1.4 system-ui, sans-serif;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
}
.clipboard-tooltip:not(:empty) { opacity: 1; }

@media (max-width: 760px) {
    .home-menu { flex-wrap: wrap; justify-content: center; gap: .4rem 2rem; }
    .home-menu .pure-menu-link { font-size: .8rem; padding: .4rem .5rem; }
}
@media (max-width: 480px) {
    .site-main { padding: 2rem 1rem 3rem; }
}
