.community-page {
	min-height: 65vh;
}

.community-page .community-account-nav {
	position: sticky;
	top: 3.5rem;
}

.community-page .community-account-nav > .card-body {
	padding: 0;
}

.community-page .community-account-nav h2 {
	padding: 1rem 1rem 0;
}

.community-page .community-account-nav .list-group {
	border-radius: 0;
}

.community-page .community-account-nav .list-group-item {
	padding: 1rem;
	border-radius: 0;
}

.community-page .community-account-nav .list-group-item.active {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #fff;
}

.community-page .eyebrow {
	display: inline-block;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bs-secondary-color);
}

.community-page .access-card {
	max-width: 34rem;
	margin-inline: auto;
}

.community-page .editor-shell {
	min-width: 0;
}

.community-page .reading-shell {
	max-width: 54rem;
	margin-inline: auto;
}

.community-page .content-card .card-img-top {
	max-height: 18rem;
	object-fit: cover;
}

.community-page .content-title {
	color: var(--bs-heading-color);
	text-decoration: none;
}

.community-page .content-title:hover {
	color: var(--bs-primary);
}

.community-page .editor-actions {
	gap: .75rem;
	padding: 1.25rem;
}

.community-page .article-cover {
	width: 100%;
	max-height: 32rem;
	object-fit: cover;
}

.community-page .rich-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.community-page .rich-content img {
	max-width: 100%;
	height: auto;
}

.community-page .rich-content iframe,
.cms-content iframe[src^="https://www.youtube.com/embed/"],
.cms-content iframe[src^="https://www.youtube-nocookie.com/embed/"],
.cms-content iframe[src^="https://player.vimeo.com/video/"],
.cms-content iframe[src^="https://www.dailymotion.com/embed/video/"],
.cms-content iframe[src^="https://geo.dailymotion.com/player"] {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}

.cms-content img {
	max-width: 100%;
	height: auto;
}

.community-page .rich-content table {
	display: block;
	max-width: 100%;
	overflow: auto;
}

.community-page .rich-content blockquote {
	border-left: 3px solid var(--bs-primary);
	padding-left: 1.25rem;
}

.community-page .gallery-image {
	width: 100%;
	height: 11rem;
	object-fit: cover;
}

.community-page .avatar {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	object-fit: cover;
}

.community-page .avatar-lg {
	width: 7rem;
	height: 7rem;
}

.community-page .avatar-crop {
	max-width: 20rem;
	margin-top: 1rem;
}

.community-page .avatar-crop canvas {
	width: 100%;
	border-radius: 50%;
	border: 3px solid var(--bs-body-bg);
	box-shadow: 0 0 0 1px var(--bs-border-color);
}

.community-page .upload-preview,
.community-page .media-tile img {
	width: 8rem;
	height: 6rem;
	object-fit: cover;
}

.community-page .media-tile {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	font-size: .875rem;
}

.community-page .comment-thread {
	padding-block: 1.25rem;
	border-top: 1px solid var(--bs-border-color);
	scroll-margin-top: 3.5rem;
}

.community-page .comment-reply {
	margin-left: 2rem;
	margin-top: 1rem;
	padding-bottom: 0;
}

.community-page .comment-avatar {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--bs-light);
	color: var(--bs-secondary-color);
	font-weight: 600;
	object-fit: cover;
}

.community-page .comment-body {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	line-height: 1.75;
}

.community-page .min-width-0 {
	min-width: 0;
}

.community-page .community-richtext {
	min-height: 35rem;
}

@media (max-width: 767.98px) {
	.community-page .community-account-nav {
		position: static;
	}

	.community-page .community-account-nav .list-group {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.community-page .community-account-nav .list-group-item {
		flex: 0 0 auto;
		width: auto;
		white-space: nowrap;
	}
}

@media (max-width: 767.98px) {
	.community-page .community-richtext {
		min-height: 24rem;
	}

	.community-page .comment-reply {
		margin-left: 1rem;
	}

	.community-page .editor-actions > .btn {
		flex: 1 1 auto;
	}
}

.community-cover {
	width: 100%;
	overflow: hidden;
}
.community-cover__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 1;
	object-fit: cover;
}
@media (max-width: 767.98px) {
	.community-cover__image {
		aspect-ratio: 5 / 2;
	}
}

.community-cover--hero .community-cover__image {
	height: clamp(12rem, 25vw, 30rem);
	aspect-ratio: auto;
}

.community-cover--member {
	position: relative;
}
.community-cover--member::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent 20%, rgba(0, 0, 0, .75));
	pointer-events: none;
}
.community-cover__identity {
	position: absolute;
	bottom: clamp(1rem, 3vw, 3rem);
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
}
.community-cover__avatar {
	flex-shrink: 0;
	width: clamp(4rem, 8vw, 7rem);
	height: clamp(4rem, 8vw, 7rem);
	object-fit: cover;
	border: 3px solid #fff;
	border-radius: 50% !important;
}
.community-cover__initials {
	display: grid;
	place-items: center;
	background: var(--bs-secondary);
	color: #fff;
	font-size: 1.75rem;
}
.community-cover__name {
	margin: 0;
	color: #fff;
	font-size: clamp(1.5rem, 4vw, 3rem);
	overflow-wrap: anywhere;
	min-width: 0;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.community-cover__details {
	min-width: 0;
}
.community-cover__linkedin,
.community-cover__linkedin:hover,
.community-cover__linkedin:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.community-gallery-sorting [data-id] {
	cursor: grab;
	outline: 1px dashed var(--bs-primary);
	outline-offset: .25rem;
}
.community-gallery-sorting [data-id]:focus-visible {
	outline: 3px solid var(--bs-primary);
}
.community-gallery-ghost {
	opacity: .35;
}

.community-page .community-dropzone {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	min-height: 10rem;
	padding: 1.5rem;
	border: 2px dashed var(--bs-border-color);
	border-radius: var(--bs-border-radius-lg);
	background: var(--bs-tertiary-bg);
	text-align: center;
}

.community-page .community-dropzone:hover,
.community-page .community-dropzone.is-dragging,
.community-page .community-dropzone:focus-within {
	border-color: var(--bs-primary);
	background: rgba(var(--bs-primary-rgb), .06);
}

.community-page .community-dropzone:focus-within {
	outline: 3px solid rgba(var(--bs-primary-rgb), .3);
	outline-offset: 3px;
}

.community-page .community-dropzone__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.community-page .community-dropzone__icon {
	color: var(--bs-primary);
	font-size: 2rem;
}

.community-page .community-dropzone__title {
	font-weight: 600;
}

.community-page .community-dropzone__hint {
	color: var(--bs-secondary-color);
	font-size: .875rem;
}

.community-page .community-dropzone__error:empty {
	display: none;
}

.community-page .community-image-preview,
.community-page .media-tile {
	position: relative;
	width: fit-content;
	max-width: 100%;
}

.community-page .community-image-preview > img,
.community-page .community-image-preview > canvas {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: var(--bs-border-radius);
}

.community-page .community-image-preview--avatar {
	width: 10rem;
}

.community-page .community-image-preview--avatar > img,
.community-page .community-image-preview--avatar > canvas {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}

.community-page .community-image-preview--cover {
	width: 100%;
}

.community-page .community-image-preview--cover > img,
.community-page .community-image-preview--cover > canvas {
	width: 100%;
	aspect-ratio: 4 / 1;
	object-fit: cover;
}

.community-page .community-image-remove {
	position: absolute;
	top: .5rem;
	right: .5rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--bs-border-color);
	border-radius: 50%;
	background: var(--bs-body-bg);
	color: var(--bs-danger);
	box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .15);
}

.community-page .community-image-remove:hover {
	background: var(--bs-danger);
	color: var(--bs-white);
}

.community-page .community-image-remove:focus-visible {
	outline: 3px solid var(--bs-primary);
	outline-offset: 3px;
}

.community-page .is-removed > img {
	opacity: .25;
	filter: grayscale(1);
}

.community-page .is-removed .community-image-remove {
	color: var(--bs-body-color);
}

.community-page .community-image-preview > .upload-preview {
	width: 8rem;
	height: 6rem;
	object-fit: cover;
}
