.social-page {
  max-width: 700px;
  margin: auto;
  padding: 30px;
}

.nav-right a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  opacity: 0.9;
}

.nav-right a:hover {
  opacity: 1;
  color: red;
}

.post-box textarea,
.post-box input {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  border: 1px solid #333;
}

.post-box button {
  background: #b51818;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  margin-bottom: 30px;
  border: none;
  cursor: pointer;
}

.hint {
  color: #888;
  font-size: 12px;
  margin-top: 8px;
}

.post {
  background: #0f0f0f;
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.post-media {
  margin-top: 10px;
  max-width: 100%;
  border-radius: 10px;
}

.media-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.comment-box {
  margin-top: 10px;
}

.comment {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
}

.comment img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.post-media {
  max-width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 12px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.post-header img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.post-date {
  font-size: 12px;
  color: #facc15; 
  margin-bottom: 10px;
}


.post p {
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 14px;
}

.comment-box {
  margin-top: 14px;
}

.comment-input {
  width: 75%;
  padding: 8px 10px;
  border-radius: 6px;
  background: #111;
  color: #fff;
  border: 1px solid #333;
}

.comment-btn {
  padding: 8px 14px;
  margin-left: 6px;
  border-radius: 6px;
  border: none;
  background: #b51818;
  color: white;
  cursor: pointer;
}

.comments {
  margin-top: 10px;
}

.comment {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
}

.comment img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.comment strong {
  font-size: 13px;
}

@media (max-width: 768px) {
  .social-page {
    padding: 72px 16px 40px;
  }
  .post-box textarea,
  .post-box input {
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    margin-bottom: 12px;
  }
  .post-box button {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hint {
    font-size: 12px;
    margin-top: 8px;
  }
  .post {
    padding: 16px;
    border-radius: 16px;
    margin-top: 20px;
  }
  .post-header {
    gap: 10px;
    margin-bottom: 8px;
  }
  .post-header img {
    width: 38px;
    height: 38px;
  }
  .post-date {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .post p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .post-media {
    max-height: 280px;
    border-radius: 12px;
    margin-top: 12px;
  }
  .comment-box {
    margin-top: 16px;
  }
  .comment-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .comment-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-left: 0;
  }
  .comments {
    margin-top: 12px;
  }
  .comment {
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
  }
  .comment img {
    width: 32px;
    height: 32px;
  }
  .comment strong {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .post p {
    font-size: 14px;
  }
}

.page-loader {
  padding: 30px 16px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

.page-loader.hidden {
  display: none;
}
