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

body.bg-light {
    background-color: #f5f7fb !important;
    color: #253044;
}

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-size: 1.02rem;
    font-weight: 400;
}

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

.site-navbar {
    background: #182235 !important;
    border-bottom: 1px solid rgba(214, 241, 220, 0.18);
    box-shadow: 0 0.55rem 1.6rem rgba(24, 39, 75, 0.28);
    backdrop-filter: blur(14px);
}

.site-navbar .navbar-nav {
    align-items: center;
}

.site-navbar .nav-link {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0.08rem;
    padding: 0.42rem 0.72rem !important;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-item.active .nav-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.site-brand {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    padding-bottom: 0.2rem;
    padding-top: 0.2rem;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand-mark {
    align-items: center;
    background-color: #e9f7ec;
    border-radius: 50%;
    color: #1f6f3a;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    height: 2.1rem;
    justify-content: center;
    width: 2.1rem;
}

.site-brand-text {
    color: #fff !important;
    font-weight: 900;
}

.language-switcher {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    display: inline-flex;
    gap: 0.15rem;
    padding: 0.16rem;
}

.language-option {
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    min-width: 1.7rem;
    padding: 0.32rem 0.42rem;
}

.language-option:hover,
.language-option.is-active {
    background-color: #fff;
    color: #1f2a3d;
}

.site-footer {
    background: #182235 !important;
    border-top: 4px solid #66bb6a;
    color: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 -0.35rem 1.2rem rgba(24, 39, 75, 0.08);
}

.footer-name {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 900;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.footer-subtitle,
.footer-updated,
.footer-credit {
    font-size: 0.84rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.footer-links a,
.footer-credit a {
    color: #d6f1dc !important;
    font-weight: 700;
}

.footer-links a:hover,
.footer-credit a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-updated {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0.25rem;
}

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

.section-card {
    border: 1px solid rgba(31, 45, 61, 0.09);
    border-radius: 0.65rem !important;
    box-shadow: 0 0.65rem 1.8rem rgba(24, 39, 75, 0.07) !important;
    overflow: hidden;
}

.section-heading {
    align-items: center;
    color: #1f2a3d;
    display: flex;
    font-size: 1.02rem;
    gap: 0.5rem;
    letter-spacing: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
}

.section-heading a {
    color: #557464;
    font-size: 0.84rem;
    font-weight: 700;
    margin-left: auto;
}

.section-heading a:hover {
    color: #2e7d32;
    text-decoration: none;
}

.section-footer-link {
    font-size: 0.9rem;
}

.section-footer-link a {
    color: #4f6f59;
}

.news-year {
    flex: 0 0 3.2rem;
    font-weight: 700;
}

.news-item {
    align-items: baseline;
    gap: 1rem;
}

.news-title {
    line-height: 1.35;
}

.news-date {
    font-size: 0.78rem;
}

.publication-item {
    flex-wrap: nowrap;
}

.publication-search {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.publication-search i {
    color: #2e7d32;
    flex: 0 0 auto;
}

.publication-search .form-control {
    border-color: rgba(31, 45, 61, 0.16);
    border-radius: 0.35rem;
    color: #172033;
    min-width: 0;
}

.publication-search .form-control:focus {
    border-color: rgba(46, 125, 50, 0.48);
    box-shadow: 0 0 0 0.15rem rgba(46, 125, 50, 0.14);
}

.publication-search-page {
    margin-top: 0 !important;
}

.publication-no-results {
    display: none;
}

.publication-row,
.publication-mobile-item {
    background-color: #fff;
    border-color: rgba(31, 45, 61, 0.08) !important;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.publication-row:hover,
.publication-mobile-item:hover {
    background-color: #fbfdfb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(31, 45, 61, 0.04);
    transform: translateY(-2px);
}

.publication-cover-col {
    flex: 0 0 230px;
    max-width: 230px;
}

.publication-content-col {
    flex: 1 1 auto;
    min-width: 0;
}

.publication-cover {
    border-radius: 0.45rem;
    display: block;
    width: 100%;
    height: 172px;
    object-fit: cover;
    background-color: #f7f9fb;
    border: 1px solid rgba(31, 45, 61, 0.16);
    box-shadow:
        0 0 0 4px #fff,
        0 0 0 5px rgba(46, 125, 50, 0.12),
        0 0.55rem 1.25rem rgba(24, 39, 75, 0.12);
    cursor: zoom-in;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.publication-row:hover .publication-cover,
.publication-mobile-item:hover .publication-cover {
    border-color: rgba(46, 125, 50, 0.28);
    box-shadow:
        0 0 0 4px #fff,
        0 0 0 5px rgba(46, 125, 50, 0.2),
        0 0.75rem 1.55rem rgba(24, 39, 75, 0.15);
    transform: scale(1.018);
}

.publication-cover-mobile {
    height: 180px;
}

.publication-title {
    color: #172033;
    font-size: 1.09rem;
    font-weight: 700 !important;
    line-height: 1.3;
    letter-spacing: 0;
}

.publication-authors {
    color: #475467;
    line-height: 1.45;
    margin-top: 0.18rem !important;
}

.publication-authors a {
    color: #344054;
    font-weight: 700;
}

.publication-authors a:hover {
    color: #2e7d32;
    text-decoration: none;
}

.publication-meta {
    color: #667085;
    line-height: 1.45;
    margin-top: 0.16rem !important;
}

.publication-venue {
    color: #247438;
    font-weight: 700;
}

.publication-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    line-height: 1.35;
}

.publication-keywords span {
    background-color: #f4f7fb;
    border: 1px solid rgba(31, 45, 61, 0.12);
    border-radius: 999px;
    color: #526070;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.12rem 0.42rem;
}

.publication-abstract {
    display: -webkit-box;
    color: #5b6678 !important;
    line-height: 1.5;
    margin-top: 0.38rem !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.publication-abstract.is-expanded {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.publication-abstract-toggle {
    color: #2e7d32;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.1rem;
}

.publication-abstract-toggle:hover {
    color: #1b5e20;
    text-decoration: none;
}

.publication-abstract-toggle.is-hidden {
    display: none;
}

.publication-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem !important;
}

.publication-links a {
    align-items: center;
    background: linear-gradient(180deg, #f4fbf5 0%, #eaf6ed 100%);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: 999px;
    color: #276c39;
    display: inline-flex;
    gap: 0.34rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.36rem 0.62rem;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.publication-link-icon {
    font-size: 0.72em;
    transition: transform 140ms ease;
}

.publication-links a:hover {
    background: #e0f1e4;
    border-color: rgba(46, 125, 50, 0.34);
    box-shadow: 0 0.25rem 0.7rem rgba(46, 125, 50, 0.12);
    color: #185b27;
    text-decoration: none;
    transform: translateY(-2px);
}

.publication-links a:hover .publication-link-icon,
.publication-links a:focus .publication-link-icon {
    transform: translate(1px, -1px);
}

.publication-image-lightbox {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.82);
    bottom: 0;
    cursor: zoom-out;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    padding: 4vw;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 160ms ease;
    z-index: 2000;
}

.publication-image-lightbox.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.publication-image-lightbox img {
    background-color: #fff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}

@media (min-width: 1200px) {
    .publication-cover-col {
        flex-basis: 250px;
        max-width: 250px;
    }

    .publication-cover {
        height: 188px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .publication-cover-col {
        flex-basis: 180px;
        max-width: 180px;
    }

    .publication-cover {
        height: 135px;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 4.4rem;
    }

    .section-heading {
        font-size: 0.95rem;
    }

    .section-heading a {
        font-size: 0.78rem;
    }

    .publication-title {
        font-size: 1rem;
    }

    .news-item {
        align-items: flex-start;
    }

    .language-switcher {
        margin-top: 0.55rem;
    }

    .site-navbar .navbar-nav {
        align-items: flex-start;
        margin-top: 0.5rem;
    }

    .site-navbar .nav-link {
        display: inline-block;
        margin: 0.08rem 0;
    }
}

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

.download-milestone {
    animation: download-milestone-glow 2.8s ease-in-out infinite;
    background: linear-gradient(120deg, #238443, #4caf50, #238443);
    background-size: 200% 100%;
    box-shadow: 0 0.18rem 0.6rem rgba(46, 125, 50, 0.25);
    cursor: default;
    letter-spacing: 0.01em;
}

.publication-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 480ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.publication-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.publication-reveal.is-visible:hover {
    transform: translateY(-2px);
}

@keyframes download-milestone-glow {
    0%, 100% {
        background-position: 100% 50%;
        box-shadow: 0 0.18rem 0.6rem rgba(46, 125, 50, 0.25);
    }

    50% {
        background-position: 0 50%;
        box-shadow: 0 0.25rem 0.9rem rgba(46, 125, 50, 0.42);
    }
}

@media (prefers-reduced-motion: reduce) {
    .publication-row,
    .publication-mobile-item,
    .publication-cover,
    .publication-links a,
    .publication-reveal,
    .download-milestone {
        animation: none !important;
        transition: none !important;
    }

    .publication-reveal {
        opacity: 1;
        transform: none;
    }
}

.email-text {
    font-family: Source Code Pro, monospace;
}

.profile-portrait {
    cursor: zoom-in;
}

.profile-portrait-home {
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

.profile-portrait-home-mobile {
    max-width: 70%;
}

.profile-portrait-layout2-frame {
    max-width: 40%;
    width: 240px;
}

.profile-portrait-layout2 {
    display: block;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    object-position: center 20%;
    width: 100%;
}

.profile-portrait-layout2-mobile {
    height: 64px;
    width: 64px;
    object-fit: cover;
}

.image-lightbox {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.82);
    bottom: 0;
    cursor: zoom-out;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    padding: 4vw;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 160ms ease;
    z-index: 2000;
}

.image-lightbox.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox img {
    background-color: #fff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}
