/* BR SITE SIDEBAR V1 — ARTICLE SHORTCUTS
   Contextual right rail for Aktualności + Blog.
*/

/* When real sidebar content exists, replace the neutral pseudo-rail. */
html body.siteBody main.siteMainSubpage.siteMainHasArticleSidebar::after,
html body.siteBody main.siteMainSubpage.siteMainHasArticleSidebar::before {
    display: none !important;
}

html body.siteBody main.siteMainSubpage > .siteSidebar.articleShortcuts {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    min-width: 0 !important;
    padding: 22px 20px 19px !important;
    border: 1px solid rgba(20,75,108,.10) !important;
    border-radius: 17px !important;
    background:
        radial-gradient(circle at 92% 4%, rgba(22,148,71,.10), transparent 31%),
        linear-gradient(145deg, rgba(255,255,255,.985), rgba(241,246,248,.97)) !important;
    box-shadow: 0 12px 34px rgba(8,42,73,.04) !important;
    position: sticky !important;
    top: 18px !important;
}

html body.siteBody .articleShortcuts .siteSidebarTitle {
    display: block !important;
    margin: 0 0 13px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid rgba(6,43,85,.08) !important;
    color: var(--br-green) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 830 !important;
    letter-spacing: .115em !important;
    text-transform: uppercase !important;
}

html body.siteBody .articleShortcuts nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.siteBody .articleShortcuts nav a,
html body.siteBody .articleShortcuts nav a:link,
html body.siteBody .articleShortcuts nav a:visited {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 10px 3px 10px 13px !important;
    border-bottom: 1px solid rgba(6,43,85,.065) !important;
    color: var(--br-navy) !important;
    -webkit-text-fill-color: var(--br-navy) !important;
    text-decoration: none !important;
    font-size: 12.5px !important;
    line-height: 1.38 !important;
    font-weight: 650 !important;
    letter-spacing: -.08px !important;
    transition: color .15s ease, transform .15s ease !important;
}

html body.siteBody .articleShortcuts nav a:last-child {
    border-bottom: 0 !important;
    padding-bottom: 4px !important;
}

html body.siteBody .articleShortcuts nav a::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 1.02em !important;
    width: 4px !important;
    height: 4px !important;
    border-radius: 50% !important;
    background: var(--br-green) !important;
    opacity: .72 !important;
}

html body.siteBody .articleShortcuts nav a:hover,
html body.siteBody .articleShortcuts nav a:focus-visible {
    color: var(--br-green-dark) !important;
    -webkit-text-fill-color: var(--br-green-dark) !important;
    transform: translateX(2px) !important;
}

/* Existing responsive shell removes the visual right rail below 860px.
   The contextual shortcuts follow the same rule. */
@media (max-width: 860px) {
    html body.siteBody main.siteMainSubpage > .siteSidebar.articleShortcuts {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.siteBody .articleShortcuts nav a {
        transition: none !important;
    }
}
