:root{--post-green:#176b45;--post-green-dark:#0e4f33;--post-ink:#13261d;--post-muted:#68776f;--post-line:#dce7e0;--post-bg:#f3f7f4}
.social-posts-home{padding:3rem 0;background:linear-gradient(180deg,#fff,#f3f7f4)}
.social-posts-home__container{width:min(1500px,calc(100% - 2rem));margin:auto}
.social-posts-home__header{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.social-posts-home__header h2{margin:.15rem 0;font-size:clamp(1.8rem,3vw,2.8rem);color:var(--post-ink)}
.social-posts-home__header p{margin:0;color:var(--post-muted)}
.social-posts-home__eyebrow{font-size:.76rem!important;text-transform:uppercase;letter-spacing:.12em;font-weight:850;color:var(--post-green)!important}
.social-posts-primary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:0;border-radius:999px;background:var(--post-green);color:#fff!important;text-decoration:none;padding:.75rem 1.1rem;font-weight:800;cursor:pointer;white-space:nowrap}
.social-posts-viewport{height:min(690px,72vh);min-height:540px;overflow-x:hidden;overflow-y:auto;border:1px solid var(--post-line);border-radius:24px;background:#eaf1ec;scroll-snap-type:y proximity;overscroll-behavior-x:none;overscroll-behavior-y:auto;touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-gutter:stable}
.social-posts-rail{min-height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-flow:row;gap:1rem;padding:1rem;align-items:stretch}
.social-posts-card{height:calc(min(690px,72vh) - 2rem);min-height:508px;min-width:0;scroll-snap-align:start;background:#fff;border:1px solid #dce6df;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 12px 30px rgba(22,73,46,.08)}
.social-posts-card.is-linked-post{outline:3px solid #1ea66a;box-shadow:0 0 0 7px rgba(30,166,106,.16),0 14px 38px rgba(14,66,42,.16)}
.social-posts-card__head{display:flex;align-items:center;gap:.7rem;padding:.8rem .9rem;min-height:66px}
.social-posts-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex:0 0 42px;background:#dff1e7;color:var(--post-green);font-weight:850;text-decoration:none}
.social-posts-avatar img{width:100%;height:100%;object-fit:cover}
.social-posts-card__identity{min-width:0;flex:1}.social-posts-card__identity a{color:var(--post-ink);font-weight:820;text-decoration:none}.social-posts-card__identity small{display:block;color:var(--post-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.social-posts-more{border:0;background:transparent;color:#53665d;width:38px;height:38px;border-radius:50%;cursor:pointer}.social-posts-more:hover{background:#edf3ef}
.social-posts-media{position:relative;flex:1;min-height:300px;background:#101914;overflow:hidden}
.social-posts-media__slide{position:absolute;inset:0;display:none}.social-posts-media__slide.is-active{display:block}.social-posts-media img,.social-posts-media video{width:100%;height:100%;display:block;object-fit:cover;background:#101914}
.social-posts-media__nav{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:50%;background:rgba(15,25,20,.68);color:#fff;cursor:pointer}.social-posts-media__nav--prev{left:.6rem}.social-posts-media__nav--next{right:.6rem}
.social-posts-media__dots{position:absolute;left:50%;bottom:.65rem;z-index:2;display:flex;gap:.3rem;transform:translateX(-50%);padding:.3rem .45rem;border-radius:99px;background:rgba(0,0,0,.25)}.social-posts-media__dot{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55)}.social-posts-media__dot.is-active{background:#fff;transform:scale(1.25)}
.social-posts-card__actions{display:flex;align-items:center;gap:.2rem;padding:.55rem .7rem .15rem}.social-posts-action{border:0;background:transparent;min-width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;color:#273c32;cursor:pointer;font-size:1rem}.social-posts-action span{font-size:.73rem;font-weight:750}.social-posts-action:hover{background:#eef4f0}.social-posts-action.is-active{color:var(--post-green)}.social-posts-action.is-dislike.is-active{color:#ad391f}.social-posts-action--push{margin-left:auto}
.social-posts-card__copy{padding:.15rem .9rem .9rem;min-height:76px}.social-posts-card__copy p{margin:.35rem 0 0;color:#25382f;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.social-posts-card__comments{border:0;background:transparent;color:var(--post-muted);padding:0;text-align:left;cursor:pointer;font-size:.78rem;font-weight:700}
.social-posts-hashtags{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.45rem}.social-posts-hashtag{color:#16704a;text-decoration:none;font-size:.8rem;font-weight:800}.social-posts-hashtag:hover{text-decoration:underline}
.social-posts-home__footer{display:flex;align-items:center;justify-content:center;gap:.8rem;margin-top:.9rem;color:var(--post-muted);font-size:.82rem}.social-posts-nav{width:38px;height:38px;border:1px solid var(--post-line);border-radius:50%;background:#fff;color:var(--post-green);cursor:pointer}
.social-posts-loading,.social-posts-empty{display:grid;grid-column:1/-1;place-items:center;height:100%;min-height:500px;min-width:0;color:var(--post-muted);text-align:center;padding:2rem}
.social-posts-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.social-posts-profile-grid .social-posts-card{height:590px}

.post-modal{position:fixed;inset:0;z-index:13050;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(6,18,12,.72);backdrop-filter:blur(8px)}
.post-modal[hidden]{display:none}.post-modal__dialog{width:min(980px,100%);max-height:min(92dvh,900px);display:flex;flex-direction:column;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.32)}
.post-modal__head{display:flex;align-items:center;gap:.7rem;padding:1rem 1.15rem;border-bottom:1px solid var(--post-line)}.post-modal__head h2{margin:0;flex:1;font-size:1.25rem}.post-modal__close{border:0;background:#edf3ef;color:#25382f;border-radius:50%;width:40px;height:40px;cursor:pointer;font-size:1.2rem}
.post-composer{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);min-height:620px;overflow:auto}
.post-composer__media{background:#101914;min-height:420px;display:flex;flex-direction:column}.post-composer__tabs{display:flex;gap:.4rem;padding:.8rem;background:#fff;border-bottom:1px solid var(--post-line)}.post-composer__tab{flex:1;border:1px solid var(--post-line);border-radius:999px;padding:.65rem .7rem;background:#fff;color:#364a40;font-weight:780;cursor:pointer}.post-composer__tab.is-active{background:var(--post-green);border-color:var(--post-green);color:#fff}
.post-composer__stage{position:relative;flex:1;display:grid;place-items:center;overflow:hidden}.post-composer__stage video{width:100%;height:100%;max-height:540px;object-fit:contain}.post-composer__picker{text-align:center;color:#fff;padding:2rem}.post-composer__picker i{font-size:3rem;margin-bottom:1rem}.post-composer__picker button,.post-camera-control{border:0;border-radius:999px;padding:.8rem 1rem;background:#fff;color:#123d29;font-weight:820;cursor:pointer}.post-camera-controls{position:absolute;left:1rem;right:1rem;bottom:1rem;display:flex;justify-content:center;gap:.6rem}.post-camera-control.is-recording{background:#d92d20;color:#fff}
.post-composer__selected{display:flex;gap:.55rem;overflow-x:auto;padding:.7rem;background:#fff;border-top:1px solid var(--post-line);min-height:88px}.post-selected-media{position:relative;flex:0 0 70px;height:70px;border-radius:12px;overflow:hidden;background:#dce6df}.post-selected-media img,.post-selected-media video{width:100%;height:100%;object-fit:cover}.post-selected-media button{position:absolute;top:3px;right:3px;border:0;background:rgba(0,0,0,.7);color:#fff;border-radius:50%;width:24px;height:24px;cursor:pointer}
.post-composer__details{padding:1.1rem;overflow:auto}.post-composer__details label{display:block;margin:.8rem 0 .35rem;color:#2d4036;font-size:.82rem;font-weight:800}.post-composer__details textarea,.post-composer__details input,.post-composer__details select{width:100%;box-sizing:border-box;border:1px solid #cbd9d0;border-radius:14px;padding:.8rem;font:inherit}.post-composer__details textarea{min-height:145px;resize:vertical}.post-composer__hint{display:block;margin-top:.35rem;color:#68776f;font-size:.75rem;line-height:1.4}.post-composer__footer{display:flex;align-items:center;gap:.7rem;margin-top:1rem}.post-composer__publish{flex:1;border:0;border-radius:14px;padding:.85rem;background:var(--post-green);color:#fff;font-weight:850;cursor:pointer}.post-composer__publish:disabled{opacity:.55}.post-composer__status{min-height:1.25rem;margin:.65rem 0 0;color:#b42318;font-size:.8rem}

.post-comments-dialog{width:min(1050px,100%);height:min(90dvh,860px)}.post-comments-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);min-height:0;flex:1}.post-comments-preview{background:#101914;display:grid;place-items:center;overflow:hidden}.post-comments-preview img,.post-comments-preview video{width:100%;height:100%;object-fit:contain;max-height:100%}.post-comments-panel{display:flex;flex-direction:column;min-height:0;background:#fff}.post-comments-list{flex:1;overflow:auto;padding:1rem}.post-comment{display:grid;grid-template-columns:38px 1fr;gap:.65rem;margin-bottom:.9rem}.post-comment .social-posts-avatar{width:38px;height:38px;flex-basis:38px}.post-comment__bubble{min-width:0}.post-comment__bubble p{margin:.2rem 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.post-comment__meta{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;color:var(--post-muted);font-size:.72rem}.post-comment__meta a{font-weight:820;color:var(--post-ink);text-decoration:none}.post-comment__actions{display:flex;gap:.2rem;margin-top:.25rem}.post-comment__actions button{border:0;background:transparent;color:#627269;padding:.2rem .35rem;font-size:.72rem;font-weight:740;cursor:pointer}.post-comment__actions button.is-active{color:var(--post-green)}.post-comment__replies{grid-column:2;margin-top:.55rem;padding-left:.7rem;border-left:2px solid #e3ece6}.post-comment__attachment{max-width:280px;margin-top:.45rem}.post-comment__attachment img,.post-comment__attachment video{max-width:100%;max-height:230px;border-radius:12px}.post-comment__attachment audio{width:min(100%,300px)}
.post-comment.is-linked-comment>.post-comment__bubble{outline:2px solid #1ea66a;background:#eefaf3;border-radius:10px;padding:.35rem}
.post-comments-compose{border-top:1px solid var(--post-line);padding:.75rem;background:#fff}.post-comments-compose__reply{display:flex;justify-content:space-between;align-items:center;padding:.4rem .6rem;margin-bottom:.4rem;border-radius:10px;background:#eef5f0;color:#496256;font-size:.75rem}.post-comments-compose__row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.45rem;align-items:end}.post-comments-compose textarea{min-height:46px;max-height:130px;resize:vertical;border:1px solid #cbd9d0;border-radius:14px;padding:.72rem;font:inherit}.post-comments-compose__tools{display:flex;gap:.25rem}.post-comments-compose__tools button,.post-comments-send{width:42px;height:42px;border:1px solid #d3dfd7;border-radius:50%;background:#fff;color:var(--post-green);cursor:pointer}.post-comments-send{background:var(--post-green);color:#fff;border-color:var(--post-green)}.post-comments-pending{display:flex;align-items:center;gap:.6rem;margin:.45rem 0;padding:.45rem;border-radius:10px;background:#f1f6f3;font-size:.76rem}.post-comments-pending audio{max-width:240px}.post-recording-time{color:#b42318;font-weight:850;font-variant-numeric:tabular-nums}
.post-comments-pending img,.post-comments-pending video{width:78px;height:78px;object-fit:cover;border-radius:10px}
.post-report-form{padding:1.1rem}.post-report-form label{display:block;margin:.7rem 0 .3rem;font-weight:800}.post-report-form select,.post-report-form textarea{width:100%;box-sizing:border-box;border:1px solid #cbd9d0;border-radius:12px;padding:.75rem;font:inherit}.post-report-form textarea{min-height:120px}.post-report-form button{width:100%;margin-top:1rem;border:0;border-radius:12px;padding:.8rem;background:#b42318;color:#fff;font-weight:820;cursor:pointer}
body.post-modal-open{overflow:hidden}.help-button:has(+ .post-modal),body.post-modal-open .help-button,body.post-modal-open [data-help-button]{display:none!important}

@media(max-width:1050px){.social-posts-rail{grid-template-columns:minmax(0,1fr)}.social-posts-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.social-posts-home{padding:1.4rem 0}.social-posts-home__container{width:min(100% - 1rem,1500px)}.social-posts-home__header{align-items:flex-start}.social-posts-home__header p:not(.social-posts-home__eyebrow){display:none}.social-posts-viewport{height:min(650px,72dvh);min-height:520px;border-radius:18px}.social-posts-rail{grid-template-columns:1fr;gap:.65rem;padding:.5rem}.social-posts-card{height:calc(min(650px,72dvh) - 1rem);min-height:510px;border-radius:16px}.social-posts-home__footer span{display:none}.social-posts-profile-grid{grid-template-columns:1fr}.social-posts-profile-grid .social-posts-card{height:620px}.post-modal{padding:0;align-items:stretch}.post-modal__dialog{width:100%;height:100dvh;max-height:none;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.post-composer{grid-template-columns:1fr;display:block;overflow:auto}.post-composer__media{min-height:54dvh}.post-composer__details{overflow:visible}.post-comments-layout{grid-template-columns:1fr;display:flex;flex-direction:column}.post-comments-preview{height:31dvh;flex:0 0 31dvh}.post-comments-panel{flex:1}.post-comments-compose__row{grid-template-columns:auto minmax(0,1fr) 44px}.post-comments-compose__tools{flex-direction:column}.post-comments-compose__tools button{width:36px;height:36px}.post-comments-send{width:44px;height:44px}}
@media(max-width:430px){.social-posts-home__header h2{font-size:1.6rem}.social-posts-primary{padding:.65rem .85rem}.social-posts-viewport{height:620px}.social-posts-card__copy{min-height:72px}.post-composer__media{min-height:50dvh}.post-comments-preview{height:27dvh;flex-basis:27dvh}}
@media(prefers-reduced-motion:reduce){.social-posts-viewport{scroll-behavior:auto!important}}
