/* style.css */

/* page background */
body {
  background-color: #f0f2f5;
}

/* constrain feed & story widths */
.container-feed {
  max-width: 600px;
  margin: 2rem auto;
}

/* each post */
.post-card {
  background: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin-bottom: 16px;
  padding: 0;
}

/* post header with avatar */
.post-header {
  display: flex;
  align-items: center;
  padding: 12px;
}
.post-header .avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #555;
  margin-right: 12px;
  font-size: 1.1rem;
}

/* name + time */
.post-header .post-meta {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.post-header .post-meta .name {
  font-weight: 500;
  color: #050505;
}
.post-header .post-meta .time {
  font-size: 0.85rem;
  color: #65676b;
}

/* post text */
.post-body {
  padding: 0 12px 12px;
  color: #050505;
  line-height: 1.5;
}

/* “read more” link */
.read-more {
  color: #1877f2;
  text-decoration: none;
  font-weight: 500;
}

/* full story container */
.story-wrapper {
  max-width: 600px;
  margin: 2rem auto;
}
