/* Dark community theme (overrides legacy Tailwind page while preserving editor/posting) */
body.community-dark{background:#05080d !important;color:#dbe7f1 !important}
.community-dark #navbar{background:rgba(5,8,13,.94) !important;border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.community-dark #navbar .nav-link{color:#a9bccb !important}
.community-dark #navbar .nav-link:hover,.community-dark #navbar .border-accent{color:#fff !important;border-color:#8fe0dd !important}
.community-dark .community-main{background:#05080d !important;min-height:70vh;padding:28px 0 60px}
.community-dark .community-main .container{max-width:1180px}
.community-dark .community-main h1,.community-dark .community-main h2,.community-dark .community-main h3{color:#fff !important}
.community-dark .community-main .text-primary{color:#fff !important}
.community-dark .community-main .text-gray-500,.community-dark .community-main .text-gray-600,.community-dark .community-main .text-gray-700{color:#93a7b9 !important}
.community-dark .community-main .bg-white{background:#0a121b !important;border:1px solid rgba(255,255,255,.1) !important;box-shadow:none !important}
.community-dark .community-main .rounded-lg,.community-dark .community-main .rounded-xl{border-radius:2px !important}
.community-dark .community-main input,.community-dark .community-main textarea{background:#071019 !important;border:1px solid rgba(255,255,255,.14) !important;color:#e7eef6 !important;border-radius:2px !important}
.community-dark .community-main input::placeholder,.community-dark .community-main textarea::placeholder{color:#5b6b7a !important}
.community-dark .community-main .border-b{border-color:rgba(255,255,255,.08) !important}
.community-dark .community-main .space-y-8>div{background:#08111a;border:1px solid rgba(255,255,255,.08);padding:20px 20px 16px;margin-bottom:12px}
.community-dark .community-main .space-y-8>div:hover{border-color:rgba(143,224,221,.35)}
.community-dark .community-main .space-y-8 img{max-width:100%;border-radius:2px}
.community-dark .community-main .space-y-8 a{color:#8fe0dd}
.community-dark .community-main .w-e-toolbar{background:#0a121b !important;border-color:rgba(255,255,255,.14) !important}
.community-dark .community-main .w-e-text-container{background:#071019 !important;color:#e7eef6 !important}
.community-dark .community-main .w-e-text-container [contenteditable]{color:#e7eef6 !important;background:#071019 !important}
.community-dark .community-main .w-e-bar-item button{color:#a9bccb !important}
.community-dark .community-main .bg-primary{background:#0e7c7b !important}
.community-dark .community-main .hover\\:bg-secondary:hover{background:#0b6b6a !important}
.community-dark .community-main .text-red-500{color:#e0736a !important}
.community-dark .community-main .bg-green-100{background:rgba(14,124,123,.18) !important;color:#8fe0dd !important}
.community-dark .community-main .bg-red-100{background:rgba(180,60,46,.18) !important;color:#f0a39b !important}
.community-dark .community-main .shadow-md{box-shadow:none !important}
.community-dark footer{background:#071019 !important;border-top:1px solid rgba(255,255,255,.08)}
.community-dark footer .text-gray-300{color:#8498aa !important}
.community-dark #contactModal .modal-content{background:#0a121b !important;color:#dbe7f1 !important;border:1px solid rgba(255,255,255,.12)}
.community-dark #contactModal .text-primary,.community-dark #contactModal .text-gray-600{color:#dbe7f1 !important}

/* new hero + category strips */
.community-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:center;background:radial-gradient(700px 360px at 78% 40%,rgba(66,132,190,.22),transparent 65%),linear-gradient(110deg,#07111b,#0b1f2b);border:1px solid rgba(255,255,255,.1);padding:34px 36px;margin:8px 0 22px;overflow:hidden}
.community-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.15;letter-spacing:-.03em;margin:10px 0 8px;color:#fff}
.community-hero p{color:#93a7b9;font-size:13px;line-height:1.8;max-width:520px}
.community-hero .community-kicker{font-size:10px;color:#8fe0dd;letter-spacing:.2em;font-weight:700}
.community-hero-stats{display:flex;gap:22px;margin-top:18px}
.community-hero-stats b{display:block;color:#8fe0dd;font-size:20px}
.community-hero-stats span{display:block;color:#6e8395;font-size:10px}
.community-hero img{width:100%;max-height:260px;object-fit:contain;filter:drop-shadow(0 20px 30px rgba(0,0,0,.45))}
.community-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.community-chips span{border:1px solid rgba(255,255,255,.14);color:#a9bccb;font-size:11px;padding:6px 11px}
.community-resources{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1);margin:0 0 22px}
.community-resources a{display:block;background:#08111a;padding:16px 18px;color:#dbe7f1;transition:.2s}
.community-resources a:hover{background:#0c1620}
.community-resources strong{display:block;color:#fff;font-size:13px;margin-bottom:4px}
.community-resources span{display:block;color:#6e8395;font-size:10px}
@media(max-width:760px){.community-hero{grid-template-columns:1fr;padding:24px}.community-hero img{max-height:180px}.community-resources{grid-template-columns:1fr}}

.community-dark #navbar img{width:48px !important;height:48px !important}
.community-dark #navbar .container{padding-top:8px !important;padding-bottom:8px !important}
.community-dark #navbar h1{font-size:18px !important}
.community-dark .community-main .w-e-text-container,.community-dark .community-main #editor-container{height:240px !important;min-height:240px !important}
.community-dark .community-main .w-e-text-container [contenteditable]{min-height:220px !important}
.community-dark .community-main .w-e-toolbar{border-radius:2px 2px 0 0 !important}
.community-dark .community-main .bg-white{padding:20px !important}
.community-dark .community-main .bg-white h2{font-size:18px}
.community-dark .community-main .space-y-8>div h3{font-size:17px;line-height:1.5}
.community-dark .community-main .space-y-8>div .text-gray-700{font-size:12px;line-height:1.75}
.community-dark .community-main .space-y-8>div .text-gray-600{font-size:10px}
@media(max-width:760px){.community-dark .community-main .bg-white{padding:14px !important}}

.community-dark #contactAdvisorBtn,.community-dark #mobileContactBtn{background:linear-gradient(110deg,#d9822b,#c4731f) !important;border-radius:8px !important;font-weight:700;border:1px solid rgba(255,255,255,.12)}
.community-dark #contactModal .modal-content{border-radius:10px !important}
/* Community feed redesign */
.community-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:18px;align-items:start}
.community-feed{order:-1;min-width:0}
.community-compose{min-width:0;position:sticky;top:88px}
.community-compose-hint{color:#6e8395;font-size:11px;line-height:1.7;margin:0 0 14px}
.community-feed-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}
.community-feed-head h2{margin:0}
.community-feed-head span{color:#6e8395;font-size:11px}
.community-feed-list{display:flex;flex-direction:column;gap:12px}
.community-post-card{display:flex;gap:14px;padding:16px;background:#08111a;border:1px solid rgba(255,255,255,.08);transition:.2s}
.community-post-card:hover{border-color:rgba(143,224,221,.35);background:#0b1620}
.community-post-thumb{flex:0 0 128px;height:96px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:#071019}
.community-post-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.community-post-body{min-width:0;flex:1}
.community-post-meta{display:flex;align-items:center;gap:6px;color:#6e8395;font-size:10px;margin-bottom:6px;flex-wrap:wrap}
.community-avatar{width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(14,124,123,.25);color:#8fe0dd;font-size:10px;font-weight:700}
.community-post-card h3{margin:0 0 6px;font-size:16px;line-height:1.5}
.community-post-card h3 a{color:#fff;text-decoration:none}
.community-post-card h3 a:hover{color:#8fe0dd}
.community-post-card p{color:#93a7b9;font-size:12px;line-height:1.8;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.community-read{color:#8fe0dd;font-size:11px;font-weight:700;text-decoration:none}
.community-read:hover{color:#fff}
.community-compose .w-e-text-container,.community-compose #editor-container{height:220px !important;min-height:220px !important}
.community-compose .w-e-text-container [contenteditable]{min-height:200px !important}
.community-compose .w-e-toolbar{flex-wrap:wrap}
@media(max-width:860px){.community-layout{grid-template-columns:1fr}.community-feed{order:1}.community-compose{order:2;position:static}.community-post-thumb{flex-basis:92px;height:80px}}
@media(max-width:520px){.community-post-card{padding:12px;gap:10px}.community-post-thumb{display:none}}
