@charset "utf-8";
body {
    font-family: "Lato", sans-serif;
    padding-top: 5.0rem;
}

.navbar {
    opacity: 0.95;
}

.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;
}

.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;
}

.video-container iframe {
    border: 0 !important;
    outline: 0;
    box-shadow: none;
}

.video-container iframe:focus,
.video-container iframe:focus-visible {
    outline: 0;
}

.comma:not(:first-child) {
    margin-left: -.3em;  
}
  
/* no need to display empty elements */
.comma:empty {
    display: none;
}

.comma:not(:first-child):before {
    content: ", ";
}

.badge-custom {
    font-size: 100%;
}

.card-body {
    position: relative;
}

.profile-last-updated {
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    color: #b0b6bf;
    font-size: 12px;
}

.social-links-row {
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #242a30;
    background: #fff;
    border: 1px solid #e2e7ec;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(29, 45, 68, 0.05);
    font-size: 20px;
    text-decoration: none;
}

.social-link:hover,
.social-link:focus {
    color: rgb(71, 146, 200);
    border-color: rgba(71, 146, 200, 0.35);
    text-decoration: none;
}

.work-heading {
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.publication-text-col {
    position: relative;
}

.work-section-divider {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
}

.work-section-divider:before,
.work-section-divider:after {
    content: "";
    height: 1px;
    background: #e2e7ec;
    flex: 1 1 auto;
}

.work-section-divider span {
    width: 4px;
    height: 4px;
    flex: 0 0 auto;
    background: #cfd7df;
    border-radius: 50%;
}

.work-title-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.28rem;
}

.work-title {
    margin: 0;
    font-size: 1.38rem;
    font-weight: 400;
    line-height: 1.2;
}

.work-title a {
    color: rgb(71, 146, 200);
    text-decoration: none;
}

.work-title a:hover,
.work-title a:focus {
    color: rgb(45, 115, 170);
    text-decoration: none;
}

.work-date {
    color: #b0b6bf;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.work-subtitle {
    margin: 0 0 0.28rem;
    color: #242a30;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.4;
}

.work-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
    margin-bottom: 0;
}

.work-badges a,
.work-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.35rem 0.7rem;
    color: #242a30;
    background: #fff;
    border: 1px solid #e2e7ec;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(29, 45, 68, 0.05);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
}

.work-badges a:hover,
.work-badges a:focus {
    color: rgb(71, 146, 200);
    border-color: rgba(71, 146, 200, 0.35);
    text-decoration: none;
}

.work-badge-stars {
    font-weight: 500 !important;
}

.work-badges i {
    margin-right: 0.34rem;
    color: #111;
}

.work-badges .ai {
    font-size: 1rem;
    line-height: 1;
}

.work-badge-logo {
    width: 15px;
    height: 15px;
    margin-right: 0.34rem;
    border-radius: 3px;
    object-fit: cover;
    flex: 0 0 auto;
}

.work-authors {
    max-width: 31rem;
    margin-bottom: 0 !important;
    color: #242a30;
    font-size: 0.95rem;
    line-height: 1.4;
}

.work-authors .comma {
    white-space: nowrap;
}

.work-authors .comma:not(:first-child) {
    margin-left: 0;
}

.work-authors .comma:not(:first-child):before {
    content: none;
}

.work-authors .comma:not(:last-child):after {
    content: ",";
}

.author-self {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

@media (min-width: 576px) {
    .card-columns {
        column-count: 1!important;
    }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 2!important;
    }

    .publication-video-col {
        flex: 0 0 37.5%;
        max-width: 37.5%;
    }

    .publication-text-col {
        display: flex;
        align-items: center;
        flex: 0 0 62.5%;
        max-width: 62.5%;
    }

    .publication-text-col .work-heading {
        width: 100%;
    }
}
