/**
 * SH Testimonial. Front end styles.
 *
 * Every rule is scoped under .shts-section so that the plugin cannot collide
 * with theme or page builder styles.
 */

.shts-section {
	--shts-section-bg: #ffffff;
	--shts-card-bg: #f8fafd;
	--shts-accent: #2447d4;
	--shts-accent-soft: rgba(36, 71, 212, 0.1);
	--shts-quote: #ffffff;
	--shts-star: #fbbf24;
	--shts-star-pill: #ffffff;
	--shts-headline: #0f1f4b;
	--shts-headline-desc: #4a5568;
	--shts-title: #0f1f4b;
	--shts-text: #4a5568;
	--shts-name: #1f56e3;
	--shts-position: #4a5568;
	--shts-divider: #e2e8f0;
	--shts-decor: #dde5f6;
	--shts-decor-soft: rgba(221, 229, 246, 0.55);
	--shts-dot: #cbd5e1;
	--shts-dot-active: #2447d4;
	--shts-card-radius: 24px;
	--shts-container: 1450px;

	box-sizing: border-box;
	width: 100%;
	padding: 48px 20px 54px;
	background: var(--shts-section-bg);
	font-family: inherit;
}

.shts-section *,
.shts-section *::before,
.shts-section *::after {
	box-sizing: border-box;
}

.shts-inner {
	width: 100%;
	max-width: var(--shts-container);
	margin: 0 auto;
}

/* ---------------------------------------------------------------
   Headline block. Hidden entirely when both fields are empty.
   --------------------------------------------------------------- */

.shts-header {
	max-width: 780px;
	margin: 0 auto 30px;
	text-align: center;
}
.eael-dual-header { 
	margin-bottom: 15px !important;
}
.shts-section .shts-headline {
	margin: 0;
	padding: 0;
	color: var(--shts-headline);
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.shts-section .shts-headline-desc {
	margin: 16px 0 0;
	padding: 0;
	color: var(--shts-headline-desc);
	font-size: clamp(15px, 1.1vw, 18px);
	font-weight: 400;
	line-height: 1.65;
}

/* ---------------------------------------------------------------
   Stage
   --------------------------------------------------------------- */

.shts-stage {
	position: relative;
}

.shts-slider {
	width: 100%;
	padding: 8px 0 18px;
	overflow: hidden;
}

.shts-section .swiper-slide {
	height: auto;
	display: flex;
}

/* ---------------------------------------------------------------
   Card
   --------------------------------------------------------------- */

.shts-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	border-radius: var(--shts-card-radius);
	background: linear-gradient(140deg, var(--shts-card-bg) 0%, #ffffff 55%, var(--shts-card-bg) 100%);	
	box-shadow: 0 2px 6px rgba(15, 31, 75, 0.04), 0 26px 60px rgba(15, 31, 75, 0.08);
	overflow: hidden;
	isolation: isolate;
}

/* The blue corner and the quote mark that sits inside it. */

.shts-card-corner {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 210px;
	height: 260px;
	max-width: 29%;
	max-height: 42%;
	color: var(--shts-accent);
	pointer-events: none;
}

.shts-section .shts-corner-shape {
	display: block;
	width: 100%;
	height: 100%;
}

.shts-card-quote {
	position: absolute;
	top: 29%;
	left: 23%;
	display: block;
	width: 40%;
	color: var(--shts-quote);
}

.shts-section .shts-icon-quote {
	display: block;
	width: 100%;
	height: auto;
}

/* Decoration. Purely presentational, hidden from assistive technology. */

.shts-decor {
	position: absolute;
	z-index: 0;
	display: block;
	pointer-events: none;
}

.shts-decor-dots-tr,
.shts-decor-dots-bl {
	width: 132px;
	height: 82px;
	background-image: radial-gradient(circle, var(--shts-decor) 1.35px, transparent 1.45px);
	background-size: 18px 18px;
}

.shts-decor-dots-tr {
	top: 30px;
	right: 32px;
}

.shts-decor-dots-bl {
	bottom: 38px;
	left: 28px;
	width: 150px;
	height: 54px;
}

.shts-decor-blob {
	right: -72px;
	bottom: -100px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: var(--shts-decor-soft);
}

.shts-decor-ring {
	right: 32px;
	bottom: -118px;
	width: 238px;
	height: 238px;
	border: 1px solid var(--shts-decor);
	border-radius: 50%;
}

.shts-decor-speck {
	right: 104px;
	top: 47%;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--shts-decor);
}

/* Content sits above the corner and the decoration. */

.shts-card-inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	padding: 26px 18px 20px;
	text-align: center;
}

/* Stars */

.shts-stars {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--shts-star-pill);
	box-shadow: 0 6px 20px rgba(15, 31, 75, 0.1);
	color: var(--shts-star);
}

.shts-section .shts-icon-star {
	display: block;
	width: 14px;
	height: 14px;
}

/* Title */

.shts-section .shts-card-title {
	margin: 20px 0 0;
	padding: 0;
	max-width: 780px;
	color: var(--shts-title);
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

/* The short accent rule laid over a faint line. */

.shts-card-rule {
	position: relative;
	display: block;
	width: 124px;
	height: 3px;
	margin: 9px 0 0;
}

.shts-card-rule::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--shts-divider);
	transform: translateY(-50%);
}

.shts-card-rule i {
	position: absolute;
	top: 0;
	left: 50%;
	width: 36px;
	height: 3px;
	margin-left: -18px;
	border-radius: 999px;
	background: var(--shts-accent);
}

/* Quote body */

.shts-section .shts-card-text {
	margin: 20px 0 0;
	padding: 0;
	max-width: 1000px;
	color: var(--shts-text);
	font-size: clamp(14px, 1.1vw, 17px);
	font-weight: 400;
	line-height: 1.6;
}

/* Author */

.shts-card-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: auto;
	padding-top: 16px;
}

.shts-author-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(15, 31, 75, 0.12);
	color: var(--shts-decor);
	overflow: hidden;
}

.shts-section .shts-author-logo img {
	display: block;
	width: 72px;
	height: 72px;
	max-width: 72px;
	object-fit: contain;
}

.shts-author-sep {
	flex: 0 0 auto;
	width: 1px;
	height: 50px;
	background: var(--shts-divider);
}

.shts-author-meta {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: left;
}

.shts-author-name {
	color: var(--shts-name);
	font-size: clamp(16px, 1.2vw, 19px);
	font-weight: 700;
	line-height: 1.3;
}

.shts-author-position {
	color: var(--shts-position);
	font-size: clamp(13px, 1vw, 16px);
	font-weight: 400;
	line-height: 1.4;
}

/* ---------------------------------------------------------------
   Navigation and pagination
   --------------------------------------------------------------- */

.shts-navigation {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.shts-section .shts-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 1px solid var(--shts-divider);
	border-radius: 50%;
	background: #ffffff;
	color: var(--shts-accent);
	box-shadow: 0 8px 22px rgba(15, 31, 75, 0.12);
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.shts-section .shts-nav:hover {
	background: var(--shts-accent);
	color: #ffffff;
}

.shts-section .shts-nav:focus-visible {
	outline: 2px solid var(--shts-accent);
	outline-offset: 3px;
}

.shts-section .shts-nav.swiper-button-disabled {
	opacity: 0.4;
	cursor: default;
}

.shts-nav-prev {
	left: -14px;
}

.shts-nav-next {
	right: -14px;
}

.shts-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
}

.shts-section .shts-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0;
	border-radius: 50%;
	background: var(--shts-dot);
	opacity: 1;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.shts-section .shts-pagination .swiper-pagination-bullet:hover {
	background: var(--shts-dot-active);
}

.shts-section .shts-pagination .swiper-pagination-bullet-active {
	background: var(--shts-dot-active);
	transform: scale(1.25);
}

/* ---------------------------------------------------------------
   Empty state
   --------------------------------------------------------------- */

.shts-empty {
	max-width: 560px;
	margin: 0 auto;
	padding: 44px 28px;
	border: 1px dashed var(--shts-divider);
	border-radius: var(--shts-card-radius);
	background: #ffffff;
	text-align: center;
}

.shts-section .shts-empty-title {
	margin: 0 0 8px;
	color: var(--shts-title);
	font-size: 17px;
	font-weight: 700;
}

.shts-section .shts-empty-text {
	margin: 0 0 18px;
	color: var(--shts-text);
	font-size: 14px;
}

.shts-section .shts-empty-link {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--shts-accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */

@media (max-width: 1199px) {

	.shts-card-inner {
		padding: 30px 28px 28px;
	}

	.shts-decor-dots-tr {
		top: 30px;
		right: 28px;
	}

	.shts-nav-prev {
		left: 0;
	}

	.shts-nav-next {
		right: 0;
	}
}

@media (max-width: 900px) {

	.shts-card-corner {
		width: 160px;
		height: 200px;
		max-width: 44%;
		max-height: 34%;
	}

	.shts-decor-dots-bl,
	.shts-decor-speck,
	.shts-decor-ring {
		display: none;
	}
}

@media (max-width: 767px) {

	.shts-section {
		padding: 36px 16px 42px;
	}

	.shts-header {
		margin-bottom: 24px;
	}

	.shts-card-inner {
		padding: 30px 18px 28px;
	}

	.shts-card-corner {
		width: 112px;
		height: 140px;
	}

	.shts-decor-dots-tr {
		width: 100px;
		height: 68px;
	}

	.shts-decor-blob {
		right: -110px;
		bottom: -140px;
		width: 260px;
		height: 260px;
	}

	.shts-card-author {
		flex-direction: column;
		gap: 16px;
		padding-top: 24px;
	}

	.shts-author-logo {
		width: 84px;
		height: 84px;
	}

	.shts-section .shts-author-logo img {
		width: 58px;
		height: 58px;
		max-width: 58px;
	}

	.shts-author-sep {
		width: 60px;
		height: 1px;
	}

	.shts-author-meta {
		align-items: center;
		text-align: center;
	}

	.shts-navigation {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.shts-section *,
	.shts-section *::before,
	.shts-section *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}
