:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #0056b3;
    /* Academic Blue */
    --card-bg: #f9f9f9;
    --card-border: #e0e0e0;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Libre Baskerville', serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Layout Utilities */
.container {
    max-width: 900px;
    /* Slightly narrower for reading */
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: #111;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
    color: #222;
}

h3:first-child {
    margin-top: 0;
}

/* Header */
.header {
    padding: 2rem 0;
    background: var(--bg-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.cn-font {
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section - Removed */

/* About Section */
.about-content {
    max-width: 100%;
    text-align: left;
    font-size: 1.1rem;
    color: #444;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content a {
    color: var(--accent-color);
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.about-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--accent-color);
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

.about-content blockquote p {
    margin-bottom: 0;
}

/* About wrapper layout */
.about-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-image {
    text-align: center;
    position: relative;
}

.about-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.photo-credit {
    position: relative;
    display: block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.about-image:hover .photo-credit {
    opacity: 1;
}

.scholar-link {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #0056b3;
    text-decoration: none;
}

.scholar-link::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230056b3"><path d="M12 3L1 9l4 2.18v6L12 21l7-3.82v-6l2-1.09V17h2V9L12 3zm6.82 6L12 12.72 5.18 9 12 5.28 18.82 9zM17 15.99l-5 2.73-5-2.73v-3.72L12 15l5-2.73v3.72z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.scholar-link:hover {
    text-decoration: underline;
}

.dblp-link {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #0056b3;
    text-decoration: none;
}

.dblp-link::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230056b3"><path d="M12 3C7.58 3 4 4.79 4 7v10c0 2.21 3.59 4 8 4s8-1.79 8-4V7c0-2.21-3.58-4-8-4zM6 9v1.5c1.38.85 3.6 1.5 6 1.5s4.62-.65 6-1.5V9c0 1.1-2.69 2-6 2s-6-.9-6-2zm12 8c0 1.1-2.69 2-6 2s-6-.9-6-2v-1.5c1.38.85 3.6 1.5 6 1.5s4.62-.65 6-1.5V17zm0-4c0 1.1-2.69 2-6 2s-6-.9-6-2v-1.5c1.38.85 3.6 1.5 6 1.5s4.62-.65 6-1.5V13z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.dblp-link:hover {
    text-decoration: underline;
}

.orcid-link {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #0056b3;
    text-decoration: none;
}

.orcid-link::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="%23A6CE39" d="M256 128c0 70.7-57.3 128-128 128S0 198.7 0 128 57.3 0 128 0s128 57.3 128 128z"/><path fill="%23fff" d="M86.3 186.2H70.9V79.1h15.4v107.1zM108.9 79.1h41.6c39.6 0 57 28.3 57 53.6 0 27.5-21.5 53.6-56.8 53.6h-41.8V79.1zm15.4 93.3h24.5c34.9 0 42.9-26.5 42.9-39.7C191.7 111.2 178 93 148 93h-23.7v79.4zM88.7 56.8c0 5.5-4.5 10.1-10.1 10.1s-10.1-4.6-10.1-10.1c0-5.6 4.5-10.1 10.1-10.1s10.1 4.6 10.1 10.1z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.orcid-link:hover {
    text-decoration: underline;
}

.email-link {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #0056b3;
    text-decoration: none;
}

.email-link::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230056b3"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.email-link:hover {
    text-decoration: underline;
}

.about-text {
    flex: 1;
}

@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .about-image img {
        width: 120px;
        height: 120px;
    }
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Research List Styling (JSON) */
.research-list {
    list-style: none;
    padding: 0;
}

.research-item {
    margin-bottom: 1.5rem;
}

.research-header {
    margin-bottom: 0.2rem;
}

.research-title {
    font-weight: 600;
    color: #111;
    font-size: 1.1rem;
}

.research-links {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.research-links a {
    color: var(--accent-color);
    text-decoration: none;
}

.research-links a:hover {
    text-decoration: underline;
}

.research-details {
    color: #444;
    font-size: 1rem;
}

.research-authors {
    font-style: normal;
}

.research-venue {
    font-style: italic;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 4rem;
    border-top: 1px solid var(--card-border);
}

/* Animations - Subtle Fade */
.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }
}