/* -----------------------------------------------------------------------------
   Member Profile Header
   ----------------------------------------------------------------------------- */

.bond-member-profile-header,
.bond-bp-member-profile-wrap,
.bond-bp-member-profile-body {
	--bond-member-cover-red: #a20026;
	--bond-member-action-red: #8a0026;
	--bond-member-tab-red: #b6002d;
	--bond-member-link-red: #c42939;
	--bond-member-text: #37322d;
	--bond-member-muted: #545246;
	--bond-member-line: #d2d0c8;
	--bond-member-card-bg: #f5f5f0;
}

.users-header.single-headers {
	margin-top: -3rem;
}

#cover-image-container.bond-member-profile-header {
	float: none;
	width: auto;
	max-width: none;
	margin: 0 -40px 0 !important;
	padding-bottom: 34px;
	background: transparent;
}

.bond-member-profile-header {
	& #header-cover-image.bond-member-profile-header__cover {
		height: 179px !important;
		min-height: 179px !important;
		background-color: var(--bond-member-cover-red) !important;
		background-image: url("../../../img/group-header-mark.png") !important;
		background-position: right 20px top 0 !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;
	}

	& .link-change-cover-image,
	& .position-change-cover-image,
	& .header-cover-reposition-wrap,
	& .link-change-profile-image,
	& .link-change-overlay,
	& .member-header-actions-wrap {
		display: none;
	}

	& #item-header-cover-image.bond-member-profile-header__body {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 0;
		padding: 0;
		text-align: center;
		background: transparent;
	}

	& #item-header-avatar.bond-member-profile-header__avatar {
		position: relative;
		width: 150px;
		height: 150px;
		margin: 0;
	}

	& #item-header-content.bond-member-profile-header__content {
		margin: 23px 0 0;
		padding: 0;
	}
}

.bond-member-profile-header__cover {
	height: 179px !important;
	min-height: 179px !important;
	background-color: var(--bond-member-cover-red) !important;
	background-image: url("../../../img/group-header-mark.png") !important;
	background-position: right 20px top 0 !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
}

.bond-member-profile-header__avatar {
	& a {
		display: block;
		border-radius: 999px;
	}

	& img.avatar {
		display: block;
		width: 150px;
		height: 150px;
		max-width: none;
		border: 2px solid #fff;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.8);
		object-fit: cover;
	}
}

.bond-member-profile-header__status-dot {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: #edbb34;
}

.bond-member-profile-header__name {
	margin: 0 !important;
	color: var(--bond-member-text) !important;
	font-family: "DIN_Next_Rounded_LT_Pro", "DINNextRoundedLTProRegular", arial, sans-serif;
	font-size: 42px !important;
	font-weight: 300 !important;
	line-height: 54.6px !important;
	text-shadow: none !important;
}

.bond-member-profile-header__meta {
	margin: 6px 0 0;
	color: var(--bond-member-muted);
	font-size: 19px;
	font-weight: 400;
	line-height: 28.5px;
}

.bond-member-profile-header__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 34px;
}

.bond-member-profile-header__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 9px 23px 7px;
	border: 1px solid var(--bond-member-action-red) !important;
	border-radius: 4px;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--bond-member-action-red) !important;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	opacity: 1 !important;
	text-decoration: none !important;

	& span {
		font-size: 19px;
		line-height: 28.5px;
	}

	& i {
		color: inherit !important;
		font-size: 22px;
		line-height: 1;
	}

	&:hover,
	&:focus {
		border-color: var(--bond-member-action-red) !important;
		color: var(--bond-member-action-red) !important;
		text-decoration: none !important;
	}

	&.is-disabled {
		opacity: 0.45;
		pointer-events: none;
	}
}

.bond-member-profile-header--other .bond-member-profile-header__action:first-child {
	min-width: 245px;
}

@media (max-width: 991px) {
	#cover-image-container.bond-member-profile-header {
		margin-right: -20px;
		margin-left: -20px;
	}

	.bond-member-profile-header__name {
		font-size: 36px;
		line-height: 46px;
	}

	.bond-member-profile-header__meta {
		font-size: 17px;
		line-height: 25.5px;
	}

	.bond-member-profile-header__action {
		padding-right: 20px;
		padding-left: 20px;
	}
}

@media (max-width: 782px) {
	#cover-image-container.bond-member-profile-header {
		margin-right: -16px;
		margin-left: -16px;
		padding-bottom: 24px;
	}

	.bond-member-profile-header #header-cover-image.bond-member-profile-header__cover,
	.bond-member-profile-header__cover {
		height: 152px !important;
		min-height: 152px !important;
		background-position: right -58px top 14px !important;
		background-size: 182px 107px !important;
	}

	.bond-member-profile-header #item-header-cover-image.bond-member-profile-header__body {
		margin-top: 0;
	}

	.bond-member-profile-header #item-header-avatar.bond-member-profile-header__avatar,
	.bond-member-profile-header__avatar img.avatar {
		width: 120px;
		height: 120px;
	}

	.bond-member-profile-header__status-dot {
		top: 4px;
		right: 4px;
	}

	.bond-member-profile-header__name {
		font-size: 32px;
		line-height: 40px;
	}

	.bond-member-profile-header__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 360px;
	}

	.bond-member-profile-header--other .bond-member-profile-header__action:first-child {
		min-width: 0;
	}
}
