:root {
    --bg: #ffffff;
    --text: #333333;
    --accent: #007AFF;
    --secondary: #f4f4f9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 0;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    padding: 20px 0;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--secondary);
}

h1 {
    margin: 10px 0;
    font-size: 2.5rem;
}

.tagline {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.links a {
    color: var(--text);
    font-size: 1.5rem;
    transition: color 0.3s;
    text-decoration: none;
}

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

section {
    margin-bottom: 40px;
}

h2 {
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: var(--secondary);
    padding: 20px;
    border-radius: 8px;
}

.muted {
    color: #666;
}

/* Publications */
.pub-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 20px;
}

.pub-main {
    flex-grow: 1;
}

.pub-title {
    display: block;
    font-size: 1.05rem;
    color: #222;
    margin-bottom: 4px;
}

.pub-authors {
    display: block;
    color: #555;
    font-size: 0.95rem;
}

.pub-venue {
    color: #888;
    font-style: italic;
}

.pub-actions {
    display: flex;
    gap: 12px;
    font-size: 1.15rem;
    line-height: 1;
    margin-top: 2px;
}

.pub-actions a {
    color: var(--accent);
    text-decoration: none;
}

.pub-actions a:hover {
    filter: brightness(0.9);
    text-decoration: none;
}

/* Make PDF icon subtly red, but not loud */
.pub-actions a.pdf {
    color: #d93025;
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: 60px;
}


@media (max-width: 600px) {
    .pub-card {
        flex-direction: column;
        gap: 10px;
    }
    .pub-actions {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
        width: 100%;
    }
}

.links a[title="ORCID"]:hover {
    color: #A6CE39;
}

.ai-doi {
    color: #FAB70C;
    font-size: 1.1rem;
}

.ai-doi:hover, .fa-file-pdf:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

@media (min-width: 700px) {
    .activities-list {
        column-count: 2;
        column-gap: 32px;
    }
}



