/* -----------------------------------------------------------------------------
   Single Group Template
   ----------------------------------------------------------------------------- */

.groups.group-home .bp-wrap.bond-group-shell,
.groups.single-item .bp-wrap.bond-group-shell {
	padding: 0 0 4rem;
}

.groups.group-home #item-header.single-headers,
.groups.single-item #item-header.single-headers {
	margin: -3rem 0 0 -40px !important;
	padding-bottom: 30px !important;
	border-bottom: 0 !important;
}

.bond-group-header {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	background: #b6002d;
}

#cover-image-container.bond-group-header {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
}

.bond-group-header #header-cover-image,
.bond-group-header #item-header-avatar,
.bond-group-header .link-change-cover-image,
.bond-group-header .link-change-profile-image,
.bond-group-header .link-change-overlay,
.bond-group-header .group-actions-absolute,
.bond-group-header .bb-action-popup,
.bond-group-header .bb-leave-group-popup {
	display: none !important;
}

.bond-group-header__cover {
	position: relative;
	min-height: 179px;
	padding: 40.6px 0;
}

.bond-group-header #item-header-cover-image.bond-group-header__cover {
	display: block;
	min-height: 179px;
	padding: 40.6px 0;
	margin: 0;
	background: transparent;
}

.bond-group-header #item-header-cover-image #item-header-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	padding: 0 !important;
	text-align: left;
}

.bond-group-header__inner {
	max-width: 920px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0;
}

.bond-group-header__content {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	min-width: 0;
}

.bond-group-header #item-header-content.bond-group-header__meta {
	margin: 0;
	padding: 0;
}

.bond-group-header__title {
	margin: 0;
	color: #fff;
	font-size: 52px;
	font-weight: 400;
	line-height: 62.4px;
	font-family: "DINNextRoundedLTProRegular", arial, sans-serif;
	letter-spacing: 0;
}

.bond-group-header__label {
	margin: 0;
	color: #e6b7bc;
	font-size: 19px;
	line-height: 28.5px;
	font-family: "DINNextRoundedLTProRegular", arial, sans-serif;
	letter-spacing: 0;
}

.bond-group-header__meta {
	display: flex;
	flex-direction: column;
	gap: 22.8px;
}

.bond-group-header .bp-group-parent-wrap,
.bond-group-header__hidden-meta,
.bond-group-header .group-actions-wrap,
.bond-group-header__details,
.bond-group-header__description {
	display: none;
}

.bond-group-header__art {
	position: absolute;
	top: 13.5px;
	right: -29px;
	z-index: 0;
	width: 268.1px;
	height: 157.49px;
	opacity: 0.65;
	pointer-events: none;
}

.bond-group-header__art-image {
	display: block;
	width: 61.59%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: left top;
}

#object-nav.groups-nav {
	margin: 0 0 0.625rem;
	padding-top: 0;
}

.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav#object-nav.groups-nav {
	border-top: 0 !important;
	box-shadow: none !important;
}

#object-nav.groups-nav .bond-group-nav {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
	border-bottom: 0.556px solid #d2d0c8;
}

#object-nav.groups-nav .bond-group-nav__item {
	position: relative;
	margin: 0;
	flex: 0 0 auto;
}

#object-nav.groups-nav .bond-group-nav__item--meta {
	margin-left: auto;
}

#object-nav.groups-nav .bond-group-nav__link,
#object-nav.groups-nav .bond-group-nav__link--stub {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 47.5px;
	padding: 0 14.25px;
	color: #545246;
	font-size: 17px;
	line-height: 26px;
	font-family: "DINNextRoundedLTProRegular", arial, sans-serif;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
}

#object-nav.groups-nav .bond-group-nav__link .bb-single-nav-item-point {
	display: inline;
	padding: 0;
	margin: 0;
	font: inherit;
	line-height: inherit;
	color: inherit;
}

#object-nav.groups-nav .bond-group-nav__link:hover,
#object-nav.groups-nav .bond-group-nav__link:focus {
	color: #545246;
	text-decoration: none;
}

#object-nav.groups-nav .bond-group-nav__item.selected:not(.bond-group-nav__item--meta) .bond-group-nav__link {
	background: #b6002d;
	color: #fff;
}

#object-nav.groups-nav .bond-group-nav__item.selected:not(.bond-group-nav__item--meta) .bond-group-nav__link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0.01px;
	left: 0;
	height: 2.99px;
	background: #b6002d;
}

#object-nav.groups-nav .bond-group-nav__item--meta .bond-group-nav__link {
	min-height: 47.5px;
	padding: 0 14.25px;
	color: #d50032;
	font-size: 15.4px;
	line-height: 47.5px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#object-nav.groups-nav .bond-group-nav__item--meta.selected .bond-group-nav__link {
	background: transparent;
	color: #d50032;
}

#object-nav.groups-nav .bond-group-nav__link--stub {
	opacity: 1;
	cursor: default;
}

.bond-group-feed {
	padding-top: 0.625rem;
}

.bond-group-feed__composer-shell {
	margin-bottom: 1rem;
}

.bond-group-feed__composer-shell .activity-topic-selector {
	display: none;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form {
	border: 1px solid var(--color-border);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	box-shadow: none;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form .activity-update-form-overlay,
.bond-group-feed__composer-shell #bp-nouveau-activity-form #activity-header,
.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-heading,
.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-status,
.bond-group-feed__composer-shell #bp-nouveau-activity-form #activity-schedule-section,
.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-privacy-stage,
.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-title {
	display: none !important;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form form.activity-form {
	display: flex;
	flex-direction: column;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form .whats-new-scroll-view {
	overflow: visible;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form .whats-new-form-header {
	min-height: 77px;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #user-status-huddle.bp-activity-huddle {
	display: flex;
	align-items: stretch;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-avatar {
	flex: 0 0 78px;
	padding: 16px;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form .activity-post-avatar-container,
.bond-group-feed__composer-shell #bp-nouveau-activity-form .activity-post-avatar {
	display: flex;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form .activity-post-avatar img.avatar {
	width: 45px;
	height: 45px;
	border-radius: 22.5px;
	object-fit: cover;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form .activity-post-name-status {
	display: none !important;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-content {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-height: 77px;
	padding-right: 15px;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-textarea {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 77px;
	padding: 24.25px 0;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new {
	width: 100%;
	min-height: 28.5px !important;
	height: 28.5px !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: transparent !important;
	font-family: "DINNextRoundedLTProRegular", arial, sans-serif;
	font-size: 19px !important;
	line-height: 28.5px !important;
	overflow: hidden;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new.medium-editor-placeholder::after {
	content: var(--bond-group-post-placeholder, "Share a post with the group...");
	position: static;
	display: block;
	color: #989482;
	font-family: "DINNextRoundedLTProRegular", arial, sans-serif;
	font-size: 19px;
	font-style: normal;
	line-height: 28.5px;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-toolbar {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 13px 16px 12px;
	background: #f4f4f2;
	border-top: 1px solid #f4f4f2;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-toolbar .post-elements-buttons-item {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding-right: 10px;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-toolbar .toolbar-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	color: #545246;
	background: transparent;
	border: 0;
	border-radius: 0;
	text-decoration: none;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-toolbar .toolbar-button:hover,
.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-toolbar .toolbar-button:focus {
	color: #545246;
	background: transparent;
}

.bond-group-feed__composer-shell #bp-nouveau-activity-form #whats-new-toolbar .toolbar-button i {
	font-size: 24px;
	line-height: 1;
}

.bond-group-feed__filters {
	margin: 0 0 1rem;
}

.bond-group-feed__filters-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bond-group-feed__filters-item {
	margin: 0;
}

.bond-group-feed__filter {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0.25rem 0.75rem;
	border: 1px solid var(--color-bond-red);
	border-radius: 4px;
	color: var(--color-bond-red);
	font-size: 0.8125rem;
	line-height: 1.3;
	text-decoration: none;
	background: #fff;
	cursor: default;
}

.bond-group-feed__filter.is-active {
	background: #b6002d;
	color: #fff;
}

.bond-group-feed__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1rem;
}

.bond-group-feed__search {
	flex: 1 1 auto;
	max-width: 320px;
}

.bond-group-feed__search .dir-search {
	margin: 0;
}

.bond-group-feed__search .bp-dir-search-form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
}

.bond-group-feed__search .bp-dir-search-form::before {
	display: none !important;
}

.bond-group-feed__search input[type="search"] {
	width: 100%;
	height: 40px;
	min-height: 40px;
	padding: 0.625rem 2.5rem 0.625rem 0.75rem !important;
	border: 2px solid var(--color-border);
	border-radius: 3px;
	background: var(--color-background-body);
	color: var(--color-bond-black);
}

.bond-group-feed__search .nouveau-search-submit {
	position: absolute;
	top: 50%;
	right: 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	color: var(--color-bond-grey);
	transform: translateY(-50%);
	opacity: 1;
}

.bond-group-feed__search .search-form_reset {
	display: none;
}

.bond-group-feed__sort {
	flex: 0 0 auto;
}

.bond-group-feed__sort .bb-subnav-filters-container.bb-subnav-filters-filtering > .subnav-filters-opener {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 170px;
	height: 40px;
	padding: 0 0.875rem;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	background: #fff;
	color: var(--color-bond-grey);
}

.bond-group-feed__sort .bb-subnav-filters-container.bb-subnav-filters-filtering > .subnav-filters-opener .selected {
	font-size: 0.9375rem;
	line-height: 1.25;
}

.bond-group-feed .bp-screen-title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.bond-group-feed .load-more {
	display: block;
	margin: 1.875rem 0 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.bond-group-feed .load-more .button.outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.5rem 1rem;
	border: 1px solid #8a0026;
	border-radius: 4px;
	background: #8a0026;
	color: #fff;
	text-decoration: none;
}

.bond-group-feed__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-top: 1.5rem;
}

.bond-group-feed__footer-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

.bond-group-feed__footer-button--primary {
	margin-right: auto;
	border: 1px solid #8a0026;
	background: #8a0026;
	color: #fff;
}

.bond-group-feed__footer-button--secondary {
	border: 1px solid #8a0026;
	background: #fff;
	color: #8a0026;
}

.bond-group-feed__footer-button--secondary::after {
	content: "\2191";
	margin-left: 0.5rem;
	font-size: 0.95em;
}

.bond-group-feed--enhanced-load-more .load-more {
	display: none;
}

@media (max-width: 960px) {
	.groups.group-home .bp-wrap.bond-group-shell,
	.groups.single-item .bp-wrap.bond-group-shell {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.bond-group-header__inner {
		padding: 0 1rem;
	}
}

@media (max-width: 782px) {
	.bond-group-header__cover {
		padding: 28px 0;
		min-height: 152px;
	}

	.bond-group-header #item-header-cover-image.bond-group-header__cover {
		padding: 28px 0;
		min-height: 152px;
	}

	.bond-group-header__title {
		font-size: 36px;
		line-height: 43.2px;
	}

	.bond-group-header__label {
		font-size: 17px;
		line-height: 25.5px;
	}

	.bond-group-header__meta {
		gap: 12px;
	}

	.bond-group-header__art {
		top: 14px;
		right: -58px;
		width: 182px;
		height: 107px;
	}

	.bond-group-nav {
		gap: 0.25rem;
		border-bottom: 0;
	}

	.groups-nav {
		padding-top: 0.25rem;
	}

	.bond-group-nav__item--meta {
		margin-left: 0;
	}

	.bond-group-nav__link,
	.bond-group-nav__link--stub {
		min-height: 40px;
		padding: 0 0.75rem;
		border: 1px solid var(--color-border);
		border-radius: 4px;
	}

	.bond-group-feed__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.bond-group-feed__search {
		max-width: none;
	}

	.bond-group-feed__sort .bb-subnav-filters-container.bb-subnav-filters-filtering > .subnav-filters-opener {
		width: 100%;
	}

	.bond-group-feed__footer {
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.bond-group-feed__footer-button--primary {
		margin-right: 0;
	}
}
