:root{--cbg:#f8f6f0;--cink:#102126;--cmuted:#6e7a7d;--cteel:#147c78;--cteel2:#e5f3f0;--ccoral:#e46f5a;--cline:#dedfd9;--cpaper:#fffdfa}
.community-page{background:var(--cbg);color:var(--cink)}
.community-shell{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:44px 0 100px}
.community-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr);gap:60px;align-items:end;padding:34px 0 42px;border-bottom:1px solid var(--cline)}
.community-kicker{font:800 10px/1 Inter,sans-serif;letter-spacing:.18em;color:var(--cteel);text-transform:uppercase}
.community-hero h1,.community-write-head h1,.community-profile-head h1{margin:12px 0 12px;font:500 clamp(54px,7vw,92px)/.92 Newsreader,Georgia,serif;letter-spacing:-.045em}
.community-hero p{max-width:680px;margin:0;color:var(--cmuted);font:400 17px/1.65 Inter,sans-serif}
.community-hero-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}.community-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border-radius:12px;border:1px solid var(--cline);background:var(--cpaper);color:var(--cink);font:700 12px/1 Inter,sans-serif;text-decoration:none;cursor:pointer}.community-btn.primary{background:var(--cteel);color:#fff;border-color:var(--cteel)}.community-btn.coral{background:var(--ccoral);border-color:var(--ccoral);color:#fff}.community-btn.quiet{background:transparent}.community-btn.active{background:#102126;color:#fff;border-color:#102126}
.community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 0}.community-tabs{display:flex;gap:6px;flex-wrap:wrap}.community-tabs a{padding:9px 12px;border-radius:10px;color:var(--cmuted);font:700 11px/1 Inter,sans-serif;text-decoration:none}.community-tabs a.is-active{background:var(--cteel2);color:#0d6764}.community-search{display:flex;align-items:center;gap:8px;min-width:min(360px,100%)}.community-search input{width:100%;height:42px;border:1px solid var(--cline);border-radius:12px;background:#fff;padding:0 14px;font:500 12px Inter,sans-serif;color:var(--cink);outline:none}.community-search input:focus{border-color:rgba(20,124,120,.45);box-shadow:0 0 0 4px rgba(20,124,120,.07)}
.community-feed{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}.community-card{grid-column:span 6;display:flex;flex-direction:column;min-height:320px;padding:26px;border:1px solid var(--cline);border-radius:24px;background:var(--cpaper);box-shadow:0 14px 36px rgba(17,33,38,.045)}.community-card:first-child{grid-column:span 12;display:grid;grid-template-columns:1.2fr .8fr;gap:40px;min-height:360px;background:linear-gradient(135deg,#0f2b2d,#153d3b);color:#fff;border-color:transparent}.community-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--cmuted);font:700 9px/1 Inter,sans-serif;text-transform:uppercase;letter-spacing:.12em}.community-card:first-child .community-card-meta{color:#bcd8d4}.community-card h2{margin:20px 0 10px;font:500 38px/1 Newsreader,serif;letter-spacing:-.025em}.community-card:first-child h2{font-size:clamp(45px,5.3vw,72px);max-width:800px}.community-card p{margin:0;color:var(--cmuted);font:400 14px/1.65 Inter,sans-serif}.community-card:first-child p{color:#c7d8d6;font-size:16px}.community-card-footer{margin-top:auto;padding-top:28px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.community-author{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}.community-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--cteel2);color:#0d6764;font:800 13px Inter,sans-serif;overflow:hidden}.community-avatar img{width:100%;height:100%;object-fit:cover}.community-author strong{display:block;font:700 11px Inter,sans-serif}.community-author small{display:block;margin-top:3px;color:var(--cmuted);font:500 9px Inter,sans-serif}.community-card:first-child .community-author small{color:#a9c6c3}.community-social{display:flex;align-items:center;gap:8px}.community-social form{margin:0}.community-social button,.community-social a{min-height:38px;padding:0 12px;border-radius:10px;border:1px solid var(--cline);background:transparent;color:inherit;display:inline-flex;align-items:center;gap:6px;text-decoration:none;font:700 10px Inter,sans-serif;cursor:pointer}.community-card:first-child .community-social button,.community-card:first-child .community-social a{border-color:rgba(255,255,255,.16);color:#fff}.community-social button.is-liked{background:#fff0ed;color:#bd4b39;border-color:#f3c9c1}.community-empty{grid-column:1/-1;padding:70px 24px;text-align:center;border:1px dashed var(--cline);border-radius:22px;color:var(--cmuted)}
.community-post{max-width:820px;margin:0 auto;padding:54px 0 100px}.community-post header{padding-bottom:30px;border-bottom:1px solid var(--cline)}.community-post h1{margin:12px 0 16px;font:500 clamp(54px,7vw,88px)/.94 Newsreader,serif;letter-spacing:-.04em}.community-post .lead{font:400 19px/1.65 Inter,sans-serif;color:var(--cmuted)}.community-post-author{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;flex-wrap:wrap}.community-post-body{padding:20px 0;font:400 22px/1.75 Newsreader,Georgia,serif;color:#28383a}.community-post-body h2,.community-post-body h3{font-family:Newsreader,serif;line-height:1.1}.community-post-body a{color:var(--cteel)}.community-post-actions{padding-top:24px;border-top:1px solid var(--cline);display:flex;gap:10px;flex-wrap:wrap}
.community-write{max-width:980px;margin:0 auto;padding:44px 0 100px}.community-write-head{display:flex;justify-content:space-between;gap:30px;align-items:end;padding-bottom:30px;border-bottom:1px solid var(--cline)}.community-write-head h1{font-size:clamp(52px,6vw,78px)}.community-write-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.6fr);gap:24px;padding-top:28px}.community-form,.community-side-card{padding:26px;border:1px solid var(--cline);border-radius:22px;background:#fff}.community-form{display:grid;gap:16px}.community-field{display:grid;gap:7px}.community-field label{font:800 9px/1 Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#657174}.community-field input,.community-field select,.community-field textarea{width:100%;border:1px solid var(--cline);border-radius:12px;background:#fbfbf8;padding:13px 14px;color:var(--cink);font:500 13px/1.5 Inter,sans-serif;outline:none;box-sizing:border-box}.community-field textarea{min-height:120px;resize:vertical}.community-field textarea[name=body]{min-height:360px;font-size:15px;line-height:1.7}.community-side-card{height:max-content}.community-side-card h3{margin:0 0 8px;font:500 28px/1 Newsreader,serif}.community-side-card p,.community-side-card li{color:var(--cmuted);font:500 12px/1.55 Inter,sans-serif}.community-submissions{display:grid;gap:8px;margin-top:18px}.community-submission{padding:12px;border-radius:12px;background:#f7f7f3}.community-submission strong{font:700 11px Inter,sans-serif}.community-submission small{display:block;margin-top:4px;color:var(--cmuted);font:500 9px Inter,sans-serif}.community-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#edf0ec;color:#64706e;font:800 8px Inter,sans-serif;text-transform:uppercase;letter-spacing:.1em}.community-status.published{background:#e4f3ec;color:#26775c}.community-status.pending{background:#fff4da;color:#8c661d}.community-status.rejected{background:#ffebe7;color:#a94b3d}
.community-profile-head{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:44px 0 34px;border-bottom:1px solid var(--cline)}.community-profile-head .community-avatar{width:82px;height:82px;border-radius:24px;font-size:24px}.community-profile-head h1{font-size:clamp(48px,6vw,72px);margin:0}.community-profile-stats{display:flex;gap:24px;margin-top:12px;color:var(--cmuted);font:600 11px Inter,sans-serif}.community-profile-stats strong{color:var(--cink)}.community-profile-posts{padding-top:28px}
.community-flash{margin:20px 0;padding:12px 14px;border-radius:12px;background:#e9f5f1;color:#176c62;font:700 11px Inter,sans-serif}.community-flash.error{background:#fff0ed;color:#a54b3d}
@media(max-width:900px){.community-hero{grid-template-columns:1fr;gap:24px}.community-hero-actions{justify-content:flex-start}.community-card,.community-card:first-child{grid-column:1/-1;display:flex}.community-write-grid{grid-template-columns:1fr}.community-profile-head{grid-template-columns:auto 1fr}.community-profile-head>.community-btn,.community-profile-head>form{grid-column:1/-1}.community-toolbar{align-items:stretch;flex-direction:column}.community-search{min-width:0}}
@media(max-width:640px){.community-shell{width:calc(100% - 22px);padding-top:24px}.community-hero h1{font-size:56px}.community-hero p{font-size:15px}.community-card{padding:20px;border-radius:18px;min-height:290px}.community-card h2{font-size:34px}.community-card:first-child h2{font-size:44px}.community-post{padding-top:30px}.community-post h1{font-size:52px}.community-post-body{font-size:20px}.community-write{padding-top:22px}.community-write-head{align-items:flex-start;flex-direction:column}.community-form,.community-side-card{padding:19px;border-radius:18px}.community-profile-head{grid-template-columns:1fr;text-align:left}.community-profile-head .community-avatar{width:68px;height:68px}.community-social{width:100%;justify-content:flex-start}}
