/* StageHill Groups directory: Saved Listings tab and AJAX-control parity. */
.stagehill-groups-directory-wrapper,
.stagehill-groups-directory-wrapper * {
	box-sizing: border-box;
}

.stagehill-groups-directory-wrapper {
	max-width: 100%;
	overflow-x: hidden;
}

.stagehill-groups-directory-wrapper.stagehill-groups-loading .stagehill-groups-results,
.stagehill-groups-directory-wrapper.stagehill-groups-loading .stagehill-groups-controls {
	opacity: .72;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs.stagehill-saved-tabs.stagehill-alert-tabs {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	max-width: 100% !important;
	overflow: visible !important;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters {
	border-top: 1px solid #ccc !important;
	border-bottom: 1px solid #ccc !important;
	margin: 0 !important;
	padding: 10px 0 !important;
	display: block !important;
	list-style: none !important;
	list-style-type: none !important;
	line-height: normal !important;
	white-space: normal !important;
	overflow: visible !important;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li {
	display: inline !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 10px !important;
	list-style: none !important;
	list-style-type: none !important;
	white-space: nowrap !important;
	border-left: 0 !important;
	border-right: 0 !important;
	background: transparent !important;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li:before {
	content: none !important;
	display: none !important;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li:not(:last-child) {
	border-right: 1px solid #ccc !important;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li.active,
.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li.current,
.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li.selected,
.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li.stagehill-active-tab {
	background: #f2f2f2 !important;
	background-color: #f2f2f2 !important;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
	gap: 6px !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: normal !important;
	white-space: nowrap !important;
	border-bottom: 0 !important;
	text-decoration: none !important;
	background: transparent !important;
	background-color: transparent !important;
}

.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs .stagehill-groups-count {
	border-radius: 50px !important;
	padding: 0 6px !important;
	background: #f8f8f8 !important;
	background-color: #f8f8f8 !important;
	border: 1px solid #e5e5e5 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	float: none !important;
	position: static !important;
	transform: none !important;
	min-width: 20px !important;
	width: auto !important;
	height: 20px !important;
	line-height: 20px !important;
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	color: inherit !important;
	text-align: center !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
}

.stagehill-groups-directory-wrapper > form.stagehill-groups-controls.stagehill-alert-controls {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	flex-wrap: wrap !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 0 28px !important;
	clear: both !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search,
.stagehill-groups-directory-wrapper .stagehill-groups-controls select.stagehill-groups-order {
	display: block !important;
	box-sizing: border-box !important;
	height: 48px !important;
	min-height: 48px !important;
	line-height: 48px !important;
	padding: 0 16px !important;
	border-radius: 3px !important;
	border: 1px solid #e0e0e0 !important;
	background-color: #fff;
	color: #666;
	box-shadow: none !important;
	outline: none !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	margin: 0 !important;
	vertical-align: middle !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search {
	flex: 1 1 420px !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: 100% !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-controls select.stagehill-groups-order {
	flex: 0 1 260px !important;
	min-width: 220px !important;
	width: auto !important;
	max-width: 100% !important;
	appearance: auto !important;
	-webkit-appearance: menulist !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
}

/* The order field uses only the browser-native menulist arrow. Removing the
 * WorkScout helper class in the template and clearing theme background images
 * prevents the doubled/down-chevron effect. */

.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search::-webkit-search-cancel-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 14px !important;
	height: 14px !important;
	margin-left: 10px !important;
	cursor: pointer !important;
	background: #111 !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M12.85 4.26 11.74 3.15 8 6.89 4.26 3.15 3.15 4.26 6.89 8l-3.74 3.74 1.11 1.11L8 9.11l3.74 3.74 1.11-1.11L9.11 8z'/%3E%3C/svg%3E") center / 14px 14px no-repeat !important;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M12.85 4.26 11.74 3.15 8 6.89 4.26 3.15 3.15 4.26 6.89 8l-3.74 3.74 1.11 1.11L8 9.11l3.74 3.74 1.11-1.11L9.11 8z'/%3E%3C/svg%3E") center / 14px 14px no-repeat !important;
}

@media (min-width: 768px) {
	.stagehill-groups-directory-wrapper > form.stagehill-groups-controls.stagehill-alert-controls {
		margin-top: 22px !important;
	}

	.stagehill-profile-groups-directory > form.stagehill-groups-controls.stagehill-alert-controls {
		margin-top: 30px !important;
	}
}

@media (max-width: 767px) {
	.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs {
		margin-bottom: 22px !important;
	}

	.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 0 !important;
		row-gap: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 10px 0 !important;
		box-sizing: border-box !important;
		white-space: normal !important;
		line-height: normal !important;
		overflow: visible !important;
	}

	.stagehill-groups-directory-wrapper #um-groups-filters.stagehill-groups-tabs ul.filters li {
		display: flex !important;
		flex: 0 0 auto !important;
		align-items: center !important;
		width: auto !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 10px !important;
		box-sizing: border-box !important;
		float: none !important;
		white-space: nowrap !important;
		line-height: normal !important;
		overflow: visible !important;
	}

	.stagehill-groups-directory-wrapper > form.stagehill-groups-controls.stagehill-alert-controls {
		display: block !important;
		width: 100% !important;
		margin: 0 0 30px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search,
	.stagehill-groups-directory-wrapper .stagehill-groups-controls select.stagehill-groups-order {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 0 12px !important;
	}
}

/* StageHill: keep the Groups search typography identical to Saved Listings.
 * UM Groups applies its legacy Merriweather placeholder font to every field
 * inside .um-group-form; these scoped rules neutralize only that inherited
 * placeholder override on the new Saved Listings-style search control. */
.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search {
	font-family: inherit !important;
	font-style: normal !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search::placeholder,
.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search::-webkit-input-placeholder,
.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search::-moz-placeholder,
.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search:-ms-input-placeholder,
.stagehill-groups-directory-wrapper .stagehill-groups-controls input[type="search"].stagehill-groups-search::-ms-input-placeholder {
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: #999 !important;
	opacity: 1 !important;
}

/* StageHill: lock directory avatars to the size requested by the Groups
 * directory. Some theme/responsive image rules can expand WordPress thumbnail
 * markup after an AJAX replacement. The fixed wrapper and explicit image
 * constraints make first-load and AJAX-rendered cards behave identically. */
.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-avatar {
	display: block !important;
	float: left !important;
	flex: 0 0 100px !important;
	width: 100px !important;
	height: 100px !important;
	min-width: 100px !important;
	min-height: 100px !important;
	max-width: 100px !important;
	max-height: 100px !important;
	margin: 0 10px 0 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	line-height: 0 !important;
	aspect-ratio: 1 / 1 !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-avatar.stagehill-group-avatar--small {
	flex-basis: 50px !important;
	width: 50px !important;
	height: 50px !important;
	min-width: 50px !important;
	min-height: 50px !important;
	max-width: 50px !important;
	max-height: 50px !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-avatar img.um-group-image,
.stagehill-groups-directory-wrapper .stagehill-groups-results .um-groups-directory .um-group-item > a > img.um-group-image {
	display: block !important;
	float: none !important;
	width: 100px !important;
	height: 100px !important;
	min-width: 100px !important;
	min-height: 100px !important;
	max-width: 100px !important;
	max-height: 100px !important;
	margin: 0 10px 0 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center center !important;
	aspect-ratio: 1 / 1 !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-avatar img.um-group-image {
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-avatar.stagehill-group-avatar--small img.um-group-image {
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
}


/* StageHill group directory cards. The existing top tabs and search/filter
 * controls above the results are intentionally untouched. */
.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-groups-card-list {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 16px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card {
	display: grid !important;
	grid-template-columns: 104px minmax(0, 1fr) minmax(150px, 182px) !important;
	align-items: center !important;
	gap: 20px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 20px !important;
	border: 1px solid rgba(127, 127, 127, .24) !important;
	border-radius: 6px !important;
	background: rgba(127, 127, 127, .035) !important;
	color: inherit !important;
	overflow: hidden !important;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card:hover {
	border-color: rgba(127, 127, 127, .38) !important;
	background: rgba(127, 127, 127, .065) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .055) !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__avatar {
	display: block !important;
	width: 104px !important;
	height: 104px !important;
	min-width: 104px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 5px !important;
	overflow: hidden !important;
	line-height: 0 !important;
	box-shadow: none !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card .stagehill-group-avatar,
.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card .stagehill-group-avatar.stagehill-group-avatar--small {
	display: block !important;
	float: none !important;
	width: 104px !important;
	height: 104px !important;
	min-width: 104px !important;
	min-height: 104px !important;
	max-width: 104px !important;
	max-height: 104px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 5px !important;
	overflow: hidden !important;
	background: rgba(127, 127, 127, .08) !important;
}

.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card .stagehill-group-avatar img.um-group-image {
	display: block !important;
	float: none !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__content {
	min-width: 0 !important;
	width: 100% !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__eyebrow {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 6px 14px !important;
	min-width: 0 !important;
	margin: 0 0 5px !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	opacity: .72 !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__privacy,
.stagehill-groups-directory-wrapper .stagehill-group-directory-card__creator {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	min-width: 0 !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__creator a {
	color: inherit !important;
	text-decoration: none !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__title {
	margin: 0 0 7px !important;
	padding: 0 !important;
	font-size: 19px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	color: inherit !important;
	overflow-wrap: anywhere !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__title a {
	color: inherit !important;
	border: 0 !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__title a:hover {
	color: #339fd6 !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__description {
	display: -webkit-box !important;
	-webkit-box-orient: vertical !important;
	-webkit-line-clamp: 2 !important;
	overflow: hidden !important;
	max-width: 760px !important;
	margin: 0 0 12px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	opacity: .76 !important;
	overflow-wrap: anywhere !important;
	word-break: break-word !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__terms {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin: 0 0 11px !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__terms span {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	max-width: 100% !important;
	padding: 4px 8px !important;
	border-radius: 999px !important;
	background: rgba(127, 127, 127, .10) !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	overflow-wrap: anywhere !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__stats {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 7px 18px !important;
	min-width: 0 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	opacity: .76 !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__stats span {
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	min-width: 0 !important;
	white-space: nowrap !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__stats strong {
	font-weight: 600 !important;
	color: inherit !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions.actions {
	display: flex !important;
	float: none !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: center !important;
	gap: 9px !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions > * {
	max-width: 100% !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions .um-button,
.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button,
.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions button,
.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions input[type="button"],
.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions input[type="submit"] {
	display: block !important;
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
}

/* Match the directory Leave Group control to the compact neutral action used
 * in the single-group Group actions card. The state selectors and background-
 * image reset intentionally outrank WorkScout/UM generic blue button rules. */
.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions .um-groups-single-button,
.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions .um-groups-single-button .um-groups-btn-leave {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:link,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:visited,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:hover,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:focus,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:focus-visible,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:active {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 36px !important;
	min-height: 36px !important;
	max-height: 36px !important;
	padding: 6px 12px !important;
	border: 1px solid rgba(127, 127, 127, .32) !important;
	border-radius: 3px !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: inherit !important;
	box-shadow: none !important;
	filter: none !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-shadow: none !important;
	transform: none !important;
}

body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:hover,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:focus,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:focus-visible,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave:active {
	border-color: rgba(127, 127, 127, .42) !important;
	background: rgba(127, 127, 127, .08) !important;
	background-color: rgba(127, 127, 127, .08) !important;
	background-image: none !important;
	color: inherit !important;
	box-shadow: none !important;
}

body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave::before,
body .stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions a.um-button.um-groups-btn-leave::after {
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__view {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	width: 100% !important;
	min-height: 38px !important;
	padding: 8px 12px !important;
	border: 1px solid rgba(127, 127, 127, .26) !important;
	border-radius: 3px !important;
	background: transparent !important;
	color: inherit !important;
	font-size: 13px !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: border-color .16s ease, background-color .16s ease !important;
}

.stagehill-groups-directory-wrapper .stagehill-group-directory-card__view:hover {
	border-color: rgba(127, 127, 127, .45) !important;
	background: rgba(127, 127, 127, .09) !important;
}

.stagehill-groups-directory-wrapper.stagehill-groups-loading .stagehill-group-directory-card {
	pointer-events: none !important;
}

@media (max-width: 860px) {
	.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card {
		grid-template-columns: 92px minmax(0, 1fr) !important;
		gap: 16px !important;
		padding: 18px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__avatar,
	.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card .stagehill-group-avatar,
	.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card .stagehill-group-avatar.stagehill-group-avatar--small {
		width: 92px !important;
		height: 92px !important;
		min-width: 92px !important;
		min-height: 92px !important;
		max-width: 92px !important;
		max-height: 92px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions.actions {
		grid-column: 1 / -1 !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 10px !important;
	}
}

@media (max-width: 520px) {
	.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-groups-card-list {
		gap: 13px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card {
		grid-template-columns: 78px minmax(0, 1fr) !important;
		align-items: start !important;
		gap: 13px !important;
		padding: 15px !important;
		border-radius: 5px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__avatar,
	.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card .stagehill-group-avatar,
	.stagehill-groups-directory-wrapper .stagehill-groups-results .stagehill-group-directory-card .stagehill-group-avatar.stagehill-group-avatar--small {
		width: 78px !important;
		height: 78px !important;
		min-width: 78px !important;
		min-height: 78px !important;
		max-width: 78px !important;
		max-height: 78px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__eyebrow {
		margin-bottom: 3px !important;
		font-size: 12px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__title {
		margin-bottom: 5px !important;
		font-size: 17px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__description {
		-webkit-line-clamp: 2 !important;
		margin-bottom: 9px !important;
		font-size: 13px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__stats {
		gap: 5px 12px !important;
		font-size: 12px !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__stats span:last-child {
		flex-basis: 100% !important;
	}

	.stagehill-groups-directory-wrapper .stagehill-group-directory-card__actions.actions {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* StageHill group invitation pages and pending-invitation cards. */
.stagehill-group-invitations-page,
.stagehill-group-invitations-page *,
.stagehill-directory-invitations,
.stagehill-directory-invitations *,
.stagehill-group-invite-manager,
.stagehill-group-invite-manager * {
	box-sizing: border-box;
}

.stagehill-group-invitations-page,
.stagehill-group-invite-manager {
	width: 100% !important;
	max-width: 1180px !important;
	margin: 0 auto !important;
	color: inherit;
}

.stagehill-group-invitations-page__header,
.stagehill-directory-invitations__header,
.stagehill-group-invite-manager__header {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	margin: 0 0 22px;
	padding: 22px 24px;
	border: 1px solid rgba(127, 127, 127, .24);
	border-radius: 5px;
	background: rgba(127, 127, 127, .035);
}

.stagehill-group-invitations-page__icon,
.stagehill-directory-invitations__header > span,
.stagehill-group-invite-manager__header > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(127, 127, 127, .11);
	font-size: 19px;
	line-height: 1;
}

.stagehill-group-invitations-page__header h1,
.stagehill-directory-invitations__header h2,
.stagehill-group-invite-manager__header h1 {
	margin: 0 0 4px !important;
	font-size: 23px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	color: inherit !important;
}

.stagehill-group-invitations-page__header p,
.stagehill-directory-invitations__header p,
.stagehill-group-invite-manager__header p {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.55;
	opacity: .7;
}

.stagehill-group-invitations-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	width: 100%;
}

.stagehill-directory-invitations {
	width: 100%;
	margin: 34px 0 0;
}

.stagehill-directory-invitations__header {
	margin-bottom: 16px;
	padding: 18px 20px;
}

.stagehill-directory-invitations__header > span {
	flex-basis: 42px;
	width: 42px;
	height: 42px;
}

.stagehill-directory-invitations__header h2 {
	font-size: 20px !important;
}

.stagehill-group-invitation-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr) minmax(220px, 250px);
	align-items: center;
	gap: 22px;
	width: 100%;
	min-width: 0;
	padding: 20px;
	border: 1px solid rgba(127, 127, 127, .24);
	border-radius: 5px;
	background: rgba(127, 127, 127, .025);
	transition: border-color .16s ease, background-color .16s ease;
}

.stagehill-group-invitation-card:hover {
	border-color: rgba(127, 127, 127, .4);
	background: rgba(127, 127, 127, .045);
}

.stagehill-group-invitation-card__image {
	display: block;
	width: 112px;
	height: 112px;
	min-width: 112px;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(127, 127, 127, .08);
	line-height: 0;
}

.stagehill-group-invitation-card__image img,
.stagehill-group-invitation-card__image img.um-group-image {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
}

.stagehill-group-invitation-card__content {
	min-width: 0;
}

.stagehill-group-invitation-card__eyebrow {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 4px;
	font-size: 13px;
	opacity: .68;
}

.stagehill-group-invitation-card h2,
.stagehill-group-invitation-card h3 {
	margin: 0 0 7px !important;
	font-size: 21px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	color: inherit !important;
}

.stagehill-group-invitation-card h2 a,
.stagehill-group-invitation-card h3 a {
	color: inherit !important;
	text-decoration: none !important;
}

.stagehill-group-invitation-card__description {
	max-width: 700px;
	margin: 0 0 10px !important;
	font-size: 14px;
	line-height: 1.55;
	opacity: .76;
	overflow-wrap: anywhere;
}

.stagehill-group-invitation-card__stats {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 16px;
	margin: 0;
	font-size: 13px;
	opacity: .7;
}

.stagehill-group-invitation-card__stats span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.stagehill-group-invitation-card__stats strong {
	font-weight: 500;
	color: inherit;
}

.stagehill-group-invitation-card__inviter {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 13px 0 0;
	font-size: 13px;
	line-height: 1.35;
}

.stagehill-group-invitation-card__inviter-avatar,
.stagehill-group-invitation-card__inviter-avatar img {
	display: block !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	object-fit: cover !important;
}

.stagehill-group-invitation-card__inviter > div {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.stagehill-group-invitation-card__inviter span {
	opacity: .65;
}

.stagehill-group-invitation-card__inviter a {
	color: inherit !important;
	font-weight: 500;
	text-decoration: none !important;
}

.stagehill-group-invitation-card__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 12px;
	min-width: 0;
	padding: 16px;
	border-left: 1px solid rgba(127, 127, 127, .2);
}

.stagehill-group-invitation-card__actions > strong {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: inherit;
}

.stagehill-group-invitation-card__buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px;
}

.stagehill-group-invitation-card__buttons .um-button,
.stagehill-group-invitation-card__buttons a.um-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	height: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid #111 !important;
	border-radius: 3px !important;
	background: #111 !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: opacity .16s ease, background-color .16s ease, color .16s ease;
}

.stagehill-group-invitation-card__buttons .um-button:hover,
.stagehill-group-invitation-card__buttons .um-button:focus {
	background: #111 !important;
	color: #fff !important;
	opacity: .84;
	transform: none !important;
}

.stagehill-group-invitation-card__buttons .um-button.um-alt,
.stagehill-group-invitation-card__buttons a.um-button.um-alt {
	border-color: rgba(127, 127, 127, .34) !important;
	background: transparent !important;
	color: inherit !important;
}

.stagehill-group-invitation-card__buttons .um-button.um-alt:hover,
.stagehill-group-invitation-card__buttons .um-button.um-alt:focus {
	background: rgba(127, 127, 127, .08) !important;
	color: inherit !important;
}

.stagehill-group-invitation-card--compact {
	grid-template-columns: 100px minmax(0, 1fr) minmax(210px, 235px);
	padding: 18px;
}

.stagehill-group-invitation-card--compact .stagehill-group-invitation-card__image {
	width: 100px;
	height: 100px;
	min-width: 100px;
}

.stagehill-group-invitation-card--compact h3 {
	font-size: 19px !important;
}

.stagehill-group-invitation-card__inviter--compact {
	margin-top: 10px;
}

.stagehill-group-invitation-card__inviter--compact > span {
	display: inline;
	opacity: .74;
}

.stagehill-group-invitations-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 240px;
	padding: 36px 24px;
	border: 1px solid rgba(127, 127, 127, .24);
	border-radius: 5px;
	background: rgba(127, 127, 127, .025);
	text-align: center;
}

.stagehill-group-invitations-empty > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: rgba(127, 127, 127, .1);
	font-size: 21px;
}

.stagehill-group-invitations-empty h2 {
	margin: 0 0 6px !important;
	font-size: 20px !important;
	font-weight: 500 !important;
	color: inherit !important;
}

.stagehill-group-invitations-empty p {
	margin: 0 !important;
	font-size: 14px;
	opacity: .68;
}

.stagehill-group-invite-manager__body {
	width: 100%;
	padding: 22px;
	border: 1px solid rgba(127, 127, 127, .24);
	border-radius: 5px;
	background: rgba(127, 127, 127, .025);
}

.stagehill-group-invite-manager__body .um-group-invite-name {
	display: none !important;
}

@media (max-width: 900px) {
	.stagehill-group-invitation-card,
	.stagehill-group-invitation-card--compact {
		grid-template-columns: 96px minmax(0, 1fr);
		grid-template-areas:
			"image content"
			"actions actions";
	}

	.stagehill-group-invitation-card__image {
		grid-area: image;
		width: 96px;
		height: 96px;
		min-width: 96px;
	}

	.stagehill-group-invitation-card__content {
		grid-area: content;
	}

	.stagehill-group-invitation-card__actions {
		grid-area: actions;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 14px 0 0;
		border-top: 1px solid rgba(127, 127, 127, .2);
		border-left: 0;
	}

	.stagehill-group-invitation-card__buttons {
		width: min(280px, 100%);
	}
}

@media (max-width: 600px) {
	.stagehill-group-invitations-page__header,
	.stagehill-directory-invitations__header,
	.stagehill-group-invite-manager__header {
		align-items: flex-start;
		padding: 18px;
	}

	.stagehill-group-invitation-card,
	.stagehill-group-invitation-card--compact {
		grid-template-columns: 74px minmax(0, 1fr);
		gap: 14px;
		padding: 15px;
	}

	.stagehill-group-invitation-card__image,
	.stagehill-group-invitation-card--compact .stagehill-group-invitation-card__image {
		width: 74px;
		height: 74px;
		min-width: 74px;
	}

	.stagehill-group-invitation-card h2,
	.stagehill-group-invitation-card h3 {
		font-size: 18px !important;
	}

	.stagehill-group-invitation-card__description {
		display: none;
	}

	.stagehill-group-invitation-card__stats {
		gap: 5px 10px;
	}

	.stagehill-group-invitation-card__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.stagehill-group-invitation-card__buttons {
		width: 100%;
	}

	.stagehill-group-invite-manager__body {
		padding: 16px;
	}
}
