/* Publications Page Styles */
.publications-header {
    text-align: center;
    margin-bottom: 3rem;
}

.year-section {
    margin-bottom: 3rem;
}

.year-title {
    border-bottom: 3px solid #8B0000;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    color: #8B0000;
}

.publication-item {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #8B0000;
}

.publication-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.pub-authors {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.pub-journal {
    color: #555;
    margin-bottom: 0.5rem;
}

.pub-doi {
    margin-bottom: 1rem;
}

.pub-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-abstract {
    background: #6c757d;
}

.btn-abstract:hover {
    background: #545b62;
}

.abstract-preview {
    margin: 1rem 0;
}

.abstract-text {
    display: inline;
}

.btn-read-more {
    background: none;
    border: none;
    color: #8B0000;
    cursor: pointer;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
}

#refreshPublications {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-link {
    background: none;
    border: none;
    color: #8B0000;
    text-decoration: underline;
    cursor: pointer;
}

        .publication-year {
            margin-top: 30px;
            padding: 10px;
            background: #f5f5f5;
            border-left: 5px solid #0077b6;
        }
        .publication-item {
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px dashed #ccc;
        }
        .publication-item h3 {
            font-size: 18px;
            margin: 0 0 5px;
        }
        .publication-item .pub-meta {
            font-size: 14px;
            color: #555;
        }
        .publication-item .pub-authors {
            font-size: 14px;
            font-style: italic;
            margin: 5px 0;
        }
        .publication-item a {
            color: #0077b6;
            text-decoration: none;
        }
        .publication-item a:hover {
            text-decoration: underline;
        }
        .highlight-author {
            font-weight: bold;
            color: #2a6c8e;
            text-decoration: underline;
            background: #e8f4fa;
            padding: 1px 3px;
            border-radius: 3px;
        }