/* --- PUBLICATIONS PAGE STYLES --- */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.pub-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-left: 5px solid #2d2e32; /* A sleek dark gray for contrast */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pub-card:hover {
    transform: translateX(5px); /* Slides slightly to the right on hover */
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.pub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pub-year {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-gray);
}

.pub-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

.pub-authors {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.pub-authors strong {
    color: #8b8dd6; /* Highlights your name in the author list */
}

.pub-venue {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 15px;
}

.pub-abstract {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.pub-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Publication Buttons */
.pub-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #8b8dd6;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pub-btn:hover {
    background-color: #7274bf;
    color: #fff;
}

.pub-btn.outline {
    background-color: transparent;
    color: #8b8dd6;
    border: 2px solid #8b8dd6;
    padding: 6px 14px; /* Slightly adjusted to account for border width */
}

.pub-btn.outline:hover {
    background-color: #8b8dd6;
    color: #fff;
}

/* New tag color specific to this page */
.tag.purple {
    background-color: rgba(139, 141, 214, 0.15);
    color: #8b8dd6;
}

.tag.mint {
    background-color: rgba(52, 211, 153, 0.15);
    color: #059669;
}