/* PAT-F007 Knowledge Base public UI (browse + article detail). */

.kb-category-card {
    transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.kb-category-card:hover {
    box-shadow: var(--mud-elevation-6, 0 3px 5px -1px rgba(0,0,0,.2));
    transform: translateY(-2px);
}

.kb-no-results {
    background-color: var(--mud-palette-background-grey, #f5f5f5);
}

.kb-article-body {
    line-height: 1.7;
}

.kb-sidebar {
    position: sticky;
    top: 88px;
}

/* PAT-084: print-friendly article layout — drop chrome and show only the body. */
@media print {
    .kb-no-print,
    .mud-appbar,
    .mud-drawer,
    .floating-chat-window {
        display: none !important;
    }

    .kb-article {
        max-width: 100% !important;
        margin: 0 !important;
    }

    .kb-article .mud-grid-item {
        max-width: 100% !important;
        flex-basis: 100% !important;
    }

    .kb-article-body {
        color: #000;
    }
}
