@font-face{font-family:Switzer;src:url('/assets/fonts/switzer-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Switzer;src:url('/assets/fonts/switzer-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:Switzer;src:url('/assets/fonts/switzer-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Switzer;src:url('/assets/fonts/switzer-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{color-scheme:light;font:16px/1.5 Switzer,Arial,sans-serif;color:#171717;background:#fff}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}
.shell,nav{width:min(1120px,calc(100% - 48px));margin-left:max(24px,calc((100% - 1200px)/2))}
nav,.summary .shell,.meta,.feed-heading{display:flex;align-items:center;gap:16px}
nav{min-height:52px;flex-wrap:wrap;font-size:.92rem}nav .brand{margin-right:auto;font-weight:650}nav form{margin:0}
.hero{position:relative;overflow:hidden;background:#ff981b;padding:24px 0 36px;isolation:isolate}
.hero::before,.hero::after{content:"";position:absolute;z-index:-1;pointer-events:none}
.hero::before{inset:-130px 17% -230px 9%;border-radius:50% 0 0 0;background:#ffb300}
.hero::after{inset:28px 34% -230px 26%;border-radius:55% 60px 0 0;background:#ffd500}
h1,h2{font-family:Switzer, sans-serif;font-weight:400;line-height:1.12;margin:0}
h1{font-size:clamp(2.15rem,5vw,3.25rem)}.hero p{margin:12px 0 26px;color:#493409;font-size:1.13rem}
.search{display:flex;align-items:center;max-width:480px;background:#fff;border:1px solid #e4dfd5;border-radius:40px;padding:4px 6px 4px 17px;box-shadow:0 4px 8px #0001;margin:0}
.search input{border:0;margin:0;padding:8px 0;background:transparent;min-width:0}.search button{background:transparent}
.summary{background:#f6f6f3;border-bottom:1px solid #e0e0db}.summary .shell{min-height:62px;color:#575754}.summary strong{color:#111;margin-right:5px}.summary a{margin-left:auto;border:1px solid #222;border-radius:30px;padding:10px 16px;color:#111}
.feed{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(240px,1fr);gap:clamp(24px,5.5vw,70px);padding:clamp(36px,8vw,105px) 0 64px}.single{max-width:740px;padding:42px 0 64px}.single h1{margin-bottom:20px}
.feed-heading{justify-content:space-between;margin:0 0 22px;padding:0 15px}.feed-heading h2,.feed-heading span{font:500 .98rem Switzer,Arial,sans-serif}
article,.panel{padding:23px 24px;border:1px solid #e0e0dc;border-radius:16px;margin-bottom:12px;overflow-wrap:anywhere}.panel{margin-bottom:38px}.panel h2{font-size:1.62rem;margin:0 0 12px}.panel p{margin:0 0 12px}
.meta{justify-content:space-between;flex-wrap:wrap;color:#646464;font-size:.82rem}.author,.contributor{display:flex;gap:10px;align-items:center}.author{color:#161616;font-weight:650}.contributor{margin:12px 0}
.avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f9e4bb;color:#543a12;flex:none;font-weight:650}
h3{font-size:1.1rem;margin:14px 0 8px}.body{white-space:pre-wrap}.preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0 14px}.muted,.body{color:#575754}.discussion>a,.discussion>.muted{font-size:.86rem}
form{margin:16px 0}label{display:block;margin:10px 0}input,textarea,button{font:inherit}
input,textarea{display:block;width:100%;padding:10px;border:1px solid #d3d3cc;border-radius:8px;background:#fff;color:inherit}textarea{min-height:90px;margin:8px 0;resize:vertical}
button{padding:8px 14px;border:0;border-radius:24px;background:#ffcf41;color:#171717;cursor:pointer;font-weight:600}.quiet{background:transparent;padding:0}
@media(max-width:720px){.shell,nav{width:calc(100% - 32px);margin-inline:16px}.feed{grid-template-columns:1fr;gap:26px}.panel{margin-bottom:12px}article,.panel{padding:16px}.summary .shell{gap:10px}.feed-heading{padding:0}.hero{padding-top:24px}}
.groups{list-style:none;padding:0;margin:0}.groups a{display:block;padding:6px 0}.groups a[aria-current]{font-weight:700;text-decoration:underline}
@media(max-width:720px){.feed aside{grid-row:1}.feed aside .panel:not(:first-child){display:none}.groups{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}}
.directory-hero{min-height:240px;background:#e9eef2 url("community-hero.webp") right center / auto 100% no-repeat;padding:15px 0 22px}
.directory-hero::before,.directory-hero::after{display:none}
.directory-hero .shell,.directory.shell{margin-inline:auto}
.directory-hero p{max-width:44%;color:#4d535a}
.directory-hero .search{max-width:min(480px,44%)}
.directory{padding:55px 0 50px}.directory h2{font:600 1rem Switzer,Arial,sans-serif;margin-bottom:14px}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;list-style:none;padding:0;margin:0}
.topic-grid li{display:flex;min-width:0}
.topic-grid a{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:70px;border:1px solid #e0e0dc;border-radius:12px;padding:10px 16px}
.topic-grid a:hover{background:#f6f7f7;text-decoration:none;border-color:#aeb5bb}
.topic-grid strong,.topic-grid small{display:block}.topic-grid small{font-size:.95rem;color:#646b73}.topic-arrow{font-size:1.6rem;color:#646b73}
.all-discussions{display:inline-block;margin-top:22px;font-size:.95rem}
@media(max-width:1000px){.directory-hero{background-size:auto 80%;background-position:right bottom}.directory-hero .search,.directory-hero p{max-width:49%}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.directory-hero{background-size:auto 135px;min-height:0;padding-bottom:151px}.directory-hero p,.directory-hero .search{max-width:480px}.directory{padding-top:30px}}
@media(max-width:460px){.topic-grid{grid-template-columns:1fr}}
.profile-header{display:flex;align-items:center;gap:18px;padding:20px 0;border-bottom:1px solid #e0e0dc}
.profile-header h1{font:650 clamp(1.25rem,4vw,1.7rem) Switzer,Arial,sans-serif;margin:0 0 8px;overflow-wrap:anywhere}
.profile-header>div{min-width:0}.profile-avatar{width:64px;height:64px;font-size:1.45rem}
.profile-stats{display:flex;gap:6px 16px;flex-wrap:wrap;font-size:.9rem}
.profile-posts{font-size:1.35rem;margin:24px 0 14px}
.post-share{display:inline-block;vertical-align:top;margin-left:10px;font-size:.86rem}
.post-share summary{cursor:pointer}.post-share input{max-width:100%;font-size:.85rem}
body>header>nav{width:100%;margin:0;padding-inline:clamp(12px,3vw,32px)}
.appearance-settings{position:relative;margin-left:auto}
.appearance-settings summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:40px;height:40px;font-size:1.4rem}
.appearance-settings summary::-webkit-details-marker{display:none}
.appearance-panel{position:absolute;z-index:5;top:100%;right:0;width:min(230px,calc(100vw - 32px));padding:14px;background:#fff;border:1px solid #e0e0dc;border-radius:12px;box-shadow:0 5px 20px #0002}
.appearance-panel select{display:block;width:100%;margin-top:4px;padding:6px;font:inherit;color:inherit;background:inherit;border:1px solid #888;border-radius:6px}
:root[data-size=small]{font-size:14px}
:root[data-size=large]{font-size:18px}
:root[data-size=extra-large]{font-size:20px}
:root[data-theme=dark]{color-scheme:dark;background:#111317;color:#f3f3f4}
[data-theme=dark] .appearance-panel,[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] .search{background:#20242b;border-color:#555c67}
[data-theme=dark] .hero{background-color:#242a34}
[data-theme=dark] .hero:not(.directory-hero)::before{background:#303744}
[data-theme=dark] .hero:not(.directory-hero)::after{background:#394251}
[data-theme=dark] .directory-hero{background-image:linear-gradient(#161b24a6,#161b24a6),url("community-hero.webp");background-size:cover,auto 100%}
[data-theme=dark] .summary{background:#20242b}
[data-theme=dark] .summary a,[data-theme=dark] .summary strong,[data-theme=dark] .author{color:#f3f3f4}
[data-theme=dark] .summary a,[data-theme=dark] .summary,[data-theme=dark] .panel,[data-theme=dark] article,[data-theme=dark] .topic-grid a,[data-theme=dark] .profile-header{border-color:#555c67}
[data-theme=dark] .muted,[data-theme=dark] .body,[data-theme=dark] .meta,[data-theme=dark] .meta span,[data-theme=dark] .topic-grid small,[data-theme=dark] .topic-arrow,[data-theme=dark] .summary .shell,[data-theme=dark] .hero p{color:#c5c9d0}
[data-theme=dark] .topic-grid a:hover{background:#272c35}
[data-theme=dark] button.quiet,[data-theme=dark] .search button{color:#f3f3f4}
@media(max-width:720px){[data-theme=dark] .directory-hero{background-size:cover,auto 135px}}
.group-card{transition:background-color .15s ease}
.group-card:hover,.group-card:focus-within{background:#fff9ec}
[data-theme=dark] .group-card:hover,[data-theme=dark] .group-card:focus-within{background:#242a34}
.group-post-link{display:block;color:inherit}
.community-layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 52px)}
.community-sidebar{position:sticky;top:0;align-self:start;max-height:100vh;overflow:auto;padding:15px 12px;font-size:.88rem}
.community-sidebar a{display:block;padding:7px 10px;border-radius:7px}
.community-sidebar a:hover,.community-sidebar a[aria-current]{background:#f0f1f2;text-decoration:none}
.sidebar-topics{border-top:1px solid #ddd;margin-top:10px;padding-top:10px}.sidebar-topics strong{display:block;padding:5px 10px}
.community-content{min-width:0;border-left:1px solid #e0e0dc}
.home-latest{margin-top:32px;max-width:640px}
.latest-row{display:block;padding:8px 0;border-bottom:1px solid #e0e0dc;font-size:.9rem}
.latest-row small{display:block;color:#646b73}.latest-excerpt{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[data-theme=dark] :is(.community-content,.sidebar-topics,.latest-row){border-color:#555c67}
[data-theme=dark] .latest-row small{color:#c5c9d0}
[data-theme=dark] .community-sidebar a:is(:hover,[aria-current]){background:#272c35}
@media(max-width:950px){.community-layout{display:block}.community-content{border:0}.community-sidebar{position:static;display:flex;gap:4px;overflow-x:auto;white-space:nowrap;padding:4px 10px}.sidebar-topics{display:none}}
@media(min-width:951px) and (max-width:1250px){.directory-hero{background-size:auto 67%;background-position:right bottom}[data-theme=dark] .directory-hero{background-size:cover,auto 67%}}
.community-footer{display:flex;flex-wrap:wrap;gap:4px 9px;margin:16px 10px 0;padding-top:10px;border-top:1px solid #e0e0dc;color:#646b73;font-size:.73rem}
.community-footer a{display:inline;padding:0;border-radius:0}.community-footer span{flex-basis:100%}
.home-activity{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(200px,1fr);gap:clamp(18px,4vw,48px);margin-top:32px}
.home-activity .home-latest{margin:0;max-width:none;min-width:0}
.activity-rail{display:grid;gap:14px;align-content:start;min-width:0}
.activity-widget{padding:14px 16px;border:1px solid #e0e0dc;border-radius:12px;font-size:.87rem}
.activity-widget h2{margin-bottom:8px}.activity-widget p{margin:0}
.activity-topic,.activity-reply{display:flex;gap:8px;padding:6px 0}.activity-topic{justify-content:space-between}
.activity-reply{flex-direction:column;gap:1px}.activity-reply span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.activity-reply span,.activity-topic small{color:#646b73}
.activity-stats{display:flex;gap:6px 15px;flex-wrap:wrap}
[data-theme=dark] :is(.activity-widget,.community-footer){border-color:#555c67}
[data-theme=dark] :is(.community-footer,.activity-reply span,.activity-topic small){color:#c5c9d0}
@media(max-width:950px){.community-footer{margin:0 0 0 auto;border:0;padding:0;align-self:center}.community-footer a{padding:0}.community-footer span{display:none}}
@media(max-width:650px){.home-activity{grid-template-columns:1fr}.community-footer a:not(:last-of-type){display:none}}
.topic-tags{display:flex;flex-wrap:wrap;gap:5px 12px;margin:14px 0 22px;font-size:.79rem}
.topic-tags a{padding:2px 0;color:inherit}
.topic-tags a[aria-current]{font-weight:700;text-decoration:underline}
.community-topbar{border-bottom:1px solid #e0e0dc}
[data-theme=dark] .community-topbar{border-color:#555c67}
.community-topbar .community-search{flex:1 1 180px;max-width:360px;margin:4px 0;padding-block:0;box-shadow:none}
.community-topbar .community-search input{flex:1;min-width:0;font-size:.88rem}
.community-topbar .community-search button{font-size:.8rem}
@media(max-width:620px){.community-topbar nav{gap:5px 12px;padding-block:6px}.community-topbar .community-search{order:2;max-width:none;flex-basis:100%}}
.community-row-links{display:flex;align-items:center;gap:12px;margin-left:auto}
.community-row-links .appearance-settings{margin-left:0}
.community-new-post{position:relative}
.community-new-post summary{list-style:none;cursor:pointer;white-space:nowrap;padding:6px 11px;border-radius:6px;background:#8dc63f;color:#111;font-weight:700}
.community-new-post summary::-webkit-details-marker{display:none}
.community-compose-panel{position:absolute;z-index:9;top:calc(100% + 6px);left:0;width:min(310px,calc(100vw - 32px));padding:14px;background:#fff;border:1px solid #e0e0dc;border-radius:10px;box-shadow:0 5px 20px #0002}
.community-compose-panel select{display:block;width:100%;margin-top:4px;padding:6px;background:inherit;color:inherit;font:inherit;border:1px solid #888;border-radius:6px}
[data-theme=dark] .community-compose-panel{background:#20242b;border-color:#555c67}
.community-topbar .community-search{border:0;box-shadow:none;background:#f0f1f2}
.community-topbar .community-search:hover,.community-topbar .community-search:focus-within{background:#f7f8f9}
.community-topbar .community-search input:is(:hover,:focus,:active){border:0;outline:0;box-shadow:none}
[data-theme=dark] .community-topbar .community-search{background:#20242b}
[data-theme=dark] .community-topbar .community-search:is(:hover,:focus-within){background:#2a3039}
@media(max-width:620px){.community-new-post{position:static}.community-topbar nav{position:relative}.community-compose-panel{left:12px}}
:root[data-theme=dark]{background:#000}
[data-theme=dark] .community-topbar{background:#000}
.community-topbar{position:sticky;top:0;z-index:15;background:#fff}
[data-theme=dark] .community-topbar{background:#000}
.community-topbar :is(.community-compose-panel,.appearance-panel){max-height:60vh;overflow-y:auto}
.community-three-column{display:grid;grid-template-columns:230px minmax(0,1fr) minmax(220px,270px);align-items:start;gap:clamp(14px,2vw,28px);padding-right:clamp(14px,2vw,28px)}
.community-three-column>main.shell{display:block;width:min(100%,900px);min-width:0;margin:0 auto;padding:24px 0 56px}
.community-member-panel{align-self:stretch;background:#171717;color:#f5f5f5}
.community-member-links{display:block;width:auto;margin:0;padding:18px 14px 24px;font-size:13px}
.community-member-links a{display:flex;align-items:center;padding:12px;border-radius:5px;color:inherit;font-weight:500;line-height:1.35}
.community-member-links a:is(:hover,[aria-current=page]){background:#292929;color:#fff;text-decoration:none}
.community-member-links a[aria-current=page]{font-weight:700}
.community-member-label{display:block;margin:18px 12px 9px;color:#aaa;font-size:9px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}
.community-right-rail{padding-top:24px;min-width:0}
.community-right-rail .panel{padding:16px;margin:0 0 14px;border-radius:12px;font-size:.88rem;overflow-wrap:anywhere}
.community-right-rail .panel h2{font:650 1rem Switzer,Arial,sans-serif;margin:0 0 12px}
[data-theme=dark] .community-right-rail .panel{background:#171717;border-color:#000000}
@media(max-width:1100px){.community-three-column{grid-template-columns:200px minmax(0,1fr) 220px}.community-three-column .home-activity{grid-template-columns:1fr}}
@media(max-width:900px){.community-three-column{grid-template-columns:minmax(0,1fr);padding:0 16px;gap:0}.community-member-panel{margin:0 -16px}.community-member-links{display:flex;overflow-x:auto;white-space:nowrap;padding:4px 10px}.community-member-label{display:none}.community-right-rail{padding:0 0 24px}}
.community-member-panel{background:#fff;color:#222}
.community-member-links{font-size:.8125rem}
.community-member-label{font-size:.625rem;color:#666}
.community-member-links a:is(:hover,[aria-current=page]){background:#eee;color:#111}
[data-theme=dark] .community-member-panel{background:#171717;color:#f5f5f5}
[data-theme=dark] .community-member-label{color:#aaa}
[data-theme=dark] .community-member-links a:is(:hover,[aria-current=page]){background:#292929;color:#fff}
@media(min-width:901px){
 .community-three-column{min-height:calc(100dvh - var(--community-toolbar-height,64px))}
 .community-member-panel{position:sticky;top:var(--community-toolbar-height,64px);align-self:start;height:calc(100dvh - var(--community-toolbar-height,64px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
@media(min-width:901px){
 .community-right-rail{position:sticky;top:var(--community-toolbar-height,64px);align-self:start;max-height:calc(100dvh - var(--community-toolbar-height,64px));overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
.community-home{--ch-panel:#fff;--ch-edge:#e0e0dc;--ch-accent:#454a52}
[data-theme=dark] .community-home{--ch-panel:#171717;--ch-edge:#303030;--ch-accent:#d4d4d4}
.ch-welcome{background:var(--ch-panel);border:1px solid var(--ch-edge);border-radius:16px;padding:clamp(16px,3vw,30px)}
.ch-welcome h1{font:750 clamp(1.6rem,4vw,2.5rem)/1.12 Switzer,Arial,sans-serif;letter-spacing:-.04em}
.ch-kicker{color:var(--ch-accent);font-size:.7rem;font-weight:800;letter-spacing:.12em}
.ch-actions,.ch-post-meta,.ch-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ch-actions a{font-size:.85rem;font-weight:700;color:var(--ch-accent)}
.ch-starters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 25px}
.ch-starters a,.ch-post{background:var(--ch-panel);border:1px solid var(--ch-edge);border-radius:12px;padding:12px}
.ch-starters small{display:block;color:var(--ch-accent);margin-bottom:5px;font-size:.73rem}
.ch-starters strong{font-size:.9rem;line-height:1.3;display:block}
.ch-section{margin:26px 0}.ch-section h2{font:700 1.05rem Switzer,Arial,sans-serif}
.ch-heading{justify-content:space-between;margin-bottom:12px}.ch-heading h2{margin:0}.ch-heading>a,.ch-post-counts{font-size:.8rem;color:var(--ch-accent)}
.ch-post{padding:14px}.ch-post-meta{justify-content:space-between;font-size:.8rem}
.ch-post .ch-post-body{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;margin:10px 0;font-size:.92rem}
.ch-replies{border-top:1px solid var(--ch-edge);padding-top:16px}
#home-topics,#home-latest-heading{scroll-margin-top:calc(var(--community-toolbar-height,64px) + 12px)}
@media(max-width:520px){.ch-starters{grid-template-columns:1fr}.ch-starters a{padding:9px 12px}}
.community-member-panel{background:#f2f3f5}
.community-right-rail .community-mini-profile{padding:12px 14px}
.community-mini-profile .avatar{width:30px;height:30px}
.community-mini-stats{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:8px;font-size:.76rem}
img.avatar{display:block;object-fit:cover;border-radius:50%;aspect-ratio:1}
.profile-photo-control{flex:none}
.profile-photo-control form{margin:0}
.profile-photo-picker{position:relative;display:block;width:64px;height:64px;margin:0;border-radius:50%;overflow:hidden;cursor:pointer}
.profile-photo-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.profile-photo-hint{position:absolute;inset:0;display:grid;place-items:center;padding:5px;text-align:center;background:#000b;color:#fff;font-size:10px;font-weight:700;line-height:1.15;opacity:0}
.profile-photo-picker:is(:hover,:focus-within) .profile-photo-hint{opacity:1}
.profile-photo-picker:focus-within{outline:2px solid #8dc63f;outline-offset:3px}
@media(hover:none){.profile-photo-hint{inset:auto 0 0;opacity:1}}
.ch-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ch-post-grid .ch-post{min-width:0;margin:0}
@media(max-width:560px){.ch-post-grid{grid-template-columns:minmax(0,1fr)}}
.community-topbar a:is(:hover,:focus-visible),
.community-three-column a:is(:hover,:focus-visible,[aria-current=page]){text-decoration:none}
.community-three-column a:focus-visible,.community-topbar a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.ch-home-composer{padding:14px}
.ch-home-composer form{margin:0}
.ch-compose-input,.ch-compose-actions{display:flex;align-items:center;gap:10px}
.ch-compose-input textarea,.ch-compose-guest{min-height:42px;margin:0;padding:10px 15px;border:0;border-radius:20px;background:#f1f2f4;color:inherit}
.ch-compose-input textarea:focus{min-height:90px}
.ch-compose-guest{display:block}
.ch-compose-actions{justify-content:space-between;margin-top:10px}
.ch-compose-actions select{max-width:70%;padding:6px;font:inherit;color:inherit;background:var(--ch-panel);border:1px solid var(--ch-edge);border-radius:6px}
[data-theme=dark] .ch-home-composer :is(textarea,.ch-compose-guest){background:#262626}
.community-home{--ch-card-hover:#f3f3f3}
[data-theme=dark] .community-home{--ch-card-hover:#101010}
@media(hover:hover){
 .community-home :is(.ch-post,.ch-starters a,.topic-grid a):hover{background:var(--ch-card-hover)}
}
.community-three-column,.community-home{--community-toolbar-height:0px}
.community-member-links .community-sidebar-brand{font-weight:800;font-size:1rem}
.community-right-rail .community-row-links{margin:0 0 10px;justify-content:flex-end;font-size:.84rem}
.adhc-navline .community-search{flex:0 1 270px;min-width:120px;margin:0;padding-block:0;border:0;box-shadow:none;background:#f0f1f2}
.adhc-navline .community-search:is(:hover,:focus-within){background:#f7f8f9}
.adhc-navline .community-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#111;font-size:.86rem}
.adhc-navline .community-search button{color:#111;font-size:.8rem}
@media(max-width:680px){.adhc-navline:has(.community-nav-brand){flex-wrap:wrap}.adhc-navline .community-search{order:3;flex-basis:100%;max-width:none}}
@media (hover:hover){
 .community-three-column article:is(.discussion,.ch-post):hover{background:#f3f3f3}
 [data-theme=dark] .community-three-column article:is(.discussion,.ch-post):hover{background:#101010}
}
.community-member-panel{background:transparent}
.community-member-panel .community-mini-profile{margin:12px 14px 0;padding:12px;border-radius:12px}
.community-member-panel .community-mini-profile .author{overflow-wrap:anywhere}
[data-theme=dark] .community-member-panel .community-mini-profile{border-color:#303030}
@media(min-width:960px){
 .adhc-navline:has(.community-nav-brand){position:relative}
 .adhc-navline .community-search{position:absolute;left:50%;transform:translateX(-50%);width:min(30%,320px)}
 .adhc-navline:has(.community-nav-brand) .adhc-account{margin-left:0}
}
@media(max-width:959px){
 .adhc-navline:has(.community-nav-brand){flex-wrap:wrap}
 .adhc-navline .community-search{order:3;flex:0 0 min(100%,320px);margin-inline:auto}
 .adhc-navline:has(.community-nav-brand)::after{content:"";flex-basis:100%;order:2;height:0}
}
:root:not([data-theme=dark]) .community-three-column article:is(.discussion,.ch-post){border:0;background:#f3f3f3}
@media(hover:hover){
 :root:not([data-theme=dark]) .community-three-column article:is(.discussion,.ch-post):hover{background:#eaeaea}
}
.adhc-navframe:has(.community-nav-brand){position:sticky;top:0;z-index:30}
.adhc-navline>.community-row-links{margin:0;gap:8px;font-size:.82rem;white-space:nowrap}
.adhc-navline>.community-row-links .appearance-panel{color:#171717;background:#fff;white-space:normal}
.adhc-navline .community-navbar-info-panel{width:min(295px,calc(100vw - 32px));max-height:65dvh;overflow:auto}
.community-navbar-info-panel .panel{padding:8px;margin:0;border:0}
.community-navbar-info-panel .panel h2{font:700 .95rem Switzer,Arial,sans-serif}
.community-three-column article:is(.discussion,.ch-post){border:1px solid #ddd}
:root:not([data-theme=dark]) .community-three-column article:is(.discussion,.ch-post){border:1px solid #ddd}
[data-theme=dark] .community-three-column article:is(.discussion,.ch-post){border-color:#383838}
.community-three-column,.community-home{--community-toolbar-height:var(--community-navbar-height,64px)}
@media(min-width:901px){.community-three-column{grid-template-columns:230px minmax(0,1fr)}}
@media(min-width:960px) and (max-width:1250px){
 .adhc-navline .community-search{width:min(23%,260px);left:43%}
}
@media(max-width:959px){.adhc-navline>.community-row-links{margin-left:auto}}
@media(min-width:901px){
 .community-three-column{grid-template-columns:230px minmax(0,1fr) minmax(220px,270px)}
}
@media(min-width:960px){
 .adhc-navline:has(.community-nav-brand) .adhc-wordmark{margin-right:0}
 .adhc-navline .community-search{position:static;transform:none;width:auto;flex:0 1 270px;margin:0 auto 0 0}
}
@media(min-width:901px) and (max-width:1100px){
 .community-three-column{grid-template-columns:200px minmax(0,1fr) 220px}
}

.adhc-navframe{font-family:Switzer, sans-serif}
select{font-family:inherit}

/* Community surfaces and interaction states */
:root{--social-canvas:#f0f1f2;--social-surface:#fff;--social-line:#e2e4e7;--social-ink:#202124;--social-muted:#5b6067;--social-tint:#eceef0;--social-hover:#eceef0;--social-accent:#363b42;background:var(--social-canvas)}
:root[data-theme=dark]{--social-canvas:#000;--social-surface:#151515;--social-line:#303030;--social-ink:#f1f1f1;--social-muted:#b7b7b7;--social-tint:#262626;--social-hover:#101010;--social-accent:#dedede}
.community-three-column{color:var(--social-ink);max-width:1600px;margin-inline:auto}
.community-three-column>main.shell{padding-top:24px}
.community-feed-intro{margin-bottom:18px}
.community-feed-intro>span{color:var(--social-accent);font-size:.7rem;font-weight:700;letter-spacing:.15em}
.community-feed-intro h1{font-size:clamp(1.8rem,4vw,2.65rem);font-weight:700;letter-spacing:-.045em;margin:4px 0}
.community-feed-intro p{margin:0;color:var(--social-muted);font-size:.9rem}
.community-three-column .muted,.community-three-column .meta{color:var(--social-muted)}
.community-three-column .panel,.community-three-column .ch-welcome,.community-three-column article:is(.discussion,.ch-post),.community-three-column .ch-starters a,.community-three-column .topic-grid a{
 background:var(--social-surface);border:1px solid var(--social-line);border-radius:12px
}
:root:not([data-theme=dark]) .community-three-column article:is(.discussion,.ch-post),
[data-theme=dark] .community-three-column article:is(.discussion,.ch-post){background:var(--social-surface);border-color:var(--social-line)}
.community-three-column article:is(.discussion,.ch-post),.community-three-column .topic-grid a,.community-three-column .ch-starters a{transition:background-color .16s ease,border-color .16s ease}
@media(hover:hover){
 :root:not([data-theme=dark]) .community-three-column article:is(.discussion,.ch-post):hover,
 [data-theme=dark] .community-three-column article:is(.discussion,.ch-post):hover,
 .community-three-column .topic-grid a:hover,.community-three-column .ch-starters a:hover{background:var(--social-hover)}
}
.community-three-column .ch-starters{grid-template-columns:repeat(2,minmax(0,1fr))}
.community-three-column .ch-starters a{border-left:3px solid var(--social-line)}
.ch-section{margin-block:30px}
.ch-section h2,.community-right-rail .panel h2{font-weight:700;letter-spacing:-.02em}
.community-three-column .ch-post{display:flex;flex-direction:column;gap:8px;padding:15px}
.ch-post-meta>a:not(.author){background:var(--social-tint);color:var(--social-accent);border-radius:20px;padding:3px 8px}
.ch-post .ch-post-counts{margin-top:auto;padding-top:8px;border-top:1px solid var(--social-line);color:var(--social-muted)}
.community-post-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;border-top:1px solid var(--social-line);padding-top:9px;margin-top:14px;font-size:.83rem}
.community-post-actions form{margin:0}
.community-post-actions :is(a,button){display:inline-block;border-radius:6px;padding:4px 8px;background:var(--social-tint);color:var(--social-accent)}
.community-three-column .topic-tags a{padding:3px 8px;border-radius:20px;background:var(--social-tint);color:var(--social-accent)}
.community-three-column .profile-header{padding:16px;border:1px solid var(--social-line);border-radius:12px;background:var(--social-surface)}
.community-three-column input:not([type=file]),.community-three-column textarea,.community-three-column select{background:var(--social-canvas);color:var(--social-ink);border-color:var(--social-line)}
.community-three-column :is(input,textarea,select):focus-visible{outline:2px solid var(--social-accent);outline-offset:2px}
.community-member-links a[aria-current=page]{background:var(--social-tint);color:var(--social-accent)}
.community-right-rail .contributor{padding:6px 0;margin:0}
.community-three-column .author{overflow-wrap:anywhere}
.community-three-column .body,.community-three-column .ch-post-body{overflow-wrap:anywhere}
@media(max-width:520px){.community-three-column .ch-starters{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.community-three-column *{transition:none}}
@media(hover:hover){
 :root:not([data-theme=dark]) .community-three-column article:is(.discussion,.ch-post):hover,
 :root[data-theme=dark] .community-three-column article:is(.discussion,.ch-post):hover{background:var(--social-surface)}
}
:root:not([data-theme=dark]) .community-three-column{max-width:none;margin-inline:0}
:root:not([data-theme=dark]) .community-member-panel{background:#fff}
:root:not([data-theme=dark]) .community-three-column :is(.panel,.ch-welcome,.ch-starters a,.topic-grid a,.profile-header),
:root:not([data-theme=dark]) .community-three-column article:is(.discussion,.ch-post){border:0}

.community-three-column{width:100%;max-width:none;margin:0;padding-left:0}
@media(max-width:900px){
 .community-three-column{padding-inline:0}
 .community-three-column>.community-member-panel{margin-inline:0}
 .community-three-column>main.shell,.community-three-column>.community-right-rail{width:calc(100% - 32px);margin-inline:auto}
}
body:has(>.adhc-navframe .community-nav-brand){padding-top:var(--community-navbar-height,64px)}
.adhc-navframe:has(.community-nav-brand){position:fixed;inset:0 0 auto;z-index:30}
html{scroll-padding-top:var(--community-navbar-height,64px)}
@media(max-width:900px){
 :root{font-size:14px}
 body:has(>.adhc-navframe .community-nav-brand){padding-top:var(--community-navbar-height,110px)}
 .adhc-navline:has(.community-nav-brand){gap:6px 10px;padding:7px 12px}
 .adhc-navline:has(.community-nav-brand)::after{display:none}
 .adhc-navline .community-search{order:4;flex:1 0 100%;max-width:none;min-width:0;margin:0}
 .adhc-navline>.community-row-links{order:3;margin-left:auto}
 .adhc-navline>.community-row-links .appearance-panel{right:0}
 .community-three-column>main.shell{padding-top:16px}
 .community-member-links{font-size:.82rem}
 .community-member-links a{padding:8px 10px}
 .community-three-column .discussion,.community-three-column .ch-post{padding:12px}
 .community-right-rail{position:static}
}
@media(max-width:600px){
 .community-home .ch-post-grid,.community-home .ch-starters{grid-template-columns:minmax(0,1fr)}
 .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .topic-grid a{padding:8px;min-height:0}
 .topic-grid a span:first-child{min-width:0;overflow-wrap:anywhere}
 .adhc-navline>.community-row-links{width:100%;justify-content:flex-end}
}
.community-member-links a{gap:9px}.community-sidebar-icon{width:16px;height:16px;flex:0 0 16px}
@media(min-width:1101px){.community-three-column{grid-template-columns:280px minmax(0,1fr) minmax(220px,270px)}}
@media(min-width:901px) and (max-width:1100px){.community-three-column{grid-template-columns:240px minmax(0,1fr) 220px}}
.community-mobile-toggle{display:none}
@media(max-width:900px){
 .community-mobile-toggle:not([hidden]){display:block;justify-self:start;margin:8px 16px;padding:8px 12px;background:var(--social-surface);color:var(--social-ink);font-size:.85rem}
 .community-mobile-toggle[aria-expanded=false]:not([hidden]) + .community-member-panel{display:none}
 .community-mobile-toggle:not([hidden]) + .community-member-panel .community-member-links{display:block}
}
.community-rail-list{list-style:none;margin:0;padding:0}
.community-rail-list li+li{border-top:1px solid var(--social-line)}
.community-rail-list a{display:flex;align-items:center;gap:8px;padding:7px 0}
.community-rail-list a span:last-child{margin-left:auto;color:var(--social-muted)}
.community-rail-more{display:inline-block;margin-top:8px;font-weight:600}
.community-right-rail .community-row-links{justify-content:space-between;margin:0 0 14px}
.community-right-rail .community-mini-profile{margin-bottom:8px}
.community-right-rail .appearance-panel{max-width:100%}
.community-three-column article:is(.discussion,.ch-post){box-shadow:0 3px 10px #18202c14,0 1px 2px #18202c0d}
[data-theme=dark] .community-three-column article:is(.discussion,.ch-post){box-shadow:0 4px 14px #0009}
:root .community-home .topic-grid a{background:var(--social-surface);border:1px solid var(--social-line);border-radius:8px;box-shadow:none}
:root .community-home .topic-grid a:is(:hover,:focus-visible){background:var(--social-surface);border-color:var(--social-muted)}
.community-home .topic-grid .topic-arrow{color:var(--social-muted)}

.community-member-links a{font-size:1rem}
.community-member-links .community-sidebar-brand{font-size:1.125rem}
.adhc-navline:has(.community-nav-brand) .adhc-wordmark{margin-right:0}
.adhc-navline .community-nav-brand{margin-right:auto;font-weight:700;font-size:.9rem}
.adhc-navline:has(.community-nav-brand)::after{display:none}
.community-member-links .community-search{width:100%;margin:0 0 12px;padding:0 4px 0 10px;box-shadow:none;background:var(--social-tint);border:0}
.community-member-links .community-search input{min-width:0;flex:1;border:0;background:transparent;color:var(--social-ink);font-size:.85rem}
.community-member-links .community-search button{font-size:.75rem;padding-inline:8px;color:var(--social-ink)}
.community-sidebar-groups { white-space: normal; }
.community-sidebar-groups h2 {
  margin: 0;
  padding: 5px 12px;
  font-size: .75rem;
  color: var(--social-muted);
}
.community-member-links .community-sidebar-groups a {
  padding-block: 6px;
  font-size: .8125rem;
}

button.adhc-primary{font-size:15px;line-height:1.3}
@media(max-width:450px){button.adhc-primary{font-size:14px}}

.feed .ch-home-composer{margin-bottom:16px;--ch-panel:var(--social-surface);--ch-edge:var(--social-line)}
.community-post-time{margin-left:auto;text-align:right;color:var(--social-muted);font-size:.75rem}
.ch-post-footer{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;margin-top:auto;padding-top:8px;border-top:1px solid var(--social-line)}
.ch-post-footer .ch-post-counts{margin:0;padding:0;border:0}
.community-three-column .community-reply-card{margin-left:12%;background:var(--social-surface);border-color:var(--social-line);box-shadow:0 3px 10px #18202c14,0 1px 2px #18202c0d}
:root:not([data-theme=dark]) .community-three-column .community-reply-card{border:0}
[data-theme=dark] .community-three-column .community-reply-card{box-shadow:0 4px 14px #0009}
.community-three-column .community-reply-card{
 padding:9px 12px;
 margin-bottom:8px;
 border-radius:6px;
 font-size:inherit;
}
:root .community-three-column .community-reply-card{
 border-inline-start:2px solid var(--social-line);
}
.community-reply-card .body{overflow-wrap:anywhere}
.community-reply-card .body{margin:4px 0 0;line-height:1.45}

.community-youtube{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:8px;background:#111;margin:8px 0}
.community-three-column a.community-site-link{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

.ch-post .ch-post-body:has(.community-site-link){display:block;overflow:visible}

.inline-comments:not([hidden]){margin:0 0 18px;background:transparent}
#post-comments{background:transparent}
.ch-compose-actions{flex-wrap:wrap}
.community-news-title-field{display:none;flex-basis:100%;margin:0}
form:has(select[name=post_type] option[value=news]:checked) .community-news-title-field{display:block}
.community-news-headline{margin:4px 0;color:#000;font-size:1.1rem;font-weight:750;overflow-wrap:anywhere}
[data-theme=dark] .community-news-headline{color:#fff}

.community-home [aria-labelledby="home-latest-heading"] .ch-post-grid{grid-template-columns:minmax(0,1fr)}

.community-news-stack{display:flex;flex-direction:column;gap:12px}
.community-news-stack>.ch-post{width:100%;margin:0}
.community-video-carousel{display:flex;gap:12px;list-style:none;margin:0;padding:0 0 10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.community-video-carousel li{flex:0 0 min(82%,300px);min-width:0;scroll-snap-align:start;border-radius:12px;background:var(--social-surface);padding:8px}
.community-video-carousel .community-youtube{margin:0 0 6px}
.community-video-carousel a{display:block;padding:2px 4px;font-size:.82rem;overflow-wrap:anywhere}
.community-video-carousel:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.community-news-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.community-news-stack>.ch-post{min-width:0}
.community-news-stack .ch-post .ch-post-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:10;overflow:hidden}
@media(max-width:600px){.community-news-stack{grid-template-columns:minmax(0,1fr)}}
.community-like form{margin:0}
.community-like :is(button,a){display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;background:var(--social-tint);color:var(--social-accent);font-size:.8rem}
.community-like button:disabled{opacity:.65}

/* Let each member post stack at its natural height. */
#community-member-feed>.ch-post{break-inside:avoid;margin:0 0 12px}

#community-member-feed .ch-post-body {
  display: block;
  overflow: visible;
}
#community-member-feed .ch-post-body[data-collapsed] {
  max-height: 6lh;
  overflow: hidden;
}
#community-member-feed .ch-read-more {
  border: 0;
  padding: 0;
  margin: 0 0 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.post-management{display:flex;align-items:start;gap:.65rem;justify-content:flex-end;font-size:.85rem;margin-block:.35rem}
.post-management summary{cursor:pointer}
.post-management a,.post-management summary,.post-management button{color:inherit}
.post-management form{margin:.3rem 0}
.post-mod-menu>summary{list-style:none;font-weight:700;text-align:right;padding:.15rem .45rem}
.post-mod-menu>summary::-webkit-details-marker{display:none}
.post-mod-menu[open]{padding:.35rem .55rem;border-radius:.5rem;box-shadow:0 2px 8px #0002}
.post-management button{background:transparent;border:0;padding:.25rem 0;text-align:left;font:inherit;cursor:pointer}
.post-delete form button{color:#c53737;font-weight:700}
.post-edit-form{scroll-margin-top:7rem;margin:1rem 0}
.post-edit-form textarea,.post-edit-form input{display:block;width:100%;margin:.35rem 0 .65rem}
.post-pin-label{font-size:.8rem;font-weight:700}

.community-profile-backdrop-page {
  isolation: isolate;
}
.community-profile-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.community-profile-backdrop img {
  position: absolute;
  top: 0;
  left: 0;
  width: 800px;
  height: 800px;
  max-width: none;
  object-fit: fill;
  filter: blur(110px);
  opacity: .6;
}
:root[data-theme=dark] .community-profile-backdrop img {
  opacity: .4;
}

#community-member-feed > .community-post-thread {
  break-inside: avoid;
  margin-bottom: 12px;
}
.community-post-thread { min-width: 0; }
.community-post-thread > .ch-post { width: 100%; margin: 0; }
.community-card-replies { margin: 8px 0 14px; }
.community-reply-composer > summary,
.community-older-replies > summary {
  cursor: pointer;
  color: var(--social-accent);
  font-size: .85rem;
}
.community-reply-composer { margin: 0 0 8px 5%; }
.community-reply-fields { padding-block: 8px; }
.community-reply-fields textarea { display: block; width: 100%; margin: 5px 0 8px; }
@media (prefers-reduced-motion: no-preference) {
  .community-reply-composer[open] > .community-reply-fields {
    animation: community-reply-open .22s ease-out;
  }
}
@keyframes community-reply-open {
  from { clip-path: inset(0 0 100% 0); transform: translateY(-6px); opacity: 0; }
  to { clip-path: inset(0); transform: translateY(0); opacity: 1; }
}

.community-right-rail .community-row-links {
  position: relative;
}
.community-right-rail .appearance-settings {
  position: static;
}
.community-right-rail .appearance-panel {
  box-sizing: border-box;
  inset-inline: auto 0;
  width: min(250px, 100%);
  max-height: min(420px, 55dvh);
  overflow-y: auto;
}

.community-post-thread button.ch-post-counts {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.post-mod-menu { position: relative; }
.post-mod-menu[open] { padding: 0; box-shadow: none; }
.post-mod-menu > summary {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border-radius: 6px;
  line-height: 1;
}
.post-mod-menu > summary:hover,
.post-mod-menu[open] > summary { background: var(--social-tint); }
.post-mod-popover {
  position: absolute;
  z-index: 12;
  top: calc(100% + 4px);
  right: 0;
  width: 150px;
  padding: 5px;
  border: 1px solid var(--social-line);
  border-radius: 9px;
  background: var(--social-surface);
  color: var(--social-ink);
  box-shadow: 0 8px 24px #0003;
}
.post-mod-popover :is(a, button, .post-delete > summary) {
  display: block;
  width: 100%;
  padding: 7px 9px;
  border-radius: 5px;
  box-sizing: border-box;
}
.post-mod-popover .post-delete > summary { list-style: none; }
.post-mod-popover .post-delete > summary::-webkit-details-marker { display: none; }
.post-mod-popover :is(a, button:enabled, summary):hover { background: var(--social-tint); }
.post-mod-popover form { margin: 0; }
.post-mod-popover .post-delete p,
.post-mod-popover small { display: block; margin: 6px 9px; }

/* Keep the space between the trigger and dropdown inside the hover area. */
.post-mod-popover::before {
  content: "";
  position: absolute;
  inset: -5px 0 auto;
  height: 5px;
}

.community-feed-tabs { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-block: 1rem; }
.community-feed-tabs > a { color: var(--social-accent); padding: .4rem .65rem; }
.community-feed-tabs > a[aria-current="page"] { background: var(--social-tint); border-radius: 6px; font-weight: 700; }
.community-feed-tabs form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0; }
.ch-post-footer { flex-wrap: wrap; }
.ch-post-footer form { margin: 0; }

.community-right-rail .community-notification-bell {
  position: relative; display: inline-grid; place-items: center;
  width: 28px; height: 32px; flex-shrink: 0; margin-inline-start: auto;
}
.community-right-rail .community-notification-bell + .appearance-settings { margin-left: 0; }
.community-notification-bell > span {
  position: absolute; top: 0; right: -5px; min-width: 17px; height: 17px;
  box-sizing: border-box; padding: 0 3px; border-radius: 999px;
  display: grid; place-items: center; background: #c51d35; color: #fff;
  font: 700 10px/1 system-ui, sans-serif;
}
.community-notice-list { list-style: none; padding: 0; }
.community-notice-list button { width: 100%; text-align: start; }
.community-notice-list button small { display: block; }
.community-notice-unread { font-weight: 700; }

.community-three-column .community-reply-card.reply-depth-1 { margin-left: 22%; }
.community-three-column .community-reply-card.reply-depth-2 { margin-left: 32%; }
.community-three-column .community-reply-card.reply-depth-3 { margin-left: 42%; }
.community-three-column .community-reply-card.reply-depth-4 { margin-left: 52%; }

/* Keep community controls separate from the shared site navbar. */
.community-three-column :is(button, a.adhc-primary, .community-like > a),
.community-three-column .community-reply-composer > summary {
  background: #8dc63f;
  color: #17200e;
  font-size: .78rem;
  line-height: 1.3;
  border-radius: 6px;
}
.community-three-column .community-reply-composer > summary {
  width: fit-content;
  padding: 4px 8px;
}
.community-three-column :is(button:enabled, a.adhc-primary, .community-like > a):hover,
.community-three-column .community-reply-composer > summary:hover {
  background: #9ad24c;
  color: #17200e;
}
.community-three-column > main.shell:not(.community-home) :is(.body, .preview, .group-post-link) {
  font-size: .92em;
}

.ch-post-meta { align-items: flex-start; flex-wrap: nowrap; }
.ch-post-byline { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.ch-post-byline .author { font-size: 1rem; overflow-wrap: anywhere; }
.ch-post-byline > a:not(.author) {
  margin-inline-start: 40px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--social-tint);
  color: var(--social-accent);
}
.ch-post-meta .post-management { margin: 0 0 0 auto; flex: none; }
.ch-post-footer { align-items: center; }
.community-three-column .ch-post-footer button,
.community-three-column .ch-post-footer .community-like > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  min-height: 28px;
  border: 0;
  background: #8dc63f;
  color: #17200e;
  font-size: .78rem;
  line-height: 1.3;
}
.community-three-column .ch-post-footer button:enabled:hover { background: #9ad24c; }
.community-post-thread > .community-card-replies > .community-reply-composer > summary { display: none; }

@media (max-width: 900px) {
  body:has(> .adhc-navframe),
  body:has(> .adhc-navframe .community-nav-brand) {
    padding-top: 0;
  }
  body > .adhc-navframe,
  body > .adhc-navframe:has(.community-nav-brand) {
    display: none;
  }
}

.community-mobile-bar { display: none; }
@media (max-width: 900px) {
  .community-mobile-bar {
    display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 40;
    padding: 6px 12px; background: transparent; color: var(--social-ink);
  }
  .community-mobile-bar .community-mobile-toggle:not([hidden]) {
    margin: 0; padding: 0; width: 36px; height: 36px;
    background: transparent; color: inherit; font-size: 1.15rem;
  }
  .community-mobile-logo { font-size: 1.45rem; font-weight: 900; letter-spacing: -.065em; }
  .community-mobile-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .community-mobile-actions > a { display: grid; place-items: center; position: relative; width: 36px; height: 36px; }
  .community-mobile-actions .community-notification-bell > span { right: -1px; }
  .community-mobile-actions .avatar { width: 30px; height: 30px; margin: 0; border-radius: 50%; }
  .community-mobile-actions .appearance-settings { position: static; margin: 0; }
  .community-mobile-actions .appearance-settings summary { width: 36px; height: 36px; }
  .community-mobile-actions .appearance-panel { right: 12px; max-height: 65dvh; overflow-y: auto; }
  .community-mobile-bar:has(.community-mobile-toggle:not([hidden])):not(.community-menu-open) + .community-member-panel { display: none; }
  .community-mobile-bar.community-menu-open + .community-member-panel .community-member-links { display: block; }
}

@media (max-width: 900px) {
  .community-mobile-bar .community-mobile-toggle:not([hidden]),
  .community-mobile-actions > .community-notification-bell,
  .community-mobile-actions > .appearance-settings > summary {
    background: #fff;
    color: #17200e;
    border-radius: 8px;
  }
}

@media (max-width: 900px) {
  .community-right-rail .community-row-links > .community-notification-bell { display: none; }
  .community-mobile-notifications > summary {
    display: grid; place-items: center; position: relative;
    width: 36px; height: 36px; cursor: pointer; list-style: none;
    border-radius: 8px; background: #fff; color: #17200e;
  }
  .community-mobile-notifications > summary::-webkit-details-marker { display: none; }
  .community-mobile-bar .community-mobile-toggle:not([hidden]),
  .community-mobile-actions > details > summary {
    box-shadow: 0 2px 8px #0002;
  }
  .community-mobile-notice-panel { width: min(300px, calc(100vw - 24px)); }
  .community-mobile-notice-panel a { text-decoration: underline; }
}

@media (max-width: 900px) {
  .community-mobile-profile-panel a {
    display: block;
    padding: 8px;
    border-radius: 6px;
  }
  .community-mobile-profile-panel a:is(:hover, :focus-visible) {
    background: var(--social-tint);
  }
}

.community-notice-list .community-notice-read {
  background: var(--social-tint);
  color: var(--social-muted);
  font-weight: 400;
}

@media (max-width: 900px) {
  .community-mobile-actions > details.community-mobile-profile > summary {
    padding: 0;
    overflow: hidden;
  }
  .community-mobile-actions > details.community-mobile-profile > summary > .avatar {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
  }
}

@media (min-width: 901px) {
  .community-right-rail .community-row-links { gap: 6px; flex-wrap: wrap; }
  .community-right-rail .community-row-links > a.community-notification-bell[hidden] { display: none; }
  .community-right-rail .community-row-links > details > summary {
    display: grid; place-items: center; position: relative; list-style: none;
    width: 36px; height: 36px; cursor: pointer; border-radius: 8px;
    background: var(--social-surface); box-shadow: 0 2px 8px #0002;
  }
  .community-right-rail .community-row-links > details > summary::-webkit-details-marker { display: none; }
  .community-right-rail .community-mobile-profile .avatar { width: 36px; height: 36px; margin: 0; border-radius: 8px; object-fit: cover; }
  .community-right-rail .community-mobile-profile-panel a { display: block; padding: 8px; }
  .community-right-rail .community-row-links > details > .appearance-panel {
    opacity: 1; transition: opacity 160ms ease;
  }
  .community-right-rail .community-row-links > .community-menu-fading > .appearance-panel { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .community-right-rail .community-row-links > details > .appearance-panel { transition: none; }
}

.community-post-photo-input { display: grid; gap: 4px; min-width: 0; font-size: .85rem; }
.community-post-photo-input input { max-width: 100%; }
.community-post-photo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  margin-block: 10px;
  border-radius: 8px;
  object-fit: contain;
}

.community-compose-box {
  padding: 8px;
  border: 1px solid var(--social-line);
  border-radius: 12px;
  background: var(--social-canvas);
}
.community-compose-box .ch-compose-input { margin: 0; }
.community-compose-box textarea { width: 100%; background: transparent; }
.community-compose-tools {
  display: flex;
  align-items: end;
  gap: 8px;
  padding-top: 8px;
}
.community-compose-tools .community-post-photo-input { flex: 0 1 230px; }
.community-compose-tools button { margin-inline-start: auto; flex: none; }

.community-compose-tools .community-publish-category {
  margin-inline-start: auto;
  min-width: 0;
  max-width: 55%;
}
.community-compose-tools .community-publish-category[hidden] { display: none; }
.community-compose-tools .community-publish-fading {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
.community-compose-tools { position: relative; }
.community-compose-tools .community-publish-fading { right: 0; bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .community-compose-tools .community-publish-fading { transition: none; }
}

.community-post-photo-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 6px;
  cursor: pointer;
}
.community-post-photo-icon input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.community-post-photo-icon:focus-within { outline: 2px solid var(--social-accent); }
.community-post-photo-icon:hover { background: var(--social-tint); }
.community-compose-tools select[name="post_type"] { margin-inline-start: auto; }
.community-compose-tools select[name="post_type"] ~ :is(button, .community-publish-category) { margin-inline-start: 0; }

:root .community-three-column .ch-home-composer.ch-welcome {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.community-compose-box {
  padding: 12px;
  border: 0;
  background: var(--social-surface);
  transition: background-color .15s ease;
}
.community-three-column .community-compose-box textarea,
:root[data-theme=dark] .community-three-column .community-compose-box textarea {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}
.community-three-column .community-compose-box textarea:focus-visible {
  outline: none;
}
.community-compose-box .ch-compose-input { align-items: flex-start; }
.community-compose-box .ch-compose-input > .avatar { margin-top: 4px; }
.community-compose-box + .ch-compose-actions:empty { display: none; }

.community-compose-box {
  display: grid;
  box-shadow: 0 3px 12px #0002;
}
.community-compose-box > :is(.ch-compose-input, textarea, .community-compose-tools) {
  grid-area: 1 / 1;
  min-width: 0;
}
.community-compose-box > .ch-compose-input { align-self: stretch; }
.community-three-column .community-compose-box textarea,
.community-three-column .community-compose-box textarea:focus {
  align-self: stretch;
  min-height: 94px;
  padding-bottom: 50px;
  resize: none;
}
.community-compose-box > .community-compose-tools {
  align-self: end;
  z-index: 1;
  padding-top: 0;
  pointer-events: none;
}
.community-compose-box > .community-compose-tools > * { pointer-events: auto; }

.community-compose-tools > .community-post-photo-icon {
  margin-inline-start: auto;
}
.community-compose-tools > select[name="post_type"] + .community-post-photo-icon,
.community-compose-tools > .community-post-photo-icon ~ :is(button, .community-publish-category) {
  margin-inline-start: 0;
}

.community-compose-title:empty { display: none; }
.community-compose-title label,
.community-group-picker { display: grid; gap: 4px; font-size: .85rem; }
.community-compose-title { margin-bottom: 8px; }
.community-compose-title input { width: 100%; }
.community-group-picker { margin-top: 8px; }
.community-compose-tools .community-publish-trigger {
  white-space: normal;
  overflow-wrap: anywhere;
  min-width: 0;
  flex: 0 1 auto;
}

.community-compose-box.community-compose-unified { display: block; }
.community-compose-unified > :is(.ch-compose-input, .community-compose-tools) {
  grid-area: auto;
}
.community-three-column .community-compose-unified textarea,
.community-three-column .community-compose-unified textarea:focus {
  min-height: 72px;
  padding-bottom: 10px;
}
.community-compose-unified .ch-compose-actions { margin: 0; }
.community-compose-unified .community-group-picker { width: 100%; }

.community-compose-unified .community-compose-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
}
.community-compose-unified .community-compose-title label { flex: 1; min-width: 0; }
.community-three-column .community-compose-unified .community-compose-title input {
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-weight: 700;
}
.community-compose-unified .community-compose-tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.community-compose-unified .community-group-picker {
  width: auto;
  flex: 1 1 105px;
  min-width: 0;
  margin: 0;
}
.community-compose-unified .community-publish-category {
  width: 100%;
  max-width: none;
  margin: 0;
}

.community-news-stack > .ch-post {
  display: flex;
  flex-direction: column;
  height: 300px;
  max-height: 300px;
  box-sizing: border-box;
}
.community-news-stack > .ch-post > :not(.community-news-scroll) { flex: none; }
.community-news-stack .community-news-headline {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.community-news-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.community-news-stack .ch-post .community-news-scroll .ch-post-body {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.community-news-reply-link { font-size: .78rem; }

.community-question-page :is(.community-question-compose, .community-question-poll) {
  margin-block: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--social-surface);
}
.community-question-page :is(.community-question-compose, .community-poll-option) > summary { cursor: pointer; font-weight: 650; }
.community-question-compose label { display: grid; gap: 5px; margin-block: 10px; }
.community-question-compose :is(input, textarea) { width: 100%; }
.community-question-card h2 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.community-question-card p { margin: 6px 0 0; }
.community-question-poll table { width: 100%; border-collapse: collapse; text-align: left; }
.community-question-poll :is(th, td) { padding: 6px; border-bottom: 1px solid var(--social-line); }
.community-question-poll form { margin: 0; }
.community-three-column > .community-question-page button,
.community-three-column > .community-question-page button:enabled:hover {
  background: var(--social-tint);
  color: var(--social-ink);
  padding: 6px 10px;
}
.community-question-poll button[aria-pressed="true"] { outline: 1px solid currentColor; font-weight: 700; }

.community-discussion-header > .post-management { margin: 0 0 0 auto; }
.community-discussion-header > .post-edit-form { flex: 1 0 100%; min-width: 0; }
@media (max-width: 900px) {
  .community-discussion-header, .ch-post-meta { align-items: flex-start; }
  .community-discussion-header { column-gap: 8px; }
  .community-discussion-header > .author { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
  .community-discussion-header > .post-management { flex: none; }
  .community-discussion-header .post-mod-menu > summary,
  .ch-post-meta .post-mod-menu > summary {
    height: 34px;
    min-width: 34px;
    background: var(--social-tint);
  }
  .community-discussion-header .post-mod-menu > summary:hover,
  .ch-post-meta .post-mod-menu > summary:hover {
    background: color-mix(in srgb, var(--social-tint) 90%, #000);
  }
}

.community-three-column :is(.ch-post-footer, .community-post-actions, .community-reply-composer) .community-reply-action,
.community-three-column :is(.ch-post-footer, .community-post-actions) .community-like :is(button, a) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--social-tint);
  color: var(--social-ink);
  font-size: .78rem;
  line-height: 1.3;
}
.community-reply-action:hover { filter: brightness(.95); }
.community-reply-composer > summary.community-reply-action::-webkit-details-marker { display: none; }
.community-post-thread > .community-card-replies > .community-reply-composer > summary.community-reply-action { display: none; }

.community-three-column :is(.ch-post-footer, .community-post-actions) button.community-save-action,
.community-three-column :is(.ch-post-footer, .community-post-actions) button.community-save-action:enabled:hover {
  background: transparent;
  color: var(--social-ink);
  text-decoration: underline;
}

.community-three-column button.community-save-action { font-weight: 400; }
.community-three-column .post-mod-menu > summary { background: var(--social-tint); }
:is(.community-three-column, .vc-gallery) .post-mod-popover :is(a, button, .post-delete > summary) {
  background: transparent;
  color: var(--social-ink);
  font: inherit;
  text-align: start;
  text-decoration: none;
}
:is(.community-three-column, .vc-gallery) .post-mod-popover :is(a, button:enabled, .post-delete > summary):is(:hover, :focus-visible) {
  background: var(--social-tint);
}
.community-three-column .post-mod-menu > summary:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--social-tint) 90%, #000);
}

.community-single-post-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.community-single-post-date {
  display: block;
  margin-bottom: 5px;
  color: var(--social-muted);
  font-size: .75rem;
}
.community-single-post-author > .author { font-size: 1.15rem; }

.community-three-column :is(.ch-post-footer, .community-post-actions, .community-reply-composer) .community-reply-action:is(:hover, :focus-visible),
.community-three-column :is(.ch-post-footer, .community-post-actions) .community-like > :is(a, form > button:enabled):is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--social-tint) 90%, #000);
  color: var(--social-ink);
  filter: none;
}

.community-inline-post-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin-block: 10px;
  border-radius: 8px;
}

.community-news-heading-links { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; }
#community-news-compose { margin-bottom: 14px; scroll-margin-top: 56px; }

:root .community-three-column article.community-news-preview {
  background: color-mix(in srgb, var(--social-surface) 90%, #bcd8f8);
}
:root[data-theme=dark] .community-three-column article.community-news-preview {
  background: color-mix(in srgb, var(--social-surface) 88%, #537da7);
}
.community-news-see-post {
  display: block;
  align-self: flex-start;
  margin-block: 6px;
  font-size: .85rem;
  text-decoration: underline;
}


.community-news-tabs { width: auto; margin-inline: 0; min-height: 0; }
.community-news-category-badge {
  background: var(--social-tint);
  border-radius: 6px;
  padding: 3px 6px;
}

.community-three-column > main.shell {
  width: 100%;
  max-width: none;
}

@media (min-width: 901px) {
  :root .community-member-links a[aria-current="page"] {
    background: var(--social-canvas);
    color: var(--social-ink);
  }
}

.community-news-editor-fields { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px; border: 1px solid var(--social-line); border-radius: 8px; }
.community-news-editor-fields label { display: block; }
.community-news-editor-fields input:not([type=checkbox]) { display: block; width: 100%; }
.community-news-article-body { overflow-wrap: anywhere; }

#community-news-compose:not(:target) { display: none; }
.community-news-close { text-align: end; margin: 0 0 8px; font-size: .85rem; }

.community-post-detail-card { position: relative; }
.community-post-detail-card .community-single-post-title { padding-inline-end: 58px; }
.community-post-detail-card .community-discussion-header > .post-management:has(.post-mod-menu) {
  position: absolute;
  inset: 12px 12px auto auto;
}
.community-news-reading-time {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--social-tint);
  font-size: .78rem;
}
.community-news-end { border-top: 1px solid var(--social-line); margin-top: 18px; padding-top: 10px; }
.community-news-end h2 { font-size: 1rem; margin: 0 0 6px; }
.community-news-share { display: flex; flex-wrap: wrap; gap: 8px; }
.community-news-share a { background: var(--social-tint); border-radius: 6px; padding: 5px 9px; }

.community-post-breadcrumbs { width: auto; min-height: 0; margin: 0 0 12px; font-size: .8rem; }
.community-post-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.community-post-breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
.community-post-breadcrumbs li + li::before { content: "›"; margin-inline-end: 8px; color: var(--social-muted); }
.community-post-breadcrumbs [aria-current="page"] { color: var(--social-muted); }

.community-home-news-cards > .ch-post {
  height: auto;
  max-height: none;
  min-height: 440px;
}
.community-home-news-preview :is(.community-post-photo, .community-inline-post-image) {
  width: 100%;
  height: clamp(130px, 22vw, 220px);
  object-fit: cover;
}
.community-home-news-preview > .body { margin: 8px 0; }
.community-home-news-cards .community-news-see-post {
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--social-tint);
  color: var(--social-ink);
}

.community-post-author-name { min-width: 0; overflow-wrap: anywhere; }
.community-post-author-name .community-single-post-date { font-weight: 400; margin: 0 0 3px; }
@media (min-width: 901px) {
  .community-three-column > main.shell.community-post-page {
    max-width: 800px;
    width: 100%;
  }
  .community-news-reading-time { display: table; margin-inline-start: auto; }
  .community-article-photo { margin: 12px 0 24px; }
  .community-article-photo > img {
    display: block;
    width: 100%;
    max-height: 340px;
    height: auto;
    object-fit: cover;
    margin: 0;
  }
  .community-three-column .community-post-detail-card .community-news-lead,
  .community-news-article-body > p:first-of-type { font-size: 1.12rem; line-height: 1.6; }
  .community-news-end:has(.community-news-share) { text-align: end; }
  .community-news-share { justify-content: flex-end; }
  .community-news-share a { font-size: .75rem; font-weight: 700; }
  .community-home-news-preview :is(.community-post-photo, .community-inline-post-image) {
    height: clamp(125px, 18vw, 195px);
  }
}
@media (max-width: 900px) {
  .community-article-photo { margin-inline: 0; }
}

.community-three-column > main.shell .community-news-article-body,
.community-three-column > main.shell:not(.community-home) .community-news-article-body .body {
  font-size: 1.12rem;
  line-height: 1.6;
}
.community-news-article-body :is(p, ul, ol, blockquote, h2, h3, h4) {
  font-size: inherit;
  line-height: inherit;
}
.community-news-article-body .community-news-share {
  justify-content: flex-end;
  margin-top: 12px;
}
.community-news-article-body .community-news-share a { font-size: .75rem; font-weight: 700; }

.community-news-page .community-news-stack > .ch-post {
  height: 500px;
  max-height: 500px;
}

@media (max-width: 900px) {
  .community-three-column > main.shell {
    width: calc(100% - 32px);
    margin-inline: auto;
  }
}

.community-news-page .community-news-stack .community-news-headline {
  margin-block-end: 4px;
}
.community-news-page .community-news-scroll > p:first-child {
  margin-block-start: 0;
}

@media (max-width: 900px) {
  .community-mobile-bar {
    background: color-mix(in srgb, var(--social-canvas) 72%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .community-mobile-actions { gap: 8px; }
  .community-mobile-actions > a,
  .community-mobile-actions > details > summary {
    width: 32px;
    height: 32px;
  }
  .community-mobile-actions > details > summary > svg,
  .community-mobile-actions > a > svg {
    width: 16px;
    height: 16px;
  }
  .community-mobile-actions .appearance-settings > summary { font-size: 1.15rem; }
}

.community-news-scroll > .community-news-headline {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.community-card-replies#post-comments > .community-reply-composer { margin-inline-start: 0; }
.community-full-reply-button {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: #8dc63f;
  color: #17200e;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  list-style: none;
}
.community-full-reply-button::-webkit-details-marker { display: none; }
.community-full-reply-button:hover { background: #9ad24c; }

@media (max-width: 900px) {
  .community-post-detail-card .community-single-post-title {
    font-size: clamp(1.65rem, 4.4vw, 2.35rem);
    font-weight: 700;
  }
}

#community-sidebar-search,
#community-sidebar-search:focus,
#community-sidebar-search:focus-within {
  border: 0;
  outline: 0;
  box-shadow: none;
}
#community-sidebar-search input[type="search"],
#community-sidebar-search input[type="search"]:focus,
#community-sidebar-search button:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}
#community-sidebar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 12px;
  border-radius: 5px;
  background: var(--social-tint);
}
#community-sidebar-search:hover {
  background: color-mix(in srgb, var(--social-tint) 94%, var(--social-ink));
}
#community-sidebar-search input {
  width: 0;
  margin: 0;
  padding: 6px 0;
}
#community-sidebar-search button {
  flex: none;
  margin: 0;
  padding: 6px 9px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--social-tint) 90%, var(--social-ink));
  color: var(--social-ink);
}
#community-sidebar-search button:hover {
  background: color-mix(in srgb, var(--social-tint) 84%, var(--social-ink));
}

.community-three-column > main.shell > section > .community-post-breadcrumbs {
  justify-content: flex-start;
  margin: 0 0 12px;
  padding: 0;
  width: 100%;
  text-align: start;
}
#community-sidebar-search input[type="search"] {
  flex: 1 1 0;
  background: transparent;
  border: 0;
}

.community-three-column .profile-photo-control button.community-remove-profile-photo,
.community-three-column .profile-photo-control button.community-remove-profile-photo:hover {
  background: transparent;
  color: var(--social-ink);
  padding: 4px 0;
  font-weight: 400;
  text-decoration: underline;
}

@media (min-width: 901px) {
  .community-news-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.community-three-column .community-news-preview .community-news-headline {
  font-size: 1.25rem;
  line-height: 1.25;
}

/* Group feeds: full-width grid, with replies contained in each post. */
.community-three-column .community-group-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  width: 100%;
  min-width: 0;
}
.community-three-column .community-group-post-grid > .discussion {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}
.community-three-column .community-group-post-grid .community-card-replies {
  margin: 12px 0 0;
  padding: 0;
  width: 100%;
}
.community-three-column .community-group-post-grid .community-reply-composer {
  margin-inline-start: 0;
}
.community-group-post-grid .community-reply-composer:not([open]),
.community-group-post-grid .community-reply-composer > summary {
  display: none;
}
:root .community-three-column .community-group-post-grid .community-reply-preview,
:root .community-three-column .community-group-post-grid .community-reply-card {
  margin-inline: 0;
  padding-inline: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.community-three-column .community-group-post-grid .community-reply-card {
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid var(--social-line);
}
@media (min-width: 601px) and (max-width: 1100px) {
  .community-three-column .community-group-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .community-three-column .community-group-post-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Group cards stack independently, without equal-height grid rows. */
.community-three-column .community-group-post-grid {
  display:block;
  column-count:3;
  column-gap:16px;
}
.community-three-column .community-group-post-grid > .discussion {
  display:inline-block;
  width:100%;
  margin:0 0 16px;
  vertical-align:top;
  break-inside:avoid;
  page-break-inside:avoid;
}
@media (min-width:601px) and (max-width:1100px) {
  .community-three-column .community-group-post-grid { column-count:2; }
}
@media (max-width:600px) {
  .community-three-column .community-group-post-grid { column-count:1; }
}

/* A dedicated horizontal Shorts row above member posts. */
.community-home .home-voice-section { position:relative; min-width:0; }
.community-home .home-voice-controls { display:flex; justify-content:flex-end; gap:6px; margin:0 0 8px; }
.community-home .home-voice-controls button { background:var(--social-surface); color:var(--social-ink); border:0; border-radius:6px; padding:4px 12px; font-size:22px; line-height:1.2; }
.community-home .home-voice-controls button:disabled { opacity:.35; }
.community-home .home-voice-track { display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding:2px 2px 14px; scrollbar-width:thin; }
.community-home .home-voice-track > .community-group-voice-card {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 240px;
  max-width: 260px;
  margin: 0;
  scroll-snap-align: start;
}
.home-voice-track .community-group-voice-card > .community-discussion-header {
  flex-wrap: nowrap;
}
.home-voice-track .community-voice-card-menu > summary {
  color: #fff;
  background: #111e;
}
.home-voice-track .community-voice-card-menu > summary:is(:hover, :focus-visible),
.home-voice-track .community-voice-card-menu[open] > summary {
  background: #444;
}
.home-voice-track .community-voice-card-byline {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.home-voice-track .community-voice-card-byline > time {
  color: #eee;
  font-size: .7rem;
  font-weight: 400;
}
.home-voice-track .community-group-voice-card .community-voice-card-title {
  font-size: 1.1rem;
}
@media(max-width:700px) {
  .community-home .home-voice-track > .community-group-voice-card { flex-basis: 76%; }
}

/* Compact, single-row homepage news carousel. */
.community-home .community-home-news-cards {
 display:flex; flex-direction:row; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
 overscroll-behavior-x:contain; padding:2px 2px 14px; scrollbar-width:thin;
}
.community-home .community-home-news-cards > .ch-post {
 flex:0 0 calc((100% - 28px)/3); width:auto; min-width:260px; max-width:360px;
 height:320px; min-height:0; max-height:320px; margin:0; padding:16px;
 display:flex; flex-direction:column; scroll-snap-align:start;
}
.community-home .community-home-news-cards .community-news-headline { font-size:1.1rem; line-height:1.25; margin:8px 0; flex:none; }
.community-home .community-home-news-cards .community-home-news-preview { flex:1 1 auto; min-height:0; overflow-y:auto; scrollbar-width:thin; }
.community-home .community-home-news-cards .community-home-news-preview > .body { margin:0 0 10px; font-size:.9em; line-height:1.4; }
.community-home .community-home-news-cards .community-home-news-preview :is(.community-post-photo,.community-inline-post-image) { display:block; width:100%; height:100px; object-fit:cover; margin:0 0 8px; border-radius:7px; }
.community-home .community-home-news-cards .community-news-see-post { margin-top:8px; align-self:flex-start; font-size:.8em; }
.community-home .community-home-news-cards .ch-post-footer { flex:none; margin-top:8px; font-size:.75em; }
.community-home .home-news-controls { display:flex; justify-content:flex-end; gap:6px; margin:0 0 8px; }
.community-home .home-news-controls button { background:var(--social-surface); color:var(--social-ink); border:0; border-radius:6px; padding:4px 12px; font-size:22px; line-height:1.2; }
.community-home .home-news-controls button:disabled { opacity:.35; }
@media(max-width:700px) { .community-home .community-home-news-cards > .ch-post { flex-basis:85%; min-width:240px; max-width:340px; height:300px; max-height:300px; } }

/* Compact homepage navigation and clean carousel edges. */
.community-home .topic-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.community-home .home-voice-links { justify-content:flex-end; }
.community-home :is(.home-voice-track,.community-home-news-cards,.community-home-news-preview) { scrollbar-width:none; -ms-overflow-style:none; }
.community-home :is(.home-voice-track,.community-home-news-cards,.community-home-news-preview)::-webkit-scrollbar { display:none; width:0; height:0; }
@media(max-width:700px) { .community-home .topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:400px) { .community-home .topic-grid { grid-template-columns:minmax(0,1fr); } }

/* Taller news cards, with the title inside the scrolling preview. */
.community-home .community-home-news-cards > .ch-post { height:570px; max-height:570px; }
.community-home .community-home-news-cards .community-home-news-preview .community-news-headline {
 display:block; -webkit-line-clamp:unset; overflow:visible; max-height:none; margin:0 0 10px;
}
.community-home .home-carousel-heading { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; gap:12px; }
.community-home .home-carousel-heading h2 { margin:0; flex:0 1 auto; }
.community-home .home-section-heading-actions { display:flex; flex-wrap:nowrap; gap:12px; align-items:center; justify-content:flex-end; margin-left:auto; }
.community-home .home-carousel-heading :is(.home-news-controls,.home-voice-controls) { display:flex; margin:0; flex:none; }
.community-home .home-carousel-heading .community-news-heading-links { display:flex; align-items:center; gap:10px; }
.community-home .home-section-heading-actions > a,.community-home .community-news-heading-links a { font-size:.8em; white-space:nowrap; }
@media(max-width:700px) {
 .community-home .community-home-news-cards > .ch-post { height:550px; max-height:550px; }
 .community-home .home-section-heading-actions { gap:7px; }
 .community-home .home-carousel-heading .community-news-heading-links { flex-direction:column; align-items:flex-end; gap:3px; }
 .community-home .home-carousel-heading h2 { font-size:1.15rem; }
}

/* Homepage news: image first and compact metadata. */
.community-home .community-home-news-cards > .ch-post { height:495px; max-height:495px; }
.community-home .home-news-byline { display:flex; flex-direction:column; gap:3px; min-width:0; }
.community-home .home-news-byline time { font-size:.72rem; font-weight:400; color:var(--social-muted); }
.community-home .home-news-byline strong { font-size:inherit; }
.community-home .community-home-news-cards .home-news-card-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.community-home .home-news-card-footer > .community-news-category-badge { margin-left:auto; text-align:right; }
.community-home .community-home-news-cards .community-home-news-preview :is(.community-post-photo,.community-inline-post-image) { margin-bottom:12px; }
@media(max-width:700px) { .community-home .community-home-news-cards > .ch-post { height:475px; max-height:475px; } }

.community-home .community-home-news-cards > .ch-post { height:455px; max-height:455px; }
.community-home .home-news-content-link,
.community-home .home-news-content-link:hover,
.community-home .home-news-content-link:visited { display:block; color:inherit; text-decoration:none; }
@media(max-width:700px) { .community-home .community-home-news-cards > .ch-post { height:435px; max-height:435px; } }

/* Shared news cards: homepage carousel and news archive. */
.community-three-column .community-news-preview .community-home-news-preview {
 flex:1 1 auto; min-height:0; overflow-y:auto; scrollbar-width:none;
}
.community-three-column .community-news-preview .community-home-news-preview::-webkit-scrollbar { display:none; }
.community-three-column .community-news-preview .home-news-content-link,
.community-three-column .community-news-preview .home-news-content-link:hover,
.community-three-column .community-news-preview .home-news-content-link:visited { display:block; color:inherit; text-decoration:none; }
.community-three-column .community-news-preview .home-news-content-link .community-news-headline {
 display:block; font-size:1.35rem; font-weight:700; line-height:1.25; margin:0 0 10px;
 -webkit-line-clamp:unset; overflow:visible; max-height:none;
}
.community-three-column .community-news-preview .home-news-content-link > .body { margin:0 0 10px; font-size:.9em; line-height:1.4; }
.community-three-column .community-news-preview .home-news-content-link :is(.community-post-photo,.community-inline-post-image) { display:block; width:100%; height:100px; object-fit:cover; margin:0 0 12px; border-radius:7px; }
.community-three-column .community-news-preview .home-news-byline { display:flex; flex-direction:column; gap:3px; min-width:0; }
.community-three-column .community-news-preview .home-news-byline time { font-size:.72rem; font-weight:400; color:var(--social-muted); }
.community-three-column .community-news-preview .home-news-byline strong { font-size:inherit; }
.community-three-column .community-news-preview .home-news-card-footer { flex:none; display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:7px; margin-top:8px; font-size:.75em; }
.community-three-column .community-news-preview .home-news-card-footer > .community-news-category-badge { margin-left:auto; text-align:right; }
.community-three-column .community-news-page .community-news-list-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.community-three-column .community-news-page .community-news-list-cards > .ch-post {
 display:flex; flex-direction:column; width:100%; min-width:0; height:455px; max-height:455px; min-height:0; margin:0; padding:16px; box-sizing:border-box;
}
@media(max-width:1000px) { .community-three-column .community-news-page .community-news-list-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .community-three-column .community-news-page .community-news-list-cards > .ch-post { height:435px; max-height:435px; } }
@media(max-width:600px) { .community-three-column .community-news-page .community-news-list-cards { grid-template-columns:minmax(0,1fr); } }

/* Article reply field is always open in its own white panel. */
#post-comments .community-article-reply-panel {
 background:#fff; color:#202328; border:0; border-radius:14px; margin:18px 0;
 padding:22px; box-shadow:0 3px 14px #18202c12;
}
#post-comments .community-article-reply-panel h2 { font-size:1.2em; margin:0 0 6px; color:#202328; }
#post-comments .community-reply-invitation { margin:0 0 14px; color:#667079; font-size:.9em; }
#post-comments .community-article-reply-panel .community-reply-fields { padding:0; }
#post-comments .community-article-reply-panel form { display:block; width:100%; margin:0; }
#post-comments .community-article-reply-panel label { display:block; color:#202328; font-size:.9em; }
#post-comments .community-article-reply-panel textarea {
 display:block; width:100%; box-sizing:border-box; min-height:120px; margin:8px 0 12px;
 padding:14px; border:0; border-radius:9px; background:#f0f1f2; color:#202328;
 font:inherit; line-height:1.5; resize:vertical;
}
#post-comments .community-article-reply-panel textarea:focus-visible { outline:2px solid #8dc63f; outline-offset:2px; }
#post-comments .community-article-reply-panel .adhc-primary { background:#8dc63f; color:#111; border-radius:4px; padding:8px 14px; font-weight:750; }
#post-comments .community-article-reply-panel .adhc-primary:hover { background:#111; color:#fff; }
#post-comments .community-article-reply-panel a { color:#256627; }
#post-comments .community-article-replies-heading { font-size:1.15em; margin:20px 0 10px; }
@media(max-width:600px) { #post-comments .community-article-reply-panel { padding:16px; } }

/* Profile voices sit above written posts and open an author-specific player. */
.profile-stats .profile-voices-link { color:inherit; text-decoration:none; }
.profile-stats .profile-voices-link:hover,.profile-stats .profile-voices-link[aria-current=page] { text-decoration:underline; text-underline-offset:4px; }
.profile-voice-section { margin:28px 0; }
.profile-voice-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }
.profile-voice-heading h2 { margin:0; font-size:1.25rem; }
.profile-voice-heading>a { font-size:.8rem; color:inherit; }
.profile-voice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.profile-voice-grid .profile-voice-card { position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:3/4; min-width:0; padding:18px 12px 34px; overflow:hidden; border-radius:10px; background:var(--social-surface,#2e323d); color:var(--social-ink,#fff); text-decoration:none; }
.profile-voice-card>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.profile-voice-card.has-photo::after { content:''; position:absolute; inset:0; background:#0008; transition:background .2s; }
.profile-voice-card>p { position:relative; z-index:1; margin:0; text-align:center; font-size:clamp(.8rem,1.2vw,1rem); line-height:1.4; display:-webkit-box; -webkit-line-clamp:6; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; transition:opacity .2s; }
.profile-voice-card.has-photo { color:#fff; }
.profile-voice-card>time { position:absolute; bottom:10px; left:12px; z-index:1; font-size:10px; }
.profile-voice-play { position:absolute; z-index:2; color:#bdff63; font-size:32px; opacity:0; transition:opacity .2s; }
.profile-voice-card:hover>p,.profile-voice-card:focus-visible>p { opacity:0; }
.profile-voice-card:hover .profile-voice-play,.profile-voice-card:focus-visible .profile-voice-play { opacity:1; }
.profile-voice-card.has-photo:hover::after { background:#0004; }
.profile-voice-pagination { display:flex; gap:18px; align-items:center; justify-content:center; margin-top:18px; font-size:.85rem; }
@media(max-width:600px) { .profile-voice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .profile-voice-card>p { font-size:13px; } }

/* Dashboard voices match the main Voices gallery while retaining the carousel. */

/* Use one dark surface for community posts and reply cards. */
:root[data-theme=dark] .community-three-column article:is(.discussion,.ch-post),
:root[data-theme=dark] .community-three-column article:is(.discussion,.ch-post):hover {
  background-color: #242424;
}

/* Keep long post threads scrollable and soften reply copy in both themes. */
:root .community-three-column article.community-reply-card {
  border: 0;
}
.community-three-column .community-reply-card .body {
  color: #353535;
}
:root[data-theme=dark] .community-three-column .community-reply-card .body {
  color: #aaa;
}
.community-three-column :is(.community-post-thread, .community-reply-preview, article:is(.discussion, .ch-post):not(.community-news-preview)) {
  box-sizing: border-box;
  max-height: 2500px;
  overflow-y: auto;
  scrollbar-width: none;
}
.community-three-column :is(.community-post-thread, .community-reply-preview, article:is(.discussion, .ch-post):not(.community-news-preview))::-webkit-scrollbar {
  display: none;
}


:root[data-theme=dark] .community-three-column .community-group-post-grid > article:is(.community-written-post-card, .community-group-voice-card),
:root[data-theme=dark] .community-three-column .community-group-post-grid > article:is(.community-written-post-card, .community-group-voice-card):hover {
  background-color: #2e2e2e;
}
:is(.community-three-column, .vc-gallery) article.community-group-voice-card:has(.community-voice-card-menu[open]) {
  position: relative;
  z-index: 2;
  overflow: visible;
}
.community-group-voice-card .community-discussion-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-voice-card-menu {
  margin-inline-start: auto;
  flex: none;
}


.community-group-voice-card .community-discussion-header {
  position: relative;
  z-index: 3;
}
.community-group-voice-card .community-discussion-header > .author {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.community-voice-card-menu {
  position: relative;
}
.community-voice-card-menu > summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  list-style: none;
  border-radius: 6px;
  cursor: pointer;
}
.community-voice-card-menu > summary::-webkit-details-marker { display: none; }
.community-voice-card-menu > summary:is(:hover, :focus-visible),
.community-voice-card-menu[open] > summary { background: var(--social-tint); }
.community-group-voice-card .community-voice-card-media {
  display: block;
  width: 100%;
}
.community-group-voice-card .community-voice-card-media > :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: 0;
  object-fit: cover;
  object-position: center;
}
:root .community-three-column article.community-reply-card {
  background: transparent;
  box-shadow: none;
}

/* Give card bylines and titles more room above the post content. */
.community-three-column article:is(.discussion, .ch-post) :is(.community-discussion-header, .ch-post-meta) {
  margin-block-end: 12px;
}
.community-three-column article:is(.discussion, .ch-post) :is(.community-discussion-header, .ch-post-byline) .author,
:is(.vc-gallery, .home-voice-track) .community-group-voice-card .community-discussion-header > .author {
  font-size: 1.125rem;
  line-height: 1.35;
}
.community-three-column article:is(.discussion, .ch-post) :is(h2, h3).community-news-headline {
  font-size: 1.25rem;
  line-height: 1.3;
}


/* The group voice thumbnail is the card, with independent controls over it. */
:root :is(.community-three-column, .vc-gallery) article.community-group-voice-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 3 / 4;
  min-height: 220px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: visible;
}
.community-group-voice-card > .community-voice-card-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #2e323d;
  pointer-events: none;
}
.community-voice-card-play-area {
  position: absolute;
  z-index: 2;
  inset: 0 0 48px;
  pointer-events: auto;
}
.community-group-voice-card > .community-voice-card-media > :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.community-voice-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000b, transparent 38%, transparent 62%, #000b);
  pointer-events: none;
}
.community-voice-card-play {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  fill: #bdff63;
  filter: drop-shadow(0 2px 8px #0008);
}
:root :is(.community-three-column, .vc-gallery) .community-group-voice-card > .community-discussion-header {
  position: absolute;
  inset: 12px 12px auto;
  margin: 0;
  pointer-events: none;
}
.community-group-voice-card .community-discussion-header > :is(.author, .community-voice-card-menu) {
  pointer-events: auto;
  color: #fff;
}
.community-group-voice-card .community-voice-card-menu > summary {
  background: #0007;
}
.community-group-voice-card .community-voice-card-menu > summary:is(:hover, :focus-visible),
.community-group-voice-card .community-voice-card-menu[open] > summary {
  background: #000b;
}
.community-voice-card-counts {
  position: absolute;
  inset: auto 14px 14px;
  color: #fff;
  font-size: .8rem;
  text-shadow: 0 1px 4px #000;
  pointer-events: none;
}

.community-voice-card-play,
.community-voice-card-media::before {
  opacity: 0;
  transition: opacity .2s ease;
}
.community-voice-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000b, transparent 56%);
  pointer-events: none;
}
.community-voice-card-title {
  position: absolute;
  z-index: 1;
  inset: auto 38px 60px 14px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 4px #000;
}
.community-group-voice-card:is(:hover, :focus-within) .community-voice-card-play,
.community-group-voice-card:is(:hover, :focus-within) .community-voice-card-media::before {
  opacity: 1;
}
.community-group-voice-card > .community-voice-card-actions {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: auto;
}
.community-voice-card-actions form { margin: 0; }
:is(.community-three-column, .vc-gallery) .community-voice-card-actions :is(button, a) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: #0009;
  color: #fff;
  font: inherit;
}
:is(.community-three-column, .vc-gallery) .community-voice-card-actions :is(button, a):is(:hover, :focus-visible) {
  background: #000c;
  color: #fff;
}
:is(.community-three-column, .vc-gallery) .community-voice-card-actions button[aria-pressed=true] { color: #bdff63; }
.community-voice-action-status { flex-basis: 100%; }
.community-voice-action-status:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
  .community-voice-card-play, .community-voice-card-title, .community-voice-card-media::before { transition: none; }
}

.community-voice-card-actions .community-voice-card-date {
  margin-inline-start: auto;
  white-space: nowrap;
  color: #eee;
  font-size: .75rem;
}
:root .community-three-column article:is(.discussion, .ch-post):not(.community-news-preview) > :is(.body, .ch-post-body, .group-post-link),
:root .community-three-column article.discussion:not(.community-news-preview) > .body > .group-post-link {
  font-size: 1.1rem;
}

/* Keep the voice byline above the thumbnail and every hover layer. */
:root :is(.community-three-column, .vc-gallery) .community-group-voice-card > .community-discussion-header {
  z-index: 5;
  align-items: flex-start;
}
.community-group-voice-card .community-voice-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.community-group-voice-card .community-voice-card-menu > summary {
  width: 30px;
  height: 28px;
  padding: 0;
  line-height: 1;
}
@media (max-width: 900px) {
  .community-group-voice-card .community-voice-card-menu > summary {
    width: 34px;
    height: 34px;
  }
}
:is(.community-group-post-grid, .vc-gallery, .home-voice-track) > .discussion .community-post-author-name {
  color: #fff;
}
:root:not([data-theme=dark]) .community-group-post-grid > .community-written-post-card .community-post-author-name {
  color: #000;
}

.community-three-column .community-group-post-grid > .community-written-post-card {
  padding: 14px;
}
:root :is(.community-three-column, .vc-gallery) .community-group-voice-card > .community-discussion-header {
  inset: 14px 14px auto;
}
.community-group-post-scroll > .community-card-replies:not(:has(.community-reply-card, .community-reply-composer[open])) {
  display: none;
}
.community-group-post-grid .community-reply-preview > .community-reply-card:last-child {
  margin-block-end: 0;
  padding-block-end: 0;
}


/* Limit the reply list separately so it cannot stretch the card. */
.community-three-column .community-reply-preview {
  max-height: min(320px, 45dvh);
}
:root[data-theme=dark] .community-three-column article:is(.discussion, .ch-post):not(.community-news-preview) > :is(.body, .ch-post-body, .group-post-link),
:root[data-theme=dark] .community-three-column article.discussion:not(.community-news-preview) > .body > .group-post-link {
  color: #fff;
}
:root[data-theme=dark] .community-three-column article:is(.discussion, .ch-post):not(.community-group-voice-card) :is(.community-discussion-header, .ch-post-byline) .author,
:root[data-theme=dark] .community-three-column article.discussion:not(.community-group-voice-card) .community-post-author-name {
  color: #c8c8c8;
}

/* One scroll region for the post and replies, with controls outside it. */
.community-three-column .community-group-post-grid > .community-written-post-card {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  max-height: 620px;
  overflow: visible;
}
.community-group-post-scroll {
  min-height: 0;
  overflow-y: auto;
  padding-block: 8px;
  padding-inline-end: 14px;
  margin-block-start: -8px;
  margin-inline-end: -14px;
  scrollbar-width: thin;
  scrollbar-color: rgb(118 118 118 / 55%) transparent;
  scrollbar-gutter: stable;
  /* Leave the scrollbar gutter fully visible through the edge fades. */
  mask-image: linear-gradient(to bottom, transparent, #000 8px, #000 calc(100% - 8px), transparent),
    linear-gradient(#000, #000);
  mask-size: 100% 100%, 14px 100%;
  mask-position: left top, right top;
  mask-repeat: no-repeat;
}
.community-group-post-scroll > .community-card-replies:has(.community-reply-card) {
  border-block-start: 2px solid var(--social-line);
  padding-block-start: 10px;
}
.community-group-post-scroll .community-reply-preview {
  max-height: none;
  overflow: visible;
}
.community-three-column .community-group-post-grid .community-group-post-scroll .community-reply-preview {
  padding-inline-end: 20px;
}
:root[data-theme=dark] .community-group-post-scroll > .community-card-replies:has(.community-reply-card) {
  border-block-start-color: #414141;
}
.community-group-post-grid .community-reply-card > .author {
  font-size: .8rem;
  line-height: 1.3;
  gap: 6px;
}
.community-group-post-grid .community-reply-card > .author > .avatar {
  width: 23px;
  height: 23px;
  flex: none;
}
.community-group-post-tools {
  position: absolute;
  inset: 14px 14px auto auto;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}
.community-group-post-tools + .community-group-post-scroll > .community-discussion-header {
  padding-inline-end: 112px;
}
.community-group-post-tools.has-menu:not(:has(.post-pin-label)) + .community-group-post-scroll > .community-discussion-header {
  padding-inline-end: 48px;
}
.community-group-post-grid > .discussion:has(.community-group-post-tools details[open]) {
  z-index: 4;
}
.community-three-column .community-group-post-grid > .discussion > .community-post-actions {
  flex: none;
  margin-block-start: 10px;
}
:root .community-three-column .community-group-post-scroll > .body,
:root .community-three-column .community-group-post-scroll > .body > .group-post-link {
  font-size: 1.2rem;
}
:root[data-theme=dark] .community-three-column .community-group-post-scroll > .body,
:root[data-theme=dark] .community-three-column .community-group-post-scroll > .body > .group-post-link {
  color: #fff;
}
@supports selector(::-webkit-scrollbar) {
  .community-group-post-scroll {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
  .community-group-post-scroll::-webkit-scrollbar { width: 5px; }
  .community-group-post-scroll::-webkit-scrollbar-thumb { background: rgb(118 118 118 / 55%); border-radius: 5px; }
  .community-group-post-scroll::-webkit-scrollbar-track { background: transparent; }
}


.community-three-column .community-group-post-grid > .discussion > .community-post-actions {
  column-gap: 7px;
}
.community-three-column .community-group-post-grid .community-post-actions button.community-save-action {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--social-tint);
  color: var(--social-ink);
  font-size: .78rem;
  line-height: 1.3;
  text-decoration: none;
}
.community-three-column .community-group-post-grid .community-post-actions button.community-save-action:enabled:is(:hover, :focus-visible),
.community-three-column .community-group-post-grid .community-post-actions .community-like button:enabled:is(:hover, :focus-visible),
.community-three-column .community-group-post-grid .community-post-actions .community-reply-action:is(:hover, :focus-visible),
.community-three-column .community-group-post-tools .post-mod-menu > summary:is(:hover, :focus-visible) {
  background: color-mix(in srgb, var(--social-tint) 85%, #fff);
  color: var(--social-ink);
  filter: none;
  text-decoration: none;
}

/* Keep the same outlined thumbs-up as the voice card when a post is liked. */
.community-three-column :is(.ch-post-footer, .community-post-actions) .community-like form > button[aria-pressed="true"] {
  background: #242424;
  color: #bdff63;
}
.community-three-column :is(.ch-post-footer, .community-post-actions) .community-like form > button[aria-pressed="true"]:enabled:is(:hover, :focus-visible) {
  background: #353535;
  color: #bdff63;
}

.profile-voice-item, .community-profile-voice-share { position: relative; }
:is(.profile-voice-item, .community-profile-voice-share):has(.community-voice-compact-menu[open]) { z-index: 2; }
.community-voice-compact-menu { position: absolute; top: 10px; right: 10px; z-index: 5; }
.community-voice-compact-menu > summary {
  width: 30px;
  height: 28px;
  background: #000a;
  color: #fff;
}
.community-voice-compact-menu[open] > summary,
.community-voice-compact-menu > summary:is(:hover, :focus-visible) { background: #000d; }
.community-profile-voice-share:has(.community-voice-compact-menu) .community-discussion-header { padding-right: 34px; }
.community-voice-card-menu form[data-admin-voice-delete] > button {
  background: transparent;
  color: var(--social-ink);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.community-voice-card-menu form[data-admin-voice-delete] > button:is(:hover, :focus-visible) { background: var(--social-tint); }
.community-voice-card-menu form[data-admin-voice-delete] > [role=status]:not(:empty) {
  display: block;
  padding: 4px 9px;
  font-size: .8rem;
}

/* Community sidebar refinements — 2026-11-06 */
.community-member-links > .community-member-label { display: none; }
.community-sidebar-groups { margin-top: 22px; }
#community-sidebar-search button {
  background: #000;
  color: #fff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border: 0;
  outline: 0;
  box-shadow: none;
}
#community-sidebar-search:is(:hover,:focus-within) button {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#community-sidebar-search button:is(:hover,:focus-visible) { background: #000; color: #fff; }
@media (hover:none) { #community-sidebar-search button { opacity:1;visibility:visible;pointer-events:auto; } }
/* Keep link text inset but run active background flush to sidebar right edge. */
.community-member-links { --sidebar-right-inset: 14px; }
.community-member-links > a,
.community-member-links > .community-sidebar-groups > a {
  margin-right: calc(-1 * var(--sidebar-right-inset));
  padding-right: calc(10px + var(--sidebar-right-inset));
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
@media (max-width:900px) {
  .community-member-links { --sidebar-right-inset: 10px; }
}

/* Match ADHD group links to the main sidebar navigation links. */
.community-member-links > a,
.community-member-links .community-sidebar-groups > a {
  font-family: Switzer, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: normal;
  padding: 12px 10px;
  min-height: 0;
  gap: 9px;
}
@media (max-width: 900px) {
  .community-member-links .community-sidebar-groups > a { padding: 8px 10px; }
}

/* ADHD group navigation: muted icons, darker hover, full-black icons on hover. */
.community-member-links .community-sidebar-groups > a {
  gap: 9px;
  transition: background-color .16s ease, color .16s ease;
}
.community-member-links .community-sidebar-groups > a .community-sidebar-icon {
  color: var(--social-muted);
  opacity: .58;
  transition: color .16s ease, opacity .16s ease;
}
:root:not([data-theme="dark"]) .community-member-links .community-sidebar-groups > a:is(:hover,:focus-visible) {
  background: color-mix(in srgb, var(--social-canvas) 87%, #000 13%);
  color: #000;
}
:root:not([data-theme="dark"]) .community-member-links .community-sidebar-groups > a:is(:hover,:focus-visible) .community-sidebar-icon {
  color: #000; opacity: 1;
}
[data-theme="dark"] .community-member-links .community-sidebar-groups > a:is(:hover,:focus-visible) {
  background: color-mix(in srgb, var(--social-canvas) 80%, #000 20%);
  color: var(--social-ink);
}
[data-theme="dark"] .community-member-links .community-sidebar-groups > a:is(:hover,:focus-visible) .community-sidebar-icon {
  color: var(--social-ink); opacity: 1;
}
.community-member-links .community-sidebar-groups > a[aria-current="page"] .community-sidebar-icon { opacity: 1; color: currentColor; }

/* ADHD Groups: hover matches active colour but keeps a right-hand inset.
   Active links retain their existing full-width background. */
.community-member-links .community-sidebar-groups > a:not([aria-current="page"]):is(:hover,:focus-visible) {
  background: var(--social-canvas);
  color: var(--social-ink);
  margin-right: 0;
  padding-right: 10px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Larger icons for main sidebar links (Main Feed through Saves only). */
.community-member-links > a .community-sidebar-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
}

/* Unified sidebar link states: navigation and ADHD groups. */
.community-member-links > a,
.community-member-links > .community-sidebar-groups > a {
  box-sizing: border-box;
  margin-right: calc(-1 * var(--sidebar-right-inset, 14px));
  padding-right: calc(10px + var(--sidebar-right-inset, 14px));
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
:root:not([data-theme="dark"]) .community-member-links > a:not([aria-current="page"]):is(:hover,:focus-visible),
:root:not([data-theme="dark"]) .community-member-links > .community-sidebar-groups > a:not([aria-current="page"]):is(:hover,:focus-visible) {
  background: #dfe0e1;
  color: #111;
}
:root:not([data-theme="dark"]) .community-member-links > a[aria-current="page"],
:root:not([data-theme="dark"]) .community-member-links > .community-sidebar-groups > a[aria-current="page"] {
  background: #f0f1f2;
  color: #111;
}
:root[data-theme="dark"] .community-member-links > a:not([aria-current="page"]):is(:hover,:focus-visible),
:root[data-theme="dark"] .community-member-links > .community-sidebar-groups > a:not([aria-current="page"]):is(:hover,:focus-visible) {
  background: #262626;
  color: #fff;
}
:root[data-theme="dark"] .community-member-links > a[aria-current="page"],
:root[data-theme="dark"] .community-member-links > .community-sidebar-groups > a[aria-current="page"] {
  background: #000;
  color: #fff;
}
/* Keep group icons subdued until hover, but clearly visible on active links. */
.community-member-links > .community-sidebar-groups > a:is(:hover,:focus-visible,[aria-current="page"]) .community-sidebar-icon {
  opacity: 1;
  color: currentColor;
}

/* Final sidebar alignment: equal left/right inset for every link state. */
.community-member-links > a,
.community-member-links > .community-sidebar-groups > a {
  margin-right: 0 !important;
  padding-right: 10px !important;
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

/* Admin-only dump page */
.community-admin-dump{max-width:820px;margin:0 auto;padding:12px 0 48px}
.community-admin-dump h1{font-size:1.65rem;font-weight:650;margin:0 0 8px}
.community-dump-form{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:24px 0 36px}
.community-dump-form label{font-weight:600}
.community-dump-form textarea{display:block;width:100%;box-sizing:border-box;min-height:115px;padding:14px;border:1px solid #c6c8ca;border-radius:8px;background:var(--social-surface,#fff);color:inherit;font:inherit;resize:vertical}
.community-dump-form button,.community-dump-item button{padding:10px 16px;border:0;border-radius:6px;background:#171717;color:#fff;font:inherit;cursor:pointer}
.community-dump-section{margin:30px 0}
.community-dump-section h2{font-size:1.05rem;font-weight:650;margin:0 0 14px}
.community-dump-section h2 span{font-weight:400;opacity:.65}
.community-dump-item{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid rgba(128,128,128,.25)}
.community-dump-content{min-width:0;overflow-wrap:anywhere}
.community-dump-content p{margin:0 0 7px;white-space:normal}
.community-dump-content small{opacity:.65}
.community-dump-item form{flex-shrink:0}
.community-dump-item.is-complete .community-dump-content p{opacity:.6;text-decoration:line-through}
[data-theme=dark] .community-dump-form textarea{border-color:#555;background:#202020;color:#fff}
[data-theme=dark] .community-dump-form button,[data-theme=dark] .community-dump-item button{background:#eee;color:#111}
@media(max-width:600px){.community-dump-item{align-items:flex-start;flex-direction:column;gap:10px}}

/* Sidebar profile, right-rail search and navbar tools */
.community-member-panel .community-mini-profile{margin:12px 12px 18px;padding:12px;border-radius:10px;background:var(--community-profile-bg,#f0f1f2);color:inherit}
.community-member-panel .community-mini-profile .author{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit}
.community-member-panel .community-mini-profile .avatar{width:38px;height:38px;object-fit:cover;border-radius:50%}
.community-member-panel .community-mini-stats{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;font-size:.8rem}
.community-member-panel .community-mini-stats span{white-space:nowrap}
.community-profile-following{display:inline-flex;gap:4px;color:inherit;text-decoration:none}
[data-theme=dark] .community-member-panel .community-mini-profile{--community-profile-bg:#262626}
.community-right-rail > .community-search{margin:0 0 16px;width:100%;box-sizing:border-box}
.community-navbar-tools{display:flex;align-items:center;gap:12px;margin-left:auto}
.community-navbar-tools .appearance-settings{position:relative}
.community-navbar-tools .appearance-settings summary{cursor:pointer}
.community-navbar-tools .community-notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;color:inherit}
.community-navbar-tools .appearance-panel{position:absolute;right:0;top:100%;z-index:1000;min-width:230px}
@media(max-width:900px){.community-member-panel .community-mini-profile{min-width:180px}.community-navbar-tools{gap:7px}}

/* Keep both desktop sidebars scrollable without visible scrollbars. */
@media (min-width: 901px) {
  .community-member-panel,
  .community-right-rail {
    scrollbar-width: none !important;
    -ms-overflow-style: none;
  }
  .community-member-panel::-webkit-scrollbar,
  .community-right-rail::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

/* Restore compact masonry post cards after sidebar scrollbar update. */
.community-three-column .community-group-post-grid > article.community-written-post-card {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  max-height: 455px;
  overflow: hidden;
  vertical-align: top;
}
.community-three-column .community-group-post-grid > article.community-written-post-card > .community-group-post-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 8px;
  padding-bottom: 8px;
  /* Fade the content into the card at the top and bottom, without a visible gap at the side. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.community-three-column .community-group-post-grid > article.community-written-post-card > .community-post-actions {
  flex: 0 0 auto;
}
@media (max-width: 700px) {
  .community-three-column .community-group-post-grid > article.community-written-post-card { max-height: 435px; }
}

/* Restore profile to right rail and previous navbar arrangement */
.community-right-rail .community-mini-profile{margin:0 0 16px;padding:12px 14px}
.community-right-rail .community-mini-profile .author{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit}
.community-right-rail .community-mini-profile .avatar{width:38px;height:38px;object-fit:cover;border-radius:50%}
.community-right-rail .community-mini-stats{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;font-size:.8rem}
.community-right-rail .community-mini-stats span{white-space:nowrap}
.community-right-rail .community-row-links{display:flex;justify-content:flex-end;gap:10px;margin-bottom:14px}

/* Two full-width cards above the existing three-column masonry feed. */
.community-three-column .community-home .community-home-top-posts {
  display: grid;
  column-count: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.community-three-column .community-home .community-home-top-posts > .discussion {
  display: flex;
  margin: 0;
  width: 100%;
  min-width: 0;
}
@media (max-width: 600px) {
  .community-three-column .community-home .community-home-top-posts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Dedicated Top Trending feature row, separate from standard 3-column posts. */
.community-three-column main.community-home .community-top-trending-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  align-items: stretch;
  margin: 0;
}
.community-three-column main.community-home .community-top-trending-grid > article.discussion {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .community-three-column main.community-home .community-top-trending-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Top Trending: same member post cards, in a dedicated two-column row. */
.community-three-column main.community-home #community-top-trending-cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-count: initial !important;
  gap: 16px !important;
  width: 100%;
  min-width: 0;
  align-items: start;
}
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card {
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  max-height: 455px;
  margin: 0 !important;
  padding: 14px;
  overflow: hidden;
  box-sizing: border-box;
  vertical-align: top;
}
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card > .community-group-post-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 8px;
  padding-bottom: 8px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card > .community-post-actions {
  flex: 0 0 auto;
}
:root:not([data-theme=dark]) #community-top-trending-cards > .community-written-post-card .community-post-author-name {
  color: #000;
}
@media (max-width: 600px) {
  .community-three-column main.community-home #community-top-trending-cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card {
    max-height: 435px;
  }
}

/* Top Trending: charcoal cards with white text in both themes. */
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card,
:root[data-theme=dark] .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card {
  background: #343434 !important;
  color: #ffffff !important;
}
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card :is(.community-post-author-name, .community-post-actions, .community-group-post-scroll, p, h1, h2, h3, h4, a, button, span, small, time, strong, svg),
:root:not([data-theme=dark]) #community-top-trending-cards > .community-written-post-card .community-post-author-name {
  color: #ffffff !important;
}


/* Five most-liked posts: horizontal carousel, two visible at desktop width. */
.community-three-column main.community-home #community-top-trending-cards {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 16px !important;
  padding: 2px 0 8px;
}
.community-three-column main.community-home #community-top-trending-cards::-webkit-scrollbar { display: none; }
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card {
  flex: 0 0 calc((100% - 16px) / 2) !important;
  width: calc((100% - 16px) / 2) !important;
  scroll-snap-align: start;
  background: #343434 !important;
  color: #fff !important;
}
.community-top-trending-section .home-trending-controls { display: flex; gap: 6px; }
.community-top-trending-section .home-trending-controls button {
  cursor: pointer; background: transparent; border: 1px solid currentColor;
  color: inherit; border-radius: 50%; width: 30px; height: 30px;
  font-size: 21px; line-height: 1;
}
@media (max-width: 600px) {
  .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card {
    flex-basis: 85% !important; width: 85% !important;
  }
}

/* Homepage: 12 randomly ordered posts at a time, with a strong bottom fade. */
.community-home-feed-wrap { position: relative; isolation: isolate; }
.community-home-feed-wrap.has-more::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: 260px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.3) 32%, rgba(0,0,0,.75) 65%, #000 100%);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  mask-image: linear-gradient(to bottom, transparent, #000 30%);
}
.community-home-more-actions { display:flex; justify-content:center; padding: 22px 0 35px; }
.community-home-more-actions #community-load-more {
  min-width: 180px; padding: 13px 30px; border-radius: 30px;
  font-weight: 650; cursor:pointer;
}
.community-home-more-actions #community-load-more:disabled { opacity:.65; cursor:wait; }

/* Homepage: theme-matched fade, no blur, half the previous fade height. */
.community-home-feed-wrap.has-more::after {
  height: 130px !important;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.06) 32%, rgba(0,0,0,.30) 65%, #000 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mask-image: none !important;
}
:root:not([data-theme="dark"]) .community-home-feed-wrap.has-more::after {
  background: linear-gradient(to bottom, rgba(240,241,242,0) 0%, rgba(240,241,242,.4) 32%, rgba(240,241,242,.82) 65%, #f0f1f2 100%) !important;
}
/* Halve the top and bottom edge fades inside regular post cards. */
.community-home-feed-wrap .community-group-post-scroll {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7px, #000 calc(100% - 7px), transparent 100%) !important;
  mask-image: linear-gradient(to bottom, transparent 0, #000 7px, #000 calc(100% - 7px), transparent 100%) !important;
}
/* Five Top Trending carousel cards: distinct soft pastels and dark readable text. */
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card:nth-child(5n + 1) { background: #e9e1f5 !important; }
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card:nth-child(5n + 2) { background: #dcefe5 !important; }
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card:nth-child(5n + 3) { background: #f7e7d9 !important; }
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card:nth-child(5n + 4) { background: #dcebf6 !important; }
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card:nth-child(5n + 5) { background: #f4e3e9 !important; }
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card,
.community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card :is(.community-post-author-name, .community-post-actions, .community-group-post-scroll, p, h1, h2, h3, h4, a, button, span, small, time, strong, svg) {
  color: #202124 !important;
}

/* Top Trending: match standard member post cards in both themes. */
:root:not([data-theme="dark"]) .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card,
:root:not([data-theme="dark"]) .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card:nth-child(n) {
  background: var(--social-surface, #fff) !important;
  color: var(--social-ink, #202124) !important;
}
:root[data-theme="dark"] .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card,
:root[data-theme="dark"] .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card:nth-child(n) {
  background: #2e2e2e !important;
  color: #fff !important;
}
:root:not([data-theme="dark"]) .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card :is(.community-post-author-name, .community-post-actions, .community-group-post-scroll, p, h1, h2, h3, h4, a, button, span, small, time, strong, svg) {
  color: #202124 !important;
}
:root[data-theme="dark"] .community-three-column main.community-home #community-top-trending-cards > article.community-written-post-card :is(.community-post-author-name, .community-post-actions, .community-group-post-scroll, p, h1, h2, h3, h4, a, button, span, small, time, strong, svg) {
  color: #fff !important;
}


/* Browse Popular Groups — restrained black navigation tiles */
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid {
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li {min-width:0;display:flex;}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a {
 position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;
 width:100%;min-height:88px;padding:17px 16px;background:#111!important;color:#fff!important;
 border:1px solid #242424!important;border-radius:12px;box-shadow:none!important;
 text-decoration:none;transform:translateY(0);
 transition:background-color .25s ease,transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .25s ease;
}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a :is(strong,span,small) {color:#fff!important;}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a strong {font-size:13px;line-height:1.3;font-weight:600;letter-spacing:-.01em;}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a small {font-size:11px;color:#a9a9a9!important;}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a .topic-arrow {
 color:#aaa!important;font-size:18px;flex:none;transition:transform .3s ease,color .3s ease;
}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a:hover {
 background:#1c1c1c!important;border-color:#404040!important;transform:translateY(-4px);
 box-shadow:0 12px 24px rgba(0,0,0,.16)!important;
}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a:hover .topic-arrow {color:#fff!important;transform:translateX(4px);}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a:active {transform:translateY(-1px) scale(.985);}
.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a:focus-visible {outline:2px solid #bdff63;outline-offset:3px;}
@media(max-width:900px){.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:420px){.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid{gap:9px;}.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a{min-height:76px;padding:13px;}}
@media(prefers-reduced-motion:reduce){.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a,.community-three-column main.community-home .ch-section:has(> #home-topics) .topic-grid > li > a .topic-arrow{transition:none!important;}}

/* Related group discussions: ordinary flow, no custom page scroll behaviour. */
.community-simple-related { margin-top: 28px; }
.community-simple-related > h2 { font-size: 19px; margin: 0 0 16px; }
.community-simple-related .community-group-post-grid [data-related-hidden] { display: none !important; }
.community-simple-related .community-group-post-grid > div { min-width: 0; }
.community-simple-related-more { display: block; margin: 18px auto 0; padding: 10px 18px; cursor: pointer; }


/* Discussion-only: ordinary page scroll, original sidebars, related cards alongside post. */
@media (min-width: 1101px) {
  .community-three-column:has(.community-discussion-two-panel) {
    grid-template-columns: 230px minmax(0,1fr) minmax(220px,270px);
    gap: clamp(14px,2vw,28px);
  }
  .community-three-column > main.shell.community-post-page:has(.community-discussion-two-panel) {
    width: 100%; max-width: none; min-width: 0; margin: 0;
  }
  .community-discussion-two-panel {
    display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,1fr);
    gap: clamp(14px,2vw,28px); align-items: start;
  }
  .community-discussion-primary, .community-discussion-related { min-width: 0; }
  .community-discussion-related .community-simple-related { margin-top: 0; }
  .community-discussion-related .community-group-post-grid {
    display: flex; flex-direction: column; gap: 12px;
  }
  .community-discussion-related .community-group-post-grid > div { width: 100%; }
  .community-discussion-related .community-group-post-grid article { width: 100%; box-sizing: border-box; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .community-three-column > main.shell.community-post-page:has(.community-discussion-two-panel) { max-width: none; }
}
@media (max-width: 1100px) {
  .community-discussion-two-panel { display: block; }
  .community-discussion-related { margin-top: 24px; }
}

/* v209: align first related card with the right-rail search at the top. */
@media (min-width: 1101px) {
  .community-discussion-two-panel { align-items: start; }
  .community-discussion-related,
  .community-discussion-related .community-simple-related,
  .community-discussion-related .community-group-post-grid { margin-top: 0 !important; padding-top: 0 !important; }
  .community-discussion-related .community-group-post-grid > div:first-child,
  .community-discussion-related .community-group-post-grid > div:first-child article { margin-top: 0 !important; }
}

/* v212: Third column uses the SAME sticky, independently scrollable
   behaviour and viewport offset as the two outer sidebars. */
@media (min-width: 1101px) {
  .community-three-column:has(.community-discussion-two-panel) .community-discussion-two-panel {
    align-items: stretch;
  }
  .community-three-column:has(.community-discussion-two-panel) .community-discussion-related {
    position: sticky !important;
    top: var(--community-toolbar-height, 64px) !important;
    align-self: start !important;
    height: calc(100dvh - var(--community-toolbar-height, 64px)) !important;
    max-height: calc(100dvh - var(--community-toolbar-height, 64px)) !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-width: none !important;
    -ms-overflow-style: none;
  }
  .community-three-column:has(.community-discussion-two-panel) .community-discussion-related::-webkit-scrollbar {
    display: none !important;
  }
}

/* v213: the related column is a SIBLING of the post and both outer rails.
   Its sticky containing block is now the page grid, NOT the tall post. */
@media (min-width: 1101px) {
  .community-three-column:has(> .community-discussion-related) {
    grid-template-columns: 230px minmax(0, 1.6fr) minmax(240px, 1fr) minmax(220px, 270px) !important;
    gap: clamp(14px, 2vw, 28px);
    align-items: start;
  }
  .community-three-column:has(> .community-discussion-related) > main.community-post-page {
    grid-column: 2;
    width: 100% !important; max-width: none !important;
    min-width: 0; margin: 0 !important;
  }
  .community-three-column > .community-discussion-related {
    grid-column: 3;
    position: sticky !important;
    top: 64px !important;
    align-self: start !important;
    height: calc(100dvh - 64px) !important;
    max-height: calc(100dvh - 64px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-width: none !important;
    -ms-overflow-style: none;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
  }
  .community-three-column > .community-discussion-related::-webkit-scrollbar {
    display: none !important;
  }
  .community-three-column:has(> .community-discussion-related) > .community-right-rail {
    grid-column: 4;
  }
}
@media (max-width: 1100px) {
  .community-three-column > .community-discussion-related {
    position: static;
    overflow: visible;
    height: auto;
    max-height: none;
    min-width: 0;
  }
}

/* v214: a little breathing room above the first related-post card.
   Keep column 3 independent and its viewport height unchanged. */
@media (min-width: 1101px) {
  .community-three-column > .community-discussion-related {
    padding-top: 14px !important;
    box-sizing: border-box;
  }
}

/* v215: liked buttons retain their ordinary background; only the thumb turns lime. */
.community-three-column .community-like form > button[aria-pressed="true"],
.community-three-column .community-like form > button[aria-pressed="true"]:enabled:is(:hover, :focus-visible) {
  background: var(--social-tint) !important;
  color: var(--social-accent) !important;
}
.community-three-column .community-like form > button[aria-pressed="true"] svg {
  color: #bdff63 !important;
  stroke: #bdff63 !important;
}
/* Total top spacing above column three's first card: 24px. */
@media (min-width: 1101px) {
  .community-three-column > .community-discussion-related { padding-top: 24px !important; }
}

/* v216: light theme liked state: black thumb, subtly darker button than neighbours. */
:root:not([data-theme="dark"]) .community-three-column .community-like form > button[aria-pressed="true"],
:root:not([data-theme="dark"]) .community-three-column .community-like form > button[aria-pressed="true"]:enabled:is(:hover, :focus-visible) {
  background: #dfe2e5 !important;
  color: #17191c !important;
}
:root:not([data-theme="dark"]) .community-three-column .community-like form > button[aria-pressed="true"] svg {
  color: #17191c !important;
  stroke: #17191c !important;
}

/* v220: members-style close/open button; preserve full sidebar content. */
.community-right-rail .community-rail-toggle-row { display:flex;justify-content:flex-end;margin:0 0 10px; }
.community-right-rail #community-rail-toggle { display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:8px;background:var(--social-tint,#e9eaec);color:inherit;cursor:pointer;font-size:17px; }
.community-right-rail .community-rail-icon-strip[hidden] {display:none!important;}
.community-right-rail .community-rail-icon-strip {display:flex;flex-direction:column;gap:10px;align-items:center;}
.community-right-rail .community-rail-icon-strip button {width:38px;height:38px;border:0;border-radius:9px;background:var(--social-tint,#e9eaec);color:inherit;font-size:20px;cursor:pointer;}
@media (min-width:1101px) {
 .community-three-column.community-right-collapsed {grid-template-columns:230px minmax(0,1fr) 56px!important;}
 .community-three-column.community-right-collapsed:has(> .community-discussion-related) {grid-template-columns:230px minmax(0,1.6fr) minmax(240px,1fr) 56px!important;}
 .community-three-column.community-right-collapsed > .community-right-rail {width:56px!important;min-width:0!important;max-width:56px!important;box-sizing:border-box;padding:0 6px!important;overflow-x:hidden!important;}
 .community-three-column.community-right-collapsed > .community-right-rail > :not(.community-rail-toggle-row):not(.community-rail-icon-strip) {display:none!important;}
 .community-three-column.community-right-collapsed > .community-right-rail .community-rail-toggle-row {justify-content:center;}
}
@media (max-width:1100px) {.community-right-rail .community-rail-toggle-row,.community-right-rail .community-rail-icon-strip {display:none!important;}}

/* v222: remove the section-icon strip above the right-rail search; retain open/close control. */
.community-right-rail .community-rail-icon-strip {display:none!important;}

/* v223: discreet text-only edit control beside each reply author */
.community-reply-card .community-reply-edit-menu {display:inline-block;vertical-align:middle;margin-left:9px;position:relative;font-size:12px;}
.community-reply-card .community-reply-edit-menu > summary {display:inline;list-style:none;cursor:pointer;background:transparent!important;border:0!important;padding:0!important;color:inherit;font-size:12px;font-weight:400;opacity:.7;}
.community-reply-card .community-reply-edit-menu > summary::-webkit-details-marker {display:none;}
.community-reply-card .community-reply-edit-menu[open] {display:block;margin:8px 0;}
.community-reply-card .community-reply-edit-menu form {margin:5px 0;}
.community-reply-card .community-reply-edit-menu textarea {display:block;width:100%;box-sizing:border-box;}
.community-reply-card .community-reply-edit-menu button {font-size:12px;cursor:pointer;}

/* v224: Match the three related-card actions to group category cards.
   Keep like, comment and save on one consistent button surface. */
.community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions :is(.community-like button, .community-reply-action, button.community-save-action),
.community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions :is(.community-like button, .community-reply-action, button.community-save-action):is(:hover, :focus-visible),
.community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions .community-like button[aria-pressed="true"] {
  background: var(--social-tint) !important;
  border-radius: 6px !important;
  min-height: 28px;
  padding: 4px 8px;
  color: var(--social-ink);
  text-decoration: none !important;
  filter: none;
}

/* v225: Dark-theme related group card actions. */
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions :is(.community-like button, .community-reply-action, button.community-save-action),
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions .community-like button[aria-pressed="true"] {
  background: #262626 !important;
}
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions :is(.community-like button, .community-reply-action, button.community-save-action):is(:hover, :focus-visible),
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions .community-like button[aria-pressed="true"]:is(:hover, :focus-visible) {
  background: #474747 !important;
}

/* v226: Brighter action pills on the RELATED cards in column 3 only.
   Match all three action types including nested like/save forms and liked states. */
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions :is(.community-like button, a.community-reply-action, button.community-save-action),
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions .community-like button[aria-pressed="true"] {
  background-color: #474747 !important;
  background-image: none !important;
  filter: none !important;
}
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions :is(.community-like button, a.community-reply-action, button.community-save-action):is(:hover, :focus-visible),
:root[data-theme="dark"] .community-three-column > .community-discussion-related .community-group-post-grid .community-post-actions .community-like button[aria-pressed="true"]:is(:hover, :focus-visible) {
  background-color: #5c5c5c !important;
  background-image: none !important;
  filter: none !important;
}

/* v227: Unified dark-theme Like / Comment / Save actions on all community cards. */
:root[data-theme="dark"] .community-three-column :is(.community-post-actions, .ch-post-footer) :is(.community-like button, .community-reply-action, button.community-save-action),
:root[data-theme="dark"] .community-three-column :is(.community-post-actions, .ch-post-footer) .community-like button[aria-pressed="true"] {
  background: #474747 !important;
  background-image: none !important;
  border-radius: 6px !important;
  min-height: 28px !important;
  padding: 4px 8px !important;
  box-sizing: border-box;
  filter: none !important;
  text-decoration: none !important;
}
:root[data-theme="dark"] .community-three-column :is(.community-post-actions, .ch-post-footer) :is(.community-like button, .community-reply-action, button.community-save-action):is(:hover, :focus-visible),
:root[data-theme="dark"] .community-three-column :is(.community-post-actions, .ch-post-footer) .community-like button[aria-pressed="true"]:is(:hover, :focus-visible) {
  background: #5c5c5c !important;
  background-image: none !important;
  filter: none !important;
}

/* v228: Unified light-theme Like / Comment / Save action buttons. */
:root:not([data-theme="dark"]) .community-three-column :is(.community-post-actions, .ch-post-footer) :is(.community-like button, .community-reply-action, button.community-save-action),
:root:not([data-theme="dark"]) .community-three-column :is(.community-post-actions, .ch-post-footer) .community-like button[aria-pressed="true"] {
  background: #DFE2E5 !important;
  background-image: none !important;
  border-radius: 6px !important;
  min-height: 28px !important;
  padding: 4px 8px !important;
  box-sizing: border-box;
  filter: none !important;
  text-decoration: none !important;
}
:root:not([data-theme="dark"]) .community-three-column :is(.community-post-actions, .ch-post-footer) :is(.community-like button, .community-reply-action, button.community-save-action):is(:hover, :focus-visible),
:root:not([data-theme="dark"]) .community-three-column :is(.community-post-actions, .ch-post-footer) .community-like button[aria-pressed="true"]:is(:hover, :focus-visible) {
  background: #D5D9DD !important;
  background-image: none !important;
  filter: none !important;
}

/* v229: Repost is plain text aligned at the far right of post footers. */
.community-three-column .community-post-actions form:has(> .community-repost-link) {
  margin-left: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.community-three-column .community-post-actions .community-repost-link,
.community-three-column .community-post-actions .community-repost-link:is(:hover,:focus-visible) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 2px !important;
  min-height: 0 !important;
  color: inherit !important;
  font-size: 12px !important;
  text-decoration: none;
}
.community-three-column .community-post-actions .community-repost-link:hover {
  text-decoration: underline;
}

/* v231: mobile-only swipe carousel for related discussions. */
@media (max-width: 700px) {
  .community-three-column > .community-discussion-related {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    margin-top: 20px;
  }
  .community-three-column > .community-discussion-related .community-simple-related {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }
  .community-three-column > .community-discussion-related .community-group-post-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 2px 0 12px;
    align-items: stretch;
  }
  .community-three-column > .community-discussion-related .community-group-post-grid::-webkit-scrollbar { display: none; }
  .community-three-column > .community-discussion-related .community-group-post-grid > div:not([data-related-hidden]) {
    flex: 0 0 min(82vw, 320px) !important;
    width: min(82vw, 320px) !important;
    min-width: 0;
    max-width: calc(100% - 22px);
    scroll-snap-align: start;
  }
  .community-three-column > .community-discussion-related .community-group-post-grid > div > article {
    width: 100% !important;
    box-sizing: border-box;
    height: 100%;
  }
}

/* v232: right-sidebar toggle is available on every Community page and viewport. */
@media (max-width:1100px) {
  .community-right-rail .community-rail-toggle-row {display:flex!important;justify-content:flex-end;}
  .community-three-column.community-right-collapsed > .community-right-rail > :not(.community-rail-toggle-row) {display:none!important;}
  .community-three-column.community-right-collapsed > .community-right-rail {height:auto!important;min-height:0!important;overflow:visible!important;padding-bottom:0!important;}
  .community-three-column.community-right-collapsed > .community-right-rail .community-rail-toggle-row {justify-content:flex-end!important;}
}
.community-right-rail #community-rail-toggle:hover {filter:brightness(.94);}

/* v233: right rail toggle — visible and functional at all widths. */
.community-three-column > .community-right-rail > .community-rail-toggle-row {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
}
.community-three-column > .community-right-rail #community-rail-toggle {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.community-three-column.community-right-collapsed > .community-right-rail > :not(.community-rail-toggle-row) {
  display: none !important;
}
@media (min-width: 1101px) {
  .community-three-column.community-right-collapsed {
    grid-template-columns: 230px minmax(0,1fr) 56px !important;
  }
  .community-three-column.community-right-collapsed:has(> .community-discussion-related) {
    grid-template-columns: 230px minmax(0,1.6fr) minmax(240px,1fr) 56px !important;
  }
  .community-three-column.community-right-collapsed > .community-right-rail {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    overflow: visible !important;
  }
  .community-three-column.community-right-collapsed > .community-right-rail > .community-rail-toggle-row {
    justify-content: center !important;
  }
}
@media (max-width: 1100px) {
  .community-three-column.community-right-collapsed > .community-right-rail {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
}

/* v234: CSS-only rail toggle. Inline JS was blocked by the site's CSP. */
.community-rail-collapse-input { position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important; }
.community-right-rail #community-rail-toggle { display:grid!important;place-items:center;cursor:pointer;user-select:none;width:34px;height:34px;border-radius:8px;background:var(--social-tint,#e9eaec);color:inherit; }
.community-right-rail #community-rail-toggle .community-rail-arrow-closed {display:none;}
.community-three-column:has(#community-rail-collapse:checked) > .community-right-rail #community-rail-toggle .community-rail-arrow-open {display:none;}
.community-three-column:has(#community-rail-collapse:checked) > .community-right-rail #community-rail-toggle .community-rail-arrow-closed {display:inline;}
.community-three-column:has(#community-rail-collapse:checked) > .community-right-rail > :not(.community-rail-toggle-row) {display:none!important;}
.community-three-column:has(#community-rail-collapse:checked) > .community-right-rail .community-rail-toggle-row {justify-content:center!important;}
.community-three-column:has(#community-rail-collapse:checked) > .community-right-rail {width:56px!important;min-width:56px!important;max-width:56px!important;box-sizing:border-box;padding-inline:6px!important;overflow-x:hidden!important;}
@media(min-width:1101px) {
 .community-three-column:has(#community-rail-collapse:checked) {grid-template-columns:230px minmax(0,1fr) 56px!important;}
 .community-three-column:has(> .community-discussion-related):has(#community-rail-collapse:checked) {grid-template-columns:230px minmax(0,1.6fr) minmax(240px,1fr) 56px!important;}
}
@media(min-width:901px) and (max-width:1100px) {
 .community-three-column:has(#community-rail-collapse:checked) {grid-template-columns:200px minmax(0,1fr) 56px!important;}
}
@media(max-width:900px) {
 .community-three-column:has(#community-rail-collapse:checked) > .community-right-rail {margin-left:auto;}
}

/* v235: external-script class toggle, works without inline JavaScript. */
@media (min-width: 1101px) {
 .community-three-column.community-right-collapsed { grid-template-columns:230px minmax(0,1fr) 56px !important; }
 .community-three-column.community-right-collapsed:has(> .community-discussion-related) {grid-template-columns:230px minmax(0,1.6fr) minmax(240px,1fr) 56px !important;}
}
.community-three-column.community-right-collapsed > .community-right-rail > :not(.community-rail-toggle-row) {display:none!important;}
.community-three-column.community-right-collapsed > .community-right-rail {width:56px!important;min-width:56px!important;max-width:56px!important;padding-inline:6px!important;box-sizing:border-box;}
.community-three-column.community-right-collapsed > .community-right-rail .community-rail-arrow-open {display:none!important;}
.community-three-column.community-right-collapsed > .community-right-rail .community-rail-arrow-closed {display:inline!important;}

/* v236: keep the left sidebar EXACTLY its normal width when right rail closes. */
@media (min-width: 1101px) {
  .community-three-column.community-right-collapsed,
  .community-three-column:has(#community-rail-collapse:checked) {
    grid-template-columns: 280px minmax(0,1fr) 56px !important;
  }
  .community-three-column.community-right-collapsed:has(> .community-discussion-related),
  .community-three-column:has(> .community-discussion-related):has(#community-rail-collapse:checked) {
    grid-template-columns: 280px minmax(0,1.6fr) minmax(240px,1fr) 56px !important;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .community-three-column.community-right-collapsed,
  .community-three-column:has(#community-rail-collapse:checked) {
    grid-template-columns: 240px minmax(0,1fr) 56px !important;
  }
}

/* v237: full-height white background on the collapsed right rail only. */
@media (min-width: 901px) {
  .community-three-column.community-right-collapsed > .community-right-rail {
    background: #fff !important;
    height: calc(100dvh - var(--community-toolbar-height, 64px)) !important;
    min-height: calc(100dvh - var(--community-toolbar-height, 64px)) !important;
    max-height: calc(100dvh - var(--community-toolbar-height, 64px)) !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
  }
}
@media (max-width: 900px) {
  .community-three-column.community-right-collapsed > .community-right-rail {
    background: #fff !important;
    min-height: 100dvh !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
  }
}


/* v239: Genuine grid-width animation; no shadow, fake gutter or sidebar resizing. */
@media (min-width: 901px) {
  .community-three-column {
    transition: grid-template-columns 320ms ease, padding-right 320ms ease !important;
  }
  .community-three-column.community-right-collapsed {
    padding-right: 0 !important; /* Remove the actual right-side gap in the grid. */
  }
  .community-three-column.community-right-collapsed > .community-right-rail {
    background: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: calc(100dvh - var(--community-toolbar-height, 64px)) !important;
    height: auto !important;
    align-self: stretch !important;
    padding: 8px 6px !important;
    overflow: hidden !important;
  }
  .community-three-column.community-right-collapsed > .community-right-rail > .community-rail-toggle-row {
    justify-content: center !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .community-three-column { transition: none !important; }
}

/* v240: Search above Main Feed; notification/settings in desktop top navbar. */
.community-left-search {padding: 14px 12px 10px; min-width: 0;}
.community-left-search .community-search {width:100%; margin:0; max-width:none;}
.community-left-search .community-search input[type="search"] {width:100%; min-width:0; box-sizing:border-box;}
.community-navbar-controls {display:none;}
@media (min-width: 901px) {
  .community-navbar-controls {display:flex; align-items:center; margin-left:14px; margin-right:18px; flex:0 0 auto; z-index:30;}
  .community-navbar-controls #community-row-links {display:flex!important; align-items:center; gap:8px; margin:0!important; padding:0!important;}
  .community-navbar-controls .appearance-panel {z-index:200;}
  .community-right-rail > #community-row-links {display:none!important;}
}
@media (max-width:900px) {
  .community-left-search {padding:10px 12px;}
}

/* v241: controls share the existing navbar link row, no extra header row. */
@media (min-width:901px) {
 .community-navbar-controls {margin:0 12px 0 0!important;align-self:center!important;flex:0 0 auto!important;}
 .community-navbar-controls #community-row-links {display:flex!important;gap:8px;align-items:center;white-space:nowrap;}
}

/* v242: Right sidebar removed site-wide. Keep left navigation width fixed. */
@media (min-width: 1101px) {
  .community-three-column,
  .community-three-column.community-right-collapsed {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    transition: none !important;
  }
  .community-three-column:has(> .community-discussion-related),
  .community-three-column.community-right-collapsed:has(> .community-discussion-related) {
    grid-template-columns: 280px minmax(0, 1.6fr) minmax(240px, 1fr) !important;
  }
  .community-three-column > main.shell {width:100%;max-width:none;min-width:0;margin-inline:0;}
  .community-three-column > .community-discussion-related {grid-column:3;}
}
@media (min-width: 901px) and (max-width: 1100px) {
  .community-three-column {grid-template-columns: 240px minmax(0,1fr) !important;}
  .community-three-column > main.shell {width:100%;max-width:none;min-width:0;}
}
@media (max-width:900px) {
  .community-three-column {grid-template-columns:minmax(0,1fr) !important;}
}

/* v243: settings and profile live in the shared top navigation beside Dashboard. */
.community-desktop-nav-actions { display:none; align-items:center; gap:12px; flex:0 0 auto; }
@media(min-width:901px) {
  .community-desktop-nav-actions { display:inline-flex; }
}
.community-desktop-nav-actions > details { position:relative; }
.community-desktop-nav-actions summary {
  list-style:none; display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:8px; cursor:pointer;
  background:transparent; color:inherit; font-size:20px;
}
.community-desktop-nav-actions summary::-webkit-details-marker {display:none;}
.community-desktop-nav-actions summary:hover {background:rgba(127,127,127,.13);}
.community-desktop-nav-actions .community-nav-profile .avatar {
  width:30px; height:30px; border-radius:50%; object-fit:cover;
}
.community-desktop-nav-actions .appearance-panel {
  position:absolute; top:calc(100% + 12px); right:0; left:auto;
  z-index:9999; min-width:240px; max-width:320px;
}
.community-nav-profile-menu {display:flex;flex-direction:column;gap:12px;}
.community-nav-profile-menu a {text-decoration:none;color:inherit;}
@media(max-width:900px) {.community-desktop-nav-actions{display:none!important;}}

/* v244: Controls must only be visible once actually placed in the shared navbar. */
#community-desktop-nav-actions { display:none !important; }
@media (min-width:901px) {
  #community-desktop-nav-actions.community-actions-in-navbar { display:inline-flex !important; align-items:center; gap:12px; margin-inline:12px; flex:0 0 auto; }
}

/* v246: visible group icons beside every group link in the left sidebar. */
.community-member-links .community-sidebar-groups > a { display:flex; align-items:center; gap:9px; }
.community-member-links .community-sidebar-groups > a > .community-sidebar-icon { display:block; flex:0 0 18px; width:18px; height:18px; background:transparent!important; color:currentColor; opacity:.8; }
.community-member-links .community-sidebar-groups > a:is(:hover,:focus-visible,[aria-current="page"]) > .community-sidebar-icon { color:currentColor; opacity:1; background:transparent!important; }

/* Usernames and post titles stay white in dark-mode group listings. */
:root[data-theme="dark"] .community-group-listing-grid .community-post-author-name,
:root[data-theme="dark"] .community-group-listing-grid .community-discussion-header .author,
:root[data-theme="dark"] .community-group-listing-grid :is(.group-post-link, .community-post-title) {
  color: #fff !important;
}

/* v248: active navigation and group links match hover backgrounds. */
:root:not([data-theme="dark"]) .community-member-links > a[aria-current="page"],
:root:not([data-theme="dark"]) .community-member-links > .community-sidebar-groups > a[aria-current="page"] { background: #dfe0e1 !important; color: #111; }
:root[data-theme="dark"] .community-member-links > a[aria-current="page"],
:root[data-theme="dark"] .community-member-links > .community-sidebar-groups > a[aria-current="page"] { background: #262626 !important; color: #fff; }

/* v251 mobile navigation: single collapsed menu, hamburger before logo. */
@media (max-width:900px) {
  .community-three-column {grid-template-columns:minmax(0,1fr)!important; min-width:0;}
  .community-mobile-bar {display:flex!important; position:sticky;top:0;z-index:1001;background:var(--social-surface,#fff)!important;align-items:center;}
  .community-mobile-bar .community-mobile-toggle {display:flex!important;align-items:center;justify-content:center;visibility:visible!important;width:38px;height:38px;flex:0 0 38px;cursor:pointer;order:0;margin:0!important;}
  .community-mobile-bar .community-mobile-logo {order:1;flex-shrink:0;}
  .community-mobile-bar .community-mobile-actions {order:2;margin-left:auto;}
  .community-three-column > .community-member-panel#community-sidebar {display:none!important;position:fixed!important;top:var(--community-mobile-nav-height,54px)!important;bottom:0!important;left:0!important;right:auto!important;width:min(310px,88vw)!important;max-width:88vw!important;height:auto!important;max-height:none!important;z-index:1002!important;overflow-y:auto!important;margin:0!important;box-sizing:border-box;background:var(--social-surface,#fff)!important;box-shadow:12px 8px 30px #0004;}
  .community-three-column.community-mobile-sidebar-open > .community-member-panel#community-sidebar {display:block!important;}
  .community-three-column > .community-member-panel#community-sidebar .community-member-links {display:flex!important;flex-direction:column!important;white-space:normal!important;overflow:visible!important;}
  .community-three-column > .community-member-panel#community-sidebar .community-sidebar-groups {display:block!important;}
  .community-mobile-sidebar-backdrop {display:none;position:fixed;inset:var(--community-mobile-nav-height,54px) 0 0;z-index:1000;background:#0007;}
  body.community-mobile-sidebar-active .community-mobile-sidebar-backdrop {display:block;}
  body.community-mobile-sidebar-active {overflow:hidden;}
  .community-mobile-bar details:not([open]) > :not(summary) {display:none!important;}
  .community-mobile-bar details > summary {cursor:pointer;}
  .community-mobile-bar .appearance-panel {position:absolute!important;z-index:1100!important;}
}

/* v252: compact mobile nav actions and transparent mobile navbar at all scroll positions. */
@media (max-width:900px) {
  .community-mobile-bar,
  .community-mobile-bar:is(:hover,:focus-within),
  .community-mobile-bar.is-scrolled,
  .community-mobile-bar.scrolled,
  .community-mobile-bar.sticky,
  body.scrolled .community-mobile-bar,
  body.is-scrolled .community-mobile-bar {
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  .community-mobile-bar .community-mobile-actions {gap:3px!important;display:flex!important;align-items:center!important;}
  .community-mobile-bar .community-mobile-actions > details,
  .community-mobile-bar .community-mobile-actions > a {flex:0 0 auto!important;min-width:0!important;}
  .community-mobile-bar .community-mobile-actions > details > summary,
  .community-mobile-bar .community-mobile-actions > a,
  .community-mobile-bar .community-mobile-actions .appearance-settings > summary {
    width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;
    padding:3px!important;box-sizing:border-box!important;border-radius:6px!important;
    font-size:17px!important;line-height:1!important;
  }
  .community-mobile-bar .community-mobile-actions > details > summary svg,
  .community-mobile-bar .community-mobile-actions > a svg {width:17px!important;height:17px!important;}
  .community-mobile-bar .community-mobile-actions .avatar {width:25px!important;height:25px!important;}
  .community-mobile-bar .community-mobile-actions .appearance-settings {position:relative!important;display:block!important;}
  .community-mobile-bar .community-mobile-actions .appearance-settings > summary {display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;}
  .community-mobile-bar .community-mobile-actions .appearance-settings .appearance-panel {
    position:absolute!important;top:calc(100% + 9px)!important;right:0!important;left:auto!important;
    width:min(300px,90vw)!important;max-height:70dvh!important;overflow-y:auto!important;
    z-index:1200!important;
  }
}

/* v253: stable mobile drawer and always-visible settings in mobile nav. */
@media (max-width:900px) {
  .community-mobile-bar {position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;box-sizing:border-box!important;z-index:1300!important;min-height:50px!important;padding:6px 10px!important;}
  .community-three-column {padding-top:50px!important;}
  .community-mobile-bar .community-mobile-toggle,
  .community-mobile-bar .community-mobile-toggle:is(:hover,:active,:focus-visible),
  .community-mobile-bar.community-menu-open .community-mobile-toggle {
    background:#bdff63!important;background-color:#bdff63!important;color:#161616!important;
    border:0!important;box-shadow:none!important;border-radius:8px!important;
    width:36px!important;height:36px!important;min-width:36px!important;
    padding:0!important;outline:none!important;transition:none!important;
  }
  .community-three-column > #community-sidebar.community-member-panel {
    position:fixed!important;top:50px!important;bottom:0!important;left:0!important;
    width:min(310px,85vw)!important;max-width:85vw!important;
    height:calc(100dvh - 50px)!important;max-height:none!important;
    padding:12px 14px 24px!important;overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain!important;scrollbar-width:none!important;
    box-sizing:border-box!important;z-index:1202!important;
  }
  .community-three-column > #community-sidebar.community-member-panel::-webkit-scrollbar {display:none!important;}
  .community-three-column > #community-sidebar .community-member-links {align-items:stretch!important;gap:2px!important;}
  .community-three-column > #community-sidebar .community-member-links > a,
  .community-three-column > #community-sidebar .community-sidebar-groups > a {
    width:100%!important;box-sizing:border-box!important;min-height:38px!important;
    padding:9px 10px!important;margin:0!important;justify-content:flex-start!important;
    text-align:left!important;gap:10px!important;
  }
  .community-three-column > #community-sidebar .community-sidebar-groups {padding:0!important;margin:10px 0 0!important;}
  .community-mobile-sidebar-backdrop {position:fixed!important;inset:50px 0 0!important;z-index:1201!important;}
  .community-mobile-actions > .appearance-settings {display:block!important;position:relative!important;visibility:visible!important;}
  .community-mobile-actions > .appearance-settings > summary {
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:30px!important;height:30px!important;padding:0!important;font-size:19px!important;
  }
  .community-mobile-actions > .appearance-settings .appearance-panel {right:-35px!important;left:auto!important;}
}

/* v254: restore a visible, accessible Voice recording shortcut beside Create post. */
.community-compose-quick-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.community-voice-quick-button { display:inline-flex!important; align-items:center; justify-content:center; gap:7px; min-height:40px; padding:8px 14px; border:0; border-radius:12px; background:#bdff63; color:#171717; font:inherit; font-weight:600; cursor:pointer; }
.community-voice-quick-button:hover { filter:brightness(.96); }
.community-voice-quick-button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
@media(max-width:900px) { .community-compose-quick-actions { gap:8px; } .community-voice-quick-button { min-height:38px; padding:7px 11px; } }
