/*
 * StayRent public host profile.
 * This file belongs to the marketplace plugin and intentionally does not
 * contain theme shell, navigation or generic WordPress page rules.
 */

.srm-host-profile-premium {
	--srm-host-ink: #1f2024;
	--srm-host-muted: #6f747c;
	--srm-host-line: #e6e3e2;
	--srm-host-soft: #f7f7f6;
	--srm-host-rose: var(--srm-brand, #d52147);
	display: flow-root;
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
	padding: 42px 0 88px;
	color: var(--srm-host-ink);
}

.srm-host-profile-premium > section {
	scroll-margin-top: 104px;
}

.srm-host-profile-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
	gap: clamp(32px, 5vw, 72px);
	min-height: 460px;
	padding: clamp(38px, 5vw, 68px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 28px;
	background:
		radial-gradient(circle at 88% 14%, rgba(255, 156, 175, 0.22), transparent 26%),
		radial-gradient(circle at 7% 95%, rgba(154, 121, 93, 0.22), transparent 30%),
		linear-gradient(135deg, #211e23 0%, #30232a 55%, #4a2531 100%);
	box-shadow: 0 30px 80px rgba(31, 26, 29, 0.17);
	color: #fff;
}

.srm-host-profile-hero::before,
.srm-host-profile-hero::after {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 999px;
	content: "";
	pointer-events: none;
}

.srm-host-profile-hero::before {
	top: -122px;
	right: -54px;
	width: 350px;
	height: 350px;
}

.srm-host-profile-hero::after {
	right: 112px;
	bottom: -205px;
	width: 450px;
	height: 450px;
}

.srm-host-profile-person,
.srm-host-profile-scorecard {
	position: relative;
	z-index: 1;
}

.srm-host-profile-person {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 4vw, 48px);
	min-width: 0;
}

.srm-host-profile-avatar {
	position: relative;
	align-self: start;
	width: 150px;
	height: 150px;
	margin-top: 28px;
	padding: 7px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 44px;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
	transform: rotate(-2deg);
}

.srm-host-profile-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 37px;
	object-fit: cover;
}

.srm-host-verified-badge {
	position: absolute;
	right: -8px;
	bottom: -8px;
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 5px solid #30232a;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
	color: var(--srm-host-rose);
	font-size: 15px;
	font-weight: 900;
	transform: rotate(2deg);
}

.srm-host-profile-intro {
	min-width: 0;
}

.srm-host-profile-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 17px;
	color: #ffb0c0;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.2;
}

.srm-host-profile-kicker i {
	font-size: 8px;
	font-style: normal;
}

.srm-host-profile-intro h1 {
	max-width: 700px;
	margin: 0;
	color: #fff;
	font-family: var(--srm-display, Georgia, serif);
	font-size: clamp(42px, 5.3vw, 76px);
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.srm-host-profile-intro > p {
	max-width: 640px;
	margin: 22px 0 0;
	color: rgba(255, 255, 255, 0.73);
	font-size: 14px;
	line-height: 1.75;
}

.srm-host-profile-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.srm-host-profile-trust span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 8px 11px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.88);
	font-size: 9px;
	font-weight: 650;
	line-height: 1;
}

.srm-host-profile-trust i {
	display: grid;
	width: 17px;
	height: 17px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.13);
	color: #ffb0c0;
	font-size: 9px;
	font-style: normal;
}

.srm-host-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.srm-host-profile-actions .srm-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 46px;
	margin: 0;
	padding: 12px 17px;
	border: 1px solid #fff;
	border-radius: 13px;
	background: #fff;
	box-shadow: none;
	color: #231f23 !important;
	font-size: 10px;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.srm-host-profile-actions .srm-button:hover {
	background: #f8eef1;
	transform: translateY(-2px);
}

.srm-host-profile-actions .srm-button-secondary {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.07);
	color: #fff !important;
}

.srm-host-profile-actions .srm-button-secondary:hover {
	border-color: rgba(255, 255, 255, 0.38);
	background: rgba(255, 255, 255, 0.13);
}

.srm-host-profile-scorecard {
	align-self: center;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.09);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.17);
	backdrop-filter: blur(18px);
}

.srm-host-profile-scorecard-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 2px 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.srm-host-profile-scorecard-heading span,
.srm-host-profile-scorecard-heading small {
	font-size: 9px;
	line-height: 1.3;
}

.srm-host-profile-scorecard-heading span {
	color: #ffbdca;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.srm-host-profile-scorecard-heading small {
	color: rgba(255, 255, 255, 0.55);
}

.srm-host-profile-score-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 16px 0;
	overflow: hidden;
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.12);
}

.srm-host-profile-score-grid > div {
	display: grid;
	gap: 3px;
	min-height: 92px;
	padding: 18px;
	align-content: center;
	background: rgba(31, 27, 31, 0.5);
}

.srm-host-profile-score-grid strong {
	color: #fff;
	font-family: var(--srm-display, Georgia, serif);
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1;
}

.srm-host-profile-score-grid small {
	color: rgba(255, 255, 255, 0.58);
	font-size: 9px;
	font-weight: 600;
	line-height: 1.3;
}

.srm-host-profile-scorecard > p {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px;
	border-radius: 13px;
	background: rgba(255, 255, 255, 0.07);
}

.srm-host-profile-scorecard > p > span:first-child {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffb0c0;
}

.srm-host-profile-scorecard > p > span:last-child {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.srm-host-profile-scorecard > p small {
	color: rgba(255, 255, 255, 0.47);
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.11em;
}

.srm-host-profile-scorecard > p strong {
	overflow: hidden;
	color: rgba(255, 255, 255, 0.88);
	font-size: 10px;
	font-weight: 650;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.srm-host-profile-details {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
	gap: 18px;
	margin-top: 24px;
}

.srm-host-profile-about,
.srm-host-profile-standards {
	margin: 0;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid var(--srm-host-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(31, 32, 36, 0.055);
}

.srm-host-profile-about .srm-eyebrow,
.srm-host-profile-standards .srm-eyebrow,
.srm-host-profile-premium .srm-section-heading .srm-eyebrow {
	display: block;
	margin: 0 0 13px;
	color: var(--srm-host-rose);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.2;
}

.srm-host-profile-about h2,
.srm-host-profile-standards h2,
.srm-host-profile-premium .srm-section-heading h2 {
	margin: 0;
	color: var(--srm-host-ink);
	font-family: var(--srm-display, Georgia, serif);
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.srm-host-profile-about h2,
.srm-host-profile-standards h2 {
	font-size: clamp(29px, 3vw, 43px);
}

.srm-host-profile-about > p {
	max-width: 700px;
	margin: 20px 0 0;
	color: var(--srm-host-muted);
	font-size: 13px;
	line-height: 1.75;
}

.srm-host-profile-meta {
	display: grid;
	grid-template-columns: minmax(130px, 0.6fr) minmax(0, 1.4fr);
	gap: 1px;
	margin-top: 27px;
	overflow: hidden;
	border: 1px solid var(--srm-host-line);
	border-radius: 15px;
	background: var(--srm-host-line);
}

.srm-host-profile-meta > span {
	display: grid;
	gap: 5px;
	min-width: 0;
	padding: 16px 18px;
	background: #fbfbfa;
}

.srm-host-profile-meta small {
	color: #999ca1;
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.srm-host-profile-meta strong {
	overflow: hidden;
	color: #3a3c40;
	font-size: 10px;
	font-weight: 650;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.srm-host-profile-standards {
	background: linear-gradient(145deg, #fff, #faf8f8);
}

.srm-host-profile-standards ul {
	display: grid;
	gap: 0;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.srm-host-profile-standards li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--srm-host-line);
}

.srm-host-profile-standards li > span {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 10px;
	background: rgba(213, 33, 71, 0.075);
	color: var(--srm-host-rose);
	font-size: 8px;
	font-weight: 800;
}

.srm-host-profile-standards li p {
	display: grid;
	gap: 3px;
	margin: 0;
}

.srm-host-profile-standards li strong {
	color: #33363a;
	font-size: 11px;
	font-weight: 720;
}

.srm-host-profile-standards li small {
	color: #7d8187;
	font-size: 9px;
	line-height: 1.5;
}

.srm-host-profile-premium > .srm-section {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.srm-host-stays-section {
	margin-top: 72px !important;
	padding: 0 !important;
	background: transparent !important;
}

.srm-host-profile-premium .srm-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 28px;
	padding: 0;
}

.srm-host-profile-premium .srm-section-heading h2 {
	font-size: clamp(34px, 4vw, 54px);
}

.srm-host-profile-premium .srm-section-heading p {
	margin: 10px 0 0;
	color: var(--srm-host-muted);
	font-size: 11px;
	line-height: 1.5;
}

.srm-host-listing-count {
	flex: 0 0 auto;
	padding: 9px 12px;
	border: 1px solid var(--srm-host-line);
	border-radius: 999px;
	background: #fff;
	color: #70757b;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
}

.srm-host-profile-premium .srm-property-grid {
	width: 100%;
	max-width: none;
	margin: 0;
}

.srm-host-profile-premium .srm-property-grid .srm-card {
	box-shadow: 0 15px 45px rgba(31, 32, 36, 0.065);
}

.srm-host-reviews-section {
	margin-top: 78px !important;
	padding: clamp(30px, 5vw, 58px) !important;
	border: 1px solid var(--srm-host-line);
	border-radius: 26px;
	background:
		radial-gradient(circle at 100% 0, rgba(213, 33, 71, 0.055), transparent 30%),
		#f7f7f6 !important;
}

.srm-host-review-summary {
	display: grid;
	flex: 0 0 auto;
	gap: 3px;
	padding: 12px 15px;
	border: 1px solid var(--srm-host-line);
	border-radius: 13px;
	background: #fff;
	text-align: right;
}

.srm-host-review-summary b {
	color: #292b2f;
	font-size: 12px;
}

.srm-host-review-summary small {
	color: #898d92;
	font-size: 8px;
}

.srm-host-profile-premium .srm-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 13px;
}

.srm-host-profile-premium .srm-review-grid article {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 225px;
	margin: 0;
	padding: 22px;
	border: 1px solid var(--srm-host-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(31, 32, 36, 0.04);
}

.srm-host-profile-premium .srm-review-author {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
}

.srm-host-profile-premium .srm-review-author img {
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
}

.srm-host-profile-premium .srm-review-author > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.srm-host-profile-premium .srm-review-author strong {
	overflow: hidden;
	color: #33363a;
	font-size: 10px;
	font-weight: 730;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.srm-host-profile-premium .srm-review-author small,
.srm-host-profile-premium .srm-review-author a {
	overflow: hidden;
	color: #858a90;
	font-size: 8px;
	font-weight: 500;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.srm-host-profile-premium .srm-review-author > span {
	color: #cb7c00;
	font-size: 9px;
	font-weight: 800;
	white-space: nowrap;
}

.srm-host-profile-premium .srm-review-grid article > p {
	margin: 20px 0;
	color: #62676d;
	font-family: var(--srm-display, Georgia, serif);
	font-size: 14px;
	line-height: 1.6;
}

.srm-review-date {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #efeded;
	color: #9b9ea2;
	font-size: 8px;
}

@media (max-width: 1060px) {
	.srm-host-profile-hero {
		grid-template-columns: 1fr;
	}

	.srm-host-profile-scorecard {
		width: min(650px, 100%);
	}

	.srm-host-profile-score-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.srm-host-profile-score-grid > div {
		min-height: 86px;
		padding: 14px;
	}

	.srm-host-profile-score-grid strong {
		font-size: 25px;
	}

	.srm-host-profile-premium .srm-review-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.srm-host-profile-premium {
		width: min(100% - 32px, 1240px);
		padding-top: 28px;
		padding-bottom: 68px;
	}

	.srm-host-profile-hero {
		min-height: 0;
		padding: 34px 28px;
		border-radius: 23px;
	}

	.srm-host-profile-person {
		grid-template-columns: 116px minmax(0, 1fr);
		align-items: start;
		gap: 24px;
	}

	.srm-host-profile-avatar {
		width: 116px;
		height: 116px;
		margin-top: 5px;
		border-radius: 34px;
	}

	.srm-host-profile-avatar img {
		border-radius: 28px;
	}

	.srm-host-profile-intro h1 {
		font-size: clamp(39px, 8vw, 58px);
	}

	.srm-host-profile-details {
		grid-template-columns: 1fr;
	}

	.srm-host-profile-premium .srm-review-grid {
		grid-template-columns: 1fr;
	}

	.srm-host-profile-premium .srm-review-grid article {
		min-height: 0;
	}
}

@media (max-width: 560px) {
	.srm-host-profile-premium {
		width: min(100% - 24px, 1240px);
		padding-top: 20px;
		padding-bottom: 56px;
	}

	.srm-host-profile-hero {
		gap: 27px;
		padding: 28px 20px 20px;
		border-radius: 20px;
	}

	.srm-host-profile-person {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.srm-host-profile-avatar {
		width: 104px;
		height: 104px;
		margin: 0;
		border-radius: 29px;
	}

	.srm-host-profile-avatar img {
		border-radius: 23px;
	}

	.srm-host-verified-badge {
		width: 34px;
		height: 34px;
		border-width: 4px;
	}

	.srm-host-profile-intro h1 {
		font-size: 42px;
	}

	.srm-host-profile-intro > p {
		margin-top: 16px;
		font-size: 12px;
	}

	.srm-host-profile-trust {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, max-content));
	}

	.srm-host-profile-actions {
		display: grid;
	}

	.srm-host-profile-actions .srm-button {
		width: 100%;
	}

	.srm-host-profile-scorecard {
		padding: 15px;
		border-radius: 17px;
	}

	.srm-host-profile-score-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.srm-host-profile-score-grid > div {
		min-height: 78px;
	}

	.srm-host-profile-about,
	.srm-host-profile-standards {
		padding: 25px 20px;
		border-radius: 19px;
	}

	.srm-host-profile-about h2,
	.srm-host-profile-standards h2 {
		font-size: 31px;
	}

	.srm-host-profile-meta {
		grid-template-columns: 1fr;
	}

	.srm-host-stays-section {
		margin-top: 54px !important;
	}

	.srm-host-profile-premium .srm-section-heading {
		display: grid;
		gap: 15px;
	}

	.srm-host-profile-premium .srm-section-heading h2 {
		font-size: 37px;
	}

	.srm-host-listing-count,
	.srm-host-review-summary {
		justify-self: start;
		text-align: left;
	}

	.srm-host-reviews-section {
		margin-top: 56px !important;
		padding: 25px 18px !important;
		border-radius: 20px;
	}

	.srm-host-profile-premium .srm-review-grid article {
		padding: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.srm-host-profile-premium *,
	.srm-host-profile-premium *::before,
	.srm-host-profile-premium *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
