/* ==========================================================================
   Author page TOC ("Series in This Page") -> series card anchors
   Added: 2026-10-14 (deployed 2026-10-15)
   Scope: /authors/* detail pages only (linked from the author page head).
   Why a new file: nginx serves /assets/ with `expires 1y; immutable`, so
          editing the existing 0982d1921b.css in place never reaches visitors.

   Background: the author page sidebar already has a working TOC
   (`.toc-list a[href="#publication-order-of-..."]`) and every target card
   already carries the matching `id`. The only defect was that the sticky
   site header (~71px) covered the card you had just jumped to.
   ========================================================================== */

/* 1. Keep the jumped-to card clear of the sticky header. */
.series-card {
    scroll-margin-top: 88px;
}

/* 2. Make the destination obvious. */
.series-card:target {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.series-card:target > .series-card-header {
    background: var(--bg);
}

@media (max-width: 768px) {
    .series-card {
        scroll-margin-top: 76px;
    }
}
