/* Shared profile layout: identity, navigation and content across all profile views. */
#banner {
	height: 200px;
	max-width: 1270px;
	margin: 66px auto 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: var(--gc-radius-lg);
	box-shadow: var(--gc-shadow);
	overflow: hidden;
}

main {
	display: flex;
	flex-direction: column;
}

main > aside,
main > section {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

#content_left-column {
	max-width: none;
}

.profile-identity {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	width: 100%;
	min-height: 140px;
	box-sizing: border-box;
	margin-top: 30px;
	border: 1px solid var(--gc-color-border);
	border-radius: var(--gc-radius-md) var(--gc-radius-md) 0 0;
	background: linear-gradient(135deg, #fff 0%, #fff 72%, #f9fcff 100%);
	box-shadow: 0 5px 20px rgba(24, 54, 84, .08);
	font-family: var(--gc-font-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	overflow: hidden;
}

[canvas=container][banner=yes] .profile-identity {
	margin-top: -30px;
	box-shadow: var(--gc-shadow);
}

main > aside + #subnav {
	order: 1;
	margin-top: -1px;
	border-radius: 0 0 14px 14px;
}

#subnav > .profile-subnav__identity {
	display: none;
	flex: 0 0 44px;
}

#subnav.is-sticky > .profile-subnav__identity {
	display: flex;
}

.profile-subnav > .profile-subnav__identity > a {
	padding: 6px;
}

.profile-subnav__identity img {
	width: 38px;
	height: 38px;
	object-fit: cover;
	border-radius: 50%;
}

.profile-identity__visual {
	display: grid;
	place-items: center;
}

.profile-identity__info {
	display: grid;
	grid-column: 2;
	grid-template-columns: minmax(240px, 440px);
	max-width: 440px;
	align-content: center;
	gap: 2px;
	padding: 13px 16px;
}

.profile-identity__name {
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: 23px;
	font-size: 110%;
	font-weight: 650;
	letter-spacing: -.015em;
	line-height: 1.25;
}

.profile-identity__name a {
	color: #064184;
}

.profile-identity__badge {
	width: 15px;
	height: 15px;
}

.profile-identity__location {
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: 21px;
	color: #56708b;
}

.profile-identity__icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	color: #064184;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.profile-identity__avatar-link {
	display: grid;
	place-items: center;
}

.profile-identity__avatar {
	width: 94px;
	height: 94px;
	box-sizing: border-box;
	margin: 10px;
	border: 4px solid rgba(255, 255, 255, .96);
	border-radius: 50%;
	background-position: center;
	background-size: cover;
	box-shadow: 0 7px 18px rgba(24, 54, 84, .16), 0 0 0 1px rgba(6, 65, 132, .08);
}

.profile-identity__detail {
	display: flex;
	align-items: flex-start;
	min-height: 21px;
	gap: 4px;
	padding: 1px 0;
}

.profile-identity__detail > .profile-identity__icon {
	margin-top: 1px;
	margin-right: 4px;
}

.profile-identity__info > .profile-identity__detail {
	min-height: 20px;
	color: #56708b;
	font-size: 12px;
}

.profile-identity__info > .profile-identity__detail .profile-identity__label,
.profile-identity__info > .profile-identity__detail .profile-identity__value {
	color: inherit;
}

.profile-identity__detail-text {
	min-width: 0;
}

.profile-identity__activity .profile-identity__value {
	text-transform: lowercase;
}

.profile-identity__trust-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 7px;
}

.profile-identity__trust {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 27px;
	padding: 0 10px;
	border: 1px solid #d4e3f0;
	border-radius: 999px;
	background: rgba(243, 248, 252, .82);
	color: #45627f;
	white-space: nowrap;
}

.profile-identity__trust .profile-identity__icon {
	width: 14px;
	height: 14px;
}

.profile-identity__trust-value {
	color: #064184;
	font-size: 12px;
	font-weight: 400;
}

.profile-identity__label {
	color: #064184;
}

.profile-identity__value {
	color: #064184;
	font-weight: 400;
}

.profile-identity__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: fit-content;
	min-height: 39px;
	margin-top: 9px;
	padding: 0 17px;
	box-sizing: border-box;
	border: 1px solid #b8d3eb;
	border-radius: 10px;
	background: linear-gradient(180deg, #f4faff 0%, #eaf5fd 100%);
	color: #064184;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(22, 115, 187, .08);
	transition: background-color var(--gc-transition);
}

.profile-identity__contact svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.profile-identity__contact:hover {
	background: #e2f1fc;
}

.profile-identity__contact.active {
	border-color: #1673bb;
	background: #1673bb;
	color: #fff;
	box-shadow: 0 5px 12px rgba(22, 115, 187, .2);
}

.profile-identity__contact:focus-visible,
.profile-identity__name a:focus-visible,
.profile-identity__avatar-link:focus-visible {
	outline: 3px solid rgba(22, 115, 187, .25);
	outline-offset: 3px;
}

.content_text.brand-yellow-panel {
	box-sizing: border-box;
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 1.7;
}

.row_review {
	padding: 10px !important;
}

.row_review > .comment {
	padding-right: 18px;
	padding-left: 18px;
}

.row_review > .rating {
	min-width: 260px;
	background: var(--gc-color-surface-subtle);
}

@media (min-width: 961px) {
	.profile-identity {
		grid-template-columns: 164px minmax(0, 1fr);
	}

	.profile-identity__avatar {
		width: 140px;
		height: 140px;
	}

	.profile-identity__info {
		padding-left: 14px;
	}
}

@media (max-width: 960px) {
	.profile-identity {
		grid-template-columns: 136px minmax(0, 1fr);
	}

	.profile-identity__avatar {
		width: 112px;
		height: 112px;
	}

	main > aside[device=large-screen] {
		display: block;
	}

	#banner {
		/* height: 96px; */
		margin-top: 50px;
		border-radius: 0 0 10px 10px;
	}

}

@media (max-width: 560px) {
	.profile-identity {
		grid-template-columns: 82px minmax(0, 1fr);
		min-height: 0;
	}

	.profile-identity__avatar {
		width: 66px;
		height: 66px;
		margin: 8px;
	}

	.profile-identity__info {
		grid-template-columns: 1fr;
		max-width: none;
		padding: 8px 10px;
	}

	.profile-identity__contact {
		width: 100%;
		margin-top: 6px;
	}

	.profile-identity__trust-list {
		gap: 5px;
	}

}
