:root{--csx-ink:#14251f;--csx-green:#0d5b46;--csx-green2:#14745b;--csx-gold:#c9a451;--csx-paper:#f6f3eb;--csx-white:#fff;--csx-line:rgba(20,37,31,.12);--csx-shadow:0 16px 42px rgba(22,54,43,.1)}
body.csx-community{background:var(--csx-paper);color:var(--csx-ink);font-family:"Noto Serif SC","Songti SC","Microsoft YaHei",serif;overflow-x:hidden}
body.csx-community .wp-site-blocks>header,body.csx-community .wp-site-blocks>footer{display:none!important}
body.csx-community .wp-site-blocks>main{margin-block-start:0!important}
body.csx-community main>.wp-block-group{padding:0!important;max-width:none!important}
body.csx-community .wp-block-query-title,body.csx-community .wp-block-post-title{display:none!important}
body.csx-community .entry-content,body.csx-community .wp-block-post-content{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;padding:0!important}
body.csx-community .wp-site-blocks main .alignfull{width:100%!important;margin-left:0!important;margin-right:0!important}body.csx-community.single-forum .wp-block-post-title~*:not(.entry-content),body.csx-community.single-topic .wp-block-post-title~*:not(.entry-content),body.csx-community.single-reply .wp-block-post-title~*:not(.entry-content){display:none!important}
.forum-archive .wp-block-post>.wp-block-group.alignfull{padding-top:0!important;padding-bottom:0!important}.forum-archive .entry-content.wp-block-post-content{margin-top:0!important}.forum-archive #bbpress-forums>.bbp-search-form,.forum-archive #bbpress-forums>.bbp-breadcrumb{display:none!important}
.csx-shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.csx-header{position:sticky;top:0;z-index:999;background:rgba(250,248,242,.94);border-bottom:1px solid var(--csx-line);backdrop-filter:blur(16px)}
.admin-bar .csx-header{top:32px}.csx-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.csx-brand{display:flex;align-items:center;gap:12px;color:var(--csx-ink);text-decoration:none}.csx-brand-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:linear-gradient(145deg,var(--csx-green),#073f32);color:#fff;box-shadow:0 7px 20px rgba(14,90,70,.24);font-size:21px;font-weight:700}.csx-brand strong{display:block;font-size:18px;letter-spacing:.08em}.csx-brand small{display:block;color:#6c766f;font:11px/1.3 system-ui,sans-serif;letter-spacing:.08em;margin-top:2px}
.csx-nav{display:flex;align-items:center;gap:4px;font-family:system-ui,"Microsoft YaHei",sans-serif;font-size:14px}.csx-nav a{padding:9px 12px;border-radius:999px;color:#405149;text-decoration:none}.csx-nav a:hover,.csx-nav a[aria-current]{color:var(--csx-green);background:#e6efea}.csx-nav .csx-login{color:#fff;background:var(--csx-green);margin-left:6px}.csx-nav .csx-login:hover{color:#fff;background:var(--csx-green2)}
.csx-hero{position:relative;min-height:470px;display:grid;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(4,29,23,.88) 0%,rgba(4,29,23,.72) 44%,rgba(4,29,23,.08) 78%),var(--csx-hero) center/cover no-repeat;overflow:hidden}.csx-hero:after{content:"";position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(transparent,var(--csx-paper));pointer-events:none}.csx-hero-content{position:relative;z-index:1;padding-block:70px 92px}.csx-eyebrow{color:var(--csx-gold);font:700 12px/1.4 system-ui,sans-serif;letter-spacing:.19em}.csx-hero h1{max-width:760px;margin:17px 0 16px;color:#fff;font-size:clamp(37px,5.2vw,64px);line-height:1.25;letter-spacing:.05em}.csx-hero p{max-width:690px;margin:0;color:rgba(255,255,255,.82);font-size:17px;line-height:1.9}.csx-search{display:flex;max-width:700px;margin-top:29px;padding:6px;background:#fff;border-radius:13px;box-shadow:0 18px 45px rgba(0,0,0,.2)}.csx-search input{flex:1;min-width:0;height:48px;border:0!important;outline:0!important;padding:0 15px;background:transparent!important;color:var(--csx-ink);font:15px system-ui,"Microsoft YaHei",sans-serif}.csx-search button{min-width:112px;border:0;border-radius:9px;background:var(--csx-green);color:#fff;font:650 14px system-ui,"Microsoft YaHei",sans-serif;cursor:pointer}.csx-search button:hover{background:var(--csx-green2)}.csx-stats{display:flex;flex-wrap:wrap;gap:25px;margin-top:24px;color:rgba(255,255,255,.76);font:13px system-ui,"Microsoft YaHei",sans-serif}.csx-stats b{color:#fff;font-size:17px;margin-right:4px}
.csx-guide{padding:76px 0 64px}.csx-section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}.csx-section-heading h2,.csx-board-heading h2{margin:8px 0 0;font-size:clamp(27px,3vw,39px);line-height:1.35}.csx-section-heading p{max-width:490px;margin:0;color:#68756f;font-size:14px}.csx-guide-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.csx-guide-card{display:flex;align-items:center;gap:15px;min-height:104px;padding:18px 20px;border:1px solid var(--csx-line);border-radius:15px;background:#fff;color:var(--csx-ink);text-decoration:none;box-shadow:0 5px 18px rgba(22,54,43,.04);transition:.2s}.csx-guide-card:hover{transform:translateY(-3px);border-color:rgba(13,91,70,.3);box-shadow:var(--csx-shadow)}.csx-guide-icon{flex:0 0 48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#e8f1ec;color:var(--csx-green);font-size:19px;font-weight:700}.csx-guide-card strong{display:block;font-size:17px}.csx-guide-card small{display:block;margin-top:4px;color:#718078;font:13px/1.55 system-ui,"Microsoft YaHei",sans-serif}.csx-guide-card i{margin-left:auto;color:var(--csx-green);font-style:normal;font-size:20px}.csx-board-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;padding-top:24px;margin-bottom:18px}.csx-board-heading>a{color:var(--csx-green);font:700 14px system-ui,"Microsoft YaHei",sans-serif;text-decoration:none}
body.csx-community #bbpress-forums{width:min(1180px,calc(100% - 40px));max-width:none;margin:0 auto 80px;font:14px/1.7 system-ui,"Microsoft YaHei",sans-serif;color:var(--csx-ink)}
body.csx-community #bbpress-forums ul.bbp-forums{border:0;background:transparent;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.csx-community #bbpress-forums li.bbp-header{display:none}
body.csx-community #bbpress-forums li.bbp-body{display:contents}
body.csx-community #bbpress-forums li.bbp-forum-category{grid-column:1/-1;margin-top:8px!important;padding:17px 20px!important;border:0!important;border-radius:13px;background:#102f27!important;color:#fff;font-size:18px;font-weight:700}
body.csx-community #bbpress-forums ul.bbp-forums>li.bbp-body>ul{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 74px 74px;gap:14px;min-height:150px;margin:0!important;padding:24px!important;border:1px solid var(--csx-line)!important;border-radius:16px;background:#fff!important;box-shadow:0 6px 22px rgba(22,54,43,.05)}
body.csx-community #bbpress-forums .bbp-forum-info{width:auto!important}.bbp-forum-title{color:var(--csx-ink)!important;font:700 19px/1.45 "Noto Serif SC","Songti SC",serif;text-decoration:none}.bbp-forum-title:hover{color:var(--csx-green)!important}.bbp-forum-content{margin:7px 0 0!important;color:#6b7871;font-size:13px;line-height:1.7}.bbp-forums-list{margin:14px 0 0!important;padding:0!important;border:0!important}.bbp-forums-list li{display:inline-block!important;margin:3px 4px 3px 0!important}.bbp-forums-list a{display:inline-block;padding:5px 9px;border-radius:999px;background:#edf3ef;color:#36594c!important;font-size:12px;text-decoration:none}.bbp-forum-topic-count,.bbp-forum-reply-count{width:auto!important;min-width:64px;color:#66736d}.bbp-forum-freshness{grid-column:1/-1;width:auto!important;text-align:left!important;color:#77837d;font-size:12px}.bbp-footer{display:none}
body.csx-community #bbpress-forums ul.bbp-forums>li.bbp-body>ul.post-6{grid-column:1/-1}body.csx-community #bbpress-forums ul.post-6 .bbp-forums-list{max-height:220px;overflow:auto;padding-right:8px!important}
body.csx-community #bbpress-forums .bbp-breadcrumb{float:none;margin:25px 0 18px;padding:11px 14px;border-radius:10px;background:#fff;border:1px solid var(--csx-line)}body.csx-community #bbpress-forums .bbp-breadcrumb a{color:var(--csx-green)}
body.csx-community #bbpress-forums ul.bbp-topics,body.csx-community #bbpress-forums ul.bbp-replies{border:1px solid var(--csx-line);border-radius:16px;overflow:hidden;background:#fff}.bbp-topic-permalink{color:var(--csx-ink)!important;font-weight:700;text-decoration:none}.bbp-topic-permalink:hover{color:var(--csx-green)!important}.bbp-topic-meta{font-size:12px;color:#738078}.bbp-pagination{margin:18px 0}.bbp-pagination-links a,.bbp-pagination-links span.current{border:0!important;border-radius:8px!important;padding:7px 11px!important;background:#fff!important;color:var(--csx-green)!important}.bbp-pagination-links span.current{background:var(--csx-green)!important;color:#fff!important}
body.csx-community #bbpress-forums fieldset.bbp-form{border:1px solid var(--csx-line);border-radius:16px;background:#fff;padding:22px}body.csx-community #bbpress-forums input[type=text],body.csx-community #bbpress-forums input[type=password],body.csx-community #bbpress-forums textarea,body.csx-community #bbpress-forums select{border:1px solid #cfd8d3;border-radius:8px;padding:10px;background:#fff}body.csx-community #bbpress-forums button,body.csx-community #bbpress-forums input[type=submit]{border:0;border-radius:8px;background:var(--csx-green);color:#fff;padding:10px 18px;font-weight:700}
body.csx-community #bbpress-forums .bbp-reply-ip{display:none!important}body.csx-community #bbpress-forums .bbp-reply-content{font-size:15px;line-height:1.9;color:#2a3933}body.csx-community #bbpress-forums .bbp-reply-content a{overflow-wrap:anywhere;color:var(--csx-green);text-decoration:underline;text-underline-offset:3px}.csx-legacy-note{display:block;margin:.55em 0;color:#69756f;font-size:.9em;font-style:italic}.csx-center{display:block;text-align:center}body.csx-community #bbpress-forums blockquote{margin:1.2em 0;padding:14px 18px;border-left:4px solid var(--csx-gold);background:#f3f0e8;color:#47564f}
.csx-footer{padding:35px 0;background:#09241c;color:rgba(255,255,255,.72);font:13px/1.6 system-ui,"Microsoft YaHei",sans-serif}.csx-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.csx-footer strong{display:block;color:#fff;font:700 16px "Noto Serif SC",serif}.csx-footer span{display:block;margin-top:4px}.csx-footer a{color:rgba(255,255,255,.78);text-decoration:none;margin-left:18px}.csx-footer a:hover{color:#fff}
body.home .cs-hero{background:linear-gradient(90deg,rgba(247,244,236,.96) 0%,rgba(247,244,236,.84) 46%,rgba(247,244,236,.08) 78%),url('china-sufi-hero.png') center/cover no-repeat!important}body.home .cs-hero-card{background:linear-gradient(145deg,rgba(14,90,70,.76),rgba(7,56,45,.9)),url('china-sufi-hero.png') 74% center/cover no-repeat!important}body.home .cs-card,body.home .cs-cta-box{box-shadow:0 9px 28px rgba(22,54,43,.07)}
@media(max-width:900px){.csx-header-inner{min-height:68px}.csx-nav a:not(.csx-login):not([aria-current]){display:none}.csx-hero{min-height:430px;background-position:65% center}.csx-guide-grid,body.csx-community #bbpress-forums ul.bbp-forums{grid-template-columns:1fr}.csx-section-heading{display:block}.csx-section-heading p{margin-top:12px}.csx-guide{padding-top:58px}}
@media(max-width:600px){.admin-bar .csx-header{top:46px}.csx-shell{width:min(100% - 28px,1180px)}.csx-brand strong{font-size:15px}.csx-brand small{font-size:9px}.csx-brand-mark{width:38px;height:38px}.csx-nav .csx-login{padding:8px 10px}.csx-hero{min-height:470px;background:linear-gradient(90deg,rgba(4,29,23,.88),rgba(4,29,23,.5)),var(--csx-hero) 66% center/cover no-repeat}.csx-hero-content{padding-block:58px 78px}.csx-hero h1{font-size:35px}.csx-hero p{font-size:15px}.csx-search{display:grid;background:transparent;padding:0;box-shadow:none;gap:8px}.csx-search input,.csx-search button{width:100%;height:49px}.csx-search input{background:#fff!important;border-radius:10px!important}.csx-stats{gap:14px}.csx-guide-card{min-height:96px;padding:15px}.csx-board-heading{display:block}.csx-board-heading>a{display:inline-block;margin-top:10px}body.csx-community #bbpress-forums{width:min(100% - 28px,1180px)}body.csx-community #bbpress-forums ul.bbp-forums>li.bbp-body>ul{grid-template-columns:1fr}.bbp-forum-topic-count,.bbp-forum-reply-count{display:inline}.csx-footer-inner{display:block}.csx-footer nav{margin-top:12px}.csx-footer a{margin:0 14px 0 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
*:focus-visible{outline:3px solid #d3a83e!important;outline-offset:3px}

.csx-align-left{display:block;text-align:left}.csx-align-center{display:block;text-align:center}.csx-align-right{display:block;text-align:right}.csx-align-justify{display:block;text-align:justify}
body.csx-community.bbp-search main#wp--skip-link--target>h1.wp-block-heading{display:none!important}
.csx-page-intro{padding:54px 0 34px;background:linear-gradient(180deg,#eef4f0 0%,var(--csx-paper) 100%);border-bottom:1px solid var(--csx-line)}.csx-page-intro h1{margin:8px 0 6px;color:var(--csx-ink);font-size:clamp(32px,4vw,48px);line-height:1.25}.csx-page-intro p{margin:0;color:#66736d;font:14px/1.8 system-ui,"Microsoft YaHei",sans-serif}
body.csx-community.bbp-search #bbpress-forums{padding-top:34px}body.csx-community.bbp-search #bbpress-forums .bbp-search-results .bbp-topic-content,body.csx-community.bbp-search #bbpress-forums .bbp-search-results .bbp-reply-content,body.csx-community.bbp-search #bbpress-forums .bbp-search-results .bbp-forum-content{font-size:14px;line-height:1.85;color:#435049}body.csx-community.bbp-search #bbpress-forums .csx-search-excerpt{margin:0!important;max-width:78ch}


/* 1.1.0 mobile and archive fixes */
body.blog .wp-block-post-content img,body.archive .wp-block-post-content img,body.blog img.zoom,body.archive img.zoom{display:block;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain}
body.blog .wp-block-post-content,body.archive .wp-block-post-content{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
body.blog header a[href*="/sample-page/"],body.blog footer a[href$="#"],body.archive header a[href*="/sample-page/"],body.archive footer a[href$="#"]{display:none!important}
.csx-news-intro{padding:54px 0 34px;background:linear-gradient(180deg,#eef4f0 0%,#f6f3eb 100%);border-bottom:1px solid rgba(20,37,31,.12)}.csx-news-intro h1{margin:8px 0 6px;color:#14251f;font-size:clamp(32px,4vw,48px);line-height:1.25}.csx-news-intro p{margin:0;color:#66736d;font:14px/1.8 system-ui,"Microsoft YaHei",sans-serif}
body.blog main#wp--skip-link--target>h1.wp-block-heading{display:none!important}.csx-news-excerpt{max-width:78ch}.csx-news-excerpt p{margin:0 0 16px;line-height:1.9}.csx-news-excerpt>a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:#0d5b46;color:#fff!important;text-decoration:none;font:700 14px system-ui,"Microsoft YaHei",sans-serif}.csx-news-excerpt>a:hover{background:#14745b}
#bbp-forum-6 .bbp-forums-list,body.postid-6 #forums-list-6,body.postid-6 #forums-list-6+.bbp-template-notice{display:none!important}
.csx-member-archive{margin:26px 0 34px;padding:28px;border:1px solid var(--csx-line);border-radius:16px;background:#fff}.csx-member-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:20px}.csx-member-heading h2{margin:7px 0 0;font-size:30px}.csx-member-heading p{max-width:470px;margin:0;color:#68756f}.csx-member-topics{list-style:none;margin:0!important;padding:0!important;border-top:1px solid var(--csx-line)}.csx-member-topics li{margin:0!important;border-bottom:1px solid var(--csx-line)}.csx-member-topics a{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:70px;padding:12px 4px;color:var(--csx-ink);text-decoration:none}.csx-member-topics strong{font-size:15px}.csx-member-topics span{flex:0 0 auto;color:#718078;font-size:12px}.csx-member-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;list-style:none;margin:24px 0 0;padding:0}.csx-member-pagination a,.csx-member-pagination span{display:block;min-width:40px;padding:8px 10px;border-radius:8px;background:#edf3ef;color:var(--csx-green);text-align:center;text-decoration:none}.csx-member-pagination .current{background:var(--csx-green);color:#fff}
body.login{background:linear-gradient(145deg,#eef4f0,#f6f3eb);font-family:system-ui,"Microsoft YaHei",sans-serif}body.login #login{width:min(92vw,380px);padding-top:7vh}body.login h1 a{width:72px;height:72px;border-radius:50%;background:#0d5b46;color:#fff;background-image:none!important;box-shadow:0 10px 28px rgba(13,91,70,.2)}body.login h1 a:after{content:"真";display:grid;place-items:center;width:100%;height:100%;font:700 32px "Noto Serif SC",serif}body.login form{border:1px solid rgba(20,37,31,.12);border-radius:14px;box-shadow:0 16px 42px rgba(22,54,43,.1)}body.login input[type=text],body.login input[type=password]{min-height:48px;border-radius:8px}body.login .button-primary{min-height:44px;border:0;border-radius:8px;background:#0d5b46}.csx-login-note{margin:0 0 14px;padding:12px 14px;border-radius:9px;background:#e6efea;color:#274b3e;text-align:center}
@media(max-width:600px){
 body.csx-community main#wp--skip-link--target,body.csx-community main#wp--skip-link--target>.wp-block-query,body.csx-community main#wp--skip-link--target .wp-block-post-template,body.csx-community main#wp--skip-link--target .wp-block-post>.wp-block-group,body.csx-community main#wp--skip-link--target .wp-block-post-content{padding-left:0!important;padding-right:0!important;max-width:none!important}
 body.csx-community #bbpress-forums{width:calc(100% - 24px)!important;margin-inline:auto!important;box-sizing:border-box}body.csx-community #bbpress-forums ul.bbp-forums>li.bbp-body>ul{padding:16px!important;min-height:0}body.csx-community #bbpress-forums ul.bbp-topics,body.csx-community #bbpress-forums ul.bbp-replies{border-radius:11px}.bbp-topic-title,.bbp-reply-content{overflow-wrap:anywhere;word-break:break-word}
 .csx-header-inner{gap:10px}.csx-nav{gap:2px}.csx-nav a{min-height:44px;display:inline-flex;align-items:center}.csx-news-intro{padding:36px 0 24px}body.blog .wp-block-post-template>li{padding-block:28px!important}body.blog .wp-block-post-title{font-size:clamp(24px,8vw,34px)!important;line-height:1.35}
 .csx-member-archive{margin:18px 0 28px;padding:18px 14px}.csx-member-heading{display:block}.csx-member-heading p{margin-top:10px}.csx-member-heading h2{font-size:26px}.csx-member-topics a{display:block;padding:14px 2px}.csx-member-topics span{display:block;margin-top:5px}.csx-member-pagination a,.csx-member-pagination span{min-width:44px;min-height:44px;display:grid;place-items:center}
}

body.csx-community #bbpress-forums #bbp-forum-6 .bbp-forums-list{display:none!important}

/* Prevent scrollbar-width breakout on the public home page. */
body #top.cs-home{width:100%;max-width:100%;margin-left:0;margin-right:0}

body #top.cs-home{margin-left:0!important;margin-right:0!important}


/* 1.1.4: consistent news/404 shell, clean migrated archives, and accessible focus. */
.csx-skip{position:fixed;left:12px;top:-80px;z-index:100000;padding:10px 14px;border-radius:8px;background:#fff;color:#0d5b46;font:700 14px system-ui,"Microsoft YaHei",sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.csx-skip:focus{top:10px}
body.blog .wp-site-blocks>header.wp-block-template-part,body.blog .wp-site-blocks>footer.wp-block-template-part{display:none!important}
body.blog .wp-site-blocks{min-height:55vh}
body.blog .wp-block-post.post-363719,body.blog .wp-block-post.post-363718,body.blog .wp-block-post.post-363713{display:none!important}
body.error404 .wp-site-blocks{display:none!important}
.csx-not-found{display:grid;min-height:62vh;place-items:center;padding:72px 0;text-align:center;background:linear-gradient(180deg,#eef4f0 0%,#f6f3eb 100%)}
.csx-not-found h1{margin:10px 0 14px;color:#14251f;font-size:clamp(34px,6vw,58px);line-height:1.2}
.csx-not-found p{max-width:620px;margin:0 auto;color:#66736d;font:16px/1.9 system-ui,"Microsoft YaHei",sans-serif}
.csx-not-found-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:28px}
.csx-not-found-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border:1px solid rgba(13,91,70,.18);border-radius:999px;background:#fff;color:#0d5b46;text-decoration:none;font:700 14px system-ui,"Microsoft YaHei",sans-serif}
.csx-not-found-actions a:first-child{background:#0d5b46;color:#fff}
@media(max-width:600px){.csx-not-found{min-height:58vh;padding:48px 0}.csx-not-found-actions{display:grid}.csx-not-found-actions a{width:min(280px,82vw)}}


/* 1.1.4: keep migrated news readable on narrow screens */
body.single-post .wp-site-blocks > header.wp-block-template-part,
body.single-post .wp-site-blocks > footer.wp-block-template-part,
body.archive .wp-site-blocks > header.wp-block-template-part,
body.archive .wp-site-blocks > footer.wp-block-template-part {
  display: none !important;
}
body.single-post .wp-block-post-content,
body.archive .wp-block-post-content,
body.single-post .wp-block-post-content a,
body.archive .wp-block-post-content a {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
body.single-post .wp-block-post-content img,
body.single-post img.zoom,
body.archive .wp-block-post-content img,
body.archive img.zoom {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
}
.csx-legacy-attachment,
.csx-legacy-media {
  margin: 1rem 0;
  padding: .8rem 1rem;
  border: 1px solid rgba(145, 111, 45, .25);
  border-radius: 12px;
  background: #fbf7ee;
  color: #67552f;
  font-size: .92rem;
}
body.csx-community .wp-block-query-pagination {
  display: none !important;
}


/* 1.1.4: retain the custom navigation and useful 404 body on WordPress block themes. */
body.error404 .wp-site-blocks{display:block!important}
body.error404 .wp-site-blocks>header.wp-block-template-part,body.error404 .wp-site-blocks>footer.wp-block-template-part,body.error404 .wp-site-blocks>main{display:none!important}
body.error404 .csx-not-found{display:grid!important}

/* Keep forum directories focused on section names; counts remain available on individual forum pages. */
.bbp-forums .bbp-forum-topic-count,
.bbp-forums .bbp-forum-reply-count {
  display: none !important;
}

/* Keep forum directory rows centered on section names. */
.bbpress-forums [id^="forums-list-"] .bbp-forum-topic-count,
.bbpress-forums [id^="forums-list-"] .bbp-forum-reply-count {
  display: none !important;
}

/* Remove numeric columns from forum directory cards only. */
#bbpress-forums [id^="forums-list-"] .bbp-forum-topic-count,
#bbpress-forums [id^="forums-list-"] .bbp-forum-reply-count {
  display: none !important;
}

/* Hide topic and reply count columns in forum directories. */
.bbp-forum-topic-count,
.bbp-forum-reply-count { display: none !important; }

/* Forum directory: hide the numeric topic and reply columns. */
#bbpress-forums #forums-list-0 .bbp-forum-topic-count,
#bbpress-forums #forums-list-0 .bbp-forum-reply-count,
#bbpress-forums #forums-list-0 li[class*='topic-count'],
#bbpress-forums #forums-list-0 li[class*='reply-count'] { display: none !important; width: 0 !important; }


/* Mobile member profile: give the name and join date a usable column, with edit action below. */
@media (max-width: 720px) {
  .csx-member-profile-hero {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center !important;
    gap: 12px 14px !important;
  }
  .csx-member-profile-hero .csx-member-monogram {
    grid-column: 1;
    grid-row: 1;
  }
  .csx-member-profile-hero .csx-member-title {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: auto;
  }
  .csx-member-profile-hero .csx-member-title small {
    display: block;
  }
  .csx-member-profile-hero .csx-member-title p {
    overflow-wrap: anywhere;
  }
  .csx-member-profile-hero .csx-member-edit {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    margin: 0 !important;
  }
}
