/* pyFDN custom styles for pydata-sphinx-theme */

/* ---- Navbar logo sizing ---- */
.bd-header {
    min-height: 100px !important;
}

.navbar-brand img {
    height: 80px !important;
    max-height: 80px !important;
}

/* ---- Card styling ---- */
.sd-card {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.sd-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.sd-card .sd-card-title {
    font-weight: 600;
}

/* ---- Landing page spacing ---- */
.bd-main .bd-content .bd-article-container {
    max-width: 860px;
}

/* ---- Code blocks ---- */
div.highlight pre {
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.88em;
    line-height: 1.55;
}

/* Console/shell blocks */
div.highlight-console pre {
    background: #2d2d2d;
    color: #cccccc;
}

/* ---- Notebook badge spacing ---- */
.nbsphinx-gallery .reference img {
    margin-right: 4px;
}

/* ---- API reference table polish ---- */
table.docutils td {
    vertical-align: top;
    padding: 8px 12px;
}

table.docutils td:first-child {
    font-weight: 500;
    white-space: nowrap;
}