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

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

.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;
}

.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: Source Code Pro, monospace;
}

.nav-worklife {
    font-size: 1.5em !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: 0.02em;
     margin: 0 2em !important;
    background: #222 !important;
    color: #fff !important;
    border-radius: 1.5em !important;
    padding: 0.3em 1.2em !important;
    border: 2px solid #444 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-worklife:hover, .nav-worklife.active {
    background: #444 !important;
    color: #ffd700 !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
}
.navbar-nav {
    width: 100%;
    justify-content: center !important;
    text-align: center !important;
}

/* Responsive: Make mobile layout match desktop */
@media (max-width: 768px) {
    .container-lg, .container {
        width: 100% !important;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .my-3, .p-0, .bg-white, .shadow-sm, .rounded-xl {
        margin: 0.5rem 0 !important;
        padding: 0.5rem !important;
        border-radius: 0.8rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        background: #fff;
    }
    .card, .rounded-xl, .card-img-overlay {
        border-radius: 0.8rem !important;
    }
    h6, h1, h2, h3, h4, h5 {
        font-size: 1.1em !important;
        margin-bottom: 0.5em !important;
    }
    .cover-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 180px !important;
    }
    .navbar {
        font-size: 1em !important;
        padding: 0.5em 0.5em !important;
    }
    .abstract-body {
        min-height: 60px !important;
    }
    .inline-badge {
        height: 14px !important;
        margin-right: 1px !important;
    }
}

