/* ===== Dedicated feed page ===== */
.fh{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px 0 6px}
.fh-t h1{font-size:clamp(26px,3vw,34px);line-height:1.3}
.fh-t p{color:var(--muted);margin:2px 0 0}
.fh-t p b{color:var(--green);font-family:'Geist','Hind Siliguri',sans-serif;font-size:1.15em}
.fh-search{display:flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:5px 5px 5px 18px;width:min(100%,520px);box-shadow:var(--shadow);transition:.15s}
.fh-search:focus-within{border-color:var(--green-3);box-shadow:0 0 0 3px rgba(42,86,64,.15)}
.fh-si{display:flex;color:var(--muted);font-size:19px}
.fh-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;padding:9px 4px 7px}
.fh-search .btn{height:42px;padding:6px 22px 0}

.feed-page .cats-sw,body[data-page="feed"] .cats-sw{margin-bottom:10px}
.layout.two{grid-template-columns:300px minmax(0,1fr);gap:26px}

/* toolbar above the feed */
.ftool{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-bottom:16px}
.ftool .mf-btn{display:none}
.ftool-r{display:flex;align-items:center;gap:12px}
.ftool .dd{width:auto}
.ftool .dd-btn{min-height:46px;border-radius:999px;padding:10px 18px 8px;min-width:210px}
.vt{display:flex;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:4px}
.vt button{width:40px;height:38px;border-radius:999px;display:grid;place-items:center;font-size:19px;color:var(--muted);transition:.15s}
.vt button.on{background:var(--green);color:var(--amber)}
.vt button:hover:not(.on){color:var(--green)}

/* grid view: two compact columns on wide screens */
#list.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
#list.grid .pc{margin-bottom:0}
#list.grid .empty{grid-column:1/-1}
#list.grid .pc-t{font-size:18px}
#list.grid .pc-row{flex-direction:column;align-items:stretch}
#list.grid .pc-btn{justify-content:center}
#list.grid .pc-info{grid-template-columns:1fr 1fr}
.back-top{text-align:center;padding:6px 0 30px}
.back-top .ft-up{background:#fff;color:var(--green);border-color:var(--line)}
.back-top .ft-up:hover{background:var(--amber);border-color:var(--amber)}
.feed-pad{height:20px}

/* filters stay put while the feed scrolls */
@media(min-width:861px){
  .layout.two .side.left{position:sticky;top:88px;max-height:calc(100vh - 104px);overflow-y:auto;scrollbar-width:thin;padding-right:2px}
  .layout.two .side.left .fp{overflow:visible}
  .fp-foot{display:none}
}
@media(max-width:1100px){.layout.two{grid-template-columns:270px minmax(0,1fr);gap:18px}#list.grid{grid-template-columns:1fr}}
@media(max-width:860px){
  .fh{padding:18px 0 4px}
  .layout.two{grid-template-columns:1fr}
  .ftool{justify-content:stretch;flex-direction:column;align-items:stretch;gap:10px}
  .ftool .mf-btn{display:flex}
  .ftool-r{justify-content:space-between}
  .ftool .dd{flex:1}
  .ftool .dd-btn{min-width:0;width:100%}
  #list.grid{grid-template-columns:1fr}
  .vt{display:none}
  .feed-pad{height:84px}
  .back-top{padding-bottom:14px}
}

/* landing page: "see all posts" call-to-action under the first 10 */
.seeall{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;margin:6px 0 24px;border-radius:22px;background:linear-gradient(135deg,var(--green),var(--green-3));color:#fff;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}
.seeall::before{content:"";position:absolute;right:-60px;top:-60px;width:210px;height:210px;border-radius:50%;border:1.5px dashed rgba(255,255,255,.28)}
.seeall:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.sa-t{position:relative;z-index:1}
.sa-t b{display:block;font-size:21px;line-height:1.4}
.sa-t small{display:block;color:rgba(255,255,255,.8);font-size:14.5px;line-height:1.6;margin-top:2px}
.sa-b{position:relative;z-index:1;flex:0 0 auto;height:50px;padding:7px 26px 0;font-size:16px}
.sa-b .ic{font-size:19px;margin-top:-3px}
@media(max-width:620px){.seeall{flex-direction:column;align-items:stretch;text-align:center;padding:22px 18px}.sa-t b{font-size:19px}.sa-b{justify-content:center;width:100%}}

/* page title is an image (transparent artwork) */
.fh-t h1.fh-title{margin:0;line-height:0;font-size:0}
.fh-title img{display:block;height:auto;width:min(100%,300px);filter:drop-shadow(0 4px 12px rgba(18,41,30,.22))}
.fh-t p{margin-top:6px}
@media(max-width:860px){
  .fh{flex-direction:column;align-items:center;text-align:center;gap:14px;padding:18px 0 6px}
  .fh-t{display:flex;flex-direction:column;align-items:center}
  .fh-t h1.fh-title{display:flex;justify-content:center}
  .fh-title img{width:min(72%,260px)}
  .fh-search{width:100%;max-width:560px}
}

/* smaller title image */
.fh-title img{width:min(100%,170px)}
.fh{padding:18px 0 4px}
@media(max-width:860px){
  .fh-title img{width:min(46%,150px)}
  .fh{padding:14px 0 4px;gap:10px}
}

/* the title block was sizing itself from the image's 800px intrinsic width and pushing the search bar onto a second row */
.fh-title img{width:170px;max-width:100%}
@media(min-width:861px){
  .fh{flex-wrap:nowrap;align-items:center}
  .fh-t{flex:0 0 auto}
  .fh-search{margin-left:auto;flex:0 1 520px;width:auto;min-width:340px}
}
@media(max-width:860px){.fh-title img{width:150px}}

/* small screens: filter button and sort dropdown share one row */
@media(max-width:860px){
  .ftool{flex-direction:row;align-items:center;justify-content:stretch;gap:10px;margin-bottom:14px}
  .ftool .mf-btn{flex:1 1 0;min-width:0;margin:0;height:46px;padding:6px 14px 3px;justify-content:center;gap:8px}
  .ftool .mf-btn b{display:none}
  .ftool .mf-btn span{display:inline-flex;align-items:center;gap:6px}
  .ftool-r{flex:1 1 0;min-width:0;display:block}
  .ftool .dd,.ftool .dd-btn{width:100%}
  .ftool .dd-btn{min-height:46px;height:46px;padding:6px 14px 3px;min-width:0}
}

/* === Social Feed: Timeline Post Card Elevation and Margin === */


/* === Social Feed: Author Avatar and Timestamp Layout === */


/* === Social Feed: Comment Input Box and Send Button === */

