/* People directory + جریان stream discovery */
body.shell-ui.people-discover-page,
body.shell-ui.stream-discover-page{
  --people-accent:#0f766e;
  --people-line:#e3e8ec;
  --people-shadow:0 10px 28px rgba(20,33,43,.06);
}

.people-discover-page .people-discover-hero,
.stream-page .stream-hero{
  margin:0 0 14px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--people-shadow);
}
.stream-page .stream-hero.stream-hero--compact{margin:0 0 12px}
.people-discover-hero-inner,
.stream-hero-inner{
  position:relative;z-index:1;
  display:grid;gap:10px;
  padding:28px 8px 26px;
  text-align:center;
  justify-items:center;
}
.stream-page .stream-hero--compact .stream-hero-inner--row{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;
  padding:12px 4px;text-align:start;justify-items:stretch;
}
.people-discover-hero-inner h1,
.stream-hero-inner h1{margin:0;font-size:clamp(26px,3.2vw,36px);line-height:1.35}
.stream-page .stream-hero-title{
  margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px;min-width:0;
  font-size:clamp(18px,2.2vw,24px);line-height:1.35;font-weight:800;color:#fff;
}
.stream-page .stream-hero-name{font-size:1.15em}
.stream-page .stream-hero-sep{opacity:.75;font-weight:700}
.stream-page .stream-hero-slogan{font-size:.92em;font-weight:700;color:#ffe08a}
.people-discover-hero-inner p,
.stream-hero-inner p{margin:0;max-width:36rem;color:#4d5b66;line-height:1.8}
.stream-hero-compose{
  display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px 0 12px;flex:0 0 auto;
  border-radius:999px;border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.14);color:#fff;font-weight:800;font-size:13.5px;
  text-decoration:none;line-height:1.2;white-space:nowrap;
}
.stream-hero-compose:hover{background:rgba(255,255,255,.22);color:#fff;text-decoration:none}
.stream-hero-compose-plus{
  display:inline-grid;place-items:center;width:24px;height:24px;border-radius:999px;
  background:#f7c948;color:#12352f;font-size:18px;font-weight:900;line-height:1;
}
.people-discover-search{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;
  width:min(100%,520px);margin-top:8px;
}
.people-discover-search input{
  flex:1 1 220px;min-height:44px;padding:0 14px;border:1px solid #d7e0e6;border-radius:12px;background:#fff;
}
.people-discover-search .btn{min-height:44px;border-radius:12px}
@media(max-width:640px){
  .stream-page .stream-hero--compact .stream-hero-inner--row{justify-content:center;text-align:center}
  .stream-page .stream-hero-title{justify-content:center}
}

.people-discover-body,
.stream-body{display:grid;gap:16px;padding:8px 0 40px}
body.shell-ui.stream-discover-page .stream-page .site-wrap.stream-body{
  width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:8px;box-sizing:border-box;
}
.people-discover-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.people-discover-count{margin:0;font-weight:800;color:#33454f}
.people-discover-toolbar .text-link,
.stream-hero-link{color:var(--people-accent)}

.people-discover-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;
}
.people-card{
  display:grid;gap:12px;padding:16px;
  border:1px solid var(--people-line);border-radius:18px;background:#fff;
  box-shadow:var(--people-shadow);
}
.people-card-main{display:flex;align-items:flex-start;gap:12px;min-width:0;text-decoration:none;color:inherit}
.people-card-photo{
  width:56px;height:56px;border-radius:50%;overflow:hidden;flex:0 0 auto;
  display:grid;place-items:center;background:#e8f3f0;color:#0f766e;
}
.people-card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.people-card-photo .lucide{width:22px;height:22px}
.people-card-copy{display:grid;gap:2px;min-width:0}
.people-card-copy strong{font-size:15px;line-height:1.5;color:#172333}
.people-card-slug{font-size:12.5px;color:#6b7780}
.people-card-headline{font-size:13px;line-height:1.7;color:#52606d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.people-card-meta{display:grid;gap:8px;padding-top:4px;border-top:1px solid #eef2f4}
.people-card-meta > span{font-size:12px;font-weight:700;color:#6b7780}
.people-card-latest{
  display:block;font-size:13px;line-height:1.75;color:#33454f;text-decoration:none;
}
.people-card-latest:hover{color:var(--people-accent)}

.people-discover-empty,
.stream-empty{
  display:grid;gap:8px;justify-items:start;padding:28px 20px;
  border:1px dashed #d7e0e6;border-radius:18px;background:#f7f9fb;color:#52606d;
}
.people-discover-empty h2,
.stream-empty h2{margin:0;font-size:18px;color:#172333}
.people-discover-empty p,
.stream-empty p{margin:0;line-height:1.8}
.stream-empty .btn{margin-top:8px}

.stream-list{display:grid;gap:12px;width:100%;max-width:none;margin-inline:0}
.stream-card{
  display:grid;gap:10px;padding:16px 18px;
  border:1px solid var(--people-line);border-radius:18px;background:#fff;
  box-shadow:var(--people-shadow);
}
.stream-card-author{display:flex;align-items:center;gap:12px;min-width:0;text-decoration:none;color:inherit}
.stream-card-photo{
  width:48px;height:48px;border-radius:50%;overflow:hidden;flex:0 0 auto;
  display:grid;place-items:center;background:#e8f3f0;color:#0f766e;
}
.stream-card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.stream-card-photo .lucide{width:20px;height:20px}
.stream-card-who{display:grid;gap:2px;min-width:0}
.stream-card-who strong{font-size:14.5px;color:#172333}
.stream-card-who span{font-size:12.5px;color:#6b7780}
.stream-card-body{margin:0;white-space:pre-line;line-height:1.85;color:#24342c;font-size:14.5px}
.stream-card-foot{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;
  color:#6b7780;font-size:12.5px;
}
.stream-card-stats{display:inline-flex;align-items:center;gap:10px;margin-inline-start:auto}
.stream-card-stats span{display:inline-flex;align-items:center;gap:4px}
.stream-card-stats .lucide{width:14px;height:14px}
.stream-card-more{font-weight:800;color:var(--people-accent);text-decoration:none}
.stream-card-more:hover{text-decoration:underline}

.people-discover-pagination,
.stream-pagination{display:flex;justify-content:center;padding-top:8px}

/* Home community teaser */
.home-community-band{
  margin:0 0 16px;padding:18px 16px 20px;
  border-radius:22px;background:#fff;box-shadow:var(--shadow,0 10px 28px rgba(20,33,43,.06));
}
.home-community-heading{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px;
}
.home-community-heading h2{margin:0;font-size:18px;font-weight:800}
.home-community-links{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap}
.home-community-links a{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#0f766e;text-decoration:none}
.home-community-links .lucide{width:14px;height:14px}
.home-community-grid{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start;
}
.home-community-people{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
}
.home-community-person{
  display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 10px;
  border:1px solid #e7eef2;border-radius:16px;text-decoration:none;color:inherit;text-align:center;background:#f8fbfa;
}
.home-community-person-photo{
  width:52px;height:52px;border-radius:50%;overflow:hidden;
  display:grid;place-items:center;background:#e8f3f0;color:#0f766e;
}
.home-community-person-photo img{width:100%;height:100%;object-fit:cover;display:block}
.home-community-person-photo .lucide{width:20px;height:20px}
.home-community-person strong{font-size:13px;line-height:1.4;color:#172333}
.home-community-person span{font-size:11.5px;color:#6b7780}
.home-community-stream{display:grid;gap:10px}
.home-community-stream-item{
  display:grid;gap:6px;padding:12px 14px;border:1px solid #e7eef2;border-radius:14px;background:#fff;text-decoration:none;color:inherit;
}
.home-community-stream-item strong{font-size:13px;color:#172333}
.home-community-stream-item p{margin:0;font-size:13px;line-height:1.75;color:#33454f}
.home-community-empty{margin:0;padding:14px;border-radius:14px;background:#f7f9fb;color:#667585;font-size:13.5px}

@media(max-width:980px){
  .people-discover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-community-grid{grid-template-columns:1fr}
  .home-community-people{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  .people-discover-grid{grid-template-columns:1fr}
  .people-discover-hero-inner,
  .stream-hero-inner{padding:22px 4px 20px}
  .home-community-people{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stream-card-stats{margin-inline-start:0}
}
