/* =============================================================================
 * ce_testimonial_version1 — modernized centered editorial layout (Georgia serif)
 * ========================================================================== */

.ce_testimonial_version1 {
	text-align: center;
}

.ce_testimonial_version1 .ce_testimonial_inside {
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}

.ce_testimonial_version1 p {
	text-align: center;
	font-style: normal;
}

/* Rating: refined */
.ce_testimonial_version1 .rating {
	margin-bottom: 18px;
	letter-spacing: 3px;
	line-height: 1;
}

.ce_testimonial_version1 .rating i {
	color: #FEA22D;
	margin: 0;
	font-size: 0.875rem;
}

/* Editorial Georgia/Times serif quote — V1 signature */
.ce_testimonial_version1 .text {
	margin-bottom: 22px;
}

.ce_testimonial_version1 .text p {
	font-family: Georgia, Times, serif;
	font-size: 1.25rem;
	line-height: 1.6;
	margin: 0;
}

/* Info block centered */
.ce_testimonial_version1 .info {
	text-align: center;
}

/* Avatar: soft ring + shadow */
.ce_testimonial_version1 .image_container {
	display: inline-block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 0 14px;
	border: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.06),
		0 10px 24px rgba(0, 0, 0, 0.10);
	float: none;
	vertical-align: middle;
	padding: 0;
}

.ce_testimonial_version1 .image_container img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	padding: 0;
}

/* Attribution */
.ce_testimonial_version1 .name {
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
	margin-bottom: 4px;
}

.ce_testimonial_version1 .additional {
	font-size: 0.9375rem;
	color: inherit;
	opacity: 0.7;
	line-height: 1.4;
}

/* =============================================================================
 * ce_testimonial_version2 — modernized centered compact layout
 * ========================================================================== */

.ce_testimonial_version2 {
	text-align: center;
}

.ce_testimonial_version2 .ce_testimonial_inside {
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

.ce_testimonial_version2 p {
	text-align: center;
	font-style: normal;
}

/* Rating: refined */
.ce_testimonial_version2 .rating {
	margin-bottom: 18px;
	letter-spacing: 3px;
	line-height: 1;
}

.ce_testimonial_version2 .rating i {
	color: #FEA22D;
	margin: 0;
	font-size: 0.875rem;
}

/* Quote text: calm reading rhythm */
.ce_testimonial_version2 .text {
	margin-bottom: 22px;
}

.ce_testimonial_version2 .text p {
	font-size: 1.0625rem;
	line-height: 1.7;
	margin: 0;
}

/* Info block — centered, avatar above name */
.ce_testimonial_version2 .info {
	text-align: center;
}

/* Avatar: soft ring + shadow */
.ce_testimonial_version2 .image_container {
	display: inline-block;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 0 0 14px;
	border: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.06),
		0 10px 24px rgba(0, 0, 0, 0.10);
	float: none;
	vertical-align: middle;
	padding: 0;
}

.ce_testimonial_version2 .image_container img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	padding: 0;
}

/* Attribution */
.ce_testimonial_version2 .name {
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
	margin-bottom: 4px;
}

.ce_testimonial_version2 .additional {
	font-size: 0.9375rem;
	color: inherit;
	opacity: 0.7;
	line-height: 1.4;
}

/* =============================================================================
 * ce_testimonial_version3 — modernized flat speech-bubble (subtle gray bubble)
 * ========================================================================== */

.ce_testimonial_version3 {
	overflow: visible;
}

/* Calm gray quote box — flat, no elevation, no tail (cleaner minimal look) */
.ce_testimonial_version3 .text {
	position: relative;
	background: rgba(0, 0, 0, 0.04);
	padding: 22px 24px;
	border-radius: var(--shape-surface-radius, 3px);
	margin-bottom: 18px;
}

.ce_testimonial_version3 .text p {
	color: inherit;
	opacity: 0.85;
	line-height: 1.65;
	margin: 0 0 0.6em;
}

.ce_testimonial_version3 .text p:last-of-type {
	margin: 0;
}

/* Avatar: small, clean ring + soft shadow, no nested borders */
.ce_testimonial_version3 .image_container {
	display: inline-block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.06),
		0 4px 12px rgba(0, 0, 0, 0.08);
	float: left;
	margin: 0 14px 0 0;
	padding: 0;
}

.ce_testimonial_version3 .image_container img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	padding: 0;
}

/* Attribution next to avatar */
.ce_testimonial_version3 .info {
	overflow: hidden;
	padding-top: 4px;
}

.ce_testimonial_version3 .name {
	padding-top: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 2px;
	line-height: 1.3;
}

.ce_testimonial_version3 .additional {
	font-size: 0.875rem;
	color: inherit;
	opacity: 0.7;
	line-height: 1.4;
}

/* Rating */
.ce_testimonial_version3 .rating {
	margin-bottom: 12px;
	letter-spacing: 3px;
	line-height: 1;
}

.ce_testimonial_version3 .rating i {
	color: #FEA22D;
	margin: 0;
	font-size: 0.875rem;
}

/* =============================================================================
 * ce_testimonial_version4 — modernized horizontal layout (avatar left, content right)
 * ========================================================================== */

.ce_testimonial_version4 .ce_testimonial_inside {
	position: relative;
	padding-left: 100px;
	max-width: 540px;
	min-height: 72px;
}

/* Avatar: absolute-anchored at top-left of inside, soft ring + shadow */
.ce_testimonial_version4 .image_container {
	position: absolute;
	left: 0;
	top: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.06),
		0 8px 20px rgba(0, 0, 0, 0.10);
}

.ce_testimonial_version4 .image_container img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 0;
	padding: 0;
}

/* Rating: refined */
.ce_testimonial_version4 .rating {
	margin-bottom: 12px;
	letter-spacing: 3px;
	line-height: 1;
}

.ce_testimonial_version4 .rating i {
	color: #FEA22D;
	margin: 0;
	font-size: 0.875rem;
}

/* Italic serif quote — V4 signature, refined leading */
.ce_testimonial_version4 .text {
	font-size: 1.25rem;
	font-family: Georgia, Times, serif;
	font-style: italic;
	line-height: 1.55;
	margin-bottom: 18px;
}

.ce_testimonial_version4 .text p {
	margin: 0 0 0.6em;
}

.ce_testimonial_version4 .text p:last-of-type {
	margin: 0;
}

/* Attribution */
.ce_testimonial_version4 .name {
	font-size: 1.0625rem;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.01em;
	line-height: 1.3;
	margin-bottom: 2px;
}

.ce_testimonial_version4 .additional {
	font-size: 0.875rem;
	font-style: normal;
	color: inherit;
	opacity: 0.7;
	line-height: 1.4;
}

/* Swiper variant: keep wider, justified text */
.swiper-wrapper .ce_testimonial_version4 {
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
}

.swiper-wrapper .ce_testimonial_version4 .ce_testimonial_inside {
	max-width: 100%;
}

.swiper-wrapper .ce_testimonial_version4 .text {
	text-align: justify;
}

/* =============================================================================
 * ce_testimonial_version5 — modernized spotlight layout (name on top, larger avatar)
 * ========================================================================== */

.ce_testimonial_version5 {
	text-align: center;
}

/* Flex + order replaces the absolute-positioning + magic-padding hack.
   Visual order: name/role → avatar → rating → text → fa-quote-right. */
.ce_testimonial_version5 .ce_testimonial_inside {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}

.ce_testimonial_version5 .info {
	order: 1;
	width: 100%;
	margin-bottom: 24px;
	text-align: center;
}

.ce_testimonial_version5 .image_container {
	order: 2;
	margin-bottom: 22px;
}

.ce_testimonial_version5 .rating {
	order: 3;
}

.ce_testimonial_version5 .text {
	order: 4;
}

.ce_testimonial_version5 i.fa-quote-right {
	order: 5;
}

.ce_testimonial_version5 p {
	text-align: center;
	font-style: normal;
}

/* Name + role (top, prominent) */
.ce_testimonial_version5 .name {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	margin-bottom: 6px;
}

.ce_testimonial_version5 .additional {
	font-size: 0.9375rem;
	color: inherit;
	opacity: 0.7;
}

/* Avatar: soft ring + drop shadow, no harsh white border */
.ce_testimonial_version5 .image_container {
	display: inline-block;
	width: 118px;
	height: 118px;
	border-radius: 50%;
	border: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.06),
		0 14px 32px rgba(0, 0, 0, 0.12);
	vertical-align: middle;
}

.ce_testimonial_version5 .image_container img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Rating: refined */
.ce_testimonial_version5 .rating {
	margin-bottom: 18px;
	letter-spacing: 3px;
	line-height: 1;
}

.ce_testimonial_version5 .rating i {
	color: #FEA22D;
	margin: 0;
	font-size: 0.9rem;
}

/* Quote text: larger than v6 to match the spotlight feel */
.ce_testimonial_version5 .text p {
	font-size: 1.2rem;
	line-height: 1.6;
	margin: 0;
}

/* =============================================================================
 * ce_testimonial_version6 — modernized layout (neutral, works on any background)
 * ========================================================================== */

.ce_testimonial_version6 {
	text-align: center;
}

.ce_testimonial_version6 .ce_testimonial_inside {
	position: relative;
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
}

.ce_testimonial_version6 p {
	text-align: center;
	font-style: normal;
}

/* Avatar: soft ring + drop shadow instead of hard white border */
.ce_testimonial_version6 .image_container {
	display: inline-block;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	margin-bottom: 22px;
	border: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.06),
		0 12px 28px rgba(0, 0, 0, 0.10);
	vertical-align: middle;
}

.ce_testimonial_version6 .image_container img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Rating: smaller, refined spacing */
.ce_testimonial_version6 .rating {
	margin-bottom: 20px;
	letter-spacing: 3px;
	line-height: 1;
}

.ce_testimonial_version6 .rating i {
	color: #FEA22D;
	margin: 0;
	font-size: 0.875rem;
}

/* Quote text: calm reading rhythm */
.ce_testimonial_version6 .text {
	margin-bottom: 0;
}

.ce_testimonial_version6 .text p {
	font-size: 1.125rem;
	line-height: 1.7;
	margin: 0;
}

/* Quote glyph + accent divider below text */
.ce_testimonial_version6 i.fa-quote-right {
	font-size: 1rem;
	margin: 26px 0 18px;
	text-align: center;
	display: block;
	color: currentColor;
	opacity: 0.4;
}

.ce_testimonial_version6 i.fa-quote-right::after {
	content: '';
	display: block;
	width: 32px;
	height: 2px;
	margin: 10px auto 0;
	background: currentColor;
	border-radius: 2px;
	opacity: 0.55;
}

/* Attribution */
.ce_testimonial_version6 .name {
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 4px;
}

.ce_testimonial_version6 .additional {
	font-size: 0.9375rem;
	color: inherit;
	opacity: 0.7;
}

/* =============================================================================
 * ce_testimonial_version7 — modernized speech-bubble card
 * ========================================================================== */

.ce_testimonial_version7 {
	overflow: visible;
}

.ce_testimonial_version7 .text {
	position: relative;
	margin-bottom: 28px;
}

.ce_testimonial_version7 .text p:last-of-type {
	margin: 0;
}

/* Card: Shape Style corners, refined shadow, single full border. */
.ce_testimonial_version7 .text_inside {
	position: relative;
	background: #ffffff;
	padding: 32px 28px 30px;
	border-radius: var(--shape-surface-radius, 0px);
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.04),
		0 8px 24px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.ce_testimonial_version7 .text p {
	line-height: 1.7;
	color: rgb(60, 60, 60);
	margin: 0 0 1em;
}

/* Speech-bubble tail at bottom-left */
.ce_testimonial_version7 .text:after {
	content: '';
	position: absolute;
	left: 32px;
	bottom: -9px;
	width: 16px;
	height: 16px;
	background: #ffffff;
	border-right: 1px solid rgba(0, 0, 0, 0.06);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.03);
}

/* Diagonal accent corner with quote glyph (bottom-right) */
.ce_testimonial_version7 .text_inside:before {
	text-align: center;
	position: absolute;
	content: "\f10e";
	display: block;
	width: 100px;
	right: -44px;
	bottom: -18px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	font: normal normal normal 14px/1 FontAwesome;
	background: var(--accentColor);
	color: rgb(255, 255, 255);
	padding: 6px 0 27px 0;
	font-size: 16px;
}

/* Avatar: small, clean ring + soft shadow, no nested borders */
.ce_testimonial_version7 .image_container {
	display: inline-block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.04);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.06),
		0 4px 12px rgba(0, 0, 0, 0.08);
	float: left;
	margin: 0 14px 0 0;
	padding: 0;
}

.ce_testimonial_version7 .image_container img {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	padding: 0;
}

/* Attribution next to avatar */
.ce_testimonial_version7 .info {
	display: flow-root;
	padding-top: 4px;
}

.ce_testimonial_version7 .name {
	padding-top: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 2px;
	line-height: 1.3;
}

.ce_testimonial_version7 .additional {
	font-size: 0.875rem;
	color: inherit;
	opacity: 0.7;
	line-height: 1.4;
}

/* Rating: refined, sits above the card */
.ce_testimonial_version7 .rating {
	margin-bottom: 12px;
	letter-spacing: 3px;
	line-height: 1;
}

.ce_testimonial_version7 .rating i {
	color: #FEA22D;
	margin: 0;
	font-size: 0.875rem;
}

/* link-color */
.ce_testimonial a {
	color: var(--accentColor);
}

/* =============================================================================
 * smart phones  (s / small screens)
 * ========================================================================== */
 @media only screen and (max-width: 767px) {
	.ce_testimonial_version1 p {
		font-size: 1.2rem;
	}
 }