/* ---------- Slider ---------- */
.sgt-testimonial-slider-wrap {
	position: relative;
	padding-bottom: 40px;
}

.sgt-testimonial-swiper {
	overflow: hidden;
	padding: 10px 4px 10px;
}

.sgt-card {
	position: relative;
	background: #f4f3ee;
	border-left: 4px solid #0f6b5c;
	border-radius: 10px;
	padding: 28px 24px 22px;
	height: 100%;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.sgt-card:hover,
.sgt-card:focus {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(15, 107, 92, 0.12);
}

.sgt-quote-mark {
	position: absolute;
	top: 10px;
	right: 18px;
	font-size: 42px;
	line-height: 1;
	color: #e8a33d;
	font-family: Georgia, serif;
	opacity: 0.9;
}

.sgt-card-top {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 20px;
}

.sgt-card-photo {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 92px;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.sgt-card-quote {
	flex: 1 1 auto;
	min-width: 0;
	font-style: italic;
	color: #333;
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
}

.sgt-card-footer {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sgt-card-name {
	color: #1b1b1b;
	font-size: 15px;
}

.sgt-card-role {
	color: #0f6b5c;
	font-style: italic;
	font-size: 14px;
}

.sgt-card-readmore {
	margin-top: 14px;
	background: none;
	border: none;
	padding: 0;
	color: #e8a33d;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
}

.sgt-testimonial-swiper .swiper-pagination {
	position: absolute;
	bottom: 0;
}

.sgt-testimonial-swiper .swiper-pagination-bullet-active {
	background: #0f6b5c;
}

.sgt-testimonial-swiper .swiper-button-prev,
.sgt-testimonial-swiper .swiper-button-next {
	color: #0f6b5c;
}

/* ---------- Modal ---------- */
.sgt-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
}

.sgt-modal.is-open {
	display: block;
}

.sgt-modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.55);
}

.sgt-modal-dialog {
	position: relative;
	max-width: 560px;
	width: calc(100% - 32px);
	margin: 6vh auto 0;
	background: #fff;
	border-radius: 12px;
	padding: 32px 28px 28px;
	max-height: 86vh;
	overflow-y: auto;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.sgt-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #888;
	cursor: pointer;
}

.sgt-modal-close:hover {
	color: #222;
}

.sgt-modal-header {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 8px 36px 22px 0;
}

.sgt-modal-photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-color: #eee;
	flex: 0 0 96px;
	border: 3px solid #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.sgt-modal-header-text {
	min-width: 0;
}

.sgt-modal-name {
	margin: 0 0 4px;
	font-size: 19px;
	line-height: 1.3;
	color: #1b1b1b;
}

.sgt-modal-role {
	color: #0f6b5c;
	font-style: italic;
	font-size: 14px;
	line-height: 1.4;
}

.sgt-modal-role a {
	color: inherit;
}

.sgt-modal-body {
	color: #333;
	font-size: 15px;
	line-height: 1.7;
}

.sgt-modal-body p:first-child {
	margin-top: 0;
}

body.sgt-modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.sgt-modal-dialog {
		margin-top: 4vh;
		padding: 26px 20px 22px;
	}

	.sgt-modal-photo {
		width: 72px;
		height: 72px;
		flex: 0 0 72px;
	}

	.sgt-modal-header {
		margin-right: 30px;
	}
}

@media (max-width: 420px) {
	.sgt-card-top {
		align-items: flex-start;
	}

	.sgt-card-photo {
		width: 68px;
		height: 68px;
		flex: 0 0 68px;
	}
}
