.site-main:has(.member-profile) {
	padding: 0;
}

.member-profile {
	background: #fff;
	color: #333338;
	font-family: "Host Grotesk", "Segoe UI", sans-serif;
}

.member-profile__inner {
	width: auto;
	margin: 0;
	padding: 24px 200px 80px;
}

.member-profile__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	color: #333338;
}

.member-profile__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.member-profile__crumbs li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	line-height: 1.6;
}

.member-profile__crumbs li:has(a) {
	padding: 4px 4px 4px 8px;
	border-radius: 2px;
}

.member-profile__crumbs li:has(a:hover),
.member-profile__crumbs li:has(a:focus-visible) {
	background: rgba(81, 81, 81, 0.15);
}

.member-profile__crumb-card {
	display: none;
}

.member-profile__crumbs a {
	color: #333338;
	text-decoration: none;
}

.member-profile__crumbs a:hover,
.member-profile__crumbs a:focus-visible {
	color: #202024;
	text-decoration: none;
	opacity: 1;
}

.member-profile__crumbs img {
	display: block;
	width: 16px;
	height: 16px;
}

.member-profile__category {
	display: inline-block;
	margin: 32px 0 0;
	padding: 4px 8px;
	background: #1ca07a;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.2px;
	line-height: 1.2;
}

.member-profile__category--brick {
	background: #e7411b;
}

.member-profile__category--gold {
	background: #f5ae22;
	color: #2b241f;
}

.member-profile__category--green {
	background: #1ca07a;
}

.member-profile__category--cream {
	background: #fae6cc;
	color: #2b241f;
}

.member-profile__category--ink {
	background: #2b241f;
}

.member-profile h1 {
	margin: 16px 0 0;
	color: #2b241f;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.2px;
}

.member-profile__photo {
	display: block;
	width: 100%;
	height: 480px;
	margin-top: 32px;
	object-fit: cover;
}

.member-facts {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 32px;
}

.member-facts__details {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.member-facts__row {
	display: flex;
	gap: 24px;
}

.member-facts__item {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.member-facts__item--address,
.member-facts__item--phone {
	flex: 0 0 260px;
}

.member-facts__label {
	margin: 0;
	color: #5d5d67;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.6;
}

.member-facts__social .member-facts__label {
	text-transform: uppercase;
}

.member-facts__value {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin: 0;
	color: #2b241f;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none;
	transition: transform 0.2s ease-out;
}

.member-facts__item:hover .member-facts__value,
.member-facts__item:focus-within .member-facts__value {
	transform: translateX(18px);
}

.member-facts__value--link span {
	text-decoration: underline;
}

.member-facts__value img {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
}

.member-facts__social ul {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.member-facts__social a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
}

.member-facts__social img {
	display: block;
	width: 27px;
	height: 27px;
	object-fit: contain;
}

.member-facts__social img + img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	filter: brightness(0) saturate(100%) invert(60%) sepia(20%) saturate(1280%) brightness(93%) contrast(122%);
	transition: opacity 0.2s ease-out;
}

.member-facts__social a:hover img + img,
.member-facts__social a:focus-visible img + img {
	opacity: 1;
}

.member-facts__logo {
	display: flex;
	flex: 0 0 306px;
	align-items: center;
	justify-content: flex-end;
	padding: 20px 0 20px 48px;
}

.member-facts__logo img {
	display: block;
	width: 186px;
	height: auto;
	object-fit: contain;
}

.member-profile__content {
	margin-top: 32px;
	padding: 24px 0;
}

.member-profile__content > *:first-child {
	margin-top: 0;
}

.member-profile__content p {
	margin: 0 0 24px;
	color: #333338;
	font-size: 1.125rem;
	line-height: 1.6;
}

.member-profile__content > p:first-child {
	font-weight: 700;
}

.member-profile__content h2,
.member-profile__content h3 {
	color: #2b241f;
}

.member-profile__amenities {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.member-profile__amenities h2 {
	margin: 0;
	color: #333338;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.6;
}

.member-profile__amenities ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.member-profile__amenities li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-left: 12px;
	color: #333338;
	font-size: 1rem;
	line-height: 1.6;
}

.member-profile__amenities img {
	display: block;
	width: 24px;
	height: 24px;
	flex: none;
	margin-top: 2px;
}

.member-profile__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 32px;
}

.member-profile__gallery img {
	display: block;
	width: 100%;
	height: 480px;
	object-fit: cover;
}

@media (max-width: 1100px) {
	.member-profile__inner {
		width: auto;
		padding-inline: 32px;
	}

	.member-facts {
		align-items: flex-start;
	}

	.member-facts__logo {
		flex-basis: 220px;
		padding-left: 16px;
	}
}

@media (max-width: 800px) {
	.member-profile__inner {
		display: flex;
		flex-direction: column;
		gap: 32px;
		width: auto;
		padding: 24px 20px 80px;
	}

	.member-profile__crumb-title {
		display: none;
	}

	.member-profile__crumb-card {
		display: inline;
	}

	.member-profile__crumbs a {
		color: #202024;
		opacity: 0.7;
	}

	.member-profile__category,
	.member-profile h1,
	.member-profile__photo,
	.member-facts,
	.member-profile__content,
	.member-profile__amenities,
	.member-profile__gallery {
		margin: 0;
	}

	.member-profile__category {
		align-self: flex-start;
		padding: 8px 12px;
	}

	.member-profile h1 {
		font-size: 1.5rem;
		line-height: 1.35;
		letter-spacing: 0;
		color: #1a1a1a;
	}

	.member-profile__photo {
		height: 226px;
	}

	.member-facts,
	.member-facts__row {
		flex-direction: column;
		gap: 10px;
	}

	.member-facts {
		gap: 0;
	}

	.member-facts__details {
		flex-direction: column;
		gap: 20px;
	}

	.member-facts__item,
	.member-facts__item--address,
	.member-facts__item--phone {
		flex: 0 0 auto;
		width: 100%;
	}

	.member-facts__logo {
		order: -1;
		flex: none;
		width: 100%;
		align-items: stretch;
		justify-content: center;
		padding: 20px 0;
	}

	.member-facts__logo img {
		width: 100%;
		max-width: none;
		height: auto;
		aspect-ratio: 280 / 222;
		object-fit: cover;
		object-position: center;
	}

	.member-facts__social {
		margin-top: 0;
	}

	.member-profile__content {
		padding: 24px 0 0;
	}

	.member-profile__content > p:first-child {
		font-size: 1.125rem;
		font-weight: 600;
		line-height: 1.4;
	}

	.member-profile__content p {
		font-size: 1rem;
	}

	.member-profile__gallery {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.member-profile__gallery img {
		height: 224px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.member-facts__value,
	.member-facts__social img + img {
		transition: none;
	}
}
