
:root {
    --mint-50: #eef8f4;
    --mint-100: #dcefe6;
    --teal-400: #4faa9c;
    --teal-600: #1f7a72;
    --teal-700: #146059;
    --lavender-100: #ece8f5;
    --lavender-300: #cfc3e8;
    --pearl-50: #fffaf0;
}

body::before {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--teal-600), var(--lavender-300), var(--pearl-50));
}

.container {
    display: flex;
    max-width: 900px;
    margin: auto;
    padding: 2rem;
}

.sidebar {
    width: 220px;
    padding-right: 2rem;
    border-right: 1px solid var(--lavender-300);
}

.profile-pic {
    width: 100%;
    border-radius: 8px;
}


.publication-card {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--mint-50) 100%);
    border: 1px solid var(--lavender-100);
    border-left: 4px solid var(--lavender-300);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(31, 122, 114, 0.06);
}
.publication-title {
    font-size: 1.1rem;
    color: var(--teal-700);
    font-weight: 600;
}
.publication-authors, .publication-venue {
    font-size: 0.9rem;
    color: #555;
}
.publication-description {
    margin: 0.5rem 0;
}
.tag {
    margin-right: 5px;
}
.tag.is-info {
    background-color: var(--lavender-100) !important;
    color: var(--teal-700) !important;
    border: 1px solid var(--lavender-300);
}
.button.is-info {
    background-color: var(--mint-100) !important;
    color: var(--teal-700) !important;
    border-color: var(--lavender-300) !important;
}
.button.is-info:hover {
    background-color: var(--lavender-100) !important;
}



h1, h2, h3 {
    font-family: 'Google Sans', sans-serif;
    color: var(--teal-700);
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

.sidebar p {
    margin: 0.5rem 0;
    font-size: 1rem;
    text-align: center;
}

.sidebar a {
    color: var(--teal-600);
    text-decoration: none;
}

.content a:not(.button) {
    color: var(--teal-600);
}
.content a:not(.button):hover {
    color: var(--teal-700);
    text-decoration: underline;
}

.page-nav {
    margin: 0.75rem 0 1rem;
    font-size: 0.95rem;
}
.page-nav a {
    color: var(--teal-600);
    font-weight: 600;
    text-decoration: none;
}
.page-nav a:hover {
    color: var(--teal-700);
    text-decoration: underline;
}
.page-nav-divider {
    margin: 0 0.5rem;
    color: var(--lavender-300);
}

#publications,
#projects {
    scroll-margin-top: 1.5rem;
}

.content {
    flex: 1;
    padding-left: 2rem;
}

.content section {
    margin-bottom: 2rem;
}

.pub-list {
    list-style: none;
    padding: 0;
}

.pub-list li {
    margin-bottom: 1.25rem;
}


body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background: linear-gradient(180deg, var(--mint-50) 0%, #f4faf8 45%, var(--pearl-50) 100%);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

.profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--teal-400);
    box-shadow: 0 0 0 6px var(--lavender-100), 0 8px 20px rgba(31, 122, 114, 0.15);
    display: block;
    margin-bottom: 1rem;
    max-width: 100%;
    height: auto;
}


/* ===================== */
/* Mobile Responsiveness */
/* ===================== */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 1rem;
    }

    .sidebar {
        width: 100%;
        padding: 0;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1rem;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .content {
        padding-left: 0;
        padding-top: 1rem;
    }

    .buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .buttons a.button {
        flex: 1 1 calc(50% - 1rem); /* two per row */
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .publication-card .buttons {
        flex-direction: column;
        align-items: stretch;
    }

    h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .publication-title {
        font-size: 1rem;
    }

    .publication-authors,
    .publication-venue {
        font-size: 0.85rem;
    }

    .publication-description {
        font-size: 0.95rem;
    }

    .tag {
        margin-bottom: 0.25rem;
    }
}