/* Minimal theme — layered on top of the Classic theme styles. */

.theme-minimal .container { max-width: 760px; }
.theme-minimal .content-body { font-size: 1.1em; line-height: 1.8; }

/* Lists: one article per row, whatever grid the page uses */
.theme-minimal main .row[class*="row-cols"] { --bs-gutter-y: 0; }
.theme-minimal main .row[class*="row-cols"] > .col { width: 100%; }
.min-row { border-bottom: 1px solid var(--bs-border-color); }
.min-row h2 a:hover, .min-row h3 a:hover { color: var(--bs-link-color) !important; }
.min-thumb { width: 160px; height: 110px; }
@media (max-width: 575.98px) { .min-thumb { width: 96px; height: 72px; } }

/* Page headers: plain text, no card */
.theme-minimal main > .container > header.card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    padding: 1.5rem 0 1rem !important;
}
.theme-minimal main > .container > header.card .card-body { padding: 0; }
.theme-minimal main > .container > header.card .display-5 { font-size: calc(1.6rem + 1.5vw); }
.theme-minimal main > .container > header.card .d-flex { justify-content: flex-start !important; }
.theme-minimal main > .container > header.card .badge { background: transparent !important; color: var(--bs-secondary-color) !important; padding-left: 0; font-weight: 400; }

/* Categories and directory cards become simple blocks */
.theme-minimal .card:not(.toc-inline):not(.toc) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.theme-minimal .article-card:hover { transform: none; box-shadow: none; }

.theme-minimal .site-footer { border-top-style: dashed !important; }
