/* Custom styling for Robert Hoehndorf's academic portfolio */

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

header nav {
    border-bottom: 1px solid var(--pico-muted-border-color);
    margin-bottom: 2rem;
}

.profile-img-container {
    text-align: center;
}

.profile-img {
    border-radius: 50%;
    max-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

h1, h2, h3 {
    font-family: "Georgia", serif;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--pico-muted-border-color);
    color: var(--pico-muted-color);
}

/* Publication specific styling */
.publication-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--pico-muted-border-color);
}

.publication-item:last-child {
    border-bottom: none;
}

.author-bold {
    font-weight: bold;
}

.corresponding-author {
    cursor: help;
    color: var(--pico-primary);
}

.corresponding-author::after {
    content: ' \2709'; /* Envelope icon */
    font-size: 0.8em;
}

/* Abstract styling */
.abstract-toggle {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.abstract-content {
    background-color: #f9f9f9;
    padding: 1rem;
    border-left: 4px solid var(--pico-primary);
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
}

.abstract-toggle button {
    padding: 2px 8px;
    font-size: 0.8em;
    width: auto;
    display: inline-block;
}

/* Tag/Badge styling */
.pub-tags {
    margin-top: 0.5rem;
}

.pub-tag {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 5px;
    margin-bottom: 5px;
    background-color: #e1f5fe;
    color: #01579b;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pub-tag.neuro-symbolic-ai { background-color: #f3e5f5; color: #4a148c; }
.pub-tag.disease-genetics { background-color: #ffebee; color: #b71c1c; }
.pub-tag.protein-function-prediction { background-color: #e8f5e9; color: #1b5e20; }
.pub-tag.ontology-engineering { background-color: #fff3e0; color: #e65100; }
.pub-tag.semantic-similarity { background-color: #f1f8e9; color: #33691e; }
.pub-tag.semantic-interoperability { background-color: #ede7f6; color: #311b92; }
.pub-tag.drug-mechanisms { background-color: #fffde7; color: #f57f17; }
.pub-tag.bioinformatics { background-color: #e0f2f1; color: #004d40; }
.pub-tag.applied-ontology { background-color: #f5f5f5; color: #212121; }

/* Facet Filter Styling */
.facet-filters {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.facet-filters p {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.facet-filters ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.facet-filters li {
    margin: 0;
}

.facet-filters button {
    padding: 4px 12px;
    font-size: 0.85rem;
    width: auto;
    border-radius: 20px;
    margin-bottom: 0;
}

.filter-btn.active {
    background-color: var(--pico-primary);
    border-color: var(--pico-primary);
    color: white;
}

/* Enhanced Tag Visual Separation */
.pub-tag {
    display: inline-block;
    padding: 2px 10px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}