.jxbc-category-directory-page .widget-area,
.jxbc-category-directory-page .sidebar {
    display: none;
}

.jxbc-category-directory-page .content-area,
.jxbc-category-directory-page #primary,
.jxbc-category-directory-page main.site-main {
    width: 100%;
    max-width: none;
}

.jxbc-category-directory {
    width: calc(100% - 4rem);
    max-width: 95rem;
    margin: 1.5rem auto 3rem;
}

.jxbc-category-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    color: #5f6872;
    font-size: .9rem;
}

.jxbc-category-breadcrumb li + li::before {
    margin-right: .4rem;
    content: ">";
}

.jxbc-category-directory-header {
    max-width: 52rem;
    margin-bottom: 1.5rem;
}

.jxbc-category-directory-header h1 {
    margin-bottom: .6rem;
}

.jxbc-category-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.jxbc-category-directory-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: .35rem;
    background: #fff;
}

.jxbc-category-directory-image,
.jxbc-category-directory-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.jxbc-category-directory-image {
    padding: .75rem;
    background: #fff;
}

.jxbc-category-directory-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.jxbc-category-directory-placeholder {
    background: linear-gradient(135deg, #eef1f3, #dfe5e8);
}

.jxbc-category-directory-card-body {
    padding: 1rem;
    border-top: 1px solid #edf0f2;
}

.jxbc-category-directory-card h2 {
    margin: 0;
    font-size: 1.2rem;
    overflow-wrap: anywhere;
}

.jxbc-category-directory-card h2 a {
    color: inherit;
    text-decoration: none;
}

.jxbc-category-directory-card p {
    margin: .5rem 0 .8rem;
    color: #5f6872;
}

.jxbc-category-directory-view {
    font-weight: 600;
}

@media (max-width: 64rem) {
    .jxbc-category-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 47.99rem) {
    .jxbc-category-directory {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 37.5rem) {
    .jxbc-category-directory-grid {
        grid-template-columns: 1fr;
    }
}
