/* Custom styles for publication year dropdowns */
.pub-year-section {
    margin-bottom: 2rem;
    border: 1px solid #e4e4e4;
    background-color: #fff;
}

.pub-year-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #e4e4e4;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #494949;
    text-transform: none;
    margin: 0;
}

.pub-year-header:hover {
    background-color: #e8e8e8;
}

.pub-year-caret {
    width: 1rem;
    height: 1rem;
    fill: #c5050c;
    transition: transform 0.2s ease-in-out;
}

.pub-year-section.collapsed .pub-year-caret {
    transform: rotate(-90deg);
}

.pub-year-content {
    padding: 2rem;
    display: block;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.pub-year-section.collapsed .pub-year-content {
    display: none;
}

.publication-item {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.125rem;
    line-height: 1.4;
}

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

.publication-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: none;
    color: #282728;
}

.publication-meta {
    font-style: italic;
    margin-bottom: 0.75rem;
    color: #646569;
    font-size: 1rem;
}

.publication-buttons {
    margin-top: 0.75rem;
}

.pub-button {
    display: inline-block;
    background-color: #c5050c;
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 3px;
}

.pub-button:hover {
    background-color: #a00408;
    color: white;
    text-decoration: none;
}