.meaning {
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  padding: 1rem;
  position: relative;
  margin-top: 3rem;
  background: #fff;
}
.meaning h2 {
  margin-bottom: 0.4rem;
}
.hi_meaning,
.en_meaning {
  padding: 0.7rem;
  margin-bottom: 0.5rem;
  position: relative;
  margin-top: 2rem;
}
.hi_meaning h2, .en_meaning h2 {
  position: absolute;
  top: -16px;
  left: 0.7rem;
  background: #fff;
  margin: 0;
  padding: 4px 14px;
  font-size: 0.8rem;
}
.hi_meaning, .hi_meaning h2 {
  border: 1px solid #fcddb0;
}
.en_meaning, .en_meaning h2 {
  border: 1px solid #d9e5f0;
}
.meaning .attention {
  padding: 0.7rem;  
}
.meaning .attention h2 {
  margin: 0;
  padding: 0 4px;  
  font-size: 0.9rem;
  background: #fff;
  text-align: left; 
  margin-bottom: 0.1rem;
}
.meaning .attention p {
  margin-top: 0px;
  font-size: 0.8rem;
  padding: 4px;
}
.attention-con {
  display: flex;
  width: 100%; 
  align-items: flex-start;
  flex-wrap: wrap; 
  gap: 5px;
}
.attention-text {
  flex: 1; 
  max-width: 85%;
  word-wrap: break-word;
}
.attention-img img {
  width: auto; 
  height: 48px;
}

.sentences {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #333;
}
.sentences ul {
  list-style: none;
  padding-left: 0;
}
.sentences ul li::before {
  content: "\02911";
  margin-right: 4px;
}
.counter {
  position: absolute;
  background: #665a5a;
  color: #fff;
  padding: 0.5rem 1rem;
  top: -43px;
  left: -1px;
  z-index: -1;
}
.meta_view {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.meta_view span.meta {
  border: 1px solid #eee;
  margin-right: 4px;
  padding: 5px 12px;
  background: #f5f5f5;
  border-radius: 3px;
  font-style: italic;
  display: inline-block;
  margin-top: 0.5rem;
}
.meaning span.like-dislike {
  position: absolute;
  right: 0;
  top: -30px;
  display: inline-flex;
  gap: 18px;
}
.meaning span.like-dislike span.like-wrap {
  display: inline-flex;
  gap: 5px;
  align-items: self-start;
}
.meaning span.like-dislike span.like-wrap .like-count {
  font-size: 0.8rem;
  color: grey;
  display: none;
}
.meaning span.like-dislike img {
  cursor: pointer;
}
.meaning span.like-dislike img.done {
  pointer-events: none;
}
#comments h2 {
  font-size: 1.2rem;
}
#comments textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
#comments button {
  padding: 10px 20px;
  background-color: rgb(146, 103, 51);
  color: white;
  border: none;
}
#comments button:disabled {
  background-color: #ccc;
  pointer-events: none;
}
#comments .help-text {
  font-size: 0.8rem;
  background: #f9f9f9;
  padding: 1rem;
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}
#comments .help-text span {
  font-style: italic;
}
.comment {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed #e9e7e7;
  background: #fbfbfb;
  position: relative;
}
.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.comment-content {
  font-size: 0.9rem;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 5px;
}
.comment-author img {
  opacity: 0.3;
}
.comment-date {
  color: #837b7b;
  font-size: 0.8rem;        
}
.comment-actions {    
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}   
.comment-actions img {
  cursor: pointer;
}
#comments .comment-reply {
  margin-top: 1rem;
  box-shadow: 0 0 5px #ccc;
  padding: 1rem;
}
#comments .comment-reply textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
#comments .comment-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  align-items: center;
}
#comments .comment-reply-actions img {
  cursor: pointer;
}
#comments .comment.pending {
  border-color: red;
}
#comments .comment.pending::before {
  content: "Pending approval. Visible to you only.";
  position: absolute;
  top: -12px;
  right: 0;
  background: red;
  color: white;
  padding: 0.2rem 0.3rem;
  border-radius: 5px;
  font-size: 0.8rem;
}