/* Moreinfo styles: simple comments added by me to explain sections. */

.post-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  padding: 0;
  background: none;
  border: none;
}


.image-side {
  flex-shrink: 0;
}

.post-img {
  width: 300px;
  border-radius: 12px;
  object-fit: contain;
}


.details-side {
  flex: 1;
  display: flex;
  flex-direction: column;
}


.action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.icon-form {
  display: inline;
}

.icon-button {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.icon-button:hover {
  transform: scale(1.1);
}

.likes-count {
  font-size: 0.95rem;
  color: #555;
}


.follow-form {
  margin-left: auto;
}

.follow-button {
  padding: 6px 14px;
  background: #E5E1DA;
  color: #5C475B;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
}

.follow-button.following {
  background: #DCD1DB;
  color: #5C475B;
}


.post-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 10px 0 6px;
  color: #222;
}

.description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 0.85rem;
  color: #999;
}

/* Responsive styles */
@media (max-width: 768px) {
  .post-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .image-side, .details-side {
    width: 100%;
    text-align: center;
  }

  .action-row {
    justify-content: center;
    flex-wrap: wrap;
  }

  .follow-form {
    margin-left: 0;
    margin-top: 10px;
  }
}

.edit-post-button {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 18px;
  background-color: #A68CA5;
  color: #F6F3F6;
  text-decoration: none;
  border-radius: 999px; 
  font-weight: bold;
  font-size: 0.85rem;
  border: none;
  transition: background-color 0.2s ease;
}

.edit-post-button:hover {
  background-color: #7F627D;
}

.delete-post-button {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 18px;
  background-color: #7F627D;
  color: #F6F3F6;
  text-decoration: none;
  border-radius: 999px; 
  font-weight: bold;
  font-size: 0.85rem;
  border: none;
  transition: background-color 0.2s ease;
}

.delete-post-button:hover {
  background-color: #5C475B;
}

.comment-button {
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.comment-delete-button {
  background-color: #7F627D;
  color: #fff;
}

.comment-delete-button:hover {
  background-color: #5C475B;
}

.comment-hide-button {
  background-color: #A68CA5;
  color: #fff;
}

.comment-hide-button:hover {
  background-color: #7F627D;
}


.comment-button {
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.comment-show-hidden {
  background-color: #e0d2e1;
  color: #5C475B;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.2s ease;
}
.comment-show-hidden:hover {
  background-color: #d4c2d4;
}

.comment-submit-button {
  background-color: #7F627D;
  color: #fff;
  font-weight: bold;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.comment-submit-button:hover {
  background-color: #5C475B;
}

.comment-box {
  background: #fdf5f8;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.comment-form {
  margin-bottom: 20px;
}

.container {
  max-width: 900px;
  margin: auto;
  word-break: break-word;
}
