/* Scoped to the two replaced cards. Colours follow the Neurion light/dark palette. */
#sidebar .widget:has(> .nego-sl-card) {
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
}
#sidebar a.nego-sl-card {
    --sl-ink: #292a2a;
    --sl-muted: #646561;
    --sl-border: #e2e3df;
    --sl-bg: #f8f8f5;
    display: block;
    box-sizing: border-box;
    padding: 24px;
    color: var(--sl-ink) !important;
    background: var(--sl-bg) !important;
    border: 1px solid var(--sl-border);
    border-radius: 10px;
    text-decoration: none !important;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#sidebar .nego-sl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
#sidebar .nego-sl-label { color: var(--sl-muted) !important; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
#sidebar .nego-sl-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; color: var(--sl-muted) !important; font-size: 14px; font-weight: 600; letter-spacing: -.06em; }
#sidebar .nego-sl-title { margin: 12px 0 10px; font-family: inherit; font-size: 25px; font-weight: 600; line-height: 1.15; letter-spacing: -.035em; text-transform: none; color: var(--sl-ink) !important; }
#sidebar .nego-sl-description { margin: 0; min-height: 66px; font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--sl-muted) !important; }
#sidebar .nego-sl-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; margin-top: 18px; border-top: 1px solid var(--sl-border); font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--sl-ink) !important; }
#sidebar .nego-sl-action > span { font-size: 21px; font-weight: 400; }
#sidebar a.nego-sl-card:hover { border-color: #aaa99f; box-shadow: 0 4px 16px rgb(0 0 0 / 4%); }
#sidebar a.nego-sl-card:focus-visible { outline: 2px solid var(--nego-accent, #c9463b); outline-offset: 4px; }
html[data-wp-dark-mode-active] #sidebar a.nego-sl-card,
html.wp-dark-mode-active #sidebar a.nego-sl-card {
    --sl-ink: #ecebe8;
    --sl-muted: #babbb6;
    --sl-border: #41433f;
    --sl-bg: #292b28;
}
@media (prefers-reduced-motion: reduce) { #sidebar a.nego-sl-card { transition: none; } }
