@charset "utf-8";
body {
    color: #24211d;
    background:
        linear-gradient(180deg, rgba(248, 245, 236, 0.58), rgba(248, 245, 236, 0.88)),
        url("../images/backgrounds/hehua.png"),
        #f8f5ec;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Lato", "Noto Serif SC", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #1f342f;
    font-family: "Fira Sans", "Lato", sans-serif;
    font-weight: 700;
}

.card {
    border: 1px solid rgba(60, 52, 42, 0.08) !important;
    border-radius: 8px!important;
    box-shadow: 0 10px 28px rgba(48, 42, 32, 0.055) !important;
}

.card-img-overlay {
    border-radius: 8px!important;
}

.rounded-xl {
    border-radius: 8px!important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.rounded-xl-top {
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}


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

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

.content-section,
.profile-section {
    background-color: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(68, 57, 44, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(48, 42, 32, 0.055);
    margin-top: 1.25rem;
    padding: 1.25rem;
}

.content-section h2,
.profile-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-heading-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-heading-row h2 {
    margin-bottom: 0;
}

.section-link {
    color: #9b3f34;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.profile-list {
    color: #3b352e;
    line-height: 1.65;
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.profile-list li {
    margin-bottom: 0.45rem;
}

.affiliation-list {
    display: grid;
    gap: 0.85rem;
}

.affiliation-item {
    align-items: center;
    display: flex;
    gap: 0.95rem;
    min-width: 0;
}

.affiliation-logo-wrap {
    align-items: center;
    background-color: #ffffff;
    border: 1px solid rgba(68, 57, 44, 0.10);
    border-radius: 8px;
    display: flex;
    flex: 0 0 54px;
    height: 54px;
    justify-content: center;
    padding: 0.45rem;
}

.affiliation-logo {
    display: block;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.affiliation-body {
    min-width: 0;
}

.affiliation-title {
    color: #1f342f;
    font-weight: 700;
    line-height: 1.25;
}

.affiliation-role {
    color: #3b352e;
    line-height: 1.35;
    margin-top: 0.12rem;
}

.affiliation-meta {
    color: #6e665b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    gap: 0.25rem 0.7rem;
    line-height: 1.35;
    margin-top: 0.16rem;
}

.news-list {
    color: #3b352e;
}

.news-item {
    align-items: baseline;
    border-bottom: 1px solid rgba(68, 57, 44, 0.10);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.45rem 0;
}

.news-item time {
    color: #6e665b;
    font-size: 0.9rem;
    white-space: nowrap;
}

.misc-list {
    display: grid;
    gap: 0.85rem;
}

.misc-group {
    color: #3b352e;
}

.misc-title {
    color: #1f342f;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.misc-items {
    line-height: 1.55;
    margin-bottom: 0;
    padding-left: 1.15rem;
}

.publication-list {
    display: grid;
    gap: 1.2rem;
}

.publication-year-list {
    display: grid;
    gap: 1rem;
}

.publication-year-heading {
    border-bottom: 1px solid rgba(68, 57, 44, 0.12);
    color: #7f382f;
    font-size: 1.12rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.35rem;
}

.publication-entry {
    background-color: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(68, 57, 44, 0.12);
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(48, 42, 32, 0.045);
    display: flex;
    gap: 1.25rem;
    padding: 1rem;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.publication-entry:hover {
    box-shadow: 0 9px 26px rgba(48, 42, 32, 0.075);
    transform: translateY(-1px);
}

.publication-cover {
    flex: 0 0 190px;
}

.publication-cover-frame {
    background-color: #ffffff;
    border: 1px solid rgba(68, 57, 44, 0.12);
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(48, 42, 32, 0.07);
    overflow: hidden;
    padding: 0.35rem;
    position: relative;
}

.publication-venue-badge {
    background-color: #203c35;
    border-bottom-right-radius: 5px;
    color: #fffdf8;
    font-size: 0.68rem;
    font-weight: 700;
    left: 0;
    line-height: 1.15;
    max-width: 82%;
    padding: 0.25rem 0.4rem;
    position: absolute;
    top: 0;
    z-index: 1;
}

.publication-cover-img {
    aspect-ratio: 4 / 3;
    border-radius: 5px;
    display: block;
    object-fit: contain;
    width: 100%;
}

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

.publication-title {
    font-size: 1.08rem;
    line-height: 1.28;
    margin-bottom: 0.45rem;
}

.publication-title a {
    color: #1f342f;
}

.publication-title a:hover {
    color: #9b3f34;
    text-decoration: none;
}

.publication-authors,
.publication-venue,
.publication-description {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.publication-authors .text-body strong {
    color: #9b3f34;
}

.publication-venue {
    color: #534b42;
}

.publication-description {
    color: #6b6258;
    display: -webkit-box;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

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

.publication-links a {
    align-items: center;
    background-color: rgba(41, 77, 68, 0.08);
    border-radius: 5px;
    color: #294d44;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.3rem;
    padding: 0.2rem 0.48rem;
}

.publication-links a:hover {
    background-color: rgba(155, 63, 52, 0.12);
    color: #8f3d32;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .news-item,
    .publication-entry {
        flex-direction: column;
    }

    .content-section,
    .profile-section {
        padding: 1rem;
    }

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

    .publication-cover {
        flex-basis: auto;
        width: 100%;
    }
}

.profile-portrait {
    width: 100%;
}

.profile-portrait img {
    display: inline-block;
    margin-right: auto;
    margin-left: auto;
}

.profile-card-portrait {
    border-radius: 50%;
    max-width: 94%;
    width: 240px;
}

.profile-research {
    color: #3b352e;
}

.profile-research-title {
    color: #6e665b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.profile-research-item {
    line-height: 1.35;
    margin-bottom: 0.12rem;
}

.profile-social-link,
.profile-social-link:hover,
.profile-social-link:focus,
.profile-social-link:active {
    text-decoration: none;
}

.navbar {
    background-color: rgba(250, 247, 239, 0.82) !important;
    border-bottom: 1px solid rgba(91, 55, 35, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-brand strong {
    color: #203c35;
    letter-spacing: 0;
}

.nav-link {
    color: #3c4f49 !important;
}

.nav-item.active .nav-link,
.nav-link:hover {
    color: #9b3f34 !important;
}

.bg-white {
    background-color: rgba(255, 253, 248, 0.94) !important;
}

.border-gray {
    border-color: rgba(68, 57, 44, 0.10) !important;
}

a {
    color: #7f382f;
}

a:hover {
    color: #294d44;
}

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

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