body {
    font-family: Lato, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #000019;
    background-image: url('gifs/num.gif');
    background-repeat: repeat;
}

.header {
    font-family: Consolas, sans-serif;
}

:root {
    --uiuc-orange: #FF5F05;
    --uiuc-blue: #13294B;
}

a {
    color: var(--uiuc-blue);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 95, 5, 0.4);
    transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
    color: var(--uiuc-orange);
    border-bottom-color: var(--uiuc-orange);
}

.container {
    width: 800px;
    margin: auto;
    overflow: hidden;
    padding: 20px 30px;
    background: #fff;
    border-top: 4px solid var(--uiuc-orange);
}

header {
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

header h1 {
    color: var(--uiuc-blue);
    margin-bottom: 0;
}

header p {
    color: #666;
}

section h2 {
    color: var(--uiuc-blue);
    border-bottom: 2px solid var(--uiuc-orange);
    padding-bottom: 4px;
    display: inline-block;
    margin-bottom: 0.6em;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 10px;
    padding: 8px 12px;
    background-color: #f7f7f9;
    border-left: 3px solid var(--uiuc-orange);
}

.publications ul li {
    background-color: #f7f7f9;
}

/* News */
.news-list li {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.news-date {
    flex: 0 0 80px;
    font-weight: bold;
    color: var(--uiuc-orange);
    font-family: Consolas, monospace;
    font-size: 0.9em;
}

/* Experience */
.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.exp-date {
    color: var(--uiuc-orange);
    font-family: Consolas, monospace;
    font-size: 0.9em;
    white-space: nowrap;
}

.exp-meta {
    color: #666;
    font-style: italic;
    font-size: 0.92em;
    margin-bottom: 4px;
}

/* BibTeX */
.bibtex {
    margin-top: 6px;
}

.pub-actions {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
}

.pub-actions .pdf-link {
    margin: 0;
    flex: 0 0 auto;
}

.pub-actions .bibtex {
    display: contents;
}

.pub-actions .bibtex pre {
    flex: 0 0 100%;
    min-width: 0;
    margin-top: 0;
}

.bibtex summary {
    cursor: pointer;
    color: var(--uiuc-blue);
    font-size: 0.9em;
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--uiuc-orange);
    border-radius: 3px;
    user-select: none;
}

.bibtex summary:hover {
    background: var(--uiuc-orange);
    color: #fff;
}

.pdf-link {
    color: var(--uiuc-blue);
    font-size: 0.9em;
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--uiuc-orange);
    border-radius: 3px;
    user-select: none;
    border-bottom: 1px solid var(--uiuc-orange);
    margin-right: 4px;
}

.pdf-link:hover {
    background: var(--uiuc-orange);
    color: #fff;
    border-bottom-color: var(--uiuc-orange);
}

.bibtex pre {
    background: #1e1e2a;
    color: #e8e8f0;
    padding: 12px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.85em;
    margin-top: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.media-sub {
    margin-top: 6px;
}

.media-sub li {
    background-color: transparent;
    border-left: 2px solid #ddd;
    padding: 2px 10px;
    margin-bottom: 4px;
}

.oral {
    color: var(--uiuc-orange);
    font-weight: bold;
    margin: 6px 0 0;
}

.publication-list {
    list-style: none;
    padding-left: 0;
}

.publication-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5em;
}

.venue {
    min-width: 100px;
    font-weight: bold;
    color: var(--uiuc-orange);
    margin-right: 1em;
    flex-shrink: 0;
}

.publication-details {
    flex: 1 1 0;
    min-width: 0;
}


.headshot {
    width: 500px; /* Or whatever small size you want */
    height: auto;
    margin-top: 10px;
}
