@charset "utf-8";
:root {
    --ink: #22313f;
    --muted: #64727e;
    --blue: #1d5f8f;
    --green: #2f7a58;
    --gold: #c9993a;
    --line: #d9e4ea;
    --paper: #ffffff;
    --wash: #f5f8f9;
}

body {
    font-family: "Lato", "Fira Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
    color: var(--ink);
    background:
        linear-gradient(180deg, #eef4f6 0, #f8fafb 220px, #f4f7f8 100%) fixed;
}

body.bg-light {
    background-color: var(--wash) !important;
}

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

.card {
    border-radius: 0.5rem!important;
    border: 1px solid rgba(217, 228, 234, 0.8) !important;
    box-shadow: 0 0.35rem 1.2rem rgba(21, 37, 51, 0.06) !important;
}

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

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

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

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


.text-profile-position {
    font-weight: 400;
    color: var(--muted);
}

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

.navbar {
    background-color: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(217, 228, 234, 0.75);
}

.navbar-brand {
    letter-spacing: 0;
    color: var(--ink) !important;
}

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

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

.h1 small,
.h3,
h2 {
    letter-spacing: 0;
}

.h3 {
    position: relative;
    padding-bottom: 0.45rem;
    color: var(--ink);
}

.h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.2rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
}

.card-body {
    position: relative;
}

.profile-card {
    overflow: hidden;
    position: relative;
}

.profile-card::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
}

.profile-card .card-body {
    padding-top: 1.85rem !important;
}

.profile-card .figure-img {
    border-radius: 0.35rem;
    box-shadow: 0 0.4rem 1.25rem rgba(21, 37, 51, 0.12);
}

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

.contact-email-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    line-height: 1.35;
}

.contact-email-list .email-text {
    white-space: nowrap;
    font-size: 0.74rem;
}

.advisor-heading {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0.35rem 0 0.15rem;
    text-align: center;
    text-transform: uppercase;
}

.advisor-list {
    margin: 0 auto;
    padding-left: 1.15rem;
    max-width: 13rem;
    text-align: left;
}

.advisor-list li {
    line-height: 1.35;
    margin-bottom: 0.2rem;
}

.advisor-list span {
    color: var(--muted);
    font-weight: 700;
}

.advisor-list a {
    font-weight: 700;
}

.advisor-list-wide {
    margin-left: 0;
    max-width: none;
}

.research-chip {
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
    border-radius: 0.5rem;
    padding: 1rem;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0, #f8fbfa 100%);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.research-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 122, 88, 0.35);
    box-shadow: 0 0.35rem 1rem rgba(21, 37, 51, 0.08);
}

.research-chip i {
    color: var(--blue);
    font-size: 1.3rem;
    margin-right: 0.4rem;
}

.research-chip span {
    display: inline-block;
    font-weight: 700;
}

.research-chip small {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
}

.service-block {
    border-top: 3px solid var(--gold);
    background: #fbfcfc;
    border-radius: 0.5rem;
    padding: 1rem;
    height: 100%;
}

.service-block h6 {
    margin-bottom: 0.5rem;
}

.service-block p {
    margin-bottom: 0;
    color: var(--muted);
}

.publication-entry {
    transition: background-color 160ms ease, transform 160ms ease;
}

.publication-entry:hover {
    background-color: #f8fbfb;
}

.publication-entry img {
    border: 1px solid var(--line);
    background: #fff;
}

.publication-title {
    color: var(--ink);
    font-weight: 700 !important;
    line-height: 1.35;
}

.badge-publication {
    border-radius: 0.35rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: 0.22rem 0.45rem;
}

#navbar-year .nav-link {
    border-left: 2px solid var(--line);
    border-radius: 0;
    color: var(--muted);
}

#navbar-year .nav-link.active,
#navbar-year .nav-link:hover {
    border-left-color: var(--blue);
    color: var(--blue);
    background: transparent;
}

footer.footer {
    background-color: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
