html {
    background-color: #fefefe;
}

body p, li {
    color: #454545;
    font-size: 20px;
}

body {
    font-family: Palatino, "EB Garamond", Georgia, "Times New Roman", serif;
    padding-bottom: 60px;
}

.row:not(#publications) a {
    text-decoration: underline;
}

.image-link {
    text-decoration: none !important;
}

/* Navigation */
.navbar {
    background-color: #fefefe !important;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand {
    font-weight: 600;
    color: #333 !important;
}

.nav-link {
    color: #666 !important;
    margin: 0 10px;
    font-size: 18px;
}

.nav-link:hover {
    color: #333 !important;
}

.nav-item.active .nav-link {
    color: #333 !important;
    font-weight: 600;
}

/* Year headers for papers page */
.year-header {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
}

/* Homepage optimizations */
.contact-info {
    color: #666;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.links {
    font-size: 18px;
}

.links a {
    text-decoration: none;
    color: #007bff;
}

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

.section-divider {
    margin: 50px 0;
    border-top: 1px solid #ddd;
}

/* Selected Publications */
.publication-item {
    margin-bottom: 35px;
}

.publication-title {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
}

.publication-title a {
    color: #333;
    text-decoration: none;
}

.publication-title a:hover {
    color: #007bff;
    text-decoration: underline;
}

.publication-venue {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.publication-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

h1 {
    font-weight: 700;
    color: #222;
}

h2 {
    font-weight: 600;
    color: #333;
    font-size: 28px;
}
