/**
 * Wix Groups ([wix_groups]): the card grid comes from wix-apps.css; this
 * adds the cover crop and the privacy badge. Colours from the storefront
 * tokens only.
 *
 * @package Headless_Connect_For_Wix
 */

.wixhc-groups .wixhc-groups__cover { aspect-ratio: var(--wixhc-img-ratio, 16 / 9); }
.wixhc-groups .wixhc-app-card__body:first-child { padding-top: var(--wixhc-space-4); }
.wixhc-groups__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
/* The dot only separates the badge from the count on one line; the badge is
   a visual break of its own, so the dot is dropped rather than orphaned. */
.wixhc-groups__meta > [aria-hidden="true"] { display: none; }
.wixhc-groups__members { white-space: nowrap; }
.wixhc-groups__privacy {
	display: inline-block;
	padding: 1px 8px;
	border: 1px solid var(--wixhc-border);
	border-radius: var(--wixhc-radius-pill);
	font-size: var(--wixhc-font-size-xs);
	font-weight: 600;
	color: inherit;
}
.wixhc-groups__privacy--private { background: var(--wixhc-surface-alt); }
.wixhc-groups .wixhc-app-card__text { overflow-wrap: anywhere; }

.wixhc-groups .wixhc-app-card__text { font-size: 0.92em; }
.wixhc-groups .wixhc-app-card__title { text-wrap: balance; }
