.bp-reference-summary,.bp-reference-section,.bp-library-filters{box-sizing:border-box;margin:2rem 0;padding:clamp(1.1rem,3vw,1.75rem);border:1px solid #dfe5ec;border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(20,32,50,.055)}
.bp-reference-kicker,.bp-section-heading span,.bp-card-label,.bp-map small{display:block;margin-bottom:.35rem;font-size:.72rem;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:#607087}
.bp-reference-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1.1rem}.bp-reference-kicker{grid-column:1/-1}.bp-fact>span{display:block;font-size:.76rem;font-weight:700;color:#667085;margin-bottom:.45rem}.bp-fact div{display:flex;flex-wrap:wrap;gap:.4rem}.bp-fact a{display:inline-block;padding:.34rem .62rem;border-radius:999px;background:#f1f5f9;color:#26364a;text-decoration:none;font-size:.86rem}.bp-fact a:hover{background:#e5ebf2}
.bp-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:1.25rem}.bp-section-heading h2{margin:0;font-size:clamp(1.45rem,3vw,2rem)}.bp-section-heading p{max-width:40rem;margin:0;color:#667085}.bp-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.bp-related-card{padding:1.2rem;border:1px solid #e4e9ef;border-radius:14px;background:#fafbfc}.bp-related-card h3{margin:.35rem 0 .65rem;font-size:1.05rem;line-height:1.35}.bp-related-card h3 a,.bp-card-link{text-decoration:none}.bp-related-card p{color:#5d6878;font-size:.92rem}.bp-card-link{font-weight:700;font-size:.88rem}
.bp-map{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:.8rem}.bp-map-center,.bp-map-node{display:flex;flex:1 1 180px;max-width:260px;min-height:92px;flex-direction:column;justify-content:center;padding:1rem;border-radius:14px;text-align:center}.bp-map-center{background:#1e293b;color:#fff}.bp-map-node{border:1px solid #dfe5ec;background:#f8fafc;color:#243348;text-decoration:none}.bp-map-node:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(20,32,50,.08)}.bp-map strong{line-height:1.25}
.bp-library-filters{margin-top:0}.bp-library-filters span{font-weight:700}.bp-filter-search{display:block}.bp-filter-search input{width:100%;margin-top:.55rem;padding:.85rem 1rem;border:1px solid #ccd5df;border-radius:10px;font:inherit}.bp-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:.75rem;margin-top:1rem;align-items:center}.bp-filter-grid select,.bp-filter-grid button{width:100%;min-height:44px;padding:.65rem .75rem;border:1px solid #ccd5df;border-radius:9px;background:#fff;font:inherit}.bp-filter-grid button{border-color:#1e293b;background:#1e293b;color:#fff;font-weight:700;cursor:pointer}.bp-filter-grid>a{text-align:center;font-weight:700}
@media(max-width:650px){.bp-section-heading{display:block}.bp-section-heading p{margin-top:.65rem}.bp-reference-summary{grid-template-columns:1fr}.bp-map-center,.bp-map-node{max-width:none}}

/* Single Problem reading layout: keep the article center stage and remove theme sidebars. */
body.single-bp_problem #secondary,
body.single-bp_problem #tertiary,
body.single-bp_problem .widget-area,
body.single-bp_problem .site-sidebar,
body.single-bp_problem .primary-sidebar,
body.single-bp_problem .secondary-sidebar,
body.single-bp_problem .sidebar-primary,
body.single-bp_problem .sidebar-secondary,
body.single-bp_problem .left-sidebar,
body.single-bp_problem .right-sidebar,
body.single-bp_problem aside.sidebar,
body.single-bp_problem [data-bp-single-sidebar="true"] {
    display: none !important;
}

body.single-bp_problem .bp-single-problem-shell,
body.single-bp_problem .bp-single-problem-column {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 960px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    float: none !important;
}

body.single-bp_problem article.type-bp_problem,
body.single-bp_problem .bp-single-problem-article {
    box-sizing: border-box;
    width: 100%;
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
}

body.single-bp_problem article.type-bp_problem .entry-content,
body.single-bp_problem .bp-single-problem-article .entry-content {
    font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
    line-height: 1.75;
}

body.single-bp_problem article.type-bp_problem .entry-content > p,
body.single-bp_problem article.type-bp_problem .entry-content > ul,
body.single-bp_problem article.type-bp_problem .entry-content > ol,
body.single-bp_problem article.type-bp_problem .entry-content > blockquote,
body.single-bp_problem .bp-single-problem-article .entry-content > p,
body.single-bp_problem .bp-single-problem-article .entry-content > ul,
body.single-bp_problem .bp-single-problem-article .entry-content > ol,
body.single-bp_problem .bp-single-problem-article .entry-content > blockquote {
    max-width: 76ch;
}

@media (max-width: 760px) {
    body.single-bp_problem .bp-single-problem-shell,
    body.single-bp_problem .bp-single-problem-column,
    body.single-bp_problem article.type-bp_problem,
    body.single-bp_problem .bp-single-problem-article {
        max-width: 100% !important;
    }
}
