*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:Poppins,system-ui,sans-serif;
}

body{
  background:#f5f7fb;
  color:#0f172a;
}

/* ================= WRAPPER ================= */
.community-wrap{
  max-width:720px;
  margin:0 auto;
  padding:24px 14px 60px;
}

/* ================= HEADER ================= */
.community-title{
  text-align:center;
  font-size:26px;
  font-weight:700;
}

.community-sub{
  text-align:center;
  margin-top:6px;
  color:#64748b;
  font-size:14px;
}

/* ================= FEED ================= */
.feed{
  margin-top:28px;
  display:grid;
  gap:18px;
}

/* ================= POST CARD ================= */
.post{
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  overflow:hidden;
  animation:fadeIn .4s ease;
}

@keyframes fadeIn{
  from{opacity:0; transform:translateY(8px)}
  to{opacity:1; transform:translateY(0)}
}

/* ===== HEADER ===== */
.post-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
}

.avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#2563eb;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:16px;
}

.post-user{
  font-weight:600;
  font-size:15px;
}

.post-date{
  font-size:12px;
  color:#64748b;
}

/* ===== IMAGE ===== */
.post img{
  width:100%;
  display:block;
  object-fit:cover;
  max-height:420px;
}

/* ===== BODY ===== */
.post-body{
  padding:16px;
}

.post-title{
  font-size:16px;
  font-weight:600;
  margin-bottom:6px;
}

.post-desc{
  font-size:14px;
  color:#334155;
  line-height:1.6;
}

/* ================= LOADING ================= */
.loading{
  text-align:center;
  color:#64748b;
  font-size:14px;
}

/* ================= MOBILE ================= */
@media(max-width:480px){
  .community-title{font-size:22px}
  .post img{max-height:300px}
}
