:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --secondary-text: #555555;
    --accent-color: #000000;
    --border-color: #000000;
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

/* Header */
header {
    margin-bottom: 30px;
}

h1 {
    font-size: 2.2em;
    font-weight: normal;
    margin-bottom: 10px;
}

header p {
    margin: 5px 0;
}

.contact-links {
    margin-top: 15px;
}

/* Links */
a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: var(--transition);
}

a:hover {
    border-bottom: 1px solid var(--text-color);
    background-color: #f9f9f9;
}

.highlight-link {
    color: #1d4ed8;
    border-bottom-color: #93c5fd;
}

.highlight-link:hover {
    color: #1e40af;
    border-bottom-color: #1e40af;
    background-color: #eff6ff;
}

/* Sections */
section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.3em;
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* Lists */
ul {
    margin-left: 18px;
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 8px;
}

.news-oral {
    color: #dc2626;
}

/* Publications */
.publication {
    margin-bottom: 40px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pub-title {
    font-size: 1.2em;
    margin-bottom: 8px;
}

.pub-title a {
    font-weight: bold;
    border-bottom: none;
}

.pub-title a:hover {
    text-decoration: underline;
    background-color: transparent;
}

.pub-authors {
    margin-bottom: 3px;
}

.pub-venue {
    font-style: italic;
    margin-bottom: 8px;
    color: var(--secondary-text);
}

.pub-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #d8b24a;
    background-color: #fff7db;
    color: #8a6512;
    font-size: 0.72em;
    font-family: "Instrument Sans", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pub-links {
    margin-top: 10px;
    margin-bottom: 14px;
}

.pub-links a {
    display: inline-block;
    margin-right: 12px;
    font-size: 0.9em;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #eee;
    background-color: #fafafa;
}

.pub-links a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.publication img {
    margin: 15px 0;
    border: 1px solid #eee;
    max-width: 100%;
}

.publication object {
    margin: 15px 0;
    border: 1px solid #eee;
    width: 100%;
    max-width: 100%;
}

/* Miscellaneous images */
.misc-img {
    max-width: 400px;
    width: 100%;
    margin: 10px 0 20px 0;
    border: 1px solid #eee;
}

/* Footer */
footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9em;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 30px 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
}
