:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #666666;
    --card: #f7f7f7;
    --border: #eaeaea;
    --accent: #2563eb;
}

body.dark {
    --bg: #0f1115;
    --text: #e6e6e6;
    --muted: #a0a0a0;
    --card: #161a22;
    --border: #2a2f3a;
    --accent: #60a5fa;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    transition: background 0.3s ease, color 0.3s ease;
}

/* Layout */
.container {
    width: 85%;
    max-width: 1000px;
    margin: auto;
}

.section {
    padding: 60px 0;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

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

.navbar a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--accent);
}

.navbar a:hover {
    color: black;
}

/* Hero */
.hero {
    padding: 80px 0;
    background: var(--card);
    border: 1px solid var(--border);
}

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

.hero img {
    width: 160px;
    border-radius: 50%;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.card {
    padding: 15px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
}

/* Publications */
.publication {
    margin-bottom: 20px;
    background: var(--card);
    border: 1px solid var(--border);
}

.publication .title {
    font-weight: 600;
}

.publication .meta {
    color: #666;
}

/* Projects */
.project-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Links */
.links a {
    margin-right: 15px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    color: #666;
}


.publication {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.publication:hover {
    background: #fafafa;
}


.publication.highlight {
    background: #f0f7ff;
    border-left: 4px solid #3b82f6;
}

.title {
    font-weight: 600;
}

.authors {
    color: #444;
}

.meta {
    color: #777;
    font-size: 0.9em;
}

.links a {
    margin-right: 10px;
    font-size: 0.9em;
    color: #2563eb;
}

.filters {
    margin-bottom: 20px;
}

.filters button {
    margin-right: 10px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 6px;
}

.filters button:hover {
    background: #f0f0f0;
}

.tag {
    margin-left: 10px;
    font-size: 0.8em;
    color: #666;
}


.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text);
}

.theme-toggle:hover {
    background: var(--card);
}


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

.affiliation {
    border-left: 3px solid var(--border);
}
