/* Site-wide additions to the theme. Colors come from the variant. */

/* Sidebar brand: the mark above the project name. */
#R-sidebar .xn-brand {
    display: grid;
    justify-items: center;
    gap: 0.3rem;
    text-decoration: none;
}
#R-sidebar .xn-brand span {
    color: var(--INTERNAL-MENU-HEADER-color);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Sidebar drop-down lists: the theme's focus outline gets clipped to a
   thick line under the label. Show focus by color instead. */
#R-sidebar .menu-control select:focus,
#R-sidebar .menu-control select:active { outline: none; }
#R-sidebar .menu-control:focus-within,
#R-sidebar .menu-control:focus-within select { color: var(--INTERNAL-MENU-SECTIONS-LINK-HOVER-color); }
