/* --- Acellera unified branding ----------------------------------------- */

html[data-theme="light"] .navbar {
    --pst-color-on-background: #21539E;
    --pst-color-text-muted: white;
    --pst-color-primary: #459db9;
    --pst-color-link-hover: #90becc;
}

html[data-theme="light"] .search-button-field {
    --pst-color-text-muted: #5e636a;
    --pst-color-on-background: white;
}

body {
    --pst-heading-color: #459db9;
    --bs-link-decoration: none;
}

/* Make the package-name text next to the logo readable against the
 * dark-blue navbar (default pydata-sphinx-theme renders it in black). */
.navbar .logo__title {
    color: #459db9;
}

/* Add breathing room between the Acellera logo image and the project-name
 * text link (rendered as two adjacent <a class="navbar-brand"> elements
 * by _templates/navbar-logo.html). */
.navbar .navbar-brand.logo-title-link {
    margin-left: 0.75rem;
}

body a {
    text-decoration: none;
}

/* --- Executed-cell output blocks --------------------------------------- */

/* Cap the height of executed-cell output blocks so long log spew is scrollable
 * instead of pushing the rest of the page off-screen. */
div.cell_output {
    max-height: 30em;
    overflow: auto;
}

/* Slightly tighter line-height inside log blocks so more lines fit before scroll. */
div.cell_output pre {
    line-height: 1.3;
}
