:root {
    --primary: #0051c3;
    --text: #1a1a1a;
    --light-text: #666;
    --bg: #ffffff;
    --section-bg: #f8f9fa;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 40px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0;
}

.contact-links {
    margin-top: 15px;
    color: var(--light-text);
}

.contact-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

h2 {
    font-size: 1.4rem;
    border-bottom: 2px solid var(--section-bg);
    padding-bottom: 8px;
    margin-top: 40px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item {
    margin-bottom: 25px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.title {
    font-weight: 700;
    font-size: 1.1rem;
}

.date {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 600;
}

ul {
    padding-left: 1.2rem;
    margin-top: 5px;
}

li {
    margin-bottom: 8px;
}

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

.awards-list li {
    display: flex;
    justify-content: space-between;
    background: var(--section-bg);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.dissertation {
    font-style: italic;
    color: var(--light-text);
    margin-top: -5px;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: var(--light-text);
}

@media (max-width: 600px) {
    .item-header { flex-direction: column; }
    .container { padding: 0 20px; margin: 30px auto; }
}
.btn-resume {
    display: inline-block;
    background-color: var(--primary);
    color: white !important; /* Forces text to stay white */
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    margin-left: 10px;
    transition: background-color 0.2s;
}

.btn-resume:hover {
    background-color: #003d94;
    text-decoration: none;
}

/* On mobile, stack the links slightly better */
@media (max-width: 600px) {
    .contact-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .btn-resume {
        margin-left: 0;
    }
}

.pub-item {
    margin-bottom: 18px;
    padding: 12px 15px;
    border-left: 3px solid #eee;
    background: #fff;
    transition: all 0.2s ease;
}

.pub-item:hover {
    border-left-color: var(--primary);
    background-color: var(--section-bg);
    transform: translateX(4px);
}

.highlight-win {
    border-left: 4px solid #f39c12 !important;
    background-color: #fffdf5;
}

.pub-title {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.3;
}

.pub-venue {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3px;
    letter-spacing: 0.3px;
}

