.pubtitle:hover {
    text-decoration: none;
}

.grabs-img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.publication-search {
    background: #f8f9fa;
}

.publication-results-summary {
    min-height: 1.5rem;
}

.publication-citation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.publication-citation-formats {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    white-space: nowrap;
}

.publication-citation-link {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.4rem 0.35rem;
    color: #41464d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
    border-radius: 2px;
}

.publication-citation-link:hover,
.publication-citation-link:focus-visible {
    color: #c90024;
}

.publication-citation-separator {
    color: #626970;
}

.publication-pagination .page-link {
    color: #000;
}

.publication-pagination a.page-link:hover,
.publication-pagination a.page-link:focus-visible {
    color: #F6002B;
}

.research-pubs .pub-authors {
    font-weight: 600;
}

.research-pubs .pub-meta {
    color: #666;
    font-size: 0.95rem;
}

.research-section {
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    scroll-margin-top: 110px;
}

.research-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.research-nav a {
    position: relative;
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.research-nav a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F6002B;
    transition: width 0.5s ease;
}

.research-nav a:hover::after {
    width: 100%;
}

.research-nav .sep {
    color: #999;
    user-select: none;
}

.research-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    display: grid;
    gap: 10px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.research-fab.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}

.fab-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    color: #000;
    background: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.fab-btn:hover {
    border-color: rgba(246, 0, 43, 0.35);
    color: #F6002B;
}

.fab-menu summary {
    list-style: none;
}

.fab-menu summary::-webkit-details-marker {
    display: none;
}

.fab-panel {
    position: absolute;
    right: 0;
    bottom: 54px;
    width: min(320px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.fab-title {
    margin-bottom: 8px;
    font-weight: 800;
}

.fab-panel a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.fab-panel a:hover {
    color: #F6002B;
    background: rgba(246, 0, 43, 0.08);
}

@media (max-width: 992px) {
    .pubtitle {
        font-size: 1.5rem;
    }
}
