.post-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  .vote-section {
    background: #f8f9fa;
    border-radius: 8px 0 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    min-width: 50px;
  }
  .vote-btn {
    background: none;
    border: none;
    color: #878a8c;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
  }
  .vote-btn:hover {
    background: #f6f7f8;
  }
  .vote-btn.upvoted {
    color: #ff4500;
  }
  .vote-btn.downvoted {
    color: #7193ff;
  }
  .post-content {
    padding: 12px 16px;
  }
  .subreddit-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    /*background: #0079d3;*/
  }
  .flair {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
  }
  .post-meta {
    font-size: 12px;
    color: #7c7c83;
  }
  .post-title {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1c;
    margin: 8px 0;
    line-height: 1.3;
  }
  .post-title a:hover {
    text-decoration: underline !important;
  }
  .post-text {
    font-size: 14px;
    color: #1c1c1c;
    line-height: 1.6;
    margin: 12px 0;
  }
  .post-text * {
    white-space: pre-wrap;
  }
  .action-btn {
    background: none;
    border: none;
    color: #878a8c;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    margin-right: 8px;
    cursor: pointer;
  }
  .action-btn:hover {
    background: #f6f7f8;
  }
  .action-btn i {
    margin-right: 4px;
  }
  .username-link {
    text-decoration: none;
    color: #1c1c1c;
    font-weight: 500;
  }
  .username-link:hover {
    text-decoration: underline;
    color: #1c1c1c;
  }
  .subreddit-link {
    text-decoration: none;
    color: #1c1c1c;
    font-weight: 700;
  }
  .subreddit-link:hover {
    text-decoration: underline;
    color: #1c1c1c;
  }

  /* Subreddit Header Styles */
  .subreddit-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  /* Sort Button Styles */
  .btn[data-sort] {
    transition: all 0.2s ease;
  }
  .btn[data-sort].active {
    background-color: #0079d3;
    border-color: #0079d3;
    color: white;
  }
  .btn[data-sort]:hover:not(.active) {
    background-color: rgba(0, 121, 211, 0.1);
    border-color: #0079d3;
    color: #0079d3;
  }

  /* Thumbnail Styles */
  .post-thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e9ecef;
  }

  /* Loading Spinner */
  .loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
  }

  /* Post Preview Text */
  .post-preview {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 8px;
  }

  /* External Link Indicator */
  .external-link {
    color: #6c757d;
    font-size: 11px;
    margin-top: 4px;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .post-thumbnail {
      width: 50px;
      height: 50px;
    }
    
    .vote-section {
      min-width: 40px;
      padding: 6px 2px;
    }
    
    .post-title {
      font-size: 16px;
    }
    
    .btn[data-sort] {
      font-size: 12px;
      padding: 6px 10px;
    }
  }
