@charset "utf-8";
body {
    /* font-family: "Lato", sans-serif; */
    /* font-family: "Source Sans 3", sans-serif; */
    /* font-family: "Alan Sans", sans-serif; */
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

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

.text-em {
    color: #800020;
    font-weight: 500;
}

.text-hl {
    /* background-color: #fffcab; */
    font-weight: 500;
    /* padding: 0.1em 0.2em; */
    /* border-radius: 4px; */

    background-color: transparent;
    border-radius: 0;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    /* text-underline-offset: -2px; */
    text-decoration-color: #ffd500;
    text-decoration-skip-ink: none;
    white-space: nowrap;
}

.card {
    border-radius: 0.8rem!important;
}

.card-img-overlay {
    border-radius: 0.8rem!important;
}

.rounded-xl {
    border-radius: 0.8rem!important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: 0.8rem !important;
    border-bottom-left-radius: 0.8rem !important;
}

.rounded-xl-top {
    border-top-left-radius: 0.8rem !important;
    border-top-right-radius: 0.8rem !important;
}


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

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

.navbar {
    opacity: 0.95;
}

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

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

.katex-display {
    padding: 0.5em 0;
}

/* Research/blog post body: Georgia-style font, 18px */
article.card {
    font-family: Charter, "Bitstream Charter", Georgia, serif;
    font-size: 16px;
    font-style: normal;
}

/* Line after headers in research posts (all sizes) */
article.card h1,
article.card h2,
article.card h3,
article.card h4,
article.card h5,
article.card h6 {
    margin-top: 1.5em;
    padding-bottom: 0.75em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #dee2e6;
}

/* Images in blog/research posts fit within container */
article.card img {
    max-width: 100%;
    height: auto;
}

/* Figure with caption (e.g. "Figure 1." + description) */
article.card figure.article-figure {
    margin: 1.5em 0;
    padding: 1.25em 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

article.card figure.article-figure img {
    display: block;
    width: 100%;
    height: auto;
}

article.card figure.article-figure figcaption {
    margin-top: 0.5em;
    font-size: 0.95em;
    color: #495057;
    line-height: 1.5;
}

article.card figure.article-figure figcaption strong:first-child {
    margin-right: 0.25em;
}

/* Research highlights preview images */
.research-preview-img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.research-preview-placeholder {
    aspect-ratio: 3 / 2;
    background-color: #e9ecef;
}

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

.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 Prime", monospace;
}

