/* V61.11.051 — One consistent empty-state box across Discussion, Q&A,
   Circles and Dynamics. Retains the V61.11.050 unified typography. */
#communityFeedItems > .pb-community-empty,
#questionCards > .pb-questions-empty,
#circleDirectory > .pb-circle-empty,
#homeDynamicsFeed > .home-dynamics-empty {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #71859b;
  text-align: center;
}

#communityFeedItems > .pb-community-empty > strong,
#questionCards > .pb-questions-empty > strong,
#circleDirectory > .pb-circle-empty > strong,
#homeDynamicsFeed > .home-dynamics-empty > strong {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #294766;
  margin: 0 0 8px;
}

/* Normalize the paragraphs and inline helper text without changing wording. */
#questionCards > .pb-questions-empty > p {
  margin: 0 0 10px;
  font: inherit;
  color: inherit;
}
#homeDynamicsFeed > .home-dynamics-empty > div {
  font: inherit;
  color: inherit;
}

/* Actions in empty states use the same link typography as the other pages. */
#questionCards > .pb-questions-empty > a,
#communityFeedItems > .pb-community-empty .pb-community-empty-discovery a {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  color: #0879e6;
}

/* Use the Dynamics dashed inner frame for all four public empty feeds.
   Only the direct feed placeholder is styled, not detail-page comments,
   unrelated sidebar cards or loading/real content. */
#communityFeedItems > .pb-community-empty,
#questionCards > .pb-questions-empty,
#circleDirectory > .pb-circle-empty,
#homeDynamicsFeed > .home-dynamics-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 160px;
  margin: 0;
  padding: 24px 20px;
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed #d9e0ea;
  border-radius: 8px;
}


/* V61.11.052 — Align the two remaining empty-state wrappers with Dynamics.
   Keep the four shared dashed frames and type scale unchanged. Only empty
   results receive extra panel spacing; live cards stay completely untouched. */
/* Discussions already have a white feed panel. Inset the empty dashed frame
   so it is not flush with that panel's edges or below the sort row. */
.pb-community[data-community-page="home"] .pb-community-feed #communityFeedItems:has(> .pb-community-empty) {
  padding: 12px 22px 22px;
  background: #fff;
}

/* Circles render results without an enclosing panel. Add the same outer
   white card used by Dynamics, leaving the shared dashed inner box intact. */
.pb-circles[data-circle-page="list"] #circleDirectory:has(> .pb-circle-empty) {
  display: block;
  min-width: 0;
  box-sizing: border-box;
  width: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 14px;
  box-shadow: 0 3px 13px #1b395609;
}

@media (max-width: 540px) {
  .pb-community[data-community-page="home"] .pb-community-feed #communityFeedItems:has(> .pb-community-empty) {
    padding: 12px 15px 15px;
  }
  .pb-circles[data-circle-page="list"] #circleDirectory:has(> .pb-circle-empty) {
    padding: 15px;
  }
}
