html,
body {
	max-width: 100%;
	overflow-x: clip;
}

img,
iframe,
video {
	max-width: 100%;
}

/* One navigation component across the public site. */
#header-container,
body > #header {
	display: none !important;
}

.lts-site-header,
.lts-site-header * {
	box-sizing: border-box;
}

.lts-site-header {
	position: relative;
	z-index: 70;
	width: 100%;
	height: 78px;
	border-bottom: 1px solid #eadfd3;
	background: #fffaf3;
	color: #201d1b;
	font-family: "Manrope", "Arial", sans-serif;
}

.lts-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: min(1280px, calc(100% - 48px));
	height: 100%;
	margin: 0 auto;
}

.lts-site-header a {
	color: inherit;
	text-decoration: none;
}

.lts-site-header__brand {
	flex: 0 0 auto;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.65px;
}

.lts-site-header__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-left: auto;
}

.lts-site-header__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 17px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.lts-site-header__nav a:hover,
.lts-site-header__nav a.is-active {
	background: #f8e8e4;
	color: #b40023;
}

.lts-site-header__nav a.is-active {
	font-weight: 700;
}

.lts-site-header__actions {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-left: auto;
}

.lts-site-header__favorite,
.lts-site-header__account {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 42px;
	font-size: 13px;
	white-space: nowrap;
}

.lts-site-header__favorite {
	padding: 8px 5px;
}

.lts-site-header__account {
	min-width: 112px;
	padding: 9px 15px;
	border: 1px solid #e4d4c4;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.46);
}

.lts-site-header__favorite:hover,
.lts-site-header__account:hover {
	color: #b40023;
}

.lts-site-header svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lts-site-skip-link {
	position: fixed;
	top: -80px;
	left: 20px;
	z-index: 100001;
	padding: 11px 16px;
	border-radius: 0 0 8px 8px;
	background: #b40023;
	color: #fff;
	font-weight: 700;
}

.lts-site-skip-link:focus {
	top: 0;
}

body.home .lts-site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	border-bottom-color: rgba(255, 255, 255, 0.2);
	background: linear-gradient(180deg, rgba(3, 35, 48, 0.66), rgba(3, 35, 48, 0.13));
	color: #fff;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.24);
}

body.home .lts-site-header__nav a:hover,
body.home .lts-site-header__nav a.is-active {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

body.home .lts-site-header__account {
	border-color: rgba(255, 255, 255, 0.52);
	background: rgba(255, 255, 255, 0.1);
}

body.admin-bar.home .lts-site-header {
	top: 32px;
}

/* The single-listing page does not render the featured image on its own. */
.single-listing #listing-overview .lts-specialist-photo {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	margin: 0;
}

.single-listing #listing-overview .lts-specialist-photo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 580px;
	object-fit: contain;
	object-position: center top;
	border-radius: 16px;
}

/* Keep the final specialist visually balanced when the last page is odd. */
#specialists-results > .lts-catalog-card-last-odd {
	float: none;
	clear: both;
	margin-right: auto;
	margin-left: auto;
}

/* The AJAX catalogue appends pagination inside Bootstrap's flex row. Without
 * an explicit full-width flex item it stretches beside the final card. */
#specialists-results > .pagination-container {
	position: static;
	display: block;
	clear: both;
	flex: 0 0 100%;
	align-self: flex-start;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	margin: 24px 0 8px !important;
	padding: 0 15px;
}

#specialists-results > .pagination-container .pagination,
#specialists-results > .pagination-container .pagination ul {
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
}

#specialists-results > .pagination-container .pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

#specialists-results > .pagination-container .pagination ul li {
	display: block;
	margin: 0;
	order: 0 !important;
}

#specialists-results > .pagination-container .pagination ul li a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	line-height: 1;
}

.form-row label:has(> input[type="checkbox"]),
.sessia-consent-row,
.sessia-mkt-channels label {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}

.form-row input[type="checkbox"],
.sessia-consent-row input[type="checkbox"],
.sessia-mkt-channels input[type="checkbox"] {
	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	margin: 2px 0 0 !important;
	appearance: auto;
}

.sessia-cb,
.sessia-cb * {
	box-sizing: border-box;
}

/* Keep iOS from zooming when a text field receives focus. */
@media (max-width: 600px), (hover: none) and (pointer: coarse) {
	#sign-in-dialog :is(.listeo-registration-form, .lts-otp-login) input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
	.lts-spec-register input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
	.lts-spec-register select,
	.lts-spec-register textarea,
	.woocommerce-form-login .lts-otp-login input:not([type="hidden"]),
	.woocommerce-form-register input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
	#dashboard .dashboard-content :is(input:not([type]), input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], textarea, select) {
		font-size: 16px;
		box-sizing: border-box;
		max-width: 100%;
	}
}

/* The legacy dialog and the redesign both add gutters on mobile. */
@media (max-width: 600px) {
	body .mfp-content #sign-in-dialog {
		width: 100%;
		max-width: 440px;
		margin: 12px auto;
		padding: 0 20px 22px;
	}

	body .mfp-content #sign-in-dialog .small-dialog-header {
		display: block;
		width: auto;
		left: auto;
		margin: 0 -20px 16px;
		padding: 18px 62px 18px 20px;
	}

	body .mfp-content #sign-in-dialog .sign-in-form {
		width: 100%;
		min-width: 0;
		padding: 0;
	}

	:is(.listeo-registration-form, .lts-spec-register, .woocommerce-form-register) .form-row.checkboxes:has(> input[type="checkbox"] + label) {
		display: grid;
		grid-template-columns: 18px minmax(0, 1fr);
		align-items: start;
		column-gap: 10px;
		margin: 9px 0 !important;
	}

	:is(.listeo-registration-form, .lts-spec-register, .woocommerce-form-register) .form-row.checkboxes > input[type="checkbox"] {
		display: block;
		accent-color: #b40023;
	}

	:is(.listeo-registration-form, .lts-spec-register, .woocommerce-form-register) .form-row.checkboxes > input[type="checkbox"] + label {
		display: block;
		min-width: 0;
		margin: 0;
		padding: 0;
		font-size: 13px;
		line-height: 1.5;
		overflow-wrap: anywhere;
	}

	:is(.listeo-registration-form, .lts-spec-register, .woocommerce-form-register) .form-row.checkboxes > input[type="checkbox"] + label::before {
		display: none;
	}

	.listeo-registration-form .sessia-mkt-channels {
		display: flex;
		flex-wrap: wrap;
		gap: 5px 14px;
		padding-left: 28px !important;
	}

	.listeo-registration-form .sessia-mkt-channels label {
		margin: 0 !important;
		font-size: 13px;
	}
}

@media (max-width: 600px) {
	.lts-site-header {
		height: 67px;
	}

	.lts-site-header__inner {
		gap: 8px;
		width: calc(100% - 28px);
	}

	.lts-site-header__brand {
		font-size: 15px;
	}

	.lts-site-header__nav {
		margin-left: auto;
	}

	.lts-site-header__nav a {
		min-height: 38px;
		padding: 8px 10px;
		font-size: 10px;
	}

	.lts-site-header__nav a:first-child {
		display: none;
	}

	.lts-site-header__actions {
		gap: 3px;
		margin-left: 0;
	}

	.lts-site-header__favorite,
	.lts-site-header__account {
		width: 38px;
		min-width: 38px;
		height: 40px;
		padding: 7px;
	}

	.lts-site-header__favorite span,
	.lts-site-header__account span {
		display: none;
	}

	.lts-site-header__account {
		border: 0;
		background: transparent;
	}

	body.home .lts-site-header__account {
		border: 0;
		background: transparent;
	}

	body.admin-bar.home .lts-site-header {
		top: 46px;
	}

	.single-listing #listing-overview .lts-specialist-photo img {
		max-height: none;
	}

	#specialists-results > .pagination-container {
		margin-top: 18px !important;
		padding: 0 8px;
	}

	#specialists-results > .pagination-container .pagination ul {
		gap: 6px;
	}

	#specialists-results > .pagination-container .pagination ul li a {
		width: 40px;
		height: 40px;
	}

	.elementor-section,
	.elementor-container,
	.elementor-widget-wrap,
	.elementor-widget-container {
		max-width: 100%;
	}

	.home h1,
	.home h2,
	.home .elementor-heading-title {
		overflow-wrap: anywhere;
		hyphens: auto;
	}

	.sessia-cb-layer1 {
		width: auto !important;
		max-width: calc(100vw - 24px) !important;
		margin: 12px !important;
	}
}

/* Keep the academy mark and its caption together in the legacy global footer.
 * The theme also prints a second mobile-only copy at the bottom; hiding that
 * duplicate avoids the detached logo visible on narrow screens. */
@media (max-width: 768px) {
	#footer .footer_items > .footer_item:first-child {
		display: grid !important;
		grid-template-columns: 86px minmax(0, 1fr);
		align-items: center;
		gap: 14px;
		width: 100%;
	}

	#footer .footer_items > .footer_item:first-child .footer_logo {
		display: block !important;
		width: 86px !important;
		max-width: 86px !important;
		height: auto !important;
		margin: 0 !important;
	}

	#footer .footer_items > .footer_item:first-child .footer_logo_text {
		width: auto !important;
		margin: 0 !important;
		text-align: left !important;
		font-size: 11px !important;
		line-height: 1.55 !important;
	}

	#footer .mobile_part_footer {
		display: none !important;
	}
}

@media (max-width: 360px) {
	.lts-site-header__inner {
		gap: 5px;
		width: calc(100% - 20px);
	}

	.lts-site-header__brand {
		font-size: 14px;
	}

	.lts-site-header__nav a {
		padding-inline: 8px;
		font-size: 9px;
	}

	.lts-site-header__favorite,
	.lts-site-header__account {
		width: 34px;
		min-width: 34px;
	}
}

/* Client dashboard: post-session MiroTalk scores and ordinary reviews. */
.lts-client-reviews {
	font-family: Manrope, Arial, sans-serif;
	color: #17231f;
}

.lts-client-reviews__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 22px;
}

.lts-client-reviews__header span,
.lts-client-review__top > div:first-child > span {
	color: #a87867;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .16em;
}

.lts-client-reviews__header h2 {
	margin: 5px 0 0;
	font-size: 30px;
	line-height: 1.15;
}

.lts-client-reviews__header p {
	max-width: 520px;
	margin: 0;
	color: #6f7773;
	font-size: 13px;
	line-height: 1.6;
}

.lts-client-reviews__list {
	display: grid;
	gap: 16px;
}

.lts-client-review,
.lts-client-reviews__empty {
	padding: 22px;
	border: 1px solid #e5ddd3;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(61, 43, 27, .05);
}

.lts-client-review__top {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 20px;
}

.lts-client-review__top h3 {
	margin: 5px 0 0;
	font-size: 20px;
	line-height: 1.3;
}

.lts-client-review__top h3 a {
	color: #17231f;
	text-decoration: none;
}

.lts-client-review__rating {
	display: flex;
	align-items: baseline;
	gap: 3px;
	min-width: 64px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f2f6ea;
	color: #3e6a3d;
	text-align: center;
}

.lts-client-review__rating strong {
	font-size: 22px;
}

.lts-client-review__rating span {
	font-size: 11px;
}

.lts-client-review__criteria {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin-top: 18px;
}

.lts-client-review__criteria > span {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 12px;
	border-radius: 11px;
	background: #f8f4ee;
}

.lts-client-review__criteria small {
	color: #767d79;
	font-size: 10px;
	line-height: 1.35;
}

.lts-client-review__criteria strong {
	font-size: 14px;
}

.lts-client-review__comment {
	margin-top: 16px;
	color: #4e5954;
	font-size: 13px;
	line-height: 1.65;
}

.lts-client-review__comment > *:last-child {
	margin-bottom: 0;
}

.lts-client-review footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid #eee7de;
	color: #808783;
	font-size: 11px;
}

.lts-client-reviews__empty strong {
	font-size: 18px;
}

.lts-client-reviews__empty p {
	margin: 7px 0 0;
	color: #6f7773;
}

@media (max-width: 720px) {
	.lts-client-reviews__header {
		display: block;
	}

	.lts-client-reviews__header p {
		margin-top: 10px;
	}

	.lts-client-review__criteria {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.lts-client-review,
	.lts-client-reviews__empty {
		padding: 17px;
		border-radius: 14px;
	}

	.lts-client-review__criteria {
		grid-template-columns: 1fr;
	}
}
