/* CEBC Show More (Twitter/X-like) */
.cebc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 5; /* lines before Show more */
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.cebc-clamp.cebc-has-fade::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3.2em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}
.cebc-showmore-wrap{ margin-top: 8px; }
.cebc-showmore-btn{
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}
.cebc-showmore-btn:hover{ background:#f3f3f3 }
@media (prefers-color-scheme: dark){
  .cebc-showmore-btn{ background:#111;color:#fff;border-color:#333 }
  .cebc-showmore-btn:hover{ background:#1b1b1b }
  .cebc-clamp.cebc-has-fade::after{ background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1)); }
}

/* Simplify 'Show more' to text-link style */
.cebc-showmore-btn {
  background: none !important;
  border: none !important;
  color: #0073aa !important; /* WordPress blue */
  padding: 0 !important;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: underline;
}
.cebc-showmore-btn:hover {
  color: #005177 !important;
  text-decoration: none;
}
