:root {
    --page: #dfe4e5;
    --paper: #ffffff;
    --ink: #161a1d;
    --muted: #66737c;
    --accent: #2b5269;
    --link: #004098;
    --accent-soft: #e9f0f3;
    --line: #d9e0e3;
    --shadow: 0 24px 70px rgba(43, 55, 61, 0.14);
    --body-font: Georgia, Helvetica, Arial, Verdana, sans-serif, Times;
    --heading-font: "Times New Roman", Times, STSong, serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.75), transparent 28rem),
        linear-gradient(135deg, #e7ebeb 0%, var(--page) 48%, #d4dcdd 100%);
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.25;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    content: "";
    background-image: radial-gradient(rgba(35, 51, 58, 0.4) 0.5px, transparent 0.5px);
    background-size: 6px 6px;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

a:hover,
a:focus-visible {
    color: #003270;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

a:focus-visible {
    outline: 2px solid #7ea8bc;
    outline-offset: 4px;
}

.site-shell {
    width: min(1020px, calc(100% - 48px));
    margin: 38px auto;
    padding: 60px 64px 36px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: 52px;
    min-height: 210px;
}

.status {
    font-family: var(--body-font);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 30px;
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 36px;
}

h1 span {
    color: #9cabb1;
    font-weight: 400;
}

.profile h2 {
    margin-bottom: 4px;
    font-family: var(--heading-font);
    font-size: 21.6px;
    line-height: 21.6px;
}

.affiliation {
    margin-bottom: 12px;
    font-size: 1.02rem;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 13px;
    font-size: 0.98rem;
}

.profile-links a {
    border-bottom: 0;
}

.profile-links a::after {
    margin-left: 8px;
    color: #afbec4;
    content: "/";
}

.profile-links a:last-child::after {
    display: none;
}

.portrait {
    margin: 0;
    justify-self: end;
}

.portrait img {
    display: block;
    width: 190px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 7px solid #f3f6f6;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(39, 56, 64, 0.15);
}

.section {
    margin-top: 54px;
}

.section-heading {
    display: flex;
    align-items: baseline;
    gap: 13px;
    margin-bottom: 17px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 24px;
    letter-spacing: normal;
    line-height: 24px;
}

.bio p:last-child {
    max-width: 940px;
    margin-bottom: 0;
    color: #2b3337;
    text-align: justify;
}

.paper-list {
    display: grid;
}

.paper-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 26px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.paper-card:first-child {
    padding-top: 9px;
}

.paper-card:last-child {
    border-bottom: 0;
}

.paper-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 142px;
    overflow: hidden;
    padding: 0;
    background: #f2f5f5;
    border: 1px solid #dbe2e3;
    border-radius: 15px;
    box-shadow: 0 7px 13px rgba(31, 47, 55, 0.18);
}

.paper-figure img {
    display: block;
    width: 100%;
    max-height: 190px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
}

.paper-info h3 {
    margin: 4px 0 2px;
    font-family: var(--body-font);
    font-size: 16px;
    line-height: normal;
}

.status {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: 0.22em;
}

.authors,
.venue,
.paper-links,
.abstract {
    margin-bottom: 2px;
}

.authors {
    color: #53616a;
}

.authors strong {
    color: var(--ink);
}

.venue {
    color: var(--ink);
}

.paper-links {
    color: #7b878d;
}

.paper-links a {
    border-bottom: 1px solid #bdd0d8;
}

.paper-links span {
    margin: 0 5px;
    color: #a9b4b9;
}

.abstract {
    margin-top: 12px;
    color: #303a3f;
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.92rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.honor-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.honor-list li {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f1;
}

.honor-list li:last-child {
    border-bottom: 0;
}

.honor-year {
    color: var(--accent);
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.honor-list em {
    color: var(--muted);
    font-size: 0.88em;
    font-style: normal;
}

@media (max-width: 760px) {
    body {
        font-size: 16px;
    }

    .site-shell {
        width: min(100% - 24px, 620px);
        margin: 12px auto;
        padding: 35px 24px 28px;
        border-radius: 14px;
    }

    .profile {
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: start;
        gap: 20px;
    }

    .portrait {
        order: -1;
        justify-self: start;
    }

    .portrait img {
        width: 120px;
        border-width: 5px;
        border-radius: 13px;
    }

    h1 {
        margin-bottom: 21px;
        font-size: 32px;
        line-height: 32px;
    }

    .section {
        margin-top: 42px;
    }

    .paper-card {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .paper-figure {
        width: min(100%, 320px);
        min-height: 150px;
    }

    .paper-figure img {
        max-height: 220px;
    }

    .bio p:last-child {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .site-shell {
        padding-right: 19px;
        padding-left: 19px;
    }

    h1 {
        font-size: 30px;
        line-height: 30px;
    }

    .profile {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
    }

    .portrait img {
        width: 92px;
    }

    .honor-list li {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
    }

}
