.answer + .post,
.answer + .post-container .post,
.answer + a#unread + .post {
	background-color: #EAF8E2;
  border-color: #cfe5c2
}
.dark .answer + .post,
.dark .answer + .post-container .post,
.dark .answer + a#unread + .post {
  background-color: rgb(22, 163, 74, 0.2);
  border-color: rgb(22, 163, 74, 0.3);
}
.post_answer {
	background-color: #EAF8E2 !important;
	padding: 10px;
	border-radius: 7px;
	margin: 17px 0;
  border: 1px solid #d9eecd
}
.dark .post_answer {
	background-color: rgb(22, 163, 74, 0.2) !important;
  border: 1px solid rgb(22, 163, 74, 0.3);
}

@media (max-width: 700px) {
	div.profile-answers {
		display: none;
	}
}

/* Mutat din viewtopic_body_postrow_post_notices_before.html (era <style> inline, repetat la fiecare postare) */
.postbody .answer-content {
  position: relative;
  max-height: 8em; /* Adjust based on how many lines you want visible initially */
  overflow: hidden;
}

.postbody .answer-content.fade {
  max-height: 8em; /* Height of the visible area when fade is applied */
}

.postbody .answer-content.fade::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2em; /* Height of the fading area */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
}

.postbody .read-more {
  display: block;
  margin-top: 0.5em;
  color: #007bff;
  text-decoration: none;
}

.postbody .read-more:hover {
  text-decoration: underline;
}

/* Dark mode styles */
html.dark .postbody .answer-content.fade::after {
  background: linear-gradient(to bottom, rgba(172, 202, 171, 0), rgba(172, 202, 171, 0.8));
}
