.spadent-testimonials-page {
	--spadent-testimonials-radius: 18px;
	color: #202a37;
	font-family: var(--wd-text-font);
	padding: 10px 0 72px;
}

.spadent-testimonials-page,
.spadent-testimonials-page * {
	box-sizing: border-box;
}

.spadent-testimonials-intro {
	margin: 0 0 28px;
	padding: 32px;
	border: 1px solid #edf1f5;
	border-radius: var(--spadent-testimonials-radius);
	background: #fff;
}

.spadent-testimonials-intro__eyebrow,
.spadent-testimonials-form__eyebrow {
	margin: 0 0 12px;
	color: var(--wd-primary-color);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.spadent-testimonials-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
	gap: 32px;
	align-items: end;
}

.spadent-testimonials-intro__title,
.spadent-testimonials-form__title {
	margin: 0;
	color: #182234;
	font-family: var(--wd-title-font);
	font-size: 42px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.15;
}

.spadent-testimonials-intro__title span {
	display: block;
}

.spadent-testimonials-intro__text,
.spadent-testimonials-form__text {
	margin: 0;
	color: #5e6d80;
	font-size: 18px;
	line-height: 1.62;
}

.spadent-testimonials-intro__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.spadent-testimonials-tabs {
	margin: 0 0 42px;
}

.spadent-testimonials-tabs__nav {
	display: flex;
	justify-content: center;
	margin: 0 0 34px;
	text-align: center;
}

.spadent-testimonials-tabs__list {
	display: flex;
	justify-content: center !important;
	margin-left: auto;
	margin-right: auto;
	width: auto;
}

.spadent-testimonials-tabs .wd-nav > li > a {
	font-size: 20px;
	font-weight: 500;
	text-transform: inherit;
}

.spadent-testimonials-tabs__panel {
	min-height: 420px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.spadent-testimonials-tabs__panel[hidden] {
	display: none;
}

.spadent-testimonials-embed {
	position: relative;
	overflow: hidden;
	min-height: 0;
	margin: 0 auto;
	border-radius: 0;
	background: transparent;
}

.spadent-testimonials-embed iframe {
	display: block;
	width: 100%;
	height: 760px;
	border: 0;
	border-radius: inherit;
	background: #fff;
}

.spadent-testimonials-embed--yandex {
	max-width: 740px;
}

.spadent-testimonials-embed--google {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	max-width: 840px;
	padding: 0;
}

.spadent-testimonials-embed__source {
	display: block;
	position: static;
	margin-top: 10px;
	color: #8a95a4;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

.spadent-testimonials-site-reviews {
	width: 100%;
	max-width: none;
	margin: 0 auto;
}

.spadent-testimonials-site-reviews__header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.spadent-testimonials-site-reviews__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 46px !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #445775 0%, #8699b7 50%, #445775 100%) !important;
	background-size: 200% 100% !important;
	box-shadow: 0 14px 32px rgba(68, 87, 117, .16) !important;
	color: #fff !important;
	cursor: pointer;
	font-family: var(--wd-text-font) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
	transition: background-position .24s ease, opacity .2s ease !important;
}

.spadent-testimonials-site-reviews__button:hover {
	background-position: 100% 0 !important;
	color: #fff !important;
	opacity: .95;
}

.spadent-testimonials-site-reviews .strong-content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial-inner {
	display: flex;
	flex-direction: column;
	height: 360px;
	padding: 24px 28px;
	border: 1px solid rgba(134, 153, 183, .22);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 18px 42px rgba(68, 87, 117, .08);
}

.spadent-testimonials-site-reviews .wpmtst-testimonial.is-expanded .wpmtst-testimonial-inner {
	height: auto;
	min-height: 360px;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial-heading {
	flex: 0 0 auto;
	margin: 0 0 12px;
	color: #182234;
	font-family: var(--wd-title-font);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.28;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial-content {
	position: relative;
	flex: 1 1 auto;
	max-height: 178px;
	overflow: hidden;
	color: #4d5663;
	font-size: 17px;
	line-height: 1.62;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial-content.is-collapsible::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	height: 104px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .72) 76%, #fff 100%);
	pointer-events: none;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial-content.is-collapsible::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	height: 54px;
	backdrop-filter: blur(1.6px);
	-webkit-backdrop-filter: blur(1.6px);
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .28) 45%, #000 100%);
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .28) 45%, #000 100%);
	pointer-events: none;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial.is-expanded .wpmtst-testimonial-content {
	max-height: none;
	overflow: visible;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial.is-expanded .wpmtst-testimonial-content::after {
	display: none;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial.is-expanded .wpmtst-testimonial-content::before {
	display: none;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial-content p {
	margin: 0 0 12px;
}

.spadent-testimonials-site-reviews .wpmtst-testimonial-content p:last-child {
	margin-bottom: 0;
}

.spadent-testimonials-site-reviews .testimonial-name {
	flex: 0 0 auto;
	margin-top: 14px;
	color: #182234;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.spadent-testimonials-site-reviews .strong-rating-wrapper.in-view {
	flex: 0 0 auto;
	display: block;
	margin-top: 10px;
}

.spadent-testimonials-site-reviews__more {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	min-height: 0 !important;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--wd-primary-color) !important;
	cursor: pointer;
	font-family: var(--wd-text-font) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-transform: none !important;
}

.spadent-testimonials-site-reviews__more:hover {
	background: transparent !important;
	color: #182234 !important;
}

.spadent-testimonials-site-reviews .strong-rating {
	display: inline-flex;
	gap: 3px;
	color: #f2b84b;
}

.spadent-testimonials-site-reviews .strong-rating .star {
	display: inline-flex;
	width: 18px;
	height: 18px;
	color: inherit;
}

.spadent-testimonials-site-reviews .strong-rating .star svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.spadent-testimonials-site-reviews .simplePagerList {
	margin: 30px auto 0;
	text-align: center;
}

.spadent-testimonials-site-reviews .simplePagerNav {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.spadent-testimonials-site-reviews .simplePagerNav li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spadent-testimonials-site-reviews .simplePagerNav a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(134, 153, 183, .26);
	border-radius: 999px;
	background: #fff;
	color: #5e6d80;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.spadent-testimonials-site-reviews .simplePagerNav a:hover,
.spadent-testimonials-site-reviews .simplePagerNav .currentPage a {
	border-color: var(--wd-primary-color);
	background: var(--wd-primary-color);
	color: #fff;
}

.spadent-testimonials-loader {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 280px;
	color: #7f8791;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

.spadent-testimonials-loader__dot {
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: var(--wd-primary-color);
	box-shadow: 0 0 0 0 rgba(134, 153, 183, .45);
	animation: spadent-testimonials-pulse 1.25s ease-out infinite;
}

@keyframes spadent-testimonials-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(134, 153, 183, .45);
	}

	70% {
		box-shadow: 0 0 0 12px rgba(134, 153, 183, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(134, 153, 183, 0);
	}
}

.spadent-testimonials-form {
	display: block;
	margin-top: 52px;
	padding: 0;
	background: transparent;
}

.spadent-testimonials-form__header {
	max-width: 650px;
	margin: 0 auto 28px;
	text-align: center;
}

.spadent-testimonials-form__title {
	margin-bottom: 12px;
	font-size: 32px;
}

.spadent-testimonials-form__card {
	max-width: 860px;
	margin: 0 auto;
	padding: 34px 38px 38px;
	border: 2px solid rgba(134, 153, 183, .72);
	border-color: color-mix(in srgb, var(--wd-primary-color) 72%, #fff);
	border-radius: 18px;
	background: #fff;
	box-shadow: none;
}

.spadent-testimonials-form .strong-form,
.spadent-testimonials-form .strong-form-inner,
.spadent-testimonials-form .wpmtst-form {
	margin: 0;
	padding: 0;
	color: #303030;
	font-family: var(--wd-text-font);
}

.spadent-testimonials-form .strong-form {
	position: relative;
}

.spadent-testimonials-form .required-notice,
.spadent-testimonials-form .form-field .after,
.spadent-testimonials-form .field-featured_image {
	display: none !important;
}

.spadent-testimonials-form .wpmtst-submission-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.spadent-testimonials-form .wpmtst-submission-form > div[style*="display: none"] {
	display: none !important;
}

.spadent-testimonials-form .form-field {
	margin: 0;
}

.spadent-testimonials-form .field-post_title,
.spadent-testimonials-form .field-post_content,
.spadent-testimonials-form .field-star_rating,
.spadent-testimonials-form .wpmtst-submit {
	grid-column: 1 / -1;
}

.spadent-testimonials-form .form-field > label,
.spadent-testimonials-form .field-star_rating > label {
	display: inline-flex;
	align-items: baseline;
	margin: 0 6px 8px 0;
	color: #182234;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.spadent-testimonials-form .required.symbol {
	display: inline-flex !important;
	margin: 0 0 8px;
	color: #ff2b2b;
	font-weight: 700;
	line-height: 1;
	vertical-align: baseline;
}

.spadent-testimonials-form .required.symbol::after {
	content: "*";
	color: #ff2b2b;
	font-weight: 700;
}

.spadent-testimonials-form input[type="text"],
.spadent-testimonials-form input[type="email"],
.spadent-testimonials-form textarea {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 62px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid transparent !important;
	border-radius: 14px !important;
	background: #f4f4f3 !important;
	box-shadow: none !important;
	color: #303030 !important;
	font-family: var(--wd-text-font) !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	transition: background-color .2s ease, border-color .2s ease !important;
}

.spadent-testimonials-form textarea {
	height: 124px !important;
	min-height: 104px !important;
	padding-top: 16px !important;
	resize: vertical;
}

.spadent-testimonials-form input::placeholder,
.spadent-testimonials-form textarea::placeholder {
	color: #9aa4b2 !important;
	opacity: 1;
}

.spadent-testimonials-form input:focus,
.spadent-testimonials-form textarea:focus {
	border-color: var(--wd-primary-color) !important;
	border-width: 1px !important;
	background: #fff !important;
	box-shadow: none !important;
	outline: none !important;
}

.spadent-testimonials-form .strong-rating-wrapper.in-form {
	display: block;
	text-align: left;
}

.spadent-testimonials-form .strong-rating {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: transparent;
	min-inline-size: 0;
}

.spadent-testimonials-form .strong-rating legend,
.spadent-testimonials-form .strong-rating input[type="radio"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}

.spadent-testimonials-form .strong-rating label.star {
	width: 30px;
	height: 30px;
	margin: 0;
	cursor: pointer;
	color: #c7d0dd;
}

.spadent-testimonials-form .strong-rating label.star svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.spadent-testimonials-form .strong-rating input:checked ~ label.star,
.spadent-testimonials-form .strong-rating label.star:hover,
.spadent-testimonials-form .strong-rating label.star:hover ~ label.star {
	color: #f2b84b;
}

.spadent-testimonials-form .wpmtst-submit {
	margin: 6px 0 0;
}

.spadent-testimonials-form .wpmtst-submit label {
	margin: 0;
}

.spadent-testimonials-form .wpmtst_submit_testimonial,
.spadent-testimonials-form input[type="submit"].wpmtst_submit_testimonial {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 68px !important;
	margin: 0 !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: linear-gradient(90deg, #445775 0%, #8699b7 50%, #445775 100%) !important;
	background-position: 0 0 !important;
	background-size: 200% 100% !important;
	box-shadow: none !important;
	color: #fff !important;
	cursor: pointer;
	font-family: var(--wd-text-font) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: .02em !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
	transition: background-position .24s ease, opacity .2s ease !important;
}

.spadent-testimonials-form .wpmtst_submit_testimonial:hover,
.spadent-testimonials-form input[type="submit"].wpmtst_submit_testimonial:hover {
	background-position: 100% 0 !important;
	opacity: .95;
}

.spadent-testimonials-form .strong-form-wait {
	display: none !important;
}

.spadent-testimonials-empty {
	padding: 28px;
	border-radius: 14px;
	background: #f7f9fb;
	color: #5e6d80;
	font-size: 17px;
}

@media (max-width: 1024px) {
	.spadent-testimonials-intro__grid {
		grid-template-columns: 1fr;
	}

	.spadent-testimonials-form__header {
		position: static;
	}

}

@media (max-width: 767px) {
	.spadent-testimonials-page {
		--spadent-testimonials-radius: 14px;
		padding: 0 0 42px;
	}

	.spadent-testimonials-intro,
	.spadent-testimonials-form,
	.spadent-testimonials-form__card {
		padding: 20px 16px;
	}

	.spadent-testimonials-tabs__panel {
		padding: 0;
	}

	.spadent-testimonials-intro__title,
	.spadent-testimonials-form__title {
		font-size: 28px;
	}

	.spadent-testimonials-intro__text,
	.spadent-testimonials-form__text {
		display: block;
		overflow: visible;
		font-size: 16px;
		-webkit-line-clamp: unset;
	}

	.spadent-testimonials-tabs__nav {
		display: flex;
		justify-content: center;
		overflow-x: auto;
		padding-bottom: 4px;
		text-align: center;
	}

	.spadent-testimonials-tabs__list {
		flex-wrap: nowrap;
		justify-content: center !important;
		margin-left: auto;
		margin-right: auto;
		min-width: max-content;
	}

	.spadent-testimonials-tabs .wd-nav > li > a {
		font-size: 16px;
	}

	.spadent-testimonials-site-reviews .wpmtst-testimonial-inner {
		height: 340px;
		padding: 20px 18px;
		border-radius: 14px;
	}

	.spadent-testimonials-site-reviews__header {
		margin-bottom: 18px;
	}

	.spadent-testimonials-site-reviews__button {
		width: auto;
		min-height: 48px;
		padding: 0 22px;
	}

	.spadent-testimonials-site-reviews .strong-content {
		grid-template-columns: 1fr;
	}

	.spadent-testimonials-site-reviews .wpmtst-testimonial.is-expanded .wpmtst-testimonial-inner {
		min-height: 340px;
	}

	.spadent-testimonials-site-reviews .wpmtst-testimonial-heading {
		font-size: 19px;
	}

	.spadent-testimonials-site-reviews .wpmtst-testimonial-content {
		font-size: 16px;
	}

	.spadent-testimonials-embed,
	.spadent-testimonials-embed iframe {
		min-height: 620px;
		height: 620px;
	}

	.spadent-testimonials-form input[type="text"],
	.spadent-testimonials-form input[type="email"],
	.spadent-testimonials-form textarea {
		font-size: 16px !important;
	}

	.spadent-testimonials-form .wpmtst-submission-form {
		grid-template-columns: 1fr;
	}
}
