/* Category and course baseline. Keep this after legacy page styles. */
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]){
  --theta-pill-height:56px;--theta-filter-gap:12px;--theta-section-gap:32px;--theta-card-gap:24px;
}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) #feed-container{gap:0}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-expert-categories{
  display:flex;flex-wrap:wrap;gap:var(--theta-filter-gap);padding:0!important;margin:0 0 var(--theta-section-gap)!important;align-items:stretch;
}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-category{
  box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;height:var(--theta-pill-height);min-height:var(--theta-pill-height);padding:8px 16px!important;
  border:1px solid #3b3e35!important;border-radius:10px;background:#252722!important;color:#ededeb!important;font:600 .82rem/1.4 var(--font-sans);text-align:left;
  box-shadow:none!important;transform:none!important;transition:background-color .15s,border-color .15s;
}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-category svg{
  width:20px;height:20px;flex:0 0 20px;color:#d5b571!important;filter:none;
}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-category span{
  min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal;
}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-category:hover{background:#2d3029!important;border-color:#716448!important}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-category[aria-pressed="true"]{background:#32352d!important;border-color:#a08b5d!important}
.main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-category:focus-visible{outline:2px solid #d5b571;outline-offset:3px}
.public-page :is(.community-expert-grid,.public-prompt-grid){gap:var(--theta-card-gap);padding:0!important;margin:0!important}
.public-page :is(.community-expert-card,.public-prompt-card)[hidden]{display:none!important}
.public-page .community-expert-grid--filtered{grid-template-columns:minmax(0,1fr);max-width:960px}
.public-page .community-expert-grid--filtered .community-expert-description{min-height:0}
.public-page .expert-post-filters,.public-page .verified-posts-layout{width:100%}
.public-page .verified-posts-layout{gap:var(--theta-card-gap)}
.community-reading .course-shell{gap:var(--theta-card-gap)}
.main-content .course-category-menu.smc-category-menu{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))}
.main-content .course-category-menu.smc-category-menu .community-category{display:flex;font-size:.82rem}
.public-page .pro-lesson-grid{padding:0!important;margin-top:0!important;gap:var(--theta-card-gap)!important}
@media(max-width:1600px){.main-content .course-category-menu.smc-category-menu{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100% - 144px)}}
@media(max-width:1200px){.main-content .course-category-menu.smc-category-menu{width:100%}}
@media(max-width:700px){
  .main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]){--theta-section-gap:24px;--theta-card-gap:24px}
  .main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-expert-categories{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .main-content:is([data-community-page="verified-experts"],[data-community-page="expert-posts"],[data-community-page="ai-vault"],[data-community-page="free-masterclass"],[data-community-page="sales-masterclass"],[data-community-page="classroom"]) .community-category{width:100%;font-size:.78rem;padding:8px 12px!important;gap:8px}
}
@media(prefers-reduced-motion:reduce){.main-content .community-category{transition:none}}
