.testimonial-wrapper {
	--testimonial-theme-accent: var(--wd-primary-color, #32664e);
	--testimonial-theme-radius: var(--wd-brd-radius, 8px);
	--testimonial-theme-text: var(--wd-text-color, #39434a);
	--testimonial-theme-title: var(--wd-title-color, #202a30);
	--testimonial-theme-border: var(--brdcolor-gray-300, #dce2e6);
	--testimonial-default-author-size: 20px;
	color: var(--testimonial-theme-text);
	font-family: var(--testimonial-font, inherit);
}

.testimonial-wrapper .testimonial-item {
	margin: 0 0 15px;
	padding: var(--testimonial-card-padding-mobile, 15px);
	border: var(--testimonial-border-width, 1px) solid var(--testimonial-border-color, var(--testimonial-theme-border));
	border-radius: var(--testimonial-radius, var(--testimonial-theme-radius));
	background-color: var(--testimonial-card-background, #fff);
	box-shadow: var(--testimonial-shadow, none);
	overflow-wrap: anywhere;
}

@media (min-width: 768px) {
	.testimonial-wrapper {
		--testimonial-default-author-size: 22px;
	}

	.testimonial-wrapper .testimonial-item {
		padding: var(--testimonial-card-padding-desktop, 20px);
	}
}

.testimonial-wrapper .testimonial-item:last-child {
	margin-bottom: 0;
}

.testimonial-wrapper .testimonial-top,
.testimonial-wrapper .testimonial-top-inner,
.testimonial-wrapper .testimonial-meta,
.testimonial-wrapper .testimonial-rating {
	display: flex;
	align-items: center;
}

.testimonial-wrapper .testimonial-top {
	gap: 10px;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.testimonial-wrapper .testimonial-top-inner {
	gap: 10px;
}

.testimonial-wrapper .testimonial-category-image {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.testimonial-wrapper .testimonial-category-img,
.testimonial-wrapper .testimonial-filter-icon {
	display: block;
	flex: 0 0 auto;
	object-fit: contain;
	max-width: none;
}

.testimonial-wrapper .testimonial-category-img {
	width: var(--testimonial-card-icon-size, 30px);
	height: var(--testimonial-card-icon-size, 30px);
}

.testimonial-wrapper .testimonial-filter-icon {
	width: var(--testimonial-tab-icon-size, 26px);
	height: var(--testimonial-tab-icon-size, 26px);
}

.testimonial-wrapper .testimonial-rating {
	gap: 8px;
}

.testimonial-wrapper .testimonial-rating-number {
	display: grid;
	place-items: center;
	min-width: 38px;
	padding: 5px 4px 4px;
	border: 1px solid var(--testimonial-theme-border);
	border-radius: var(--testimonial-radius, 4px);
	color: var(--testimonial-theme-title);
	font-size: var(--testimonial-rating-size, 15px);
	line-height: 1.15;
}

.testimonial-wrapper .testimonial-rating-items {
	position: relative;
	flex: 0 0 100px;
	height: 20px;
	overflow: hidden;
	font-size: 0;
	background-color: var(--color-gray-300, #d2d9df);
	-webkit-mask: url("star.svg") left top / 20px 20px repeat-x;
	mask: url("star.svg") left top / 20px 20px repeat-x;
}

.testimonial-wrapper .testimonial-rating-items > span {
	position: absolute;
	inset: 0 auto 0 0;
	background-color: #eba900;
}

.testimonial-wrapper .testimonial-meta {
	flex-wrap: wrap;
	gap: 2px 16px;
	margin-bottom: 10px;
}

.testimonial-wrapper .testimonial-author {
	color: var(--testimonial-author-color, var(--testimonial-theme-title));
	font-size: var(--testimonial-author-size, var(--testimonial-default-author-size));
	line-height: 1.25;
}

.testimonial-wrapper .testimonial-city {
	color: var(--testimonial-city-color, #59656d);
	font-size: var(--testimonial-city-size, 14px);
	line-height: 1.4;
}

.testimonial-wrapper .testimonial-date {
	color: var(--testimonial-date-color, #59656d);
	font-size: var(--testimonial-date-size, 14px);
	line-height: 1.4;
}

.testimonial-wrapper .testimonial-url {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--testimonial-link-color, var(--testimonial-accent, var(--testimonial-theme-accent)));
	font-size: var(--testimonial-link-size, 13px);
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: .12em;
}

.testimonial-wrapper .testimonial-url:hover {
	text-decoration-thickness: 2px;
}

.testimonial-wrapper .testimonial-content {
	line-height: 1.55;
}

.testimonial-wrapper .testimonial-comment {
	color: var(--testimonial-comment-color, var(--testimonial-theme-text));
	font-size: var(--testimonial-comment-size, inherit);
}

.testimonial-wrapper .testimonial-comment-summary::-webkit-details-marker {
	display: none;
}

.testimonial-wrapper .testimonial-comment-preview {
	-webkit-mask-image: linear-gradient(to top, transparent, #000 1.25em);
	mask-image: linear-gradient(to top, transparent, #000 1.25em);
}

.testimonial-wrapper .testimonial-comment-details:not([open]) .testimonial-collapse-label,
.testimonial-wrapper .testimonial-comment-details[open] .testimonial-expand-label,
.testimonial-wrapper .testimonial-comment:has(> .testimonial-comment-details[open]) > .testimonial-comment-preview {
	display: none;
}

.testimonial-wrapper .testimonial-comment-full {
	margin-top: 8px;
}

.testimonial-wrapper .testimonial-advantage {
	margin-top: 12px;
	color: var(--testimonial-advantage-color, var(--testimonial-theme-text));
	font-size: var(--testimonial-advantage-size, inherit);
}

.testimonial-wrapper .testimonial-disadvantage {
	margin-top: 12px;
	color: var(--testimonial-disadvantage-color, var(--testimonial-theme-text));
	font-size: var(--testimonial-disadvantage-size, inherit);
}

.testimonial-wrapper .testimonial-section-title {
	margin-bottom: 2px;
	font-weight: 600;
}

.testimonial-wrapper .testimonial-content p {
	margin: 0 0 .6em;
}

.testimonial-wrapper .testimonial-content p:last-child {
	margin-bottom: 0;
}

.testimonial-wrapper .testimonial-filter,
.testimonial-wrapper .testimonial-images {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.testimonial-wrapper .testimonial-scroll-more {
	-webkit-mask-image: linear-gradient(to left, transparent, #000 24px);
	mask-image: linear-gradient(to left, transparent, #000 24px);
}

.testimonial-wrapper .testimonial-scroll-more:dir(rtl) {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 24px);
	mask-image: linear-gradient(to right, transparent, #000 24px);
}

.testimonial-wrapper .testimonial-filter {
	margin: 0 -3px 10px;
	padding: 3px 3px 5px;
}

.testimonial-wrapper .testimonial-filter-button,
.testimonial-wrapper .testimonial-load-more,
.testimonial-wrapper .testimonial-comment-summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 7px;
	min-height: 0;
	margin: 0;
	padding: 8px 14px;
	border-radius: var(--testimonial-radius, var(--testimonial-theme-radius));
	box-shadow: none;
	font-family: inherit;
	letter-spacing: normal;
	line-height: 1.35;
	text-transform: none;
	cursor: pointer;
}

.testimonial-wrapper .testimonial-filter-button {
	border: var(--testimonial-tab-border-width, 2px) solid var(--testimonial-theme-border);
	background: var(--testimonial-tab-background, #f6f8f9);
	color: var(--testimonial-tab-color, var(--testimonial-theme-text));
	font-size: var(--testimonial-tab-size, 14px);
	font-weight: var(--testimonial-tab-weight, 600);
	white-space: nowrap;
}

.testimonial-wrapper .testimonial-filter-button[aria-pressed="true"],
.testimonial-wrapper .testimonial-filter-button:hover {
	border-color: var(--testimonial-accent, var(--testimonial-theme-accent));
	background: var(--testimonial-accent, var(--testimonial-theme-accent));
	color: var(--testimonial-tab-active, #fff);
}

.testimonial-wrapper .testimonial-filter-button:hover {
	background: var(--testimonial-tab-hover-background, var(--testimonial-accent, var(--testimonial-theme-accent)));
}

.testimonial-wrapper .testimonial-more {
	text-align: center;
}

.testimonial-wrapper .testimonial-load-more {
	margin-top: 22px;
	padding: var(--testimonial-more-padding-block, 8px) var(--testimonial-more-padding-inline, 20px);
	border: var(--testimonial-more-border-width, 2px) solid var(--testimonial-more-border-color, var(--testimonial-accent, var(--testimonial-theme-accent)));
	border-radius: var(--testimonial-more-radius, var(--testimonial-radius, var(--testimonial-theme-radius)));
	background: var(--testimonial-more-background, transparent);
	color: var(--testimonial-more-color, var(--testimonial-accent, var(--testimonial-theme-accent)));
	font-size: var(--testimonial-more-size, 13px);
	font-weight: var(--testimonial-more-weight, 600);
}

.testimonial-wrapper .testimonial-load-more:hover {
	border-color: var(--testimonial-more-hover-border-color, var(--testimonial-more-border-color, var(--testimonial-accent, var(--testimonial-theme-accent))));
	background: var(--testimonial-more-hover-background, var(--testimonial-accent, var(--testimonial-theme-accent)));
	color: var(--testimonial-more-hover-color, var(--testimonial-tab-active, #fff));
}

.testimonial-wrapper .testimonial-comment-summary {
	margin-top: 8px;
	max-width: 100%;
	box-sizing: border-box;
	list-style: none;
	padding: var(--testimonial-expand-padding-block, 5px) var(--testimonial-expand-padding-inline, 10px);
	border: var(--testimonial-expand-border-width, 1px) solid var(--testimonial-expand-border-color, var(--testimonial-accent, var(--testimonial-theme-accent)));
	border-radius: var(--testimonial-expand-radius, var(--testimonial-radius, var(--testimonial-theme-radius)));
	background: var(--testimonial-expand-background, transparent);
	color: var(--testimonial-expand-color, var(--testimonial-accent, var(--testimonial-theme-accent)));
	font-size: var(--testimonial-expand-size, 13px);
	font-weight: var(--testimonial-expand-weight, 600);
	text-align: center;
}

.testimonial-wrapper .testimonial-comment-summary:hover {
	border-color: var(--testimonial-expand-hover-border-color, var(--testimonial-expand-border-color, var(--testimonial-accent, var(--testimonial-theme-accent))));
	background: var(--testimonial-expand-hover-background, var(--testimonial-accent, var(--testimonial-theme-accent)));
	color: var(--testimonial-expand-hover-color, #fff);
}

.testimonial-wrapper .testimonial-load-more[hidden] {
	display: none;
}

.testimonial-wrapper .testimonial-filter-button[aria-disabled="true"],
.testimonial-wrapper .testimonial-load-more[aria-disabled="true"] {
	opacity: .65;
	cursor: wait;
}

.testimonial-wrapper .testimonial-list {
	display: flow-root;
}

.testimonial-wrapper .testimonial-list[aria-busy="true"] {
	opacity: .68;
	pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
	.testimonial-wrapper .testimonial-list {
		transition: opacity 160ms ease;
	}
}

.testimonial-wrapper .testimonial-list-crossfade {
	position: relative;
	overflow: hidden;
	overflow: clip;
	overflow-clip-margin: 14px;
}

.testimonial-wrapper .testimonial-list-outgoing {
	position: absolute;
	z-index: 1;
	inset: 0 0 auto;
	pointer-events: none;
}

.testimonial-wrapper .testimonial-status {
	margin: 10px 0 0;
}

.testimonial-wrapper .testimonial-status:not(.testimonial-status-error) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.testimonial-wrapper .testimonial-images {
	margin: 16px -3px 0;
	padding: 3px;
}

.testimonial-wrapper .testimonial-gallery-item {
	flex: 0 0 90px;
	margin: 0;
}

.testimonial-wrapper .testimonial-gallery-link {
	display: block;
	border-radius: var(--testimonial-radius, var(--testimonial-theme-radius));
}

.testimonial-wrapper .testimonial-image {
	display: block;
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: var(--testimonial-radius, var(--testimonial-theme-radius));
}

.testimonial-wrapper :is(.testimonial-filter-button, .testimonial-load-more, .testimonial-comment-summary, .testimonial-url, .testimonial-gallery-link, .testimonial-item):focus-visible {
	outline: 2px solid var(--testimonial-accent, var(--testimonial-theme-accent));
	outline-offset: 1px;
}

.testimonial-wrapper .testimonial-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
