/* BelegLage Community 1.0 */
.community-kicker{display:block;color:#2d61d5;font-size:10px;font-weight:950;letter-spacing:.17em;text-transform:uppercase;margin-bottom:8px}.community-shell{padding:36px 0 72px;background:linear-gradient(180deg,#f7f9fd,#fff 420px)}.community-alert{margin:0 0 18px;padding:13px 16px;border-radius:12px;border:1px solid #cfd9ea;background:#f7f9fd;color:#31415d;font-size:13px;font-weight:700}.community-alert.success{border-color:#b6dfc9;background:#effaf4;color:#176541}.community-alert.error{border-color:#f0c6cc;background:#fff4f5;color:#9e2738}.community-alert.warning{border-color:#ead29a;background:#fff9e9;color:#805b10}.community-empty{padding:28px;border:1px dashed #bcc8dc;border-radius:16px;background:#fbfcff;color:#64728a;text-align:center}.community-empty strong,.community-empty h1{display:block;color:#182744;margin-bottom:5px}.community-empty.compact{padding:18px}.community-primary,.community-secondary{appearance:none;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:12px 17px;font-weight:900;cursor:pointer;text-decoration:none}.community-primary{background:linear-gradient(135deg,#245ed0,#3f73e4);color:#fff;box-shadow:0 8px 20px rgba(36,94,208,.2)}.community-secondary{background:#fff;color:#20314e;border:1px solid #d8e0ed}.community-primary.small,.community-secondary.small{padding:9px 12px;font-size:12px}.hero-actions,.account-actions,.form-actions{display:flex;flex-wrap:wrap;gap:10px}.forum-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 20%,rgba(73,114,214,.3),transparent 26%),linear-gradient(135deg,#07152d,#102b56 58%,#163c76);color:#fff;padding:64px 0}.forum-hero:after{content:'';position:absolute;right:-110px;bottom:-150px;width:430px;height:430px;border:1px solid rgba(255,255,255,.08);border-radius:50%}.forum-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:58px;align-items:center}.forum-hero .community-kicker{color:#8eb4ff}.forum-hero h1{max-width:850px;font-size:clamp(40px,5.2vw,68px);line-height:1.02;letter-spacing:-.05em;margin:0 0 18px}.forum-hero p{max-width:790px;color:#c9d7ec;font-size:17px;margin:0 0 26px}.forum-hero .community-secondary{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}.forum-hero-card{padding:25px;border:1px solid rgba(255,255,255,.17);border-radius:20px;background:rgba(8,26,56,.55);backdrop-filter:blur(12px);box-shadow:0 20px 60px rgba(0,0,0,.2)}.forum-hero-card>span{color:#96baff;font-size:10px;font-weight:950;letter-spacing:.14em}.forum-hero-card>strong{display:block;font-size:58px;line-height:1;margin:14px 0 4px}.forum-hero-card>small{color:#c6d4e8}.forum-hero-card>div{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.13);color:#c6d4e8;font-size:12px}.forum-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 245px;gap:22px;align-items:start}.forum-side{display:grid;gap:14px;position:sticky;top:130px}.forum-side-card,.topic-list,.forum-search,.forum-composer,.community-post,.account-card,.forum-edit-card,.forum-comment-compose{background:#fff;border:1px solid #dce4ef;border-radius:16px;box-shadow:0 8px 28px rgba(18,39,78,.055)}.forum-side-card{padding:16px}.forum-side-card h3{margin:0 0 8px;font-size:16px}.forum-side-card p{margin:0;color:#68758c;font-size:12px;line-height:1.6}.forum-side-card>a{display:inline-block;margin-top:9px;color:#2d61d5;font-size:12px;font-weight:850}.forum-side-card.accent{border-top:4px solid #2d61d5}.mini-user{display:flex;gap:10px;align-items:center}.mini-user>div{display:grid}.mini-user small{color:#718097;font-size:10px}.topic-list{padding:7px;display:grid;gap:3px}.topic-list>a{display:flex;align-items:center;gap:9px;padding:9px;border-radius:10px}.topic-list>a:hover,.topic-list>a.active{background:#edf3ff}.topic-list>a>span{font-size:18px;width:26px;text-align:center}.topic-list>a>div{display:grid;min-width:0}.topic-list strong{font-size:12px}.topic-list small{font-size:10px;color:#7a879b}.forum-feed{min-width:0}.forum-search{display:flex;padding:7px;margin-bottom:14px}.forum-search input{flex:1;min-width:0;border:0;outline:0;padding:10px 12px}.forum-search button{border:0;border-radius:9px;background:#173b78;color:#fff;padding:0 15px;font-weight:850}.forum-avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#285ecc,#694ad8);color:#fff;font-size:12px;font-weight:950;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}.forum-avatar.small{width:34px;height:34px;flex-basis:34px;font-size:10px}.forum-avatar.large{width:55px;height:55px;flex-basis:55px;font-size:15px}.forum-avatar.xlarge{width:96px;height:96px;flex-basis:96px;font-size:26px}.active-profile{display:flex!important;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #edf0f5}.active-profile:last-child{border-bottom:0}.active-profile span{display:grid}.active-profile strong{font-size:12px}.active-profile small{font-size:10px;color:#7a879b}.forum-composer{padding:14px;margin-bottom:14px}.composer-head{display:flex;gap:10px;align-items:center}.composer-head>button{flex:1;border:0;border-radius:999px;background:#f0f2f6;color:#637086;text-align:left;padding:13px 16px;cursor:pointer}.composer-form{display:none;border-top:1px solid #e5eaf2;margin-top:14px;padding-top:14px}.composer-form.open{display:grid;gap:12px}.composer-form label,.community-form label{display:grid;gap:6px;color:#34415a;font-size:12px;font-weight:850}.composer-form textarea,.composer-form input,.composer-form select,.community-form textarea,.community-form input,.community-form select{width:100%;border:1px solid #d5deeb;border-radius:10px;padding:11px 12px;background:#fff;color:#17233f;outline:none}.composer-form textarea:focus,.composer-form input:focus,.composer-form select:focus,.community-form textarea:focus,.community-form input:focus,.community-form select:focus{border-color:#6a8fe4;box-shadow:0 0 0 3px rgba(45,97,213,.09)}.composer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.composer-submit{display:flex;align-items:center;justify-content:space-between;gap:18px}.composer-submit small{color:#738097;font-size:10px;max-width:500px}.image-upload{padding:12px;border:1px dashed #bfcce0;border-radius:12px;background:#fbfcff}.image-upload>span,.field-note{color:#7a879b;font-size:10px;font-weight:500}.image-preview{margin-top:8px}.image-preview img{max-width:180px;max-height:120px;border-radius:9px;object-fit:cover}.community-post{overflow:hidden;margin-bottom:14px}.community-post>header{display:flex;align-items:flex-start;gap:10px;padding:15px 16px 8px}.post-author{display:grid;flex:1;min-width:0}.post-author>a{font-weight:900}.post-author>span{color:#7a879b;font-size:10px}.post-edit-link{color:#2d61d5;font-size:11px;font-weight:850}.post-copy{padding:7px 16px 13px}.post-copy>p{margin:0;color:#263750;font-size:15px;line-height:1.58}.read-more{display:inline-block;margin-top:7px;color:#2d61d5;font-size:12px;font-weight:850}.source-preview{display:grid;margin-top:12px;padding:12px;border:1px solid #dce4ef;border-radius:11px;background:#f6f8fc}.source-preview small{font-size:9px;letter-spacing:.1em;color:#66758e}.source-preview strong{margin:2px 0;font-size:13px}.source-preview span{color:#7b8798;font-size:10px;word-break:break-all}.forum-image{display:block;margin:14px -16px -13px;background:#eef2f8}.forum-image img{width:100%;max-height:640px;object-fit:contain;margin:auto}.image-state{margin-top:12px;padding:11px 12px;border-radius:10px;background:#f7f8fb;color:#66758a;font-size:11px}.image-state.rejected{background:#fff2f4;color:#a02a3a}.image-state.approved{background:#eef9f3;color:#176541}.image-state.error{background:#fff8e8;color:#7b5a12}.post-stats{display:flex;gap:14px;padding:9px 16px;border-top:1px solid #edf0f5;color:#778398;font-size:10px}.post-stats a{margin-left:auto}.post-actions{display:flex;align-items:stretch;gap:2px;padding:5px 8px;border-top:1px solid #edf0f5;overflow-x:auto}.post-actions form{display:flex}.post-actions button,.post-actions>a{border:0;border-radius:8px;background:none;color:#5c687d;padding:8px 9px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.post-actions button:hover,.post-actions button.active,.post-actions>a:hover{background:#edf3ff;color:#2458c6}.report-box{padding:0 16px 12px}.report-box summary{cursor:pointer;color:#7c8798;font-size:10px}.report-box form{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;margin-top:8px}.report-box select,.report-box input{border:1px solid #d8e0ec;border-radius:8px;padding:8px}.report-box button{border:0;border-radius:8px;background:#243855;color:#fff;padding:8px 12px}.forum-detail-hero,.profile-hero,.account-hero{background:linear-gradient(135deg,#f5f8fe,#edf3ff);border-bottom:1px solid #dce4ef;padding:42px 0}.forum-detail-hero a{display:inline-block;margin-bottom:18px;color:#2d61d5;font-size:12px;font-weight:850}.forum-detail-hero h1,.profile-hero h1,.account-hero h1{font-size:clamp(34px,4.5vw,54px);line-height:1.05;letter-spacing:-.04em;margin:0 0 12px}.forum-detail-hero p,.profile-hero p,.account-hero p{max-width:840px;color:#66748c;margin:0}.forum-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start}.forum-detail-side{position:sticky;top:130px;display:grid;gap:14px}.danger-link{border:0;background:none;color:#b22c3c;font-size:12px;font-weight:850;padding:9px 0;cursor:pointer}.forum-edit-card{padding:20px}.forum-edit-card h2{margin-top:0}.community-form{display:grid;gap:13px}.forum-comments{margin-top:28px}.forum-comments-head,.fact-comments-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}.forum-comments-head h2,.fact-comments-head h2{margin:0;font-size:28px;letter-spacing:-.025em}.forum-comment-compose{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:start;padding:13px;margin-bottom:15px}.forum-comment-compose textarea{width:100%;min-height:86px;border:1px solid #d8e0ec;border-radius:12px;padding:10px 42px 10px 11px}.forum-comment-list{display:grid;gap:12px}.forum-comment{display:flex;gap:9px;align-items:flex-start}.forum-comment-main{flex:1;min-width:0}.forum-comment-bubble{padding:10px 13px;border-radius:14px;background:#f0f3f8}.forum-comment-bubble header{display:flex;gap:10px;align-items:center}.forum-comment-bubble header strong{font-size:12px}.forum-comment-bubble time{color:#8390a3;font-size:9px}.forum-comment-bubble p{margin:5px 0 0;font-size:13px}.comment-action-row{display:flex;gap:3px;align-items:center;padding:4px 6px}.comment-action-row form{display:flex}.comment-action-row button{border:0;background:none;color:#6d788b;border-radius:7px;padding:5px 7px;font-size:10px;font-weight:800;cursor:pointer}.comment-action-row button.active,.comment-action-row button:hover{background:#edf3ff;color:#2d61d5}.reply-form{margin:6px 0 10px;padding:10px;border-left:3px solid #d7e3fb}.reply-form textarea{width:100%;border:1px solid #d8e0ec;border-radius:9px;padding:9px 40px 9px 10px}.forum-comment.reply{margin:8px 0 0 18px}.profile-hero-grid{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:22px;align-items:center}.profile-meta{display:flex;gap:8px 16px;flex-wrap:wrap;color:#66758b;font-size:11px}.profile-posts{max-width:850px}.account-hero-row{display:flex;align-items:center;justify-content:space-between;gap:25px}.account-narrow{max-width:640px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.account-card{padding:20px}.account-card h1,.account-card h2{margin:0 0 12px}.account-posts{grid-column:1/-1}.account-switch,.account-links{font-size:12px}.account-links{display:flex;justify-content:space-between}.account-links a,.account-switch a{color:#2d61d5;font-weight:850}.check-line{grid-template-columns:20px 1fr!important;align-items:start}.check-line input{width:auto!important;margin-top:3px}.notification-list{display:grid}.notification-list>a{display:grid;padding:10px 0;border-bottom:1px solid #edf0f5}.notification-list strong{font-size:12px}.notification-list small{color:#7c8799;font-size:9px}.account-post-row{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px 0;border-bottom:1px solid #edf0f5}.account-post-row>div{display:grid}.account-post-row strong{font-size:13px}.account-post-row small{color:#748197;font-size:10px}.status-pill{display:inline-flex;align-items:center;height:max-content;padding:4px 7px;border-radius:999px;background:#eef1f6;color:#5b6578;font-size:9px;font-weight:900;text-transform:uppercase}.status-pill.published{background:#e9f8f0;color:#176541}.status-pill.review{background:#fff7e6;color:#835c0c}.status-pill.rejected{background:#fff0f2;color:#a52b44}.verification-card{text-align:center;padding:35px;border:1px solid #dce4ef;border-radius:18px;background:#fff;box-shadow:0 14px 42px rgba(19,39,76,.08)}.verification-card>span{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;margin:0 auto 15px;background:#eaf8f0;color:#176541;font-size:29px;font-weight:950}.verification-card.error>span{background:#fff0f2;color:#a52b44}.verification-card h1{margin:0 0 10px}.verification-card p{color:#65728a}.legal-community{max-width:900px}.legal-community article{background:#fff;border:1px solid #dce4ef;border-radius:18px;padding:28px}.legal-community h2{margin:28px 0 8px}.legal-community h2:first-child{margin-top:0}.legal-community p{color:#56647b}.fact-comments{width:min(1180px,calc(100% - 36px));margin:32px auto 58px;padding-top:28px;border-top:1px solid #dce4ef}.fact-comments-head>strong{color:#2d61d5;font-size:12px}.fact-comments-head p{max-width:720px;margin:6px 0 0;color:#69768b;font-size:13px}.fact-comments-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:24px;align-items:start}.comment-list{display:grid;gap:11px}.fact-comment{display:flex;gap:11px;padding:15px;border:1px solid #dce4ef;border-radius:14px;background:#fff}.fact-comment-avatar{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#173b78;color:#fff;font-size:12px;font-weight:950}.fact-comment>div:last-child{flex:1}.fact-comment header{display:flex;justify-content:space-between;gap:12px}.fact-comment header strong{font-size:12px}.fact-comment time{color:#8090a6;font-size:9px}.fact-comment p{margin:6px 0 0;color:#34445c;font-size:13px}.comment-form-card{position:sticky;top:130px;padding:20px;border:1px solid #dce4ef;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(18,39,78,.06)}.comment-form-card h3{margin:0 0 7px}.privacy-mini{color:#69768b;font-size:11px}.captcha-line{display:grid;grid-template-columns:auto 90px;gap:10px;align-items:center}.captcha-line strong{font-size:14px}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.emoji-host{position:relative}.emoji-host textarea{padding-right:44px!important}.emoji-launch{position:absolute;right:8px;bottom:8px;width:31px;height:31px;border:0;border-radius:8px;background:#f0f3f8;cursor:pointer}.emoji-panel{position:fixed;z-index:10000;width:min(420px,calc(100vw - 20px));max-height:min(540px,calc(100vh - 30px));display:flex;flex-direction:column;border:1px solid #ced8e7;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(7,25,55,.25);overflow:hidden}.emoji-panel[hidden]{display:none}.emoji-head{display:flex;gap:7px;padding:9px;border-bottom:1px solid #e7ebf2;background:#fbfcff}.emoji-head input{flex:1;border:1px solid #d7dfeb;border-radius:9px;padding:8px}.emoji-head button{border:0;background:#eef2f8;border-radius:9px;width:36px;cursor:pointer}.emoji-tabs{display:flex;overflow-x:auto;gap:3px;padding:7px;border-bottom:1px solid #e7ebf2}.emoji-tabs button{border:0;background:none;border-radius:8px;padding:6px 8px;cursor:pointer}.emoji-tabs button.active{background:#edf3ff}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;padding:8px;overflow:auto}.emoji-grid button{border:0;background:none;border-radius:7px;font-size:22px;height:38px;cursor:pointer}.emoji-grid button:hover{background:#edf3ff}.emoji-foot{padding:7px 10px;border-top:1px solid #e7ebf2;color:#8490a1;font-size:9px}.image-preview{color:#68758b;font-size:10px}
@media(max-width:1050px){.forum-layout{grid-template-columns:205px minmax(0,1fr)}.forum-side.right{display:none}.forum-hero-grid{grid-template-columns:1fr 250px}.fact-comments-grid{grid-template-columns:1fr}.comment-form-card{position:static}.account-grid{grid-template-columns:1fr}.account-posts{grid-column:auto}}
@media(max-width:820px){.forum-layout,.forum-detail-layout{grid-template-columns:1fr}.forum-side.left,.forum-detail-side{position:static}.forum-side.left{grid-template-columns:1fr 1fr}.topic-list{grid-column:1/-1}.forum-hero-grid,.profile-hero-grid{grid-template-columns:1fr}.forum-hero-card{max-width:360px}.profile-hero-grid form{justify-self:start}.forum-comment-compose{grid-template-columns:34px 1fr}.forum-comment-compose>button{grid-column:2}.composer-submit{align-items:stretch;flex-direction:column}.account-hero-row{align-items:flex-start;flex-direction:column}.fact-comments{width:min(100% - 24px,1180px)}}
@media(max-width:620px){.forum-hero{padding:44px 0}.forum-hero h1{font-size:39px}.forum-side.left{grid-template-columns:1fr}.topic-list{grid-column:auto}.composer-grid{grid-template-columns:1fr}.report-box form{grid-template-columns:1fr}.post-actions{padding-left:4px}.forum-comment-compose{grid-template-columns:1fr}.forum-comment-compose>.forum-avatar{display:none}.forum-comment-compose>button{grid-column:1}.profile-hero-grid{gap:14px}.fact-comments-head,.forum-comments-head{align-items:flex-start;flex-direction:column}.fact-comment header{align-items:flex-start;flex-direction:column;gap:2px}.emoji-grid{grid-template-columns:repeat(7,1fr)}.account-card,.comment-form-card,.forum-edit-card{padding:16px}}
.forum-feed-tabs{display:flex;gap:6px;margin:0 0 10px;padding:5px;border:1px solid #dce4ef;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(18,39,78,.04)}.forum-feed-tabs a{flex:1;padding:9px 12px;border-radius:9px;color:#65738a;text-align:center;font-size:11px;font-weight:850}.forum-feed-tabs a.active{background:#edf3ff;color:#2458c6}

/* Fix: Primary CTA links inside forum side cards must keep readable white text. */
.forum-side-card>a.community-primary,
.forum-side-card>a.community-primary:link,
.forum-side-card>a.community-primary:visited,
.forum-side-card>a.community-primary:hover,
.forum-side-card>a.community-primary:focus,
.forum-side-card>a.community-primary:active{color:#fff}
