/* Category Badges (Cards & Sidebar) */
.tags a[href*="/category:"],
.sidebar-content a[href*="/category:"] {
    background-color: #2b6cb0;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.tags a[href*="/category:"]:hover,
.sidebar-content a[href*="/category:"]:hover {
    background-color: #1a4971;
    text-decoration: none;
}

/* Optional folder icon before category names */
.tags a[href*="/category:"]::before,
.sidebar-content a[href*="/category:"]::before {
    content: "\f07b"; /* FontAwesome folder icon */
    font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.35rem;
    font-size: 0.85em;
}


/* Custom colour for standard Tags */
.tags a[href*="/tag:"],
.sidebar-content a[href*="/tag:"] {
    background-color: #e6fffa; /* Soft teal background */
    color: #234e52 !important; /* Dark teal text */
    border: 1px solid #b2f5ea;
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tags a[href*="/tag:"]:hover,
.sidebar-content a[href*="/tag:"]:hover {
    background-color: #319795;
    color: #ffffff !important;
    text-decoration: none;
}


/* Sidebar Category list spacing */
.sidebar-content .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* Added 2026-11-19 */
/* Narrow the sidebar on desktop screens (Blog & Docs) */
@media (min-width: 841px) {
    /* Override the 12-column grid to a 2-column grid with a fixed sidebar */
    .columns.has-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 2rem;
    }

    /* Reset Blades 'grid-column: span X' on both child columns */
    .columns.has-sidebar > .column {
        grid-column: auto;
        width: 100%;
        max-width: 100%;
    }
}

/*
Quick Guide for Choosing the Width

• 260px – 280px: A clean, medium-slim sidebar that gives longer category or tag badges more breathing room without wrapping onto extra lines.
• 300px: Closer to a standard desktop sidebar width while still leaving plenty of room for your main content.
• Automatic adjustment: Because the first column uses minmax(0, 1fr), your main content area automatically shrinks by the exact number
  of pixels you add to the sidebar—no other values need to be changed.

If you also want to tweak the gap between the main content and sidebar (gap: 2rem;) or the inner padding of the sidebar widgets,
let me know and I can show you which lines control those!
*/



