/* Project-level styling layered on top of PyData Sphinx Theme. */

html[data-theme="light"] {
    --pst-color-primary: #3157a4;
    --pst-color-link: #3157a4;
}

html[data-theme="dark"] {
    --pst-color-primary: #8fb4ff;
    --pst-color-link: #8fb4ff;
}

/* Keep technical pages readable while leaving room for both sidebars. */
.bd-page-width {
    max-width: 1600px;
}

.bd-main .bd-content .bd-article-container {
    max-width: 1100px;
}

.bd-article h1 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Give landing-page navigation cards a quiet interactive treatment. */
.benchmark-card {
    height: 100%;
    border: 1px solid var(--pst-color-border);
    transition: border-color 120ms ease, transform 120ms ease,
        box-shadow 120ms ease;
}

.benchmark-card:hover {
    border-color: var(--pst-color-primary);
    box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 10%);
    transform: translateY(-2px);
}
