/* Classic Academic Professor Stylesheet */

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #111111;
    /* Very dark grey, almost black */
    background-color: #ffffff;
    margin: 0;
    padding: 20px 5%;
}

.content-wrapper {
    max-width: 1100px;
    /* Wider page layout */
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Times New Roman", Times, serif;
    color: #000000;
    margin-top: 25px;
    margin-bottom: 10px;
}

a {
    /* Classic web blue */
    color: #0000ee;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #551a8b;
}

hr {
    border: 0;
    border-top: 1px solid #000;
    margin: 25px 0;
}

.profile-section {
    position: relative;
    margin-bottom: 20px;
}

.profile-left {
    float: left;
    width: 160px;
    /* Reduced by 20% from 200px */
    margin-right: 30px;
    margin-bottom: 10px;
    text-align: center;
}

.profile-img {
    width: 100%;
    margin-bottom: 10px;
}

.profile-links {
    font-size: 14px;
    line-height: 1.4;
}

.profile-text {
    overflow: hidden;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Header Navigation */
.header-nav {
    font-size: 15px;
    margin-bottom: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
    text-align: center;
}

.header-nav strong {
    font-size: 18px;
    margin-right: 15px;
}

.header-nav a {
    margin: 0 5px;
}

.header-nav a.nav-active {
    font-weight: bold;
    color: #000000;
    /* Distinct color for active tab */
    text-decoration: underline;
}

/* Lists */
ul,
ol {
    margin-top: 5px;
    margin-bottom: 15px;
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
}

.dense-list li {
    margin-bottom: 4px;
}

/* Publications List with larger line height as requested */
.pub-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Tiered Highlighting for News */
.honor-highlight {
    color: #4b0082;
    /* Deep Indigo for Fellowship/Awards */
    font-style: italic;
}

.funding-highlight {
    color: #006666;
    /* Deep Teal for Multi-year/Major Funding (CFI, DG) */
    font-style: italic;
}

.pub-highlight {
    color: #0044bb;
    /* Deep Blue for Top-tier Publications (ICLR, ICRA) */
    font-style: italic;
}

/* Base style for standard conference/grant names */
.venue-bold {
    color: #000000;
    /* Back to Black */
    font-weight: bold;
}

/* Footer */
.footer {
    margin-top: 30px;
    font-size: 12px;
    color: #555;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-nav {
        text-align: center;
    }

    .header-nav strong {
        display: block;
        margin-bottom: 10px;
    }

    body {
        padding: 15px 5%;
    }
}

/* Print Styles for CV generation */
@media print {
    body {
        color: #000;
        background: transparent;
    }

    .header-nav {
        display: none;
    }

    a {
        text-decoration: none;
        color: #000 !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 90%;
    }
}