.home-container {
  width: 90%;
  max-width: 50%;
  margin: 0 auto;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
} 
 



.loading,
.no-posts {
  text-align: center;
  padding: 20px;
  background: #f0e7f0;
  border: 1px solid #f0e7f0;
}


.post-card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition:  transform 0.2s ease;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #e2cfe2;
  border-bottom: 1px solid #f3e8f3;
  border-top-left-radius: 2%;
  border-top-right-radius: 2%;
  padding: 12px;

}


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

.profile-picture {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #9c8383;
}
   
.post-username {
  color: #111;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.follow-toggle-btn {
  padding: 6px 8px;
  border: 1px solid #666;
  background: #efefef;
  color: #111;
  cursor: pointer;
}

.follow-toggle-btn.following {
  background: #b8bbd4;
  border: #ecdcec;
  border-radius: 5px;
}

.post-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

.post-image-wrapper {
  width: 100%;
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  
}

.post-content {
  padding: 16px;
  color:#000000
}

.post-title {
  margin: 0 0 8px 0;
  font-size: 20px;
}

.post-description,
.post-ort {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: #5f5e5e;
}

.post-actions {
  display: flex;
  gap: 15px;
  padding: 10px 12px
}

.like-button,
.comment-bubble,
.comment-like-button,
.comment-submit,
.delete-comment {
  padding: 6px 10px;
  border: 1px solid #ffffff;
  background: #c7c5c5;
  color: #111;
  cursor: pointer;
  border-radius: 5px;
}

.like-button.liked,
.comment-like-button.liked {
  background: #f2dce4;
}

.post-comments-section {
  padding: 10px 12px;
  background: #fafafa
 
}

.post-comments-section h4 {
  margin: 10px 0;
}

.comment {
  padding: 6px 0;
  border-bottom: 1px solid #d0d0d0;
}

.comment-actions {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.post-comment-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px 16px 16px;
  border-top: 1px solid #bfbfbf;
}

.comment-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #777;
  border-radius: 5px;
}

.comment-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  border: 6px solid #ddd;
  border-top: 6px solid #cfbaba;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .home-container {
    max-width: 90%;
    width: 100%;
  }
}