@charset "utf-8";
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

:root {
    --page-bg: #f8f9fa;
    --surface-bg: #ffffff;
    --text-color: #212529;
    --muted-text-color: #6c757d;
    --border-color: rgba(0, 0, 0, 0.08);
    --link-color: #0056b3;
    --link-hover-color: #003d80;
    --code-bg: rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] {
    --page-bg: #0f1116;
    --surface-bg: #171b22;
    --text-color: #e8ecf1;
    --muted-text-color: #aeb7c2;
    --border-color: rgba(255, 255, 255, 0.12);
    --link-color: #8ec5ff;
    --link-hover-color: #b9dbff;
    --code-bg: rgba(255, 255, 255, 0.09);
}

body {
    background-color: var(--page-bg) !important;
    color: var(--text-color);
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

.text-profile-position {
    font-weight: 400;
}

.text-profile-bio {
    /* font-family: "Raleway"; */
    font-weight: 400;
}

.navbar {
    opacity: 0.95;
    background-color: var(--surface-bg) !important;
    border-bottom: 1px solid var(--border-color);
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .navbar-toggler {
    color: var(--text-color) !important;
}

.navbar .navbar-toggler {
    border-color: var(--border-color);
}

.theme-toggle-btn {
    border: 1px solid var(--border-color);
    color: var(--text-color) !important;
    background: transparent;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus {
    background: var(--code-bg);
}

.inline-badge {
    height: 16px;
    vertical-align: -10%;
    margin-right: 2px;
    line-break: unset;
}

.no-break {
    white-space: nowrap;
}

.cover-image {
    width: 180px;
    max-height: 120px;
}

.publication-cover-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-cover-img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.abstract-body {
    min-height: 100px;
}

img.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

div.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

.badge-publication {
    font-size: 100%;
}

.email-text {
    font-family: Courier, monospace;
}

.busuanzi {
    opacity: 0.85;
}

.bg-light,
.bg-white {
    background-color: var(--surface-bg) !important;
}

.card,
.rounded-sm,
.shadow-sm,
.alert,
.table,
.popover,
.dropdown-menu {
    background-color: var(--surface-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

.text-muted {
    color: var(--muted-text-color) !important;
}

.text-body {
    color: var(--text-color) !important;
}

code {
    color: var(--text-color);
    background-color: var(--code-bg);
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
}

.mobile-publication-surface {
    background-color: var(--surface-bg);
}

@media (max-width: 767.98px) {
    .profile-entry-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-entry-meta .no-break {
        margin-left: 0 !important;
        margin-top: 0.15rem;
        white-space: normal;
    }
}

